/* Family Investing Club web. Brand = the FIC app (fic-app theme/tokens.ts + global.css, owner 2026-11-02):
   white and neutrals, navy #0B1636 for text, buttons and active states, lime #CDFE02 as accent only,
   the lime-to-green gradient for big marketing moments. Inter for reading, Barlow Semi Condensed for headlines
   (brand book: "Marketing headlines"). Adult corners: cards 10-14, inputs and buttons 12. */

/* Self-hosted fonts (Google Fonts, latin subset, OFL). inter-latin is the variable file: one file, every weight. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-sc-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlow-sc-800.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* app tokens (theme/tokens.ts) */
  --navy: #0B1636; --ink: #0B1636; --ink-2: #2A3350; --muted: #59627A; --faint: #8A929E;
  --line: #E3E7EB; --input: #D5DBE1; --surface: #F6F8FB; --panel: #EEF1F8; --soft: #F2F4F6;
  --lime: #CDFE02; --green: #67EF0B; --grad: linear-gradient(135deg, #CDFE02 0%, #01E013 100%);
  --pro-surface: #121F45; --pro-raised: #1B2B58; --pro-line: #2A3A66; --pro-muted: #B9C2D6; --pro-faint: #8E9AB6;
  --cta-bottom: #E6EAF3; --destructive: #C62828; --destructive-t: #FDECEC; --live: #F0383D; --live-t: #FDE8E8;
  --warning-deep: #C97D0A; --gold: #F5C518;
  --r-sm: 8px; --r: 10px; --r-btn: 12px; --r-card: 14px; --r-big: 20px;
  --head: 'Barlow Semi Condensed', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body { background: #fff; color: var(--ink); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2 { font-family: var(--head); font-weight: 800; letter-spacing: -0.01em; line-height: 1; }
h2 { font-size: 48px; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; }
p.lead { font-size: 19px; font-weight: 500; color: var(--ink-2); max-width: 52ch; line-height: 1.5; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
/* Lime highlight behind a word, as on the app's welcome slides (bg-accent) */
.hl { background: var(--lime); color: var(--navy); padding: 0 .12em; margin: 0 -.02em; border-radius: .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* buttons: flat (brand book: everyday buttons are flat). Navy fill, white label. On navy: white fill, navy label. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: var(--r-btn); font-weight: 700; font-size: 16px; white-space: nowrap; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s var(--ease), background-color .15s, box-shadow .15s; }
.btn:active { transform: scale(.98); }
.btn.primary, .btn.ink { background: var(--navy); color: #fff; }
.btn.primary:hover, .btn.ink:hover { background: #1B2B58; }
.btn.primary .arr { width: 28px; height: 28px; border-radius: 8px; background: var(--lime); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-right: -10px; transition: transform .2s var(--ease); }
.btn.primary:hover .arr { transform: translateX(3px); }
.btn.primary .arr .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--cta-bottom); }
.btn.big { height: 56px; font-size: 17px; padding: 0 28px; }

/* the belt mark, as a big cropped shape (brand book: "big cropped shapes in marketing only") */
.bmark { position: absolute; pointer-events: none; fill: currentColor; }
.bmark .k { fill: var(--knot, #fff); }

/* phones (screens are app renders, 390x844 at 2x) */
.phone { --s: .72; width: calc(390px * var(--s) + 14px); padding: 7px; border-radius: calc(54px * var(--s) + 7px); background: #05080F; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 40px 70px -30px rgba(5,8,15,.7), 0 12px 24px -12px rgba(11,22,54,.3); flex: none; position: relative; }
.phone .scr { width: calc(390px * var(--s)); height: calc(844px * var(--s)); border-radius: calc(47px * var(--s)); overflow: hidden; position: relative; background: #fff; }
.phone .scr img { width: 100%; height: 100%; object-fit: cover; }

/* chips on the stage (the app's floating chips: white, soft shadow, small icon) */
.stk { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: var(--r-card); background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; box-shadow: 0 0 0 1px rgba(11,22,54,.06), 0 18px 36px -14px rgba(5,8,15,.45); white-space: nowrap; }
.stk .b { width: 32px; height: 32px; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; background: var(--panel); }
.stk .b .ic { width: 17px; height: 17px; stroke-width: 2.3; }
.stk .b svg.belt { width: 26px; height: auto; }
.stk .dot { width: 8px; height: 8px; border-radius: 99px; background: var(--live); box-shadow: 0 0 0 4px var(--live-t); }
.stk .b.live { background: var(--live-t); color: var(--live); }

/* nav */
.topnav { height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--navy); }
.brand img { display: block; height: 22px; width: auto; max-width: 100%; }
.topnav .links { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); margin-left: 16px; }
.topnav .links a { text-decoration: none; position: relative; padding: 4px 0; }
.topnav .links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.topnav .links a:hover { color: var(--navy); }
.topnav .links a:hover::after { transform: scaleX(1); }
.topnav .right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.topnav .btn { height: 42px; font-size: 15px; padding: 0 18px; border-radius: 10px; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 28px 0 72px; }
.hero > * { min-width: 0; }
.eyechip { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 6px; border-radius: 99px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; font-size: 13px; font-weight: 700; color: var(--navy); }
.eyechip .dotb { width: 24px; height: 24px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--lime); }
.eyechip .dotb .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.hero h1 { font-size: 72px; max-width: 11em; margin-top: 18px; text-wrap: balance; }
.hero p.lead { margin-top: 18px; max-width: 44ch; }
.stage { position: relative; height: 620px; }
.stage .panel { position: absolute; inset: 0; border-radius: 28px; background: var(--navy); overflow: hidden; }
.stage .panel .bmark { color: var(--pro-surface); --knot: var(--pro-raised); width: 760px; right: -250px; bottom: -330px; transform: rotate(-8deg); }
.stage .panel .band { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--grad); }
.stage .p1 { position: absolute; left: 56px; top: 44px; --s: .62; z-index: 2; transform: rotate(-3deg); }
.stage .p2 { position: absolute; right: 48px; top: 96px; --s: .56; z-index: 3; transform: rotate(4deg); }
.s-streak { right: -18px; top: 30px; }
.s-belt { left: -24px; top: 540px; }

section { padding: 112px 0; }
.sh { max-width: 640px; margin-bottom: 40px; }
.sh p { margin-top: 14px; }
/* kicker: the app's small uppercase label */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.kicker .ic { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--lime); stroke-width: 2.4; }

/* families block */
.fam { background: var(--panel); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.fam > * { min-width: 0; position: relative; z-index: 2; }
.fam p.lead { margin-top: 16px; }
.fam .phones { display: flex; align-items: flex-start; gap: 20px; justify-content: center; }
.fam .phones .phone { --s: .6; }
.fam .phones .phone:first-child { transform: rotate(-2deg); }
.fam .phones .phone:last-child { margin-top: 52px; transform: rotate(3deg); }
.fam > .bmark { position: absolute; z-index: 1; color: #fff; --knot: var(--panel); width: 620px; right: -170px; top: -170px; opacity: .8; transform: rotate(10deg); }

/* family seat tree */
.tree { margin-top: 30px; display: flex; flex-direction: column; align-items: center; max-width: 460px; }
.hub { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; border-radius: var(--r-card); padding: 10px 18px 10px 10px; position: relative; z-index: 1; }
.hub .b { width: 38px; height: 38px; border-radius: var(--r); background: var(--lime); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hub .b .ic { stroke-width: 2.3; }
.hub b { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.hub small { display: block; font-size: 12px; color: var(--pro-muted); }
.seats { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 30px; position: relative; }
.seats::before { content: ''; position: absolute; top: 12px; left: 25%; right: 25%; height: 18px; border: 2px solid var(--navy); border-bottom: 0; border-radius: 10px 10px 0 0; }
.seats::after { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 12px; background: var(--navy); }
.seat { background: #fff; border-radius: var(--r-card); padding: 14px; min-width: 0; box-shadow: 0 0 0 1px var(--line); }
.seat .b { width: 36px; height: 36px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; background: var(--panel); color: var(--navy); }
.seat .b .ic { width: 18px; height: 18px; stroke-width: 2.3; }
.seat > b { display: block; font-size: 15px; font-weight: 700; }
.seat ul { list-style: none; margin-top: 8px; display: grid; gap: 6px; }
.seat li { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.seat li .ic { width: 18px; height: 18px; padding: 3px; border-radius: 6px; stroke-width: 3; }
.seat li.y .ic { background: var(--navy); color: var(--lime); }
.seat li.n { color: var(--muted); }
.seat li.n .ic { background: var(--destructive-t); color: var(--destructive); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.q { border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; transition: background-color .2s, box-shadow .2s; }
.q:hover { background: var(--panel); }
.q[open] { background: #fff; box-shadow: 0 0 0 1.5px var(--navy) inset; }
.q summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; line-height: 1.3; border-radius: var(--r-card); }
.q summary::-webkit-details-marker { display: none; }
.q summary .pm { width: 30px; height: 30px; border-radius: var(--r-sm); background: #fff; box-shadow: 0 0 0 1px var(--line) inset; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .25s var(--ease), background-color .2s; }
.q summary .pm .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.q[open] summary .pm { transform: rotate(45deg); background: var(--navy); color: #fff; box-shadow: none; }
.q .a { padding: 0 22px 20px; }
.q .a p { color: var(--ink-2); font-size: 15px; max-width: 54ch; }
.q[open] .a { animation: faqin .3s var(--ease); }
@keyframes faqin { from { opacity: 0; transform: translateY(-4px); } }

/* final: the brand gradient, belt alone on it (brand book: backgrounds that work) */
.final { background: var(--grad); border-radius: 28px; padding: 72px; display: grid; grid-template-columns: 1.3fr auto; align-items: center; gap: 40px; position: relative; overflow: hidden; }
.final > *:not(.bmark) { position: relative; z-index: 2; }
.final > .bmark { color: var(--navy); --knot: #fff; width: 520px; left: -150px; bottom: -250px; transform: rotate(12deg); opacity: .95; }
.final h2 { max-width: 14ch; font-size: 56px; }
.final p { margin-top: 14px; color: var(--navy); font-size: 18px; font-weight: 500; max-width: 38ch; }

/* motion */
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.float { animation: float 5s ease-in-out infinite; }
.float.d1 { animation-delay: -1.6s; animation-duration: 6s; }
.js [data-reveal] { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }
.js [data-reveal="2"] { transition-delay: .08s; } .js [data-reveal="3"] { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}

/* tablet */
@media (max-width: 1100px) and (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .topnav .links { gap: 20px; margin-left: 0; }
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 11em; }
  .stage { max-width: 640px; width: 100%; margin: 0 auto; }
  .fam { grid-template-columns: 1fr; padding: 48px; }
  .faq { grid-template-columns: 1fr; }
  .final { grid-template-columns: 1fr; padding: 56px; }
}
@media (max-width: 900px) and (min-width: 768px) { .topnav .links { display: none; } }

/* mobile */
@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .topnav { height: 60px; } .topnav .links { display: none; } .topnav .btn { height: 38px; font-size: 14px; padding: 0 14px; }
  .brand img { height: 17px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 14px 0 52px; }
  .hero h1 { font-size: 44px; margin-top: 14px; }
  .hero p.lead { font-size: 16px; margin-top: 12px; }
  .stage { height: 440px; margin: 0 4px; } .stage .panel { border-radius: 22px; }
  .stage .panel .bmark { width: 520px; right: -190px; bottom: -230px; }
  .stage .p1 { --s: .47; left: 22px; top: 36px; }
  .stage .p2 { --s: .42; right: 20px; top: 72px; }
  .stk { font-size: 12px; padding: 5px 12px 5px 5px; border-radius: 12px; gap: 7px; }
  .stk .b { width: 26px; height: 26px; border-radius: 7px; } .stk .b .ic { width: 14px; height: 14px; } .stk .b svg.belt { width: 21px; }
  .s-streak { right: -6px; top: 10px; } .s-belt { left: -6px; top: 392px; }
  section { padding: 76px 0; }
  h2 { font-size: 38px; }
  p.lead { font-size: 16px; }
  .sh { margin-bottom: 28px; }
  .fam { grid-template-columns: 1fr; padding: 36px 18px; border-radius: 22px; gap: 36px; }
  .fam > .bmark { width: 380px; right: -150px; top: -120px; }
  .fam .phones .phone { --s: .42; } .fam .phones .phone:last-child { margin-top: 32px; } .fam .phones { gap: 12px; }
  .tree { margin-top: 24px; }
  .seats { gap: 10px; } .seat { padding: 12px; } .hub { padding-right: 12px; }
  .faq { grid-template-columns: 1fr; }
  .q summary { padding: 18px; font-size: 15px; } .q .a { padding: 0 18px 18px; }
  .final { grid-template-columns: 1fr; padding: 40px 12px 12px; border-radius: 22px; gap: 24px; }
  .final .f-copy { padding: 0 8px; }
  .final h2 { font-size: 42px; }
  .final p { font-size: 16px; }
  .final > .bmark { display: none; }
  .btn.big { height: 54px; font-size: 16px; }
}
