/* ==========================================================================
   Investace — dark (Wealthcore) design system
   Obsidian surfaces, graphite grain panels, silver metallic type,
   square controls. Shared by the main site and the AlphaLeap page.
   ========================================================================== */
:root {
  --bg: #08080A;
  --bg-2: #0E0E11;
  --line: rgba(var(--on), .08);
  --line-2: rgba(var(--on), .14);
  --text: #ECECEA;
  --mute: rgba(236, 236, 234, .72);
  --dim: rgba(236, 236, 234, .56);
  --signal: #D9E4A6;
  --gold: #BE9338;
  --f: "Geist", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --f-logo: "Poppins", "Geist", system-ui, sans-serif;
  --spring: cubic-bezier(.2, .9, .25, 1);
  --pad: clamp(20px, 4vw, 56px);
  --on: 255,255,255;
  --bg-rgb: 8,8,10;
  --quiet: #7A7873;
  --btn-grad: linear-gradient(180deg, #fff, #E4E4E2);
  --btn-fg: #0A0A0B;
  --btn-bg: #fff;
  --panel-base: #0C0C0E;
  --panel-a: #C4C4C1; --panel-b: #19191B; --panel-c: #8C8B88;
  --surface: #0F0F12;
  --metal: linear-gradient(180deg, #FFFFFF 0%, #E6E6E3 36%, #A3A29E 76%, #7E7D79 100%);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--f); background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; background-image: var(--noise); opacity: .04; mix-blend-mode: overlay; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

/* type */
.metal { background: var(--metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.quiet { color: var(--quiet); }
.h1 { font-size: clamp(44px, 5.6vw, 92px); line-height: 1; letter-spacing: -.05em; font-weight: 400; }
.h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.045em; font-weight: 400; }
.chip { display: inline-flex; align-items: center; gap: 8px; width: fit-content; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); background: rgba(var(--on), .035); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(var(--on), .8); box-shadow: inset 0 1px 0 rgba(var(--on), .05); }
.lede { font-size: 18.5px; line-height: 1.62; color: var(--mute); max-width: 520px; }
.fine { font-size: 12px; line-height: 1.55; color: var(--dim); }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(217,228,166,.15), 0 0 12px rgba(217,228,166,.55); animation: live 2.6s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 6px rgba(217,228,166,0), 0 0 16px rgba(217,228,166,.3); } }

/* square controls */
.sq { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; font-size: 15.5px; font-weight: 500; border-radius: 2px; white-space: nowrap; transition: transform .45s var(--spring), background .25s, color .25s, border-color .25s; }
.sq:active { transform: scale(.97); transition-duration: .1s; }
.sq--light { background: var(--btn-grad); color: var(--btn-fg); box-shadow: inset 0 -1px 0 rgba(0,0,0,.12), 0 10px 30px -12px rgba(var(--on), .25); }
.sq--light:hover { background: var(--btn-bg); }
.sq--line { border: 1px solid rgba(var(--on), .22); color: var(--text); }
.sq--line:hover { border-color: rgba(var(--on), .55); background: rgba(var(--on), .04); }
.sq--sm { height: 38px; padding: 0 16px; font-size: 14.5px; }

/* logo in dark liquid glass */
.logo { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 15px; border-radius: 999px; font-family: var(--f-logo); color: var(--text); line-height: 1; isolation: isolate; transition: transform .45s var(--spring); }
.logo:active { transform: scale(.97); transition-duration: .1s; }
.logo__word { font-weight: 700; font-size: 15.5px; letter-spacing: .015em; }
.logo__bar { width: 2px; height: 16px; background: var(--gold); border-radius: 1px; }
.logo__cap { font-weight: 400; font-size: 12px; letter-spacing: .42em; margin-right: -.42em; color: rgba(var(--on), .76); }
.logo__glass { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; background: linear-gradient(180deg, rgba(var(--on), .16), rgba(var(--on), .03)); backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%); box-shadow: inset 0 1px 0 rgba(var(--on), .34), inset 0 -1px 0 rgba(var(--on), .06), inset 0 0 0 1px rgba(var(--on), .1), 0 14px 34px -14px rgba(0,0,0,.8); }
.logo__glass::before { content: ""; position: absolute; inset: -40% -10%; background: radial-gradient(40% 60% at var(--lx, 30%) 0%, rgba(var(--on), .75), transparent 70%); opacity: .22; transition: opacity .4s; }
.logo:hover .logo__glass::before { opacity: .42; }
.logo--xl { padding: 16px 26px 16px 24px; gap: 16px; }
.logo--xl .logo__word { font-size: clamp(22px, 2.4vw, 32px); }
.logo--xl .logo__bar { width: 2.5px; height: clamp(26px, 2.6vw, 36px); }
.logo--xl .logo__cap { font-size: clamp(14px, 1.5vw, 20px); letter-spacing: .44em; margin-right: -.44em; }
.brand { display: flex; align-items: center; gap: 12px; }
.product { display: inline-flex; align-items: center; gap: 8px; font-size: 17.5px; font-weight: 500; letter-spacing: -.03em; }
.product__mark { width: 22px; height: 22px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 17 L10.5 10.5 L13.5 13.5 L19 7' stroke='%230A0A0B' stroke-width='2.2' fill='none' stroke-linecap='square'/%3E%3C/svg%3E") center/16px no-repeat; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: background .5s, height .5s var(--spring), box-shadow .5s; }
.nav.is-solid { height: 64px; background: rgba(var(--bg-rgb), .72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 1px 0 var(--line); }
.nav .brand, .nav > .logo { justify-self: start; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 15px; color: var(--mute); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__end { justify-self: end; display: flex; gap: 8px; align-items: center; }
.nav__login { font-size: 14.5px; color: rgba(var(--on), .7); padding: 0 10px; }
.nav__login:hover { color: var(--text); }

/* grain panel */
.grain { position: relative; overflow: hidden; isolation: isolate; background: var(--panel-base); }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: var(--noise); opacity: .38; mix-blend-mode: overlay; }
.blobs { position: absolute; inset: -20%; z-index: 0; filter: blur(64px); }
.blobs i { position: absolute; border-radius: 50%; will-change: transform; }
.blobs i:nth-child(1) { width: 70%; height: 80%; left: -10%; top: -12%; background: radial-gradient(closest-side, var(--panel-a), transparent); animation: d1 24s ease-in-out infinite alternate; }
.blobs i:nth-child(2) { width: 60%; height: 70%; right: -6%; top: 26%; background: radial-gradient(closest-side, var(--panel-b), transparent); animation: d2 28s ease-in-out infinite alternate; }
.blobs i:nth-child(3) { width: 50%; height: 60%; left: 20%; bottom: -16%; background: radial-gradient(closest-side, var(--panel-c), transparent); animation: d3 32s ease-in-out infinite alternate; }
@keyframes d1 { to { transform: translate(18%, 22%) scale(1.15); } }
@keyframes d2 { to { transform: translate(-25%, -10%) scale(1.2); } }
@keyframes d3 { to { transform: translate(10%, -30%) scale(.9); } }
.grain--deep .blobs i:nth-child(1) { background: radial-gradient(closest-side, #5E5D5A, rgba(94,93,90,0)); }
.grain--deep .blobs i:nth-child(3) { background: radial-gradient(closest-side, #34332F, rgba(52,51,47,0)); }

/* dark glass cards */
.gcard { position: relative; z-index: 2; width: 100%; padding: 18px 20px 20px; border-radius: 16px; background: linear-gradient(180deg, rgba(58,58,60,.6), rgba(22,22,24,.82)); backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%); box-shadow: inset 0 1px 0 rgba(var(--on), .14), 0 0 0 1px rgba(var(--on), .07), 0 30px 60px -24px rgba(0,0,0,.85); color: var(--text); }
.gcard__label { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(var(--on), .9); }
.gcard__label .tag { margin-left: auto; font-size: 12px; letter-spacing: .04em; padding: 2px 6px; background: rgba(var(--on), .08); color: rgba(var(--on), .6); }
.ring { width: 16px; height: 16px; border-radius: 50%; background: rgba(var(--on), .1); box-shadow: inset 0 0 0 1px rgba(var(--on), .2); position: relative; flex: none; }
.ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.gcard__muted { margin-top: 8px; font-size: 13px; color: rgba(var(--on), .62); }
.gcard__fine { margin-top: 12px; font-size: 12px; color: var(--dim); letter-spacing: .02em; }
.gcard__big { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; font-size: 34px; letter-spacing: -.045em; }
.gcard__big em { font-style: normal; font-size: 22px; color: var(--dim); }
.gcard__huge { margin-top: 18px; font-size: 88px; line-height: .9; letter-spacing: -.06em; background: linear-gradient(180deg, #fff, #8d8c89); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gcard__huge sup { font-size: .4em; vertical-align: top; }
.alloc { margin-top: 18px; display: flex; align-items: flex-start; gap: 12px; }
.alloc b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.alloc small { font-size: 12px; color: rgba(var(--on), .66); }
.alloc span { font-size: 28px; color: var(--dim); font-weight: 300; line-height: 1; }
.flag { display: inline-block; margin-top: 16px; padding: 4px 8px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: rgba(var(--on), .1); box-shadow: inset 0 0 0 1px rgba(var(--on), .14); }
.timeline { list-style: none; margin-top: 14px; display: grid; gap: 11px; }
.timeline li { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--dim); }
.timeline li i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(var(--on), .25); position: relative; flex: none; }
.timeline li.on { color: rgba(var(--on), .92); }
.timeline li.on i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.timeline li em { margin-left: auto; font-style: normal; text-transform: none; letter-spacing: 0; color: var(--dim); }
.log { list-style: none; margin-top: 16px; display: grid; gap: 12px; }
.log li { display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; font-size: 14.5px; }
.log li i { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(var(--on), .12); grid-row: span 2; }
.log li em { font-style: normal; font-size: 12px; color: var(--dim); }
.checks { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; font-size: 14.5px; font-weight: 500; }
.checks li b { grid-row: span 2; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; background: linear-gradient(180deg, #fff, #bcbbb7); color: #0A0A0B; }
.checks li em { font-style: normal; font-size: 12px; color: var(--dim); font-weight: 400; }
.bars { margin-top: 18px; display: flex; gap: 3px; height: 8px; }
.bars i { width: var(--w); background: linear-gradient(90deg, rgba(var(--on), .95), rgba(var(--on), .4)); transform-origin: 0 50%; }
.bars i + i { opacity: .66; } .bars i + i + i { opacity: .4; }
.basket { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.basket li { display: grid; grid-template-columns: 1fr auto; gap: 14px; font-size: 13px; padding-bottom: 8px; border-bottom: 1px solid rgba(var(--on), .07); }
.basket li span { color: var(--dim); font-variant-numeric: tabular-nums; }
.griddots { margin-top: 20px; height: 64px; background-image: radial-gradient(circle, rgba(var(--on), .45) 1.1px, transparent 1.4px); background-size: 12px 12px; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); mask-image: linear-gradient(90deg, #000 30%, transparent); }
.panel__cap { position: relative; z-index: 2; margin-top: 40px; text-align: center; }
.panel__cap p { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.panel__cap small { display: block; margin-top: 8px; font-size: 14.5px; color: rgba(var(--on), .72); max-width: 260px; margin-inline: auto; }

/* hero (split) */
.hero { position: relative; height: 100vh; min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); background: radial-gradient(90% 70% at 30% 40%, #131316 0%, #09090B 70%); overflow: hidden; }
.hero__left { min-width: 0; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 120px var(--pad) 0; text-align: center; }
.hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero__copy .h1 { margin-top: 26px; }
.hero__sub { margin-top: 22px; max-width: 500px; font-size: 17.5px; line-height: 1.55; color: rgba(var(--on), .7); }
.hero__reg { margin-top: 14px; max-width: 520px; font-size: 12px; line-height: 1.5; color: var(--dim); }
.hero__btns { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero--left .hero__left { align-items: flex-start; text-align: left; justify-content: center; padding-bottom: 40px; }
.hero--left .hero__copy { align-items: flex-start; }
.hero--left .hero__btns { justify-content: flex-start; }
.facts { margin-top: 40px; display: flex; gap: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--dim); }
.facts dd { margin-top: 3px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.themes { width: 100%; min-width: 0; max-width: 100%; margin-top: auto; padding: 40px 0 32px; text-align: center; }
.themes p { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.marquee { margin-top: 16px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 44s linear infinite; }
.marquee__track span { font-size: 17px; font-weight: 500; letter-spacing: -.02em; color: var(--dim); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero__panel { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 96px clamp(24px, 3vw, 48px) 40px; }
.dust { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.stack { position: relative; z-index: 2; width: min(360px, 100%); display: grid; gap: 12px; }
.sweep { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.sprinkle { position: absolute; inset: 0; z-index: 7; width: 100%; height: 100%; pointer-events: none; }

/* sections */
.section { position: relative; padding: clamp(80px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
.head .h2 { margin-top: 20px; }
.head .lede { margin-top: 20px; }
.head--row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }

/* spec tables (hairline grid) */
.specs { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.spec { background: var(--bg); padding: 34px 30px 30px; display: flex; flex-direction: column; transition: background .4s; }
.spec:hover { background: var(--surface); }
.spec__tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.spec h3 { margin-top: 18px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.spec__desc { margin-top: 14px; font-size: 15.5px; line-height: 1.55; color: var(--mute); min-height: 44px; }
.spec dl { margin-top: 28px; }
.spec dl div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.spec dt { color: var(--dim); }
.spec dd { font-weight: 500; }
.spec__btns { margin-top: auto; padding-top: 28px; display: flex; gap: 8px; }

/* features */
.features { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--bg); padding: 30px 28px 34px; min-height: 210px; display: flex; flex-direction: column; transition: background .4s; }
.feature:hover { background: var(--surface); }
.feature svg { width: 20px; height: 20px; color: var(--text); opacity: .9; }
.feature h3 { margin-top: auto; padding-top: 36px; font-size: 19px; font-weight: 500; letter-spacing: -.025em; }
.feature p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--mute); }

/* CLEAR funnel (pinned on wide screens; stacked below 1081px) */
.film { position: relative; height: 300vh; background: var(--bg); border-top: 1px solid var(--line); --cf-ink: 236,230,218; --cf-gold: 201,163,92; }
.film__pin { position: sticky; top: 0; height: 100vh; min-height: 680px; overflow: hidden; }
.film__copy { position: absolute; z-index: 2; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(440px, 36vw); }
.film__copy .h2 { margin-top: 18px; }
.film__stages { list-style: none; margin-top: 30px; display: grid; }
.film__stages li { border-top: 1px solid rgba(var(--on), .08); }
.film__stage { position: relative; width: 100%; display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; text-align: left; color: var(--dim); transition: color .5s; }
.film__stage::before { content: ""; position: absolute; left: -14px; top: 50%; width: 2px; height: 0; background: var(--gold); transform: translateY(-50%); transition: height .5s var(--spring); }
.film__stage:hover { color: rgba(var(--on), .82); }
.film__stage:focus-visible { outline: 1px solid rgba(var(--on), .6); outline-offset: 2px; }
.film__stage b { font-weight: 500; font-size: 15.5px; }
.film__stage strong { font-weight: 400; font-size: 15.5px; }
.film__stage span { font-size: 13px; font-variant-numeric: tabular-nums; }
.film__stages li.on .film__stage { color: rgba(var(--on), .7); }
.film__stages li.cur .film__stage { color: var(--text); }
.film__stages li.cur .film__stage::before { height: 18px; }
.film__stages li.cur .film__stage b { color: var(--gold); }
.film__detail { margin-top: 22px; min-height: 150px; }
.film__detail p { font-size: 15.5px; line-height: 1.62; color: rgba(var(--on), .66); }
.film__detail q { display: block; margin-top: 12px; padding-left: 12px; border-left: 1px solid rgba(var(--on), .4); font-size: 15.5px; color: var(--text); }
.film__viz { position: absolute; z-index: 1; top: 8vh; bottom: 6vh; left: calc(var(--pad) + min(440px, 36vw) + 3vw); right: calc(var(--pad) + 40px); }
.film__count { position: absolute; z-index: 2; right: var(--pad); bottom: 36px; text-align: right; }
.film__count b { display: block; font-size: clamp(56px, 6.4vw, 96px); line-height: .9; letter-spacing: -.06em; font-weight: 400; font-variant-numeric: tabular-nums; }
.film__count small { display: block; font-size: 13px; color: var(--dim); }

.film__viz > .cf-film { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.film__note { position: absolute; z-index: 2; left: calc(var(--pad) + min(440px, 36vw) + 3vw); bottom: 38px; font-size: 12px; color: rgba(var(--on), .38); }

/* numbers */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers__row > div { padding: 54px 0 50px 28px; border-left: 1px solid var(--line); }
.numbers__row > div:first-child { border-left: 0; padding-left: 0; }
.numbers__row b { display: block; font-size: clamp(44px, 5vw, 76px); line-height: 1; letter-spacing: -.05em; font-weight: 400; font-variant-numeric: tabular-nums; }
.numbers__row small { display: block; margin-top: 12px; font-size: 14.5px; color: var(--mute); }

/* walkthrough (pinned) */
.how { position: relative; height: 480vh; background: var(--bg); border-top: 1px solid var(--line); }
.how__pin { position: sticky; top: 0; height: 100vh; min-height: 660px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.how__left { padding: 110px var(--pad) 50px; display: flex; flex-direction: column; justify-content: center; }
.how__left .h2 { margin-top: 20px; }
.steps { list-style: none; margin-top: 34px; display: grid; max-width: 480px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .5s; }
.steps li span { font-size: 13px; color: rgba(var(--on), .6); padding-top: 3px; font-variant-numeric: tabular-nums; }
.steps li b { font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.steps li p { max-height: 0; overflow: hidden; font-size: 14.5px; line-height: 1.55; color: var(--mute); transition: max-height .6s var(--spring), margin .6s var(--spring); }
.steps li.is-on { opacity: 1; }
.steps li.is-on p { max-height: 100px; margin-top: 6px; }
.how__panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px 40px 40px; }
.screens { position: relative; z-index: 2; width: min(380px, 100%); height: 340px; }
.screen { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(24px) scale(.97); filter: blur(8px); transition: opacity .6s var(--spring), transform .8s var(--spring), filter .6s; pointer-events: none; }
.screen.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }

/* CLEAR letters (tabs) */
.letters { margin-top: 48px; display: flex; gap: 1px; height: 480px; background: var(--line); border: 1px solid var(--line); }
.letter { position: relative; flex: 1; min-width: 0; background: var(--bg); text-align: left; padding: 26px 24px; display: flex; flex-direction: column; overflow: hidden; transition: flex .9s var(--spring), background .4s; }
.letter:hover { background: var(--surface); }
.letter.is-on { flex: 3.4; background: var(--surface); }
.letter > b { font-size: clamp(72px, 8vw, 128px); line-height: .8; font-weight: 400; letter-spacing: -.06em; }
.letter__name { margin-top: auto; font-size: 13px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: rgba(var(--on), .66); white-space: nowrap; }
.letter__body { display: grid; gap: 10px; max-width: 460px; font-size: 15.5px; line-height: 1.6; color: var(--mute); max-height: 0; opacity: 0; transition: opacity .4s, max-height .8s var(--spring), margin .8s var(--spring); }
.letter__body strong { font-size: 22px; font-weight: 400; letter-spacing: -.03em; color: var(--text); }
.letter__body em { font-style: normal; color: rgba(var(--on), .88); border-left: 1px solid rgba(var(--on), .4); padding-left: 12px; }
.letter.is-on .letter__body { max-height: 320px; opacity: 1; margin-top: 16px; transition-delay: .25s, 0s, 0s; }

/* funnel strip */
.funnel { margin-top: 40px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.funnel div { padding: 18px 18px 22px; border-left: 1px solid var(--line); position: relative; }
.funnel div:first-child { border-left: 0; }
.funnel small { font-size: 12px; color: var(--dim); letter-spacing: .03em; }
.funnel b { display: block; margin-top: 8px; font-size: 32px; font-weight: 400; letter-spacing: -.05em; }
.funnel i { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w); background: linear-gradient(90deg, var(--text), rgba(var(--on), .2)); transform-origin: 0 50%; }

/* portfolio construction */
.shape__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.stackbar { display: flex; gap: 4px; height: 160px; }
.stackbar div { width: var(--w); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, #2B2B2E, #161618); box-shadow: inset 0 1px 0 rgba(var(--on), .1), 0 0 0 1px rgba(var(--on), .06); transform-origin: 0 100%; }
.stackbar div:nth-child(2) { background: linear-gradient(180deg, #4A4A4C, #262628); }
.stackbar div:nth-child(3) { background: linear-gradient(180deg, #ECECE9, #B8B8B4); color: #0A0A0B; }
.stackbar b { font-size: 30px; font-weight: 400; letter-spacing: -.05em; }
.stackbar span { font-size: 13px; opacity: .75; }
.sectors { margin-top: 26px; display: grid; gap: 12px; }
.sectors div { display: grid; grid-template-columns: 120px 1fr 44px; gap: 14px; align-items: center; font-size: 14.5px; color: rgba(var(--on), .7); }
.sectors i { height: 6px; background: linear-gradient(90deg, rgba(var(--on), .9), rgba(var(--on), .3)); width: var(--w); transform-origin: 0 50%; }
.sectors b { text-align: right; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.kpis { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.kpis div { padding: 16px 0 0; }
.kpis dt { font-size: 12px; color: var(--dim); }
.kpis dd { margin-top: 4px; font-size: 24px; letter-spacing: -.04em; }

/* team */
.people { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.person { background: var(--bg); padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 6px; transition: background .4s; }
.person:hover { background: var(--surface); }
.person__mono { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 24px; font-size: 17.5px; font-weight: 500; background: linear-gradient(180deg, #2a2a2c, #141416); box-shadow: inset 0 1px 0 rgba(var(--on), .12), 0 0 0 1px rgba(var(--on), .08); }
.person small { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.person b { font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.person p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--mute); }
.person a { margin-top: auto; padding-top: 16px; font-size: 14.5px; color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--on), .3); text-underline-offset: 4px; }
.reg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: 0; }
.reg div { background: var(--panel-base); padding: 20px 28px; }
.reg dt { font-size: 12px; color: var(--dim); }
.reg dd { margin-top: 4px; font-size: 15.5px; font-weight: 500; }
.reg dd small { display: block; font-size: 13px; font-weight: 400; color: var(--mute); }

/* pricing */
.price { margin-top: 60px; display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); }
.price__main { padding: 44px 40px; background: linear-gradient(180deg, #111114, #0A0A0C); }
.price__amt { margin-top: 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__amt b { font-size: clamp(52px, 6vw, 88px); font-weight: 400; letter-spacing: -.06em; line-height: 1; }
.price__amt span { font-size: 17px; color: var(--mute); }
.price__note { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--mute); max-width: 420px; }
.price__main .sq { margin-top: 30px; }
.price__list { padding: 44px 40px; border-left: 1px solid var(--line); display: grid; align-content: center; gap: 16px; list-style: none; }
.price__list li { position: relative; padding-left: 28px; font-size: 17px; color: rgba(var(--on), .85); }
.price__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(-45deg); }
.onboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: 0; }
.onboard div { background: var(--panel-base); padding: 22px 24px 26px; }
.onboard span { font-size: 12px; color: var(--dim); }
.onboard b { display: block; margin-top: 10px; font-size: 17px; font-weight: 500; }
.onboard p { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--mute); }

/* research notes */
.notes { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.note { background: var(--bg); padding: 28px; min-height: 220px; display: flex; flex-direction: column; transition: background .4s; }
.note:hover { background: var(--surface); }
.note small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.note b { margin-top: 16px; font-size: 22px; font-weight: 400; letter-spacing: -.03em; line-height: 1.15; }
.note p { margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--mute); }

/* faq */
.faq__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--text), var(--text)) center/12px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center/1.5px 12px no-repeat; transition: transform .5s var(--spring); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 40px 22px 0; font-size: 15.5px; line-height: 1.65; color: var(--mute); }

/* CTA */
.cta { padding: 0 var(--pad) clamp(80px, 10vw, 140px); }
.cta__panel { max-width: 1320px; margin: 0 auto; min-height: 480px; display: grid; place-items: center; text-align: center; }
.cta__in { position: relative; z-index: 2; padding: 60px 24px; display: grid; justify-items: center; }
.cta__in p { margin-top: 20px; max-width: 460px; font-size: 17px; color: rgba(var(--on), .78); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 72px 0 28px; overflow: hidden; }
.foot__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot__brand { display: grid; gap: 18px; justify-items: start; }
.foot__brand p { max-width: 340px; font-size: 14.5px; color: var(--mute); }
.foot__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot__cols div { display: grid; gap: 10px; align-content: start; }
.foot__cols b { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.foot__cols a, .foot__cols span { font-size: 14.5px; color: rgba(var(--on), .8); max-width: 240px; }
.foot__cols a:hover { color: var(--text); }
.foot__giant { margin: 70px 0 8px; font-family: var(--f-logo); font-weight: 700; font-size: clamp(52px, 12.4vw, 192px); line-height: .8; letter-spacing: .01em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(var(--on), .14), rgba(var(--on), 0) 85%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; user-select: none; }
.foot__legal { padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; max-width: 1000px; font-size: 12px; line-height: 1.6; color: var(--dim); }
.foot__legal p:first-child { color: rgba(var(--on), .66); }
.foot__bar { margin-top: 26px; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--dim); }


/* ==========================================================================
   LIGHT MODE — same design in daylight. Every colour above routes through
   --on / --bg-rgb / --text etc., so this block only redefines tokens plus a
   few surfaces that need a different material (glass cards, hero field).
   ========================================================================== */
html[data-theme="light"] {
  --bg: #F3F2EF; --bg-2: #ECEBE7; --surface: #FFFFFF; --panel-base: #E4E5E2;
  --on: 14,12,10; --bg-rgb: 243,242,239;
  --text: #0E0C0A; --mute: rgba(14,12,10,.72); --dim: rgba(14,12,10,.58);
  --line: rgba(14,12,10,.09); --line-2: rgba(14,12,10,.16);
  --quiet: #88857F; --signal: #534C29;
  --btn-grad: linear-gradient(180deg, #2A2825, #0E0C0A); --btn-fg: #FFFFFF; --btn-bg: #0E0C0A;
  --panel-a: #FFFFFF; --panel-b: #B9BBB5; --panel-c: #E6EBC4;
  --metal: linear-gradient(180deg, #34322E 0%, #0E0C0A 55%, #5C5954 100%);
}
html[data-theme="light"] body::after { opacity: .06; mix-blend-mode: multiply; }
html[data-theme="light"] .grain::after { opacity: .3; mix-blend-mode: multiply; }
html[data-theme="light"] .hero { background: radial-gradient(90% 70% at 30% 40%, #FAF9F6 0%, #EFEEEA 70%); }
html[data-theme="light"] .gcard { background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.62)); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(14,12,10,.06), 0 40px 70px -30px rgba(40,38,34,.4); color: var(--text); }
html[data-theme="light"] .ring::after, html[data-theme="light"] .timeline li.on i::after, html[data-theme="light"] .log li i { background: var(--text); }
html[data-theme="light"] .checks li b { background: var(--text); color: #fff; }
html[data-theme="light"] .gcard__huge { background: linear-gradient(180deg, #2A2926, #8A8884); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .bars i { background: linear-gradient(90deg, #0E0C0A, #6C6A66); }
html[data-theme="light"] .flag { background: #E6EBC4; color: #534C29; box-shadow: none; }
html[data-theme="light"] .nav.is-solid { background: rgba(243,242,239,.8); }
html[data-theme="light"] .sq--light { box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 26px -12px rgba(14,12,10,.5); }
html[data-theme="light"] .live { box-shadow: 0 0 0 3px rgba(83,76,41,.18); }
html[data-theme="light"] .film { --cf-ink: 40,34,26; --cf-gold: 156,116,40; }

/* responsive */
@media (max-width: 1080px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__login { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); height: auto; }
  .hero__left { min-height: 92vh; }
  .hero__panel { min-height: 88vh; }
  .sweep { display: none; }
  .how { height: auto; }
  .how__pin { position: relative; height: auto; grid-template-columns: minmax(0, 1fr); }
  .how__panel { min-height: 560px; }
  .specs, .people, .features, .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs > :last-child:nth-child(odd), .people > :last-child:nth-child(odd), .features > :last-child:nth-child(odd), .notes > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .reg { grid-template-columns: minmax(0, 1fr); }
  .head--row, .shape__grid, .faq__grid, .price { grid-template-columns: minmax(0, 1fr); }
  .price__list { border-left: 0; border-top: 1px solid var(--line); }
  .onboard { grid-template-columns: 1fr 1fr; }
  .letters { flex-direction: column; height: auto; }
  .letter { flex: none !important; }
  .letter > b { font-size: 56px; }
  .numbers__row { grid-template-columns: 1fr 1fr; }
  .numbers__row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .funnel { grid-template-columns: repeat(3, 1fr); }
  .funnel div:nth-child(4) { border-left: 0; }
  /* stacked: heading → funnel (+ metric) → rows → explanation; no pin */
  .film { height: auto; }
  .film__pin { position: relative; height: auto; min-height: 0; display: flex; flex-direction: column; padding: 88px var(--pad) 72px; }
  .film__copy { display: contents; }
  .film__copy > .chip { order: 1; align-self: flex-start; }
  .film__copy > .h2 { order: 2; }
  .film__viz { order: 3; position: relative; inset: auto; width: 100%; max-width: 640px; align-self: center; height: clamp(320px, 88vw, 560px); margin-top: 18px; }
  .film__note { order: 5; position: static; margin-top: 10px; }
  .film__count { order: 4; position: relative; right: auto; bottom: auto; align-self: flex-end; margin-top: -58px; }
  .film__stages { order: 6; margin-top: 18px; }
  .film__detail { order: 7; min-height: 0; margin-top: 18px; max-width: 620px; }
  .film__stage::before { left: -10px; }
}
@media (max-width: 699px) {
  .specs, .people, .features, .notes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .logo { padding: 8px 12px; gap: 7px; }
  .logo__word { font-size: 13px; }
  .logo__cap, .logo__bar { display: none; }
  .brand .product { font-size: 15.5px; }
  .nav__end .sq { height: 36px; padding: 0 12px; font-size: 13px; }
  .h1 { font-size: 40px; }
  .facts { gap: 20px; flex-wrap: wrap; }
  .onboard { grid-template-columns: 1fr; }
  .price__main, .price__list { padding: 30px 24px; }
  .logo--xl .logo__cap, .logo--xl .logo__bar { display: none; }
  .numbers__row > div { padding: 34px 0 30px 18px; }
  .film__stage { padding: 12px 0; }
  .film__stage strong { font-size: 14.5px; }
  .film__count b { font-size: 44px; }
  .film__count { margin-top: -48px; }
  .sectors div { grid-template-columns: 96px 1fr 38px; }
  .funnel { grid-template-columns: 1fr 1fr; }
  .funnel div:nth-child(3), .funnel div:nth-child(5) { border-left: 0; }
  .funnel div:nth-child(4) { border-left: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .how, .film { height: auto; }
  .how__pin, .film__pin { position: relative; }
  .screen { position: relative; opacity: 1; transform: none; filter: none; margin-bottom: 12px; }
  .screens { height: auto; }
  .sweep, .sprinkle { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .gcard, .nav.is-solid, .logo__glass { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .gcard { background: #1c1c1e; }
}

/* iPad portrait: room for the filter detail under the list. */


/* CLEAR on short laptop screens: keep the copy clear of the fixed nav */
@media (min-width: 1081px) and (max-height: 820px) {
  .film__pin { min-height: 600px; }
  .film__copy { top: calc(50% + 30px); }
  .film__copy .h2 { margin-top: 12px; font-size: clamp(40px, 4.6vw, 60px); }
  .film__stages { margin-top: 18px; }
  .film__stage { padding: 7px 0; }
  .film__detail { margin-top: 14px; min-height: 120px; }
  .film__detail p, .film__detail q { font-size: 14.5px; }
  .film__viz { top: 76px; }
}
