/* AiCFO.pro site styles
   Layout: 1200px editorial column, left-set display type, product UI as the hero object,
   alternating paper / mist bands with deep-navy bands for trust moments. */
:root {
  --bg: #FFFFFF;
  --mist: #F4F6FB;
  --panel: #FFFFFF;
  --panel-2: #F8F9FD;
  --ink: #0B1F4D;
  --ink-2: #1A2F63;
  --muted: #59647D;
  --faint: #8790A8;
  --line: #E2E7F1;
  --line-2: #EDF0F7;
  --accent: #F26A1B;
  --accent-2: #D9560A;
  --accent-ink: #C24A06;
  --accent-soft: #FFF1E8;
  --on-accent: #FFFFFF;
  --brand: #0B2A6F;
  --good: #109857;
  --good-soft: #E6F6EE;
  --warn: #C27803;
  --warn-soft: #FDF3E1;
  --bad: #D33D3D;
  --navy: #0B2A6F;
  --navy-2: #10347F;
  --navy-line: #2B4C97;
  --navy-ink: #F4F6FC;
  --navy-muted: #B3C2E6;
  --shadow-sm: 0 1px 2px rgba(11,31,77,.06);
  --shadow: 0 1px 2px rgba(11,31,77,.05), 0 18px 50px -18px rgba(11,31,77,.24);
  --shadow-lg: 0 2px 4px rgba(11,31,77,.04), 0 40px 90px -30px rgba(11,31,77,.38);
  --f-display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --r: 16px;
  --r-lg: 24px;
  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  --logo-ink: #0B2A6F; --logo-cut: #FFFFFF; --logo-facet: #8A93A6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060D22; --mist: #0A1430; --panel: #0D1A3C; --panel-2: #112047; --ink: #EEF2FB; --ink-2: #D3DBEE;
    --muted: #9AA6C4; --faint: #6E7A9A; --line: #1C2B55; --line-2: #152349;
    --accent: #FF8A47; --accent-2: #FFA06A; --accent-ink: #FF9A5E; --accent-soft: #2A1A12; --on-accent: #1A0B02; --brand: #8FB0FF;
    --good: #3CCB8A; --good-soft: #0F2A20; --warn: #F0A93A; --warn-soft: #2D2210; --bad: #FF6B6B;
    --navy: #0E2257; --navy-2: #132B69; --navy-line: #2B4686;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 18px 50px -18px rgba(0,0,0,.7);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 40px 90px -30px rgba(0,0,0,.85);
    --logo-ink: #FFFFFF; --logo-cut: #060D22; --logo-facet: #5E78B8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060D22; --mist: #0A1430; --panel: #0D1A3C; --panel-2: #112047; --ink: #EEF2FB; --ink-2: #D3DBEE;
    --muted: #9AA6C4; --faint: #6E7A9A; --line: #1C2B55; --line-2: #152349;
    --accent: #FF8A47; --accent-2: #FFA06A; --accent-ink: #FF9A5E; --accent-soft: #2A1A12; --on-accent: #1A0B02; --brand: #8FB0FF;
    --good: #3CCB8A; --good-soft: #0F2A20; --warn: #F0A93A; --warn-soft: #2D2210; --bad: #FF6B6B;
    --navy: #0E2257; --navy-2: #132B69; --navy-line: #2B4686;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 18px 50px -18px rgba(0,0,0,.7);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 40px 90px -30px rgba(0,0,0,.85);
    --logo-ink: #FFFFFF; --logo-cut: #060D22; --logo-facet: #5E78B8;
    color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; margin: 0; font-weight: 600; }
p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.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; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-ink); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); line-height: 1.55; }
.h-xl { font-size: clamp(46px, 7.6vw, 100px); line-height: .96; letter-spacing: -0.045em; }
.h-lg { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
.h-md { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; }
.h-sm { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 999px; font: 600 15.5px/1 var(--f-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 6px 20px -8px rgba(10,20,48,.5); }
.btn-primary:hover { background: var(--accent); color: var(--on-accent); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line); background: var(--panel); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn .arr { transition: transform .18s ease; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.link { color: var(--accent-ink); text-decoration: none; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link svg { width: 16px; height: 16px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Chips / pills */
.chip { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--f-mono); padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--panel); white-space: nowrap; }
.chip.good { color: var(--good); border-color: color-mix(in srgb, var(--good) 30%, var(--line)); background: var(--good-soft); }
.chip.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 30%, var(--line)); background: var(--warn-soft); }
.chip.acc { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); background: var(--accent-soft); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.dot.pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 50%, transparent); } 50% { box-shadow: 0 0 0 5px transparent; } }

/* Logo */
.logo-svg { display: block; height: 40px; width: auto; overflow: visible; }
.lg-ink { fill: var(--logo-ink); } .lg-ln { fill: none; stroke: var(--logo-ink); } .lg-fc { fill: var(--logo-facet); } .lg-or { fill: #F26A1B; } .lg-cut { stroke: var(--logo-cut); paint-order: stroke; }
.ft-word .lg-ink, .ft-word .lg-or, .ft-word .lg-fc { fill: var(--line-2); } .ft-word .lg-ln { stroke: var(--line-2); } .ft-word .lg-cut { stroke: var(--bg); }

/* Progress bar */
.scrollbar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); z-index: 80; }

/* Announcement */
.announce { background: var(--navy); color: var(--navy-ink); font-size: 14px; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-block: 8px; text-align: center; flex-wrap: wrap; }
.announce a { color: var(--navy-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--navy-line); }
.announce a:hover { border-bottom-color: currentColor; }
.announce .tag { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; background: #F26A1B; color: #fff; padding: 5px 8px; border-radius: 6px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.hdr { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex: 1; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; border: 0; background: none;
  font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; cursor: pointer; transition: color .15s, background .15s;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li:focus-within > button, .menu > li > a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.menu .caret { width: 10px; height: 10px; transition: transform .2s ease; }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: -16px; width: min(760px, 86vw);
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 14px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.mega a.item { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; }
.mega a.item:hover { background: var(--mist); }
.mega .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.mega .ic svg { width: 19px; height: 19px; }
.mega .t { font-weight: 600; font-size: 15px; display: block; }
.mega .d { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }
.mega-side { background: var(--mist); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.mega-side h5 { margin: 0; font: 500 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mega-side a { text-decoration: none; font-size: 14.5px; font-weight: 500; }
.mega-side a:hover { color: var(--accent); }
.mega-side .feature { margin-top: auto; background: var(--navy); color: var(--navy-ink); border-radius: 12px; padding: 14px; font-size: 13.5px; line-height: 1.45; }
.mega-side .feature b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.mega.small { width: 340px; grid-template-columns: minmax(0, 1fr); }
.mega.small .mega-grid { grid-template-columns: minmax(0, 1fr); }
.hdr-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: border-color .15s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .moon { display: none; } }
.signin { font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 0 8px; }
.signin:hover { color: var(--ink); }
.burger { display: none; }
.drawer { display: none; border-top: 1px solid var(--line); max-height: calc(100dvh - 72px); overflow-y: auto; }
.drawer.open { display: block; }
.drawer .wrap { padding-block: 10px 28px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; padding: 16px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-family: var(--f-mono); color: var(--muted); }
.drawer details[open] summary::after { content: "–"; }
.drawer .sub { display: grid; gap: 2px; padding-bottom: 14px; }
.drawer .sub a { padding: 9px 0; text-decoration: none; color: var(--muted); }
.drawer > .wrap > a { display: block; padding: 16px 0; font-size: 18px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer .btns { display: grid; gap: 10px; margin-top: 20px; }

/* Sections */
.section { padding-block: clamp(84px, 11vw, 150px); position: relative; }
.section.tight { padding-block: clamp(60px, 7vw, 96px); }
.section.mist { background: var(--mist); }
.section.navy { background: var(--navy); color: var(--navy-ink); }
.section.navy .lead, .section.navy .muted { color: var(--navy-muted); }
.section.navy .eyebrow { color: #FF9A5E; }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 72px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.head h2 { margin-top: 18px; }
.head .lead { max-width: 50ch; }
.head.center { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.head.center .lead { margin-top: 18px; }
.muted { color: var(--muted); }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; } .js .rv.d4 { transition-delay: .32s; }

/* HERO */
.hero { padding-block: clamp(56px, 8vw, 104px) 0; position: relative; overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero-bg .glow { position: absolute; width: 900px; height: 600px; left: 50%; top: 260px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); filter: blur(20px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.hero h1 { margin-top: 22px; max-width: 12ch; }
.hero h1 .serif { color: var(--accent); }
.hero .lead { max-width: 46ch; }
.hero .lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; color: var(--muted); list-style: none; padding: 0; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--good); flex: 0 0 auto; }
.badge-new { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; text-decoration: none; color: var(--muted); box-shadow: var(--shadow-sm); }
.badge-new b { background: var(--accent-soft); color: var(--accent); font: 600 11.5px/1 var(--f-mono); padding: 6px 9px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.badge-new:hover { color: var(--ink); }

/* App mock */
.stage { margin-top: clamp(52px, 7vw, 84px); position: relative; perspective: 2000px; }
.app { position: relative; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 560px; }
.app-side { border-right: 1px solid var(--line); background: var(--panel-2); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.app-side .org { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.app-side .org i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #F26A1B, #0B2A6F); display: block; }
.app-side .org small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.app-side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 14px; text-decoration: none; color: var(--muted); }
.app-side a svg { width: 16px; height: 16px; }
.app-side a.on { background: var(--panel); color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); font-weight: 600; }
.app-side .sep { margin: 12px 10px 4px; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.app-side .cfo { margin-top: auto; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--panel); font-size: 12.5px; color: var(--muted); }
.app-side .cfo b { color: var(--ink); display: block; font-size: 13.5px; }
.app-side .cfo .avatar { width: 28px; height: 28px; border-radius: 50%; background: #2A355A; color: #fff; display: grid; place-items: center; font: 600 11px var(--f-mono); margin-bottom: 8px; }
.app-main { padding: 20px 22px 22px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.app-top h3 { font-size: 19px; letter-spacing: -0.02em; }
.app-top small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.app-top .r { display: flex; gap: 8px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 14px; min-width: 0; background: var(--panel); }
.kpi .k { font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
.kpi .v { font: 500 clamp(20px, 2vw, 26px)/1.15 var(--f-mono); letter-spacing: -0.03em; margin-top: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi .dl { font: 12px var(--f-mono); margin-top: 4px; }
.up { color: var(--good); } .down { color: var(--warn); }
.kpi svg.sp { width: 100%; height: 28px; margin-top: 8px; display: block; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; flex: 1; }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--panel); min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.card-h h4 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.card-h .lg { display: flex; gap: 12px; font: 11.5px var(--f-mono); color: var(--muted); }
.card-h .lg i { display: inline-block; width: 10px; height: 2px; background: var(--ink); vertical-align: middle; margin-right: 5px; }
.card-h .lg i.f { background: var(--accent); }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gl { stroke: var(--line-2); }
.chart .ax text, .chart text { fill: var(--faint); font: 10.5px var(--f-mono); }
.chart .area { fill: url(#gArea); }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .fline { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 5; }
.chart .band { fill: color-mix(in srgb, var(--accent) 12%, transparent); }
.chart .pt { fill: var(--accent); stroke: var(--panel); stroke-width: 3; }
.chart .draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.2s cubic-bezier(.3,.6,.2,1) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 13px; position: relative; height: 196px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.feed li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-2); animation: feedIn .5s cubic-bezier(.2,.7,.2,1); }
.feed li:first-child { border-top: 0; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px); } }
.feed .ag { width: 22px; height: 22px; border-radius: 7px; background: var(--ink); display: grid; place-items: center; }
.feed .ag i { width: 6px; height: 6px; border-radius: 50%; background: #F26A1B; display: block; }
.feed .ag.h { background: var(--good-soft); color: var(--good); font: 600 9.5px var(--f-mono); }
.feed b { font-weight: 600; }
.feed .tm { color: var(--faint); font: 11px var(--f-mono); display: block; margin-top: 2px; }
.close-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.bar { height: 7px; border-radius: 7px; background: var(--line-2); overflow: hidden; }
.bar b { display: block; height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, var(--ink), var(--accent)); transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.float {
  position: absolute; z-index: 2; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 16px; font-size: 13.5px; width: 300px; animation: floaty 7s ease-in-out infinite;
}
.float.f1 { right: -28px; top: 120px; }
.float.f2 { left: -36px; bottom: 50px; width: 270px; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float .fh { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; }
.float .fh .mk { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); display: grid; place-items: center; }
.float .fh .mk i { width: 6px; height: 6px; border-radius: 50%; background: #F26A1B; display: block; }
.float p { color: var(--muted); line-height: 1.5; }
.float p b { color: var(--ink); font-weight: 600; }
.float .sig { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font: 11.5px var(--f-mono); color: var(--muted); }
.float .sig .ok { color: var(--good); }
.float .big { font: 500 28px/1 var(--f-mono); letter-spacing: -0.03em; margin: 4px 0 2px; }
.illus { text-align: right; font: 12px var(--f-mono); color: var(--faint); margin-top: 14px; }

/* Logos marquee */
.marquee-wrap { padding-block: 64px 16px; }
.marquee-wrap .lbl { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track span { font: 600 22px/1 var(--f-display); letter-spacing: -0.03em; color: var(--faint); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.marquee-track span i { width: 22px; height: 22px; border-radius: 6px; background: var(--line); display: inline-block; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 28px 34px 0; min-width: 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat .n { font: 500 clamp(44px, 5.4vw, 72px)/1 var(--f-display); letter-spacing: -0.05em; }
.stat .n small { font-size: .45em; letter-spacing: -0.02em; color: var(--muted); margin-left: 4px; }
.stat p { color: var(--muted); margin-top: 12px; font-size: 15.5px; max-width: 26ch; }

/* Compare (before / after) */
.ba { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.ba-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.ba-row:first-child { border-top: 0; }
.ba-row > div { padding: 22px 26px; min-width: 0; display: flex; align-items: center; gap: 12px; }
.ba-row > div + div { border-left: 1px solid var(--line); }
.ba-head > div { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-block: 16px; background: var(--panel-2); }
.ba-head .us { color: var(--accent); }
.ba .topic { font-weight: 600; }
.ba .then { color: var(--muted); }
.ba .then svg { color: var(--bad); flex: 0 0 auto; width: 18px; height: 18px; }
.ba .now { font-weight: 500; background: color-mix(in srgb, var(--accent) 4%, transparent); }
.ba .now svg { color: var(--good); flex: 0 0 auto; width: 18px; height: 18px; }

/* Platform tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); width: max-content; max-width: 100%; margin-bottom: 32px; box-shadow: var(--shadow-sm); }
.tab { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s; }
.tab svg { width: 16px; height: 16px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.panel[hidden] { display: none !important; }
.panel.show { animation: fadeUp .45s cubic-bezier(.2,.7,.2,1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.panel h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -0.035em; margin-top: 14px; }
.panel .lead { margin-top: 16px; font-size: 17.5px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; }
.checks li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.viz { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow); padding: 22px; min-width: 0; position: relative; }
.viz-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.viz-h h4 { font-size: 15px; }
.bd-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.bd-cal div { border-radius: 12px; padding: 12px 10px; background: var(--mist); font-size: 12.5px; color: var(--muted); min-width: 0; }
.bd-cal b { display: block; font: 600 12px var(--f-mono); color: var(--ink); margin-bottom: 20px; }
.bd-cal .now { background: var(--accent-soft); color: var(--accent); outline: 1.5px solid var(--accent); }
.bd-cal .now b { color: var(--accent); }
.bd-cal .done { background: var(--ink); color: color-mix(in srgb, var(--bg) 70%, transparent); }
.bd-cal .done b { color: var(--bg); }
.tasks { list-style: none; margin: 0; padding: 0; }
.tasks li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.tasks li:first-child { border-top: 0; }
.tk { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.tk.done { background: var(--good); color: #fff; }
.tk.rev { border: 1.5px solid var(--warn); } .tk.rev::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.tk.todo { border: 1.5px dashed var(--faint); }
.tasks .m { font: 12px var(--f-mono); color: var(--muted); white-space: nowrap; }
.who { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 600 9.5px var(--f-mono); background: var(--mist); color: var(--muted); border: 1px solid var(--line); }
.who.ai { background: var(--ink); border-color: var(--ink); } .who.ai i { width: 6px; height: 6px; border-radius: 50%; background: #F26A1B; display: block; }

/* Scenario model */
.scen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 18px; }
.ctl label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); gap: 8px; }
.ctl label output { font: 500 13px var(--f-mono); color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--panel); border: 2px solid var(--accent); margin-top: -7px; box-shadow: var(--shadow-sm); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--panel); border: 2px solid var(--accent); }
.scen-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.scen-out div { background: var(--mist); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.scen-out small { display: block; font-size: 12px; color: var(--muted); }
.scen-out b { font: 500 22px/1.2 var(--f-mono); letter-spacing: -0.03em; }
.scen-out .warnv { color: var(--warn); } .scen-out .goodv { color: var(--good); }

/* Cash bars */
.cash-svg { width: 100%; height: auto; display: block; }
.cash-svg .b { fill: var(--ink); transform-box: fill-box; transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.7,.2,1) both; }
.cash-svg .b.lo { fill: var(--warn); }
.cash-svg text { fill: var(--faint); font: 10.5px var(--f-mono); }
.cash-svg .fl { stroke: var(--bad); stroke-dasharray: 4 4; stroke-width: 1.3; }
.cash-svg .flt { fill: var(--bad); }
.cash-legacy { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 6px; align-items: end; height: 190px; position: relative; padding-top: 10px; }
.cash .c { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 3px; height: 100%; position: relative; }
.cash .c i { display: block; border-radius: 4px 4px 2px 2px; background: var(--ink); transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.7,.2,1) both; }
.cash .c i.lo { background: var(--warn); }
.cash .c span { font: 10px var(--f-mono); color: var(--faint); text-align: center; }
@keyframes grow { from { transform: scaleY(0); } }
.cash .floor { position: absolute; left: 0; right: 0; border-top: 1.5px dashed var(--bad); z-index: 1; }
.cash .floor em { position: absolute; right: 0; top: -20px; font: normal 11px var(--f-mono); color: var(--bad); background: var(--panel); padding: 0 4px; }
.alert { margin-top: 16px; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--warn-soft); font-size: 14px; }
.alert svg { width: 20px; height: 20px; color: var(--warn); }

/* Board pack */
.pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pg { aspect-ratio: 4 / 3; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 12px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; min-width: 0; }
.pg:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow); }
.pg b { font-size: 11.5px; } .pg .ln { height: 5px; border-radius: 3px; background: var(--line-2); } .pg .ln.s { width: 60%; }
.pg .mini { flex: 1; display: flex; align-items: flex-end; gap: 3px; } .pg .mini i { flex: 1; background: var(--accent); border-radius: 2px; opacity: .85; }
.pg .mini i:nth-child(odd) { background: var(--ink); }
.pg .num { font: 500 18px var(--f-mono); letter-spacing: -0.03em; }
.commentary { margin-top: 14px; border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; font-size: 14.5px; color: var(--muted); }
.commentary b { color: var(--ink); }

/* Spend table */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
.tbl th { text-align: left; font: 500 11.5px var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 10px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line-2); }
.tbl td.r, .tbl th.r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }

/* Ask chat */
.chat { display: flex; flex-direction: column; gap: 12px; min-height: 300px; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; }
.msg.q { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.msg.a { align-self: flex-start; background: var(--mist); border-bottom-left-radius: 4px; }
.msg.a b { font-weight: 600; }
.msg .src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.msg .src span { font: 11px var(--f-mono); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); background: var(--panel); }
.typing { display: inline-flex; gap: 4px; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ask-bar { display: flex; gap: 8px; margin-top: auto; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; align-items: center; color: var(--faint); font-size: 14px; }
.ask-bar span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ask-bar button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggest button { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 7px 12px; font-size: 13px; cursor: pointer; color: var(--muted); }
.suggest button:hover { border-color: var(--accent); color: var(--accent); }

/* Agents */
.agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.agent { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: var(--panel); display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: border-color .2s, transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.agent:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-3px); box-shadow: var(--shadow); }
.agent .top { display: flex; justify-content: space-between; align-items: center; }
.agent .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.agent .ic svg { width: 21px; height: 21px; }
.agent h3 { font-size: 20px; letter-spacing: -0.02em; }
.agent p { color: var(--muted); font-size: 15.5px; }
.agent .hc { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; color: var(--muted); }
.agent .hc svg { width: 16px; height: 16px; color: var(--good); margin-top: 3px; }
.agent .hc b { color: var(--ink); font-weight: 600; }

/* Review trail (navy) */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.trust-grid h2 { margin-top: 18px; }
.trust-grid .lead { margin-top: 22px; max-width: 46ch; }
.pts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.pts li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
.pts li .n { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--navy-line); display: grid; place-items: center; color: #FF9A5E; }
.pts li .n svg { width: 17px; height: 17px; }
.pts li b { display: block; font-weight: 600; }
.pts li span { color: var(--navy-muted); font-size: 15.5px; }
.trail { border: 1px solid var(--navy-line); border-radius: var(--r-lg); padding: 10px 24px; background: var(--navy-2); font-size: 14.5px; position: relative; }
.trail::before { content: ""; position: absolute; left: 40px; top: 40px; bottom: 40px; width: 1px; background: var(--navy-line); }
.ti { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding: 18px 0; position: relative; }
.ti .av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 600 11.5px var(--f-mono); border: 1px solid var(--navy-line); background: var(--navy); color: var(--navy-ink); position: relative; z-index: 1; }
.ti .av.ai { background: var(--navy-ink); border-color: var(--navy-ink); } .ti .av.ai i { width: 8px; height: 8px; border-radius: 50%; background: #F26A1B; display: block; }
.ti .h { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; } .ti .h b { font-weight: 600; } .ti .h span { font: 12px var(--f-mono); color: var(--navy-muted); }
.ti p { color: var(--navy-muted); margin-top: 4px; } .ti p .mono { color: var(--navy-ink); }
.stamp { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 500 12px var(--f-mono); color: #3CCB8A; border: 1px solid rgba(60,203,138,.35); border-radius: 999px; padding: 5px 10px; }

/* Timeline steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.step { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: var(--panel); position: relative; min-width: 0; }
.step .when { display: inline-flex; font: 500 12.5px var(--f-mono); color: var(--accent); background: var(--accent-soft); padding: 6px 10px; border-radius: 999px; }
.step h3 { font-size: 26px; letter-spacing: -0.03em; margin: 16px 0 10px; }
.step p { color: var(--muted); font-size: 16px; }
.step ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 15px; }
.step li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.step li svg { width: 16px; height: 16px; color: var(--good); margin-top: 4px; }
.step .num { position: absolute; right: 22px; top: 18px; font: 600 64px/1 var(--f-display); letter-spacing: -0.05em; color: var(--line-2); }

/* ROI calculator */
.roi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.roi-in { padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; align-content: start; }
.roi-in .field label { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; gap: 8px; }
.roi-in .field label output { font: 500 15px var(--f-mono); color: var(--accent); }
.roi-in .field small { color: var(--muted); font-size: 13px; }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--mist); border-radius: 12px; margin-top: 8px; flex-wrap: wrap; }
.seg button { flex: 1; border: 0; background: none; padding: 9px 10px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: var(--shadow-sm); }
.roi-out { background: var(--navy); color: var(--navy-ink); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.roi-out .big { font: 500 clamp(48px, 6vw, 76px)/1 var(--f-display); letter-spacing: -0.05em; }
.roi-out .big small { font-size: .32em; color: var(--navy-muted); letter-spacing: 0; display: block; margin-top: 10px; font-weight: 400; font-family: var(--f-body); }
.roi-bars { display: grid; gap: 12px; }
.roi-bar { display: grid; gap: 6px; font-size: 14px; }
.roi-bar .row { display: flex; justify-content: space-between; gap: 10px; color: var(--navy-muted); }
.roi-bar .row b { color: var(--navy-ink); font: 500 14px var(--f-mono); }
.roi-bar .track { height: 10px; border-radius: 6px; background: var(--navy-2); overflow: hidden; }
.roi-bar .track i { display: block; height: 100%; border-radius: 6px; background: var(--navy-muted); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.roi-bar.us .track i { background: #F26A1B; }
.roi-out .fine { font-size: 12.5px; color: var(--navy-muted); margin-top: auto; }

/* Alternatives matrix */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
table.matrix { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.matrix th, .matrix td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line-2); }
.matrix th:first-child, .matrix td:first-child { text-align: left; font-weight: 500; }
.matrix thead th { font-size: 15px; font-weight: 600; vertical-align: bottom; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.matrix thead th small { display: block; font: 400 12.5px var(--f-mono); color: var(--muted); margin-top: 4px; }
.matrix .us { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.matrix thead .us { color: var(--accent); background: var(--accent-soft); }
.matrix tr:last-child td { border-bottom: 0; }
.mk { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.mk.y { background: var(--good-soft); color: var(--good); } .mk.n { background: var(--mist); color: var(--faint); } .mk.p { background: var(--warn-soft); color: var(--warn); }
.mk svg { width: 14px; height: 14px; }

/* Stages */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stage-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: var(--panel); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stage-card .lab { font: 500 12px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.stage-card h3 { font-size: 21px; letter-spacing: -0.02em; }
.stage-card p { color: var(--muted); font-size: 15px; }
.stage-card ul { list-style: none; padding: 14px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; }
.stage-card li::before { content: "→ "; color: var(--accent); font-family: var(--f-mono); }

/* Example engagement */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); }
.case-l { padding: clamp(26px, 4vw, 44px); background: var(--mist); display: flex; flex-direction: column; gap: 16px; }
.case-l .q { font: 400 clamp(24px, 2.6vw, 32px)/1.25 var(--f-serif); font-style: italic; letter-spacing: -0.01em; }
.case-l .meta { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.case-l .meta div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-width: 0; }
.case-l .meta small { display: block; font-size: 12px; color: var(--muted); }
.case-l .meta b { font: 500 15px var(--f-mono); }
.case-r { padding: clamp(26px, 4vw, 44px); }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tl li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.tl li:first-child { border-top: 0; }
.tl .d { font: 500 13px var(--f-mono); color: var(--accent); padding-top: 2px; }
.tl b { display: block; font-weight: 600; }
.tl span { color: var(--muted); font-size: 15px; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.results div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; }
.results b { font: 500 26px/1.1 var(--f-display); letter-spacing: -0.04em; display: block; }
.results small { color: var(--muted); font-size: 13px; }

/* Pricing */
.billing { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px; font-size: 15px; font-weight: 500; flex-wrap: wrap; }
.switch { width: 50px; height: 28px; border-radius: 999px; border: 0; background: var(--line); position: relative; cursor: pointer; transition: background .2s; flex: 0 0 auto; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.save { font: 600 12px var(--f-mono); color: var(--good); background: var(--good-soft); padding: 5px 9px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; background: var(--panel); display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; }
.plan.pop { border: 1.5px solid var(--accent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 50%, transparent); }
.plan .ribbon { position: absolute; top: -13px; left: 30px; font: 600 11.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 7px 11px; border-radius: 999px; }
.plan .nm { font: 500 13px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan h3 { font-size: 24px; letter-spacing: -0.025em; min-height: 2.5em; }
.plan .for { color: var(--muted); font-size: 15px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .from { font-size: 13px; color: var(--muted); width: 100%; }
.price b { font: 600 46px/1 var(--f-display); letter-spacing: -0.05em; }
.price span { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.plan .grow { flex: 1; }
.plan .btn { width: 100%; }
.price.quote { display: grid; gap: 6px; }
.price.quote b { font-size: 32px; letter-spacing: -0.035em; color: var(--ink); }
.price.quote span { font-size: 14px; }
.matrix-note { margin-top: 14px; color: var(--muted); max-width: 820px; font-size: 14px; }
.price-note { margin-top: 22px; font-size: 14.5px; color: var(--muted); text-align: center; }

/* Security grid */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sec-item { background: var(--panel); padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.sec-item .ic { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.sec-item .ic svg { width: 19px; height: 19px; }
.sec-item h3 { font-size: 18px; letter-spacing: -0.015em; }
.sec-item p { color: var(--muted); font-size: 15px; }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; min-width: 0; }
.guide:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide .cover { aspect-ratio: 16 / 9; max-width: 100%; position: relative; overflow: hidden; display: grid; place-items: center; }
.guide .cover.c1 { background: var(--navy); } .guide .cover.c2 { background: var(--accent); } .guide .cover.c3 { background: var(--mist); border-bottom: 1px solid var(--line); }
.guide .cover svg { width: 70%; height: auto; }
.guide .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide .kind { font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.guide h3 { font-size: 20px; letter-spacing: -0.02em; }
.guide p { color: var(--muted); font-size: 15px; }
.guide .go { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; color: var(--accent); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px 72px; }
.faq-grid .side { position: sticky; top: 110px; align-self: start; }
.faq-grid .side .lead { margin-top: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: 0 0 auto; transition: transform .25s ease, background .2s; }
.faq summary .pm svg { width: 12px; height: 12px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq details > div { color: var(--muted); padding-bottom: 24px; max-width: 64ch; display: grid; gap: 10px; }

/* CTA + form */
.cta-box { background: var(--navy); color: var(--navy-ink); border-radius: 32px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.cta-box::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,106,27,.45), transparent); z-index: -1; }
.cta-box::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); }
.cta-box h2 { margin-top: 18px; }
.cta-box .lead { color: var(--navy-muted); margin-top: 20px; }
.cta-box .eyebrow { color: #FF9A5E; }
.deliver { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.deliver li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 15.5px; }
.deliver li .n { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; font: 500 12px var(--f-mono); }
.deliver li span { color: var(--navy-muted); }
.deliver li b { color: var(--navy-ink); font-weight: 600; }
.form { background: var(--panel); color: var(--ink); border-radius: 22px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; box-shadow: var(--shadow-lg); align-content: start; }
.form h3 { font-size: 21px; letter-spacing: -0.02em; }
.form .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld label { font-size: 13.5px; font-weight: 600; }
.fld input, .fld select, .fld textarea { width: 100%; font: 400 15px var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; transition: border-color .15s, box-shadow .15s; }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.fld .err { font-size: 12.5px; color: var(--bad); display: none; }
.fld.invalid input, .fld.invalid select { border-color: var(--bad); }
.fld.invalid .err { display: block; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; cursor: pointer; transition: all .15s; user-select: none; }
.opt input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .fine { font-size: 12.5px; color: var(--muted); }
.form .btn { width: 100%; }
.success { display: none; text-align: center; padding: 30px 10px; gap: 12px; justify-items: center; }
.success .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--good-soft); color: var(--good); display: grid; place-items: center; }
.success .ok svg { width: 26px; height: 26px; }
.form.done > *:not(.success) { display: none; }
.form.done .success { display: grid; }

/* Newsletter */
.news { display: flex; gap: 8px; margin-top: 18px; max-width: 380px; }
.news input { flex: 1; min-width: 0; font: 400 15px var(--f-body); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; height: 44px; }
.news input:focus { outline: none; border-color: var(--accent); }
.news-msg { font-size: 13px; color: var(--good); margin-top: 8px; min-height: 1em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 72px 36px; background: var(--bg); }
.ft { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 36px; }
.ft .about p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 34ch; }
.ft h5 { margin: 0 0 16px; font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.ft a { text-decoration: none; transition: color .15s; }
.ft a:hover { color: var(--accent); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.socials a:hover { color: var(--ink); border-color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.ft-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13.5px; color: var(--muted); }
.ft-bottom a { text-decoration: none; } .ft-bottom a:hover { color: var(--ink); }
.ft-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-word { margin-top: 48px; overflow: hidden; }
.ft-word svg { width: 100%; height: auto; display: block; }


/* Floating */
.to-top { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; z-index: 50; color: var(--ink); }
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 18px; height: 18px; }
.mobile-cta { display: none; }

/* Inner pages */
.page-hero { padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); position: relative; overflow: clip; }
.page-hero h1 { margin-top: 20px; max-width: 16ch; }
.page-hero .lead { margin-top: 22px; max-width: 58ch; }
.crumbs { font: 13px var(--f-mono); color: var(--muted); display: flex; gap: 8px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--accent); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 28px; letter-spacing: -0.025em; margin: 48px 0 14px; }
.prose h3 { font-size: 20px; letter-spacing: -0.015em; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.prose a { color: var(--accent); }
.note { border: 1px dashed var(--warn); background: var(--warn-soft); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; color: var(--ink); }
.two-col { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 64px; }
.toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 4px; font-size: 14.5px; }
.toc a { text-decoration: none; color: var(--muted); padding: 6px 12px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--ink); border-color: var(--accent); }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: var(--panel); min-width: 0; }
.value .k { font: 500 13px var(--f-mono); color: var(--accent); }
.value h3 { font-size: 22px; letter-spacing: -0.02em; margin: 10px 0 8px; }
.value p { color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.person { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--panel); min-width: 0; }
.person .ph { width: 64px; height: 64px; border-radius: 18px; background: var(--mist); border: 1px dashed var(--line); display: grid; place-items: center; font: 600 18px var(--f-mono); color: var(--faint); margin-bottom: 16px; }
.person h3 { font-size: 19px; } .person .r { color: var(--accent); font-size: 14px; font-weight: 600; } .person p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sw { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); min-width: 0; }
.sw i { display: block; height: 110px; }
.sw div { padding: 12px 14px; font-size: 13.5px; } .sw b { display: block; } .sw span { font: 12px var(--f-mono); color: var(--muted); }
.logo-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.logo-tile { border: 1px solid var(--line); border-radius: var(--r-lg); min-height: 240px; display: grid; place-items: center; padding: 40px; position: relative; min-width: 0; }
.logo-tile img { max-height: 76px; width: auto; }
.logo-tile .cap { position: absolute; left: 16px; bottom: 14px; font: 12px var(--f-mono); color: var(--muted); }
.logo-tile .dl { position: absolute; right: 14px; bottom: 12px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.logo-tile.dark { background: #0B2A6F; } .logo-tile.dark .cap { color: #9DA6C0; } .logo-tile.blue { background: #F26A1B; } .logo-tile.blue .cap, .logo-tile.blue .dl { color: #fff; }
.logo-tile.light { background: #fff; } .logo-tile.light .cap { color: #5B6478; }
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.anatomy-fig { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); padding: 30px; display: grid; place-items: center; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 30px; }
.ccard { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; background: var(--panel); }
.ccard .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.ccard .ic svg { width: 19px; height: 19px; }
.ccard b { display: block; } .ccard span { color: var(--muted); font-size: 15px; }
.ccard .copy { font: 500 14px var(--f-mono); color: var(--ink); user-select: all; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .code { font: 600 clamp(100px, 18vw, 200px)/1 var(--f-display); letter-spacing: -0.06em; color: var(--line); }


/* ===== v3 components ===== */
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent:hover { background: var(--accent-2); color: var(--on-accent); }
.ghost-light { color: var(--navy-ink); border-color: var(--navy-line); }
.ghost-light:hover { border-color: var(--navy-ink); }

/* Wide services mega menu */
.mega.wide { width: min(980px, 92vw); grid-template-columns: minmax(0, 1fr); left: -20px; padding: 20px; }
.mg-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mg-col h5 { margin: 0 0 10px; font: 500 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.mg-col a { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; text-decoration: none; font-size: 14.5px; font-weight: 500; }
.mg-col a svg { width: 17px; height: 17px; color: var(--brand); }
.mg-col a:hover { background: var(--mist); }
.mg-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--mist); font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.mg-foot b { color: var(--ink); }

/* Finance chain */
.chain-wrap { display: grid; gap: 22px; }
.phases { display: flex; flex-wrap: wrap; gap: 8px; }
.ph { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 8px 14px 8px 8px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.ph b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font: 600 11px var(--f-mono); color: var(--ink); min-width: 26px; padding: 0 6px; width: auto; }
.ph[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ph[aria-pressed="true"] b { background: var(--accent); color: #fff; }
.chain-scroll { overflow-x: auto; margin: 0 calc(-1 * var(--gl)) 0 calc(-1 * var(--gl)); padding: 8px var(--gl) 14px; scrollbar-width: thin; }
.chain { position: relative; display: grid; grid-template-columns: repeat(15, minmax(70px, 1fr)); gap: 3px; min-width: 1110px; padding-top: 6px; }
.chain-line { position: absolute; left: 42px; right: 42px; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); overflow: hidden; }
.chain-line .pulse { position: absolute; top: -1px; left: 0; width: 120px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: travel 5s linear infinite; }
@keyframes travel { from { transform: translateX(-120px); } to { transform: translateX(1200px); } }
.cn { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 2px; color: var(--muted); text-align: center; transition: opacity .25s; }
.cn-dot { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--panel); border: 1.5px solid var(--line); color: var(--brand); box-shadow: var(--shadow-sm); transition: all .25s cubic-bezier(.2,.7,.2,1); }
.cn-dot svg { width: 22px; height: 22px; }
.cn-n { font: 500 11px var(--f-mono); color: var(--faint); }
.cn-t { font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ink); max-width: 11ch; }
.cn:hover .cn-dot { transform: translateY(-3px); border-color: var(--accent); }
.cn[aria-pressed="true"] .cn-dot { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-4px) scale(1.06); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.cn[aria-pressed="true"] .cn-n { color: var(--accent-ink); }
.cn.dim { opacity: .28; }
.cn[data-phase="plan"] .cn-dot, .cn[data-phase="capital"] .cn-dot { border-style: solid; }
.chain-detail { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); display: grid; gap: 24px; }
.chain-detail.swap { animation: fadeUp .4s cubic-bezier(.2,.7,.2,1); }
.cd-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.cd-phase { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.cd-head h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; margin: 8px 0 6px; }
.cd-head p { color: var(--muted); max-width: 60ch; }
.cd-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cd-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cd-col { border-radius: 16px; padding: 18px 20px; background: var(--mist); min-width: 0; }
.cd-col.ai { background: color-mix(in srgb, var(--brand) 7%, var(--panel)); }
.cd-col.hu { background: color-mix(in srgb, var(--accent) 8%, var(--panel)); }
.cd-col h4 { font-size: 15px; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cd-col h4 > svg { width: 22px; height: 22px; color: var(--good); }
.cd-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.cd-col li { padding-left: 16px; position: relative; }
.cd-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.cd-col.ai li::before { background: var(--brand); }

/* Research */
.rs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rs-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: var(--panel); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rs-n { font: 600 clamp(38px, 4.2vw, 54px)/1 var(--f-display); letter-spacing: -0.04em; color: var(--accent); }
.rs-f { color: var(--ink-2); font-size: 15.5px; }
.rs-m { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--muted); display: grid; gap: 4px; }
.rs-m b { color: var(--ink); }
.rs-src { margin-top: 22px; font-size: 13.5px; color: var(--muted); max-width: 90ch; }
.rs-src a { color: var(--accent-ink); }
.section.navy .rs-card { background: var(--navy-2); border-color: var(--navy-line); }
.section.navy .rs-f { color: var(--navy-ink); } .section.navy .rs-m { color: var(--navy-muted); border-color: var(--navy-line); } .section.navy .rs-m b { color: var(--navy-ink); }
.section.navy .rs-n { color: #FF9A5E; } .section.navy .rs-src { color: var(--navy-muted); } .section.navy .rs-src a { color: #FF9A5E; }

/* AI-first split + policy card */
.ai-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.mini-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; counter-reset: ms; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 34px 110px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.mini-steps li::before { content: counter(ms); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 600 12px var(--f-mono); }
.mini-steps li:last-child::before { background: var(--accent); color: #fff; }
.mini-steps b { font-weight: 600; } .mini-steps span { color: var(--muted); font-size: 15px; }
.policy { border-radius: 20px; background: #0A1838; color: #DCE4F7; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid #1E2F5E; }
.policy-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #1E2F5E; font-size: 12.5px; color: #9AAAD0; }
.policy-h .dots i { background: #24386A; }
.policy-h .chip { margin-left: auto; background: rgba(60,203,138,.12); border-color: rgba(60,203,138,.35); color: #3CCB8A; }
.policy pre { margin: 0; padding: 20px 22px 24px; font-size: 13.5px; line-height: 1.75; overflow-x: auto; white-space: pre; }
.policy .k { color: #FF9A5E; } .policy .v { color: #8FE3B5; } .policy .c { color: #6F80AC; font-style: italic; }
.dots { display: inline-flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }

/* Services page */
.phase-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
.phase-nav a { border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-decoration: none; background: var(--panel); display: grid; gap: 4px; font-weight: 600; transition: border-color .2s, transform .2s; }
.phase-nav a:hover { border-color: var(--accent); transform: translateY(-2px); }
.phase-nav b { font: 600 12px var(--f-mono); color: var(--accent-ink); }
.phase-nav small { font-weight: 400; color: var(--muted); font-size: 13px; }
.phase-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.phase-k { font: 500 12.5px var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); }
.svc-list { display: grid; gap: 16px; }
.svc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); padding: clamp(22px, 3vw, 32px); scroll-margin-top: 100px; }
.svc:target { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.svc-l { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; position: relative; }
.svc-n { position: absolute; right: 0; top: -6px; font: 600 44px/1 var(--f-display); letter-spacing: -0.05em; color: var(--line-2); }
.svc-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--brand); color: #fff; display: grid; place-items: center; }
:root[data-theme="dark"] .svc-ic { color: #060D22; }
.svc-ic svg { width: 22px; height: 22px; }
.svc-l h3 { font-size: 24px; letter-spacing: -0.025em; }
.svc-l p { color: var(--muted); font-size: 15.5px; }
.svc-r { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* Capital page */
.navy-hero { background: var(--navy); color: var(--navy-ink); border-bottom: 0; }
.navy-hero .lead { color: var(--navy-muted); } .navy-hero .crumbs { color: var(--navy-muted); }
.deal-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: 18px; overflow: hidden; margin-top: 48px; }
.deal-stats div { background: var(--navy-2); padding: 22px; display: grid; gap: 6px; }
.deal-stats b { font: 600 30px/1 var(--f-display); letter-spacing: -0.04em; color: #FF9A5E; }
.deal-stats span { color: var(--navy-muted); font-size: 14.5px; }
.pkg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pkg-col { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: var(--panel); }
.pkg-col h4 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; } .pkg-col h4 svg { width: 20px; height: 20px; color: var(--accent); }
.pkg-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.pkg-col li { padding-left: 22px; position: relative; } .pkg-col li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--line); position: relative; }
.process li { padding: 24px 18px 0 0; position: relative; min-width: 0; }
.process li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--accent); }
.section.mist .process li::before { border-color: var(--mist); }
.process .pw { font: 500 12.5px var(--f-mono); color: var(--accent-ink); }
.process h4 { font-size: 21px; letter-spacing: -0.02em; margin: 8px 0 6px; }
.process p { color: var(--muted); font-size: 15px; }
.ma-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ma-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); background: var(--panel); }
.ma-card.dark { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); }
.ma-tag { font: 600 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 6px 10px; border-radius: 999px; }
.ma-card h3 { font-size: 28px; letter-spacing: -0.03em; margin: 16px 0 18px; }
.ma-steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: m; }
.ma-steps li { counter-increment: m; display: grid; grid-template-columns: 30px 100px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); align-items: baseline; }
.ma-card.dark .ma-steps li { border-color: var(--navy-line); }
.ma-steps li::before { content: counter(m, decimal-leading-zero); font: 500 12px var(--f-mono); color: var(--accent-ink); }
.ma-card.dark .ma-steps li::before { color: #FF9A5E; }
.ma-steps b { font-weight: 600; } .ma-steps span { color: var(--muted); font-size: 15px; }
.ma-card.dark .ma-steps span { color: var(--navy-muted); }

/* Agentic page */
.setup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.setup li { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: var(--panel); display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
.setup .sn { font: 600 34px/1 var(--f-display); letter-spacing: -0.05em; color: var(--accent); }
.setup h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.setup p { color: var(--muted); font-size: 15.5px; }
.setup .out { display: inline-block; margin-top: 14px; font: 12.5px var(--f-mono); color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--panel)); padding: 6px 10px; border-radius: 8px; }
.org { display: grid; gap: 30px; position: relative; padding: 10px 0; }
.org-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }
.org-row + .org-row::before { content: ""; position: absolute; top: -30px; left: 50%; width: 2px; height: 30px; background: var(--line); }
.org-node { border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; background: var(--panel); display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 150px; box-shadow: var(--shadow-sm); }
.org-node.big { border-color: var(--accent); box-shadow: 0 16px 40px -18px color-mix(in srgb, var(--accent) 60%, transparent); min-width: 240px; }
.org-node small { color: var(--muted); font-size: 13px; }
.org-node.ai { background: var(--mist); min-width: 130px; }
.org-node .who { width: 30px; height: 30px; }

@media (max-width: 980px) {
  .mg-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-split { grid-template-columns: minmax(0, 1fr); }
  .rs-grid, .pkg, .setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cd-cols, .svc-r { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .phase-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 3px solid var(--line); }
  .process li { padding: 0 0 24px 26px; }
  .process li::before { top: 4px; left: -9px; }
  .ma-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .rs-grid, .pkg, .setup, .deal-stats, .phase-nav { grid-template-columns: minmax(0, 1fr); }
  .mini-steps li { grid-template-columns: 34px minmax(0, 1fr); } .mini-steps span { grid-column: 2; }
  .ma-steps li { grid-template-columns: 30px minmax(0, 1fr); } .ma-steps span { grid-column: 2; }
  .cd-meta { align-items: flex-start; }
  .setup li { grid-template-columns: minmax(0, 1fr); }
}

/* Responsive */
@media (max-width: 1100px) {
  .float.f1 { right: -8px; } .float.f2 { left: -8px; }
  .app { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .menu, .signin, .hdr-cta .btn-ghost { display: none; }
  .burger { display: grid; }
  .hero-top, .head, .panel, .trust-grid, .roi, .case, .faq-grid, .cta-box, .contact-grid, .anatomy, .two-col { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .side, .toc { position: static; }
  .toc { display: none; }
  .app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-side { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .agents, .guides, .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .ft { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft .about { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 12px var(--gr) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gl); background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; }
  .to-top { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hdr { gap: 12px; }
  .hdr-cta .btn-primary, .hdr-cta .btn-accent { display: none; }
  .announce .wrap { font-size: 13px; }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .kpis .kpi:nth-child(n+3) .sp { display: none; }
  .ba-head { display: none !important; }
  .ba-row { grid-template-columns: minmax(0, 1fr); }
  .ba-row > div + div { border-left: 0; padding-top: 0; }
  .ba-row > div { padding: 14px 20px; }
  .ba-row > div.topic { padding-top: 20px; }
  .ba-row > div.now { padding-bottom: 20px; background: none; }
  .tabs { border-radius: 18px; width: 100%; }
  .tab { flex: 1 1 auto; justify-content: center; padding: 10px 12px; }
  .scen, .scen-out { grid-template-columns: minmax(0, 1fr); }
  .bd-cal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agents, .guides, .sec-grid, .stages, .team, .values, .logo-tiles, .results { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding: 26px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .form .two { grid-template-columns: minmax(0, 1fr); }
  .ft { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cash { gap: 3px; } .cash .c span { font-size: 8.5px; }
  .pages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pages .pg:nth-child(3) { display: none; }
  .tasks li { grid-template-columns: 20px minmax(0, 1fr) auto; } .tasks li .who { display: none; }
  .case-l .meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .chart .draw { stroke-dashoffset: 0; }
}

/* Brand page v3 */
.anat-notes { display: grid; gap: 10px; margin-top: 32px; font-size: 14px; color: var(--muted); }
.anat-notes span { display: flex; gap: 12px; align-items: center; }
.anat-notes i { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.logo-tile.orange { background: #F26A1B; }
.logo-tile.orange .cap, .logo-tile.orange .dl { color: #fff; }
.alt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.alt { margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; }
.alt-fig { background: #fff; padding: 40px 28px; display: grid; place-items: center; min-height: 180px; border-bottom: 1px solid var(--line); }
.alt-fig img { width: 100%; max-width: 280px; }
.alt figcaption { padding: 18px 22px 22px; color: var(--muted); font-size: 14.5px; }
.alt figcaption b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
@media (max-width: 900px) { .alt-grid { grid-template-columns: 1fr; } }
.matrix th.us small { color: var(--accent-ink); font-weight: 600; font-size: 12.5px; }
