/* ==========================================================
   Growth Lab Protocol — v2 · premium dark editorial
   ========================================================== */
:root {
  --ink: #07090F;
  --ink-2: #0B0E16;
  --ink-3: #10141F;
  --ink-4: #161B29;
  --line-d: rgba(255, 255, 255, .08);
  --line-d2: rgba(255, 255, 255, .14);
  --text-d: #EEECE6;
  --muted-d: #8C92A4;

  --ivory: #F4F2EC;
  --paper: #EBE8E0;
  --text-l: #0A0C12;
  --muted-l: #5D6272;
  --line-l: rgba(10, 12, 18, .12);

  --accent: #2438F5;        /* deep ultramarine */
  --accent-hi: #3B4EFF;
  --accent-soft: #B3C0FF;   /* on dark */
  --green: #39D98A;
  --red: #FF7A6B;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-xl: 32px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text-d); background: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 64px); margin: 0 auto; padding: 0 32px; }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.kicker--ink { color: var(--muted-l); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(57,217,138,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(57,217,138,0); } 100% { box-shadow: 0 0 0 0 rgba(57,217,138,0); } }
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.02em; margin: 0; color: var(--text-l); }
.title em, .hero__title em, .footer__cta em { font-style: italic; color: var(--accent); }
.title--light { color: var(--text-d); }
.title--light em, .hero__title em, .footer__cta em { color: var(--accent-soft); }
.sub { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted-l); max-width: 560px; margin: 28px 0 0; }
.sub--light { color: var(--muted-d); }
.head { margin-bottom: 72px; max-width: 900px; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
.head--split .sub { margin: 0; }
.fineprint { font-size: 13px; color: var(--muted-l); margin: 28px 0 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: .01em; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hi); }
.btn--accent:disabled { background: var(--ink-4); color: var(--muted-d); cursor: not-allowed; }
.btn--ghost { border-color: var(--line-d2); color: var(--text-d); }
.btn--ghost:hover { border-color: var(--text-d); }
.btn--light { background: var(--ivory); color: var(--text-l); }
.btn--light:hover { background: #fff; }
.link { display: inline-flex; gap: 8px; font-weight: 600; margin-top: 14px; color: #fff; }
.link .arr { transition: transform .3s var(--ease); } .link:hover .arr { transform: translateX(4px); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo__mark path, .done-mark path { fill: none; stroke-width: 13; }
.logo__mark .g, .done-mark .g { stroke: var(--text-d); }
.logo__mark .a, .done-mark .a { stroke: var(--accent-soft); }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__word b { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.logo__word i { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: .38em; text-transform: uppercase; color: var(--muted-d); margin-top: 4px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.menu-open { background: rgba(7, 9, 15, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line-d); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a { font-size: 14px; color: var(--muted-d); transition: color .2s; }
.nav__links a:hover { color: var(--text-d); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text-d); transition: transform .25s var(--ease), top .25s var(--ease); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 25px; }
.nav.menu-open .nav__toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.menu-open .nav__toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }
.mobile-menu { padding: 8px 20px 28px; display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line-d); font-family: var(--serif); font-size: 28px; }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- sections ---------- */
.sec { padding: 140px 0; position: relative; }
.sec--light { background: var(--ivory); color: var(--text-l); }
.sec--paper { background: var(--paper); color: var(--text-l); }
.sec--dark { background: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(130px, 17vh, 170px) 0 0; overflow: hidden; background: var(--ink); }
.hero__glow { position: absolute; left: 50%; top: 380px; width: 1400px; height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(36, 56, 245, .38), rgba(36, 56, 245, .08) 55%, transparent 75%); pointer-events: none; filter: blur(10px); }
.hero__glow--book { top: 30%; width: 1000px; height: 700px; opacity: .6; }
.hero__copy { position: relative; text-align: center; max-width: 980px; margin: 0 auto; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8.4vw, 128px); line-height: .94; letter-spacing: -0.025em; margin: 0; }
.hero__lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--muted-d); max-width: 680px; margin: 32px auto 0; }
.hero__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* command center */
.command { position: relative; margin: 72px auto 0; max-width: 1120px; padding: 0 0 120px; }
.command__note { position: absolute; right: 0; bottom: 84px; color: #4b5164; }
.dash { position: relative; z-index: 2; width: 78%; margin: 0 auto; background: rgba(13, 17, 27, .92); border: 1px solid var(--line-d2); border-radius: var(--r-lg); box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; backdrop-filter: blur(20px); }
.dash__bar { display: flex; align-items: center; gap: 24px; padding: 14px 20px; border-bottom: 1px solid var(--line-d); }
.dash__dots { display: flex; gap: 6px; } .dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: #262c3b; }
.dash__tabs { display: flex; gap: 4px; font-size: 13px; color: var(--muted-d); }
.dash__tabs span { padding: 6px 12px; border-radius: 8px; } .dash__tabs .is-on { background: var(--ink-4); color: var(--text-d); }
.dash__meta { margin-left: auto; display: flex; align-items: center; gap: 14px; color: var(--muted-d); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-d2); color: var(--muted-d); }
.pill--live { color: var(--green); border-color: rgba(57,217,138,.3); }
.pill--live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.dash__body { padding: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--r); overflow: hidden; }
.kpi { background: var(--ink-3); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.kpi__l { font-size: 12px; color: var(--muted-d); }
.kpi__v { font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi__d { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; }
.up { color: var(--green); } .down { color: var(--red); }
.chart { position: relative; margin: 18px 0; padding: 14px 4px 0; }
.chart__legend { position: absolute; right: 6px; top: 0; display: flex; gap: 16px; font-size: 12px; color: var(--muted-d); }
.chart__legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart__legend i { width: 14px; height: 2px; }
.l-rev { background: var(--accent-soft); } .l-spend { background: #4b5164; }
.chart__svg { width: 100%; height: 150px; }
.chart__grid path { stroke: var(--line-d); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.chart__fill { fill: rgba(36, 56, 245, .16); opacity: 0; transition: opacity 1.2s var(--ease) 1.4s; }
.chart__rev { fill: none; stroke: var(--accent-soft); stroke-width: 2.25; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .5s; }
.chart__spend { fill: none; stroke: #4b5164; stroke-width: 1.75; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 2.2s var(--ease) .7s; }
.is-on .chart__rev, .is-on .chart__spend { stroke-dashoffset: 0; }
.is-on .chart__fill { opacity: 1; }
.table { border: 1px solid var(--line-d); border-radius: var(--r); overflow: hidden; font-size: 13px; }
.tr { display: grid; grid-template-columns: 2.4fr .9fr .8fr .9fr .7fr; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line-d); align-items: center; }
.tr span:not(:first-child) { text-align: right; }
.tr .mono { font-size: 12px; text-transform: none; letter-spacing: 0; }
.tr.th { border-top: 0; color: var(--muted-d); font-size: 11.5px; background: var(--ink-3); }
.tr span:first-child { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr--off { color: var(--muted-d); }
.st { width: 8px; height: 8px; border-radius: 50%; background: #3a4052; flex: none; }
.st--on { background: var(--green); }

.phone { position: absolute; z-index: 3; left: 0; bottom: 40px; width: 250px; border-radius: 38px; background: #05060a; border: 1px solid var(--line-d2); padding: 10px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.9); transform: rotate(-4deg); }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 20px; background: #000; z-index: 2; }
.reel { border-radius: 30px; overflow: hidden; background: var(--ink-3); }
.reel__top { display: flex; align-items: center; gap: 8px; padding: 44px 14px 10px; font-size: 12px; }
.reel__follow { margin-left: auto; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line-d2); }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; flex: none; }
.avatar--b { background: #E7D9C3; color: #2b2316; width: 34px; height: 34px; font-size: 12px; }
.reel__video { position: relative; height: 250px; background:
  repeating-linear-gradient(135deg, #141a2a 0 14px, #121726 14px 28px); display: flex; align-items: flex-end; padding: 16px; }
.reel__hook { font-family: var(--serif); font-size: 22px; line-height: 1.05; font-style: italic; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.reel__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.reel__prog i { display: block; height: 100%; width: 0; background: #fff; animation: prog 6s linear infinite; }
@keyframes prog { to { width: 100%; } }
.reel__stats { display: flex; gap: 16px; padding: 12px 14px 6px; font-size: 12px; }
.reel__stats span { display: inline-flex; align-items: center; gap: 5px; }
.reel__stats svg { width: 18px; height: 18px; fill: none; stroke: var(--text-d); stroke-width: 1.7; }
.reel__stats span:first-child svg { fill: #FF4D6A; stroke: #FF4D6A; }
.reel__cap { margin: 0; padding: 4px 14px 18px; font-size: 11.5px; line-height: 1.45; color: var(--muted-d); }
.reel__cap b { color: var(--text-d); }

.dm { position: absolute; z-index: 3; right: 0; top: 120px; width: 290px; background: rgba(16, 20, 31, .96); border: 1px solid var(--line-d2); border-radius: var(--r-lg); box-shadow: 0 50px 100px -30px rgba(0,0,0,.9); overflow: hidden; transform: rotate(2.5deg); }
.dm__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line-d); }
.dm__head div { display: flex; flex-direction: column; line-height: 1.25; }
.dm__head b { font-size: 13px; } .dm__head div span { font-size: 11px; color: var(--muted-d); }
.dm__head .pill { margin-left: auto; }
.dm__thread { padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 270px; justify-content: flex-end; }
.msg { max-width: 85%; padding: 9px 13px; border-radius: 18px; font-size: 12.5px; line-height: 1.4; animation: msgIn .35s var(--ease) both; }
.msg--in { align-self: flex-start; background: var(--ink-4); border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg--typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-d); animation: blink 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .3; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }

.toasts { position: absolute; z-index: 4; right: 6%; top: -34px; display: flex; flex-direction: column; gap: 8px; width: 290px; }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: rgba(244, 242, 236, .97); color: var(--text-l); box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); animation: toastIn .5s var(--ease) both; }
.toast.out { animation: toastOut .4s var(--ease) both; }
.toast__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 14px; flex: none; }
.toast__ic--g { background: #138A52; }
.toast b { display: block; font-size: 13px; } .toast span { font-size: 12px; color: var(--muted-l); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-6px); } }

.ticker { border-top: 1px solid var(--line-d); overflow: hidden; padding: 26px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 50s linear infinite; }
.ticker span { font-family: var(--serif); font-size: 28px; color: var(--muted-d); padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: "✦"; font-size: 12px; color: var(--accent-soft); margin-left: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(10,12,18,.25); }
.tile--a, .tile--b { grid-column: span 3; }
.tile--c, .tile--d, .tile--e { grid-column: span 2; }
.tile--f { grid-column: span 3; }
.tile--g { grid-column: span 3; }
.tile__vis { height: 260px; background: var(--ink-2); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 28px; color: var(--text-d); }
.tile__txt { padding: 26px 28px 30px; }
.tile__txt h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.tile__txt p { margin: 10px 0 0; color: var(--muted-l); font-size: 15px; line-height: 1.55; }
.tile--accent { background: var(--accent); border-color: transparent; color: #fff; }
.tile--accent .tile__vis { background: #1a2bd6; }
.tile--accent .tile__txt p { color: rgba(255,255,255,.75); }

.doc { width: 100%; max-width: 440px; background: var(--ink-3); border: 1px solid var(--line-d); border-radius: var(--r); padding: 18px 20px; }
.doc__head { display: flex; justify-content: space-between; align-items: center; color: var(--muted-d); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line-d); }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(57,217,138,.12); color: var(--green); }
.tag--g { background: rgba(57,217,138,.14); }
.tag--ph { background: transparent; color: var(--muted-l); border: 1px dashed rgba(10,12,18,.25); }
.doc__line { display: grid; grid-template-columns: 44px 1fr; gap: 8px; margin: 0; padding: 7px 0; font-size: 13.5px; line-height: 1.45; color: var(--muted-d); }
.doc__line .mono { color: #4b5164; padding-top: 2px; font-size: 10px; }
.doc__line--hook { color: var(--text-d); font-family: var(--serif); font-size: 19px; font-style: italic; }
.doc__line--hook .mono { color: var(--accent-soft); font-style: normal; font-family: var(--mono); }
.doc__line--cta { color: var(--text-d); }
.doc__line--cta .mono { color: var(--green); }

.timeline { position: relative; width: 100%; max-width: 460px; }
.timeline__ruler { display: flex; justify-content: space-between; color: #4b5164; margin-bottom: 10px; font-size: 10px; }
.track { position: relative; height: 38px; margin-bottom: 8px; background: rgba(255,255,255,.03); border-radius: 8px; }
.track i { position: absolute; top: 3px; bottom: 3px; left: var(--x); width: var(--w); border-radius: 6px; background: #2a3354; border: 1px solid #36406a; }
.track i:nth-child(2) { background: #303b66; }
.track--b { height: 24px; } .track--b i { background: rgba(179,192,255,.25); border-color: rgba(179,192,255,.35); }
.track--c { height: 22px; } .track--c i { background: repeating-linear-gradient(90deg, rgba(57,217,138,.5) 0 2px, transparent 2px 5px); border: 0; opacity: .7; }
.playhead { position: absolute; top: 18px; bottom: -4px; left: 0; width: 2px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.6); animation: play 6s linear infinite; }
.playhead::before { content: ""; position: absolute; top: -6px; left: -5px; border: 6px solid transparent; border-top-color: #fff; }
@keyframes play { to { left: 100%; } }

.cal-w { width: 100%; max-width: 360px; }
.cal-w__h, .cal-w__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-w__h { color: #4b5164; margin-bottom: 8px; font-size: 9.5px; text-align: center; }
.cal-w__g span { min-height: 120px; background: rgba(255,255,255,.03); border: 1px solid var(--line-d); border-radius: 8px; padding: 5px; display: flex; flex-direction: column; gap: 4px; }
.cal-w__g i { font-style: normal; font-size: 9px; font-weight: 600; padding: 4px 3px; border-radius: 4px; text-align: center; }
.p-ig { background: rgba(255, 77, 136, .18); color: #FF9CC0; }
.p-tt { background: rgba(80, 230, 230, .14); color: #8EF0EE; }
.p-yt { background: rgba(255, 90, 70, .16); color: #FF9E92; }

.adcards { display: grid; gap: 10px; width: 100%; }
.adc { display: grid; grid-template-columns: 70px auto 1fr 80px; align-items: baseline; gap: 10px; background: var(--ink-3); border: 1px solid var(--line-d); border-radius: 12px; padding: 12px 14px; }
.adc .mono { color: var(--muted-d); font-size: 9.5px; }
.adc b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.adc em { font-style: normal; font-size: 11px; color: var(--muted-d); }
.adc svg { width: 80px; height: 24px; align-self: center; }
.adc path { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }

.bubbles { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.b { margin: 0; max-width: 82%; padding: 7px 11px; border-radius: 14px; font-size: 11.5px; line-height: 1.35; }
.b--in { align-self: flex-start; background: var(--ink-4); border-bottom-left-radius: 4px; }
.b--out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }

.callcard { width: 100%; max-width: 380px; background: var(--ink-3); border: 1px solid var(--line-d); border-radius: var(--r); padding: 20px; }
.callcard__row { display: flex; justify-content: space-between; align-items: center; color: var(--muted-d); margin-bottom: 12px; }
.callcard > b { font-size: 16px; } .callcard p { margin: 2px 0 0; font-size: 13px; color: var(--muted-d); }
.callcard__amt { font-family: var(--serif); font-size: 54px; line-height: 1; margin: 14px 0 16px; letter-spacing: -.02em; }
.callcard__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.callcard__steps i { height: 4px; border-radius: 4px; background: var(--ink-4); }
.callcard__steps i.on { background: var(--green); }
.callcard__lbl { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px; color: #4b5164; font-size: 9.5px; }

.split { width: 100%; max-width: 440px; }
.split__bar { display: flex; height: 120px; border-radius: var(--r); overflow: hidden; font-weight: 600; }
.split__bar span { display: flex; align-items: flex-end; padding: 16px; font-size: 14px; }
.split__ours { flex: 1; background: #fff; color: var(--accent); animation: breathe 5s var(--ease) infinite; }
.split__yours { flex: 1; background: rgba(255,255,255,.18); color: #fff; }
@keyframes breathe { 50% { flex-grow: 1.35; } }
.split .mono { margin: 16px 0 0; color: rgba(255,255,255,.7); text-align: center; }

/* ---------- capital ---------- */
.capital__stage { display: grid; grid-template-columns: 1fr 330px; gap: 20px; }
.capital__viz { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r-xl); padding: 36px; display: flex; align-items: center; }
.capital__viz svg { width: 100%; height: auto; overflow: visible; }
.capital__side { display: flex; flex-direction: column; gap: 20px; }
.log { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 20px; flex: 1; min-height: 240px; display: flex; flex-direction: column; }
.log__head { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); padding-bottom: 14px; border-bottom: 1px solid var(--line-d); }
.log__head em { margin-left: auto; font-style: normal; color: #4b5164; }
.log__list { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; flex: 1; }
.log__list li { font-size: 13px; line-height: 1.45; color: var(--muted-d); display: grid; grid-template-columns: 44px 1fr; gap: 8px; animation: msgIn .4s var(--ease) both; }
.log__list time { font-family: var(--mono); font-size: 11px; color: #4b5164; padding-top: 2px; }
.log__list b { color: var(--text-d); font-weight: 600; }
.log__list .up { color: var(--green); font-weight: 600; } .log__list .down { color: var(--accent-soft); font-weight: 600; }
.log__list li:nth-child(n+3) { opacity: .6; } .log__list li:nth-child(n+5) { opacity: .3; }
.rules { display: grid; gap: 14px; padding: 4px 4px 0; }
.rules > div { display: flex; gap: 14px; }
.rules .mono { color: var(--accent-soft); padding-top: 3px; }
.rules p { margin: 0; font-size: 14px; color: var(--muted-d); line-height: 1.5; }
.rules b { color: var(--text-d); font-weight: 600; }

.vz-path { fill: none; stroke: #1c2232; stroke-width: 1.5; }
.vz-path--hot { stroke: #33407a; }
.vz-node { fill: var(--ink-3); stroke: var(--line-d2); stroke-width: 1; }
.vz-node--fund { fill: var(--accent); stroke: none; }
.vz-label { fill: var(--text-d); font: 600 15px var(--sans); }
.vz-sub { fill: var(--muted-d); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.vz-pct { fill: var(--text-d); font: 400 26px var(--serif); font-variant-numeric: tabular-nums; }
.vz-track { fill: #161b29; }
.vz-bar { fill: #4a548a; }
.vz-bar--hot { fill: var(--accent-soft); }
.vz-tag { font: 500 9.5px var(--mono); letter-spacing: .1em; fill: var(--green); }
.vz-pkt-ours { fill: var(--accent-soft); }
.vz-pkt-yours { fill: #E7D9C3; }
.vz-pkt-fund { fill: #fff; }
.vz-ring { fill: none; stroke: var(--accent-soft); stroke-width: 1; }

/* ---------- versus ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-l); }
.versus__col { padding: 44px 48px; }
.versus__col > .mono { margin: 0 0 24px; color: var(--muted-l); }
.versus__col ul { list-style: none; margin: 0; padding: 0; }
.versus__col li { padding: 18px 0 18px 30px; border-top: 1px solid var(--line-l); font-size: 17px; position: relative; }
.versus__col li::before { position: absolute; left: 0; top: 18px; }
.versus__col--them { background: transparent; color: var(--muted-l); }
.versus__col--them li::before { content: "—"; color: #a3a7b2; }
.versus__col--us { background: var(--ink); color: var(--muted-d); }
.versus__col--us > .mono { color: var(--accent-soft); }
.versus__col--us li { border-color: var(--line-d); }
.versus__col--us li::before { content: "✦"; color: var(--accent-soft); font-size: 12px; }
.versus__col--us b { color: var(--text-d); font-weight: 600; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-d); }
.step { padding: 36px 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-d); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--accent-soft); transition: width 1s var(--ease) .2s; }
.step.is-in::before { width: 100%; }
.step__n { display: block; font-family: var(--serif); font-size: 76px; line-height: 1; color: var(--accent-soft); margin-bottom: 28px; }
.step h3 { font-size: 20px; font-weight: 600; margin: 0; }
.step p { margin: 10px 0 0; color: var(--muted-d); font-size: 15px; }

/* ---------- cases ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.case:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(10,12,18,.25); }
.case__top { display: flex; justify-content: space-between; align-items: center; color: var(--muted-l); }
.case h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 22px 0 0; }
.case h3 span { font-family: var(--sans); font-size: 15px; color: var(--muted-l); }
.case__chart { margin: 24px 0 8px; height: 110px; background: var(--ink-2); border-radius: var(--r); padding: 12px; }
.case__chart svg { width: 100%; height: 100%; }
.cg { stroke: var(--line-d); fill: none; vector-effect: non-scaling-stroke; }
.cl { fill: none; stroke: var(--accent-soft); stroke-width: 2.25; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.case.is-in .cl { stroke-dashoffset: 0; }
.case__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 0; padding: 18px 0; border-bottom: 1px solid var(--line-l); }
.case__kpis dt { font-family: var(--serif); font-size: 38px; line-height: 1; letter-spacing: -.02em; color: var(--text-l); }
.case__kpis dd { margin: 6px 0 0; font-size: 12px; color: var(--muted-l); line-height: 1.35; }
.case__ran { margin: 16px 0 0; font-size: 13px; color: var(--muted-l); }

/* ---------- fit + faq ---------- */
.faqwrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: start; }
.fit { list-style: none; padding: 0; margin: 40px 0 0; }
.fit li { padding: 16px 0 16px 34px; border-top: 1px solid var(--line-l); position: relative; font-size: 16px; }
.fit li::before { content: "✦"; position: absolute; left: 4px; top: 16px; color: var(--accent); font-size: 13px; }
.faq details { border-top: 1px solid var(--line-l); }
.faq details:last-child { border-bottom: 1px solid var(--line-l); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--text-l); transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 40px 28px 0; color: var(--muted-l); font-size: 16px; }

/* ---------- book ---------- */
.book { overflow: hidden; }
.book__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.book__copy { position: sticky; top: 120px; }
.book__points { list-style: none; padding: 0; margin: 36px 0 0; }
.book__points li { padding: 14px 0 14px 30px; border-top: 1px solid var(--line-d); position: relative; color: var(--text-d); }
.book__points li::before { content: "✦"; position: absolute; left: 2px; top: 14px; color: var(--accent-soft); font-size: 12px; }
.book__who { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.book__who p { margin: 0; color: var(--muted-d); font-size: 14px; line-height: 1.5; }
.book__who b { color: var(--text-d); font-weight: 600; }
.avatars { display: flex; }
.avatars span { width: 46px; height: 46px; border-radius: 50%; background: #E7D9C3; color: #2b2316; font-weight: 700; font-size: 13px; display: grid; place-items: center; border: 2px solid var(--ink); }
.avatars span + span { margin-left: -12px; background: var(--accent); color: #fff; }

.booker { background: rgba(13, 17, 27, .9); border: 1px solid var(--line-d2); border-radius: var(--r-xl); padding: 32px; backdrop-filter: blur(20px); box-shadow: 0 60px 120px -50px rgba(0,0,0,.8); }
.booker__steps { display: flex; gap: 8px; margin-bottom: 28px; }
.booker__steps span { flex: 1; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #4b5164; padding-top: 12px; border-top: 2px solid var(--ink-4); transition: color .3s, border-color .3s; }
.booker__steps span.is-active, .booker__steps span.is-done { color: var(--text-d); border-color: var(--accent-soft); }
.booker__panel { animation: msgIn .4s var(--ease) both; }
.booker__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 24px; color: var(--muted-d); }
.booker__cal { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; margin-bottom: 24px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__head strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.cal__nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-d2); background: transparent; cursor: pointer; transition: border-color .2s; }
.cal__nav:hover:not(:disabled) { border-color: var(--text-d); }
.cal__nav:disabled { opacity: .3; cursor: not-allowed; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow span { color: #4b5164; text-align: center; padding: 6px 0; }
.cal__day { aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; font-size: 14px; cursor: pointer; color: #3a4052; position: relative; font-variant-numeric: tabular-nums; }
.cal__day.is-avail { color: var(--text-d); background: var(--ink-4); }
.cal__day.is-avail:hover { background: #222a3e; }
.cal__day.is-today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent-soft); }
.cal__day.is-selected { background: var(--accent) !important; color: #fff; }
.cal__day:disabled { cursor: default; }
.slots__title { font-weight: 600; margin: 6px 0 14px; font-size: 15px; }
.slots__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 300px; overflow-y: auto; padding-right: 4px; }
.slots__empty { grid-column: 1 / -1; font-size: 14px; color: var(--muted-d); border: 1px dashed var(--line-d2); border-radius: var(--r); padding: 20px; line-height: 1.5; }
.slot { height: 44px; border-radius: 10px; border: 1px solid var(--line-d2); background: transparent; font-size: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--accent-soft); }
.slot.is-selected { background: var(--ivory); border-color: var(--ivory); color: var(--text-l); }
.booker__back { border: 0; background: var(--ink-4); font-size: 13px; padding: 10px 14px; border-radius: 10px; cursor: pointer; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 13px; color: var(--muted-d); }
.field input, .field select, .field textarea { border: 1px solid var(--line-d2); border-radius: 10px; padding: 13px 14px; background: var(--ink-2); transition: border-color .2s; resize: vertical; }
.field select option { background: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-soft); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; height: 44px; border: 1px solid var(--line-d2); border-radius: 10px; font-size: 14px; transition: all .2s; }
.seg input:checked + span { background: var(--ivory); border-color: var(--ivory); color: var(--text-l); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.form-error { color: var(--red); font-size: 14px; margin: 0 0 12px; }
.form-error:empty { display: none; }
.booker__done { text-align: center; padding: 28px 0 12px; }
.done-mark { width: 80px; height: 80px; margin: 0 auto 24px; }
.done-mark .g { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s var(--ease) forwards; }
.done-mark .a { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s var(--ease) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.booker__done h3 { font-family: var(--serif); font-weight: 400; font-size: 44px; margin: 0; }
.booker__done p { color: var(--muted-d); max-width: 420px; margin: 12px auto 0; }
.done__when { display: inline-block; color: var(--text-d) !important; border: 1px solid var(--line-d2); padding: 10px 16px; border-radius: 999px; margin-top: 20px !important; }

/* ---------- footer ---------- */
.footer { background: var(--accent); color: #fff; padding: 120px 0 40px; }
.footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 96px; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer__cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 8vw, 120px); line-height: .95; letter-spacing: -.025em; margin: 0; }
.footer__cta em { color: rgba(255,255,255,.7) !important; }
.footer__bottom { display: flex; align-items: center; gap: 32px; padding-top: 36px; flex-wrap: wrap; }
.footer .logo__mark .g { stroke: #fff; } .footer .logo__mark .a { stroke: rgba(255,255,255,.65); }
.footer .logo__word i { color: rgba(255,255,255,.65); }
.footer__links { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,.75); } .footer__links a:hover { color: #fff; }
.footer__copy { width: 100%; margin: 0; color: rgba(255,255,255,.55); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .dash { width: 100%; }
  .phone { left: -10px; bottom: -40px; width: 210px; }
  .dm { right: -10px; top: auto; bottom: -20px; }
  .toasts { right: 0; }
  .command { padding-bottom: 260px; }
  .command__note { bottom: 0; right: auto; left: 50%; transform: translateX(-50%); }
  .head--split { grid-template-columns: 1fr; gap: 24px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--a, .tile--b, .tile--c, .tile--d, .tile--e, .tile--f, .tile--g { grid-column: span 1; }
  .capital__stage { grid-template-columns: 1fr; }
  .capital__side { flex-direction: row; } .log, .rules { flex: 1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+3) { margin-top: 40px; }
  .cases { grid-template-columns: 1fr; max-width: 580px; }
  .faqwrap, .book__grid { grid-template-columns: 1fr; gap: 56px; }
  .book__copy { position: static; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .sec { padding: 96px 0; }
  .nav__inner { height: 66px; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero { padding-top: 124px; }
  .hero__title { font-size: clamp(48px, 13.5vw, 72px); }
  .command { margin-top: 64px; padding-bottom: 24px; }
  .dash__tabs, .dash__dots { display: none; }
  .dash__body { padding: 12px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 12px 14px; }
  .tr { grid-template-columns: 1fr auto auto; padding: 10px 12px; }
  .tr span:nth-child(2), .tr span:nth-child(4) { display: none; }
  .chart__svg { height: 110px; }
  .phone, .dm { position: relative; inset: auto; transform: none; width: 100%; margin-top: 16px; }
  .phone { display: none; }
  .toasts { position: relative; top: auto; right: auto; width: 100%; margin-bottom: 14px; min-height: 64px; order: -1; }
  .command { display: flex; flex-direction: column; }
  .command__note { position: static; transform: none; text-align: center; margin-top: 14px; }
  .ticker span { font-size: 22px; }
  .head { margin-bottom: 48px; }
  .bento { grid-template-columns: 1fr; }
  .tile__vis { height: 240px; padding: 20px; }
  .capital__viz { padding: 14px; border-radius: var(--r-lg); }
  .capital__side { flex-direction: column; }
  .versus { grid-template-columns: 1fr; }
  .versus__col { padding: 32px 24px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 0; border-left: 0; margin-top: 0 !important; }
  .step + .step { border-top: 1px solid var(--line-d); margin-top: 28px !important; }
  .step__n { font-size: 60px; margin-bottom: 16px; }
  .faq summary { font-size: 22px; }
  .booker { padding: 20px; border-radius: var(--r-lg); }
  .booker__cal { grid-template-columns: 1fr; }
  .slots__list { grid-template-columns: repeat(3, 1fr); max-height: none; }
  .form-grid { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr 1fr; }
  .footer { padding-top: 88px; }
  .footer__cta { flex-direction: column; align-items: flex-start; padding-bottom: 64px; }
  .footer__links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
