/* MSP Growth Partners — theme v0 (dark). Class contract = src/components.js + src/layout.js. */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/onest-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/onest-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/onest-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  :root {
    --bg: #05070d; --bg-2: #0a1020; --panel: #0b0f19; --panel-2: #10161f;
    --blue: #2563eb; --blue-hi: #3b82f6; --blue-lo: #1e3a8a; --violet: #7c3aed;
    --text: #f4f6fb; --muted: #aab3c5; --dim: #7c869b;
    --line: rgba(255,255,255,.12); --line-soft: rgba(255,255,255,.07);
    --font: 'Onest', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --r: 14px; --r-lg: 20px; --wrap: 1120px;
  }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg:#05070d; } }
  :root[data-theme="dark"] { --bg:#05070d; }

  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body { background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: inherit; }
  img, svg { max-width: 100%; }
  h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; margin: 0; }
  .lead { color: var(--muted); }
  p { margin: 0; }

  a { color: inherit; }
  .container { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
  .container--wide { width: min(1320px, calc(100% - 48px)); }
  .skip-link { position:absolute; left:-999px; top:8px; z-index:100; background: var(--blue); color:#fff; padding: 8px 12px; border-radius: 8px; }
  .skip-link:focus { left: 8px; }

  /* =====================================================================
     HEADER
     ===================================================================== */
  .site-header { position: sticky; top: 0; z-index: 50; background: rgba(5,7,13,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; height: 68px; }
  .brand { display:flex; align-items:center; gap:10px; font-weight:500; font-size:17px; text-decoration:none; white-space: nowrap; color: var(--text); }
  .brand__mark { width: 24px; height: 24px; flex: none; }
  .nav { justify-self: center; }
  .nav__list { display:flex; gap: 4px; list-style:none; margin:0; padding:0; }
  .nav__group { position: relative; }
  .nav__link { display:inline-flex; align-items:center; gap:6px; font: inherit; font-size: 15px; color: var(--text); background: transparent; border: 0; padding: 8px 12px; border-radius: 8px; cursor: pointer; text-decoration:none; opacity: .88; }
  .nav__link:hover, .nav__link.is-active, .nav__toggle[aria-expanded="true"] { background: rgba(255,255,255,.07); opacity: 1; }
  .nav .nav__link.is-active, .nav .nav__sublink.is-active { color: var(--blue-hi); }
  .nav__chev { transition: transform .2s ease; }
  .nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
  .nav__menu { position:absolute; top: 100%; left: 0; min-width: 250px; margin: 0; padding: 8px; list-style:none; background: #0f1522; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.5); display:none; z-index: 60; }
  .nav__menu::before { content:""; position:absolute; top:-10px; left:0; right:0; height:10px; }
  .nav__group:hover .nav__menu, .nav__toggle[aria-expanded="true"] + .nav__menu { display:block; }
  .nav__sublink { display:block; padding: 10px 12px; border-radius: 8px; font-size: 14.5px; text-decoration:none; color: var(--text); }
  .nav__sublink:hover, .nav__sublink.is-active { background: rgba(255,255,255,.07); }
  .site-header__actions { display:flex; align-items:center; gap: 18px; }
  .link-quiet { font-size: 14px; color: var(--muted); text-decoration:none; }
  .link-quiet:hover { color: var(--text); }
  .hamburger { display:none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor:pointer; flex-direction: column; align-items:center; justify-content:center; gap: 5px; }
  .hamburger span { width: 18px; height: 1.6px; background: var(--text); display:block; }
  .mobile-nav { display:none; border-top: 1px solid var(--line); padding: 16px 24px 24px; background: #070a12; }
  .mobile-nav[hidden] { display:none !important; }
  .mobile-nav__list { list-style:none; margin: 0 0 16px; padding:0; }
  .mobile-nav__list > li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
  .mobile-nav__title-link { display:block; font-size: 16px; font-weight: 500; color: var(--text); text-decoration:none; }
  .mobile-nav__title { display:block; color: var(--dim); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
  .mobile-nav__list ul { list-style:none; margin:0; padding: 0 0 4px 0; display:grid; gap: 4px; }
  .mobile-nav__list ul a { color: var(--text); text-decoration:none; font-size: 15px; padding: 6px 0; display:block; }
  @media (max-width: 900px) {
    .nav, .site-header__actions { display:none; }
    .hamburger { display:flex; justify-self:end; }
    .mobile-nav:not([hidden]) { display:block; }
  }

  /* buttons */
  .btn { display:inline-flex; align-items:center; gap:8px; font: inherit; font-size: 15px; font-weight: 500; border-radius: 10px; padding: 12px 20px; cursor: pointer; text-decoration:none; transition: transform .25s ease, background .25s ease; }
  /* button modifiers used by the inner pages */
  .btn--primary { background: var(--blue); color:#fff; border:0; }
  .btn--primary:hover { background: var(--blue-hi); }
  .btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
  .btn--ghost:hover { background: rgba(255,255,255,.06); }
  .btn--lg { padding: 14px 24px; font-size: 16px; }
  .btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 8px; }
  .btn--block { display:flex; justify-content:center; width: 100%; }

  :is(.btn, a, summary, button):focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

  /* =====================================================================
     HOME HERO (stage)
     ===================================================================== */
  /* ================= HERO ================= */
  .stage { position: relative; min-height: calc(100svh - 68px); overflow: hidden;
    background: radial-gradient(120% 90% at 50% 0%, var(--bg-2) 0%, var(--bg) 60%); display: flex; flex-direction: column; }
  .bg { position: absolute; inset: 0; opacity: 0.001; transform: scale(1.1); animation: settle 2s cubic-bezier(.16,1,.3,1) .2s forwards; }
  .streaks { background: repeating-linear-gradient(90deg, rgba(37,99,235,.45) 0 1.5px, transparent 1.5px 9px);
    -webkit-mask: radial-gradient(60% 80% at 50% 60%, #000 0%, rgba(0,0,0,.55) 40%, transparent 75%);
            mask: radial-gradient(60% 80% at 50% 60%, #000 0%, rgba(0,0,0,.55) 40%, transparent 75%);
    animation: settle 2s cubic-bezier(.16,1,.3,1) .2s forwards, shimmer 9s linear infinite; }
  .streaks::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 0%, rgba(5,7,13,.35) 50%, var(--bg) 100%); }
  .glow { background: radial-gradient(45% 55% at 82% 45%, rgba(37,99,235,.45) 0%, transparent 70%),
      radial-gradient(35% 45% at 12% 85%, rgba(37,99,235,.35) 0%, transparent 70%),
      radial-gradient(40% 30% at 50% 100%, rgba(30,64,175,.5) 0%, transparent 70%); filter: blur(6px); }
  .ascii { pointer-events: none; }
  .ascii canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
  .pool { opacity:1; transform:none; animation:none; background: radial-gradient(44% 60% at 50% 52%, rgba(5,7,13,.65) 0%, rgba(5,7,13,.3) 60%, transparent 100%); }


  .btn { display:inline-flex; align-items:center; gap:8px; font: inherit; font-size: 15px; font-weight: 500; border-radius: 10px; padding: 12px 20px; cursor: pointer; text-decoration:none;
    transition: transform .25s ease, background .25s ease; }
  .btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
  .btn.ghost:hover { background: rgba(255,255,255,.06); }
  .btn.solid { background: var(--text); color: #0b0f19; border: 0; }
  .btn.solid:hover { transform: translateY(-1px); }
  .btn.blue { background: var(--blue); color:#fff; border:0; }
  .btn.blue:hover { background: var(--blue-hi); }
  .btn.sm { font-size: 13px; padding: 9px 14px; border-radius: 8px; }
  :is(.btn, a, summary):focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

  .stage .hero--stage { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 72px 24px 88px; }
  .up { opacity: .001; transform: translateY(12px); animation: rise 1.2s cubic-bezier(.22,1,.36,1) var(--d, .2s) forwards; }
  .badge { display:inline-flex; align-items:center; gap:10px; font-size:14px; color: var(--muted); margin-bottom: 22px;
    opacity:.001; transform: translateY(8px); animation: pop .4s cubic-bezier(.34,1.56,.64,1) .6s forwards; }
  .badge b { background: var(--blue); color:#fff; font-weight:600; font-size:11px; letter-spacing:.06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
  .stage h1 { font-size: clamp(40px, 6.6vw, 72px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 22px; max-width: 15ch; }
  .sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; color: var(--muted); max-width: 44ch; margin: 0 0 42px; }
  .cta { display:flex; gap: 12px; flex-wrap: wrap; justify-content:center; }

  .stage .hero__stats { display:flex; gap: 40px; justify-content:center; margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
  .stage .hero__stats div { text-align:left; }
  .stage .hero__stats dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
  .stage .hero__stats dd { margin: 4px 0 0; font-size: 20px; font-weight: 500; }
  .stage .hero__aside { margin: 28px auto 0; max-width: 860px; width: 100%; text-align:left; background: rgba(11,15,25,.72); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 22px; backdrop-filter: blur(8px); }
  .stage .panel__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-hi); margin: 0 0 8px; }
  .stage .hero__aside ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stage .panel li { display:flex; gap: 10px; align-items:baseline; font-size: 14.5px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
  .stage .panel li b { color: var(--blue-hi); font-variant-numeric: tabular-nums; font-weight: 500; font-size: 13px; }
  .stage .panel__foot { margin: 8px 0 0; font-size: 12.5px; color: var(--dim); }
  @media (max-width: 720px) { .stage .hero__stats { gap: 20px; flex-wrap: wrap; } .stage .hero__aside ul { grid-template-columns: 1fr; gap: 0; } }
  @keyframes rise   { to { opacity: 1; transform: translateY(0); } }
  @keyframes pop    { to { opacity: 1; transform: translateY(0); } }
  @keyframes settle { to { opacity: 1; transform: scale(1); } }
  @keyframes drift  { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(var(--dx, 10px), var(--dy, -12px)) rotate(var(--rot, .6deg)); } }
  @keyframes shimmer { to { background-position: 9px 0; } }

  .stage .badge b { text-transform: uppercase; }
  .stage .btn--lg { font-size: 15px; padding: 12px 20px; }
  .stage .hero__stats div { border: 0; padding: 0; }
  .stage .hero__aside { opacity: .001; transform: translateY(12px); animation: rise 1.2s cubic-bezier(.22,1,.36,1) .9s forwards; }
  .stage .panel { background: transparent; border: 0; padding: 0; }
  .stage .panel ul { display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stage .panel li { display:flex; gap: 10px; align-items:baseline; font-size: 14.5px; padding: 8px 0; border-top: 1px solid var(--line-soft); border-bottom: 0; justify-content: flex-start; }
  .stage .panel li b { order: -1; color: var(--blue-hi); font-variant-numeric: tabular-nums; font-weight: 500; font-size: 13px; }
  .stage .panel__label { color: var(--blue-hi); }
  @media (max-width: 720px) { .stage .panel ul { grid-template-columns: 1fr; gap: 0; } .ascii { display: none; } }

  /* =====================================================================
     TEXTURES
     ===================================================================== */
  /* ---- animated textures: drifting blurred colour fields + film grain (+ halftone mask on .t3/.t6) ---- */
  .tex { position: relative; overflow: hidden; border-radius: var(--r); background: #061236; isolation: isolate; }
  .tex::before { content:""; position:absolute; inset:-40%; width:180%; height:180%; background: var(--tex-bg); filter: blur(28px) saturate(1.25); will-change: transform; animation: tex-drift var(--tex-dur, 24s) ease-in-out infinite alternate; }
  .tex::after  { content:""; position:absolute; inset:-100% 0 0 -100%; width:300%; height:300%; background: url(/assets/img/grain.png) 0 0/160px 160px; opacity: var(--tex-grain, .55); mix-blend-mode: soft-light; pointer-events:none; animation: tex-grain .5s steps(4) infinite; }
  .tex.halftone { background: #071642; }
  .tex.halftone::before { filter: blur(18px) saturate(1.4); -webkit-mask: url(/assets/img/halftone-mask.png) center / 100% 100%; mask: url(/assets/img/halftone-mask.png) center / 100% 100%; inset:-30%; width:160%; height:160%; }
  .tex.halftone::after { opacity: .3; }
  @keyframes tex-drift { from { transform: translate(-6%, -5%) rotate(-3deg) scale(1); } to { transform: translate(6%, 5%) rotate(3deg) scale(1.18); } }
  @keyframes tex-grain { 0% { transform: translate(0,0); } 25% { transform: translate(-7%, 4%); } 50% { transform: translate(5%, -9%); } 75% { transform: translate(-3%, -5%); } 100% { transform: translate(8%, 6%); } }
  /* bloom — cyan blobs on deep blue (ref. 1) */
  .tex.t1 { --tex-dur: 26s; --tex-bg: radial-gradient(38% 34% at 22% 78%, #a5f3fc 0%, #22d3ee 35%, transparent 70%), radial-gradient(34% 40% at 84% 30%, #7dd3fc 0%, #0ea5e9 40%, transparent 72%), radial-gradient(60% 55% at 50% 45%, #1e3a8a 0%, #0a1d5c 60%, transparent 100%), #071642; }
  .tex.t4 { --tex-dur: 30s; --tex-bg: radial-gradient(40% 36% at 78% 76%, #bae6fd 0%, #38bdf8 38%, transparent 72%), radial-gradient(30% 44% at 18% 26%, #67e8f9 0%, #0284c7 45%, transparent 75%), radial-gradient(70% 60% at 50% 50%, #1e40af 0%, #0a1d5c 65%, transparent 100%), #071642; }
  .tex.t7 { --tex-dur: 22s; --tex-bg: radial-gradient(44% 60% at 30% 50%, #7dd3fc 0%, #0ea5e9 40%, transparent 72%), radial-gradient(36% 50% at 80% 40%, #a5f3fc 0%, #22d3ee 35%, transparent 70%), radial-gradient(80% 70% at 50% 55%, #1d4ed8 0%, #0a1d5c 65%, transparent 100%), #071642; }
  /* nebula — dark navy, one deep glow, faint streaks (ref. 2) */
  .tex.t2 { --tex-dur: 34s; --tex-grain: .45; --tex-bg: radial-gradient(46% 42% at 30% 72%, #1d4ed8 0%, #1e3a8a 40%, transparent 72%), radial-gradient(30% 60% at 78% 24%, #3b82f6 0%, transparent 65%), linear-gradient(115deg, transparent 40%, rgba(96,165,250,.35) 50%, transparent 60%), #04091a; }
  .tex.t5 { --tex-dur: 28s; --tex-grain: .45; --tex-bg: radial-gradient(50% 44% at 70% 70%, #1e40af 0%, #172554 45%, transparent 75%), radial-gradient(28% 50% at 22% 30%, #2563eb 0%, transparent 62%), linear-gradient(60deg, transparent 42%, rgba(147,197,253,.28) 50%, transparent 58%), #04091a; }
  /* halftone — dotted contour field with flowing colour (ref. 3) */
  .tex.t3 { --tex-dur: 20s; --tex-bg: radial-gradient(40% 40% at 25% 30%, #bfdbfe 0%, #60a5fa 40%, transparent 75%), radial-gradient(45% 45% at 78% 72%, #93c5fd 0%, #2563eb 45%, transparent 78%), linear-gradient(135deg, #1e40af, #3b82f6 50%, #1e3a8a); }
  .tex.t6 { --tex-dur: 24s; --tex-bg: radial-gradient(42% 42% at 72% 28%, #dbeafe 0%, #60a5fa 40%, transparent 76%), radial-gradient(48% 46% at 22% 74%, #93c5fd 0%, #1d4ed8 48%, transparent 80%), linear-gradient(35deg, #1e3a8a, #2563eb 50%, #1e40af); }
  @media (prefers-reduced-motion: reduce) { .tex::before, .tex::after { animation: none; } }

  .tex.is-paused::before, .tex.is-paused::after { animation-play-state: paused; }

  /* =====================================================================
     PAGE VOCABULARY (sections, cards, process map, reports, faq, cta…)
     ===================================================================== */
  .landing .faq { display:grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  details { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 12px; }
  summary { list-style:none; cursor:pointer; padding: 18px 20px; font-size: 15px; display:flex; justify-content:space-between; align-items:center; gap: 16px; }
  summary::-webkit-details-marker { display:none; }
  summary::after { content:"+"; font-size: 18px; color: var(--dim); transition: transform .25s ease; }
  details[open] summary::after { transform: rotate(45deg); }
  details .a { padding: 0 20px 18px; font-size: 14px; line-height:1.55; color: var(--muted); }

  /* =====================================================================
     INNER PAGES — styling for the site's own BEM vocabulary
     ===================================================================== */
  { --fs: 16px; }
  .container { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
  p { margin: 0 0 1em; line-height: 1.6; }
  h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 14px; }
  h3 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; font-weight: 500; }
  h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin: 0 0 12px; font-weight: 500; }
  main a:not(.btn) { color: var(--blue-hi); text-decoration: none; }
  main a:not(.btn):hover { text-decoration: underline; }
  strong, b { font-weight: 600; color: var(--text); }
  ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
  li { margin: 0 0 .4em; line-height: 1.55; }
  .muted { color: var(--dim); }

  .breadcrumbs { background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line-soft); }
  .breadcrumbs ol { display:flex; gap: 8px; list-style:none; margin:0; padding: 12px 0; font-size: 13px; color: var(--dim); }
  .breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
  .breadcrumbs a { color: var(--muted) !important; }
  .breadcrumbs [aria-current] { color: var(--text); }

  .hero:not(.hero--stage) { position: relative; overflow:hidden; padding: 88px 0 72px; background: radial-gradient(120% 90% at 50% 0%, var(--bg-2) 0%, var(--bg) 70%); border-bottom: 1px solid var(--line-soft); }
  .hero__glow { position:absolute; inset:0; pointer-events:none; background: radial-gradient(45% 55% at 85% 30%, rgba(37,99,235,.35) 0%, transparent 70%), radial-gradient(35% 45% at 5% 100%, rgba(37,99,235,.25) 0%, transparent 70%); filter: blur(10px); }
  .hero__inner { position:relative; display:grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items:center; }
  .hero__inner--solo { grid-template-columns: minmax(0, 820px); }
  .hero:not(.hero--stage) h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.06; letter-spacing: -.025em; margin: 0 0 20px; max-width: 18ch; }
  .hero__lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 58ch; }
  .hero__actions { display:flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
  .hero__stats { display:grid; grid-template-columns: repeat(3, auto); gap: 32px; margin: 32px 0 0; padding: 0; justify-content: start; }
  .hero__stats div { border-left: 1px solid var(--line); padding-left: 16px; }
  .hero__stats dt { font-size: 12px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
  .hero__stats dd { margin: 4px 0 0; font-size: 15px; }
  .hero__copy > * { opacity: .001; transform: translateY(12px); animation: rise 1.2s cubic-bezier(.22,1,.36,1) forwards; }
  .hero__copy > :nth-child(1) { animation-delay: .1s } .hero__copy > :nth-child(2) { animation-delay: .25s }
  .hero__copy > :nth-child(3) { animation-delay: .4s } .hero__copy > :nth-child(4) { animation-delay: .55s } .hero__copy > :nth-child(5) { animation-delay: .7s }
  .hero__aside { opacity: .001; transform: scale(.98); animation: settle 1.4s cubic-bezier(.16,1,.3,1) .5s forwards; }

  .eyebrow { display:block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); margin: 0 0 14px; font-weight: 500; }
  .eyebrow--light { color: var(--blue-hi); }

  .section { padding: 88px 0; border-top: 1px solid var(--line-soft); }
  .section--muted { background: rgba(255,255,255,.025); }
  .section--dark { background: linear-gradient(180deg, #0a1020, var(--bg)); }
  .section--tight { padding: 56px 0; }
  .section-head { max-width: 760px; margin-bottom: 40px; }
  .section-head__intro { color: var(--muted); font-size: 17px; }

  .split { display:grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items:start; }
  .stack > * + * { margin-top: 1em; }
  .prose { max-width: 66ch; }
  .prose h2 { margin-top: 0; }
  .prose h3 { margin-top: 28px; }

  .panel { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 24px; }
  .panel__label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
  .panel ul { list-style:none; margin:0; padding:0; }
  .panel li { display:flex; justify-content:space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; margin:0; }
  .panel li b { color: var(--blue-hi); font-variant-numeric: tabular-nums; font-weight: 500; }
  .panel__foot { margin: 14px 0 0; font-size: 13px; color: var(--dim); }

  .tick-list { list-style:none; margin: 0 0 1em; padding: 0; display:grid; gap: 8px; }
  .tick-list--2 { grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .tick-list li { position:relative; padding-left: 22px; margin:0; font-size: 15px; color: var(--muted); }
  .tick-list li::before { content:""; position:absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--blue-hi); border-bottom: 2px solid var(--blue-hi); transform: rotate(-45deg); }

  .cards { list-style:none; margin: 0 0 24px; padding:0; display:grid; gap: 16px; }
  .cards--2 { grid-template-columns: 1fr 1fr; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards .card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 24px; margin:0; display:flex; flex-direction:column; }
  .card__kicker { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-hi); margin: 0 0 10px; }
  .card__title { font-size: 19px; margin: 0 0 10px; }
  .card__title a { color: var(--text) !important; }
  .card__body { font-size: 14.5px; color: var(--muted); }
  .card__list { margin-top: auto; }
  .card__list li { font-size: 14px; }
  .card__more { margin-top: 14px; font-size: 13px; color: var(--dim); }

  .callout { border: 1px solid var(--line-soft); border-left: 3px solid var(--blue); border-radius: var(--r); padding: 22px 24px; background: var(--panel-2); margin: 24px 0; }
  .callout--success { border-left-color: #34d399; }
  .callout--warn { border-left-color: #fbbf24; }
  .callout__title { font-size: 17px; margin-bottom: 10px; }
  .callout__body > :last-child { margin-bottom: 0; }
  .callout__body p { font-size: 15px; color: var(--muted); }

  .steps { list-style:none; margin: 0; padding:0; counter-reset: s; }
  .step { display:grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-soft); margin:0; }
  .step__num { font-size: 26px; color: var(--blue-hi); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
  .step__body > :last-child { margin-bottom: 0; }
  .step__body p { color: var(--muted); }

  .audience__title { margin-bottom: 10px; }
  .audience__intro { color: var(--muted); max-width: 60ch; }
  .audience__list { list-style:none; margin: 24px 0 0; padding:0; display:grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .audience__list li { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 16px; margin:0; display:flex; flex-direction:column; gap: 6px; }
  .audience__label { font-size: 15px; font-weight: 500; }
  .audience__note { font-size: 13px; color: var(--dim); }

  .table-wrap { overflow-x: auto; margin: 0 0 12px; border: 1px solid var(--line-soft); border-radius: var(--r); }
  .table-wrap--flush { border: 0; border-radius: 0; }
  .data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
  .data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
  .data-table thead th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
  .data-table tbody th { font-weight: 500; }
  .data-table tfoot th, .data-table tfoot td { font-weight: 600; border-bottom: 0; }
  .data-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .data-table__note { font-size: 13px; color: var(--dim); }
  .data-table caption { text-align:left; font-size: 13px; color: var(--dim); padding: 8px 0; caption-side: bottom; }

  /* sample reports: rendered as a light "paper" sheet so they read as documents */
  .sample-inline { margin-top: 28px; }
  .sample-inline__head { margin-bottom: 14px; }
  .doc { margin: 0; }
  .doc__sheet { position:relative; background: #f7f8fb; color: #101828; border-radius: var(--r); padding: 32px 36px; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); overflow:hidden; }
  .doc__head { display:flex; justify-content:space-between; align-items:flex-start; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid #d9dee8; margin-bottom: 20px; }
  .doc__kicker { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #2563eb; margin: 0 0 6px; font-weight: 600; }
  .doc__title { color: #101828; font-size: 24px; margin: 0 0 4px; font-weight: 600; }
  .doc__meta { color: #667085; font-size: 13px; margin: 0; }
  .doc__stamp { flex:none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #b42318; border: 2px solid #b42318; border-radius: 6px; padding: 5px 10px; transform: rotate(-6deg); opacity: .8; }
  .doc__section { margin-bottom: 22px; }
  .doc__section:last-child { margin-bottom: 0; }
  .doc__h { color: #475467; margin-bottom: 8px; }
  .doc__sheet p { color: #344054; font-size: 14.5px; }
  .doc__sheet strong, .doc__sheet b { color: #101828; }
  .doc__sheet a:not(.btn) { color: #1d4ed8; }
  .doc__verdict { display:inline-block; background: #e6efff; color: #1d4ed8; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; }
  .doc__note { color: #667085 !important; font-size: 13px !important; }
  .doc__sheet .data-table th, .doc__sheet .data-table td { border-color: #e4e7ec; color: #344054; }
  .doc__sheet .data-table thead th { color: #667085; }
  .doc__sheet .data-table tbody th, .doc__sheet .data-table tfoot th { color: #101828; }
  .doc__sheet .tick-list li { color: #344054; }
  .doc__sheet .tick-list li::before { border-color: #2563eb; }
  .doc__sheet .muted { color: #98a2b3; }
  .doc__cap { font-size: 13px; color: var(--dim); margin: 12px 4px 0; }
  .funnel { list-style:none; margin: 0; padding: 0; display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .funnel__step { background: #fff; border: 1px solid #e4e7ec; border-radius: 10px; padding: 14px 16px; margin:0; display:flex; flex-direction:column; gap: 4px; }
  .funnel__label { font-size: 12px; color: #667085; }
  .funnel__value { font-size: 26px; font-weight: 600; color: #101828; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .funnel__rate { font-size: 12px; color: #98a2b3; }

  /* process map */
  .pmap { display:grid; gap: 24px; }
  .pband { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 24px; }
  .pband--two { border-color: rgba(124,58,237,.4); }
  .pband__head { display:flex; align-items:baseline; gap: 14px; flex-wrap:wrap; margin-bottom: 18px; }
  .pband__tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-hi); margin:0; }
  .pband--two .pband__tag { color: #a78bfa; }
  .pband__title { margin:0; font-size: 20px; }
  .pband__title a { color: var(--text) !important; }
  .pband__meta { margin: 0 0 0 auto; font-size: 13px; color: var(--dim); }
  .pband__nodes { list-style:none; margin:0; padding:0; display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: none; }
  .pband__nodes--wide { grid-template-columns: 1fr; }
  .pnode { margin:0; }
  .pnode a { display:flex; flex-direction:column; gap: 6px; height:100%; background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 16px; color: var(--text) !important; text-decoration:none !important; transition: border-color .2s ease, transform .2s ease; }
  .pnode a:hover { border-color: var(--blue); transform: translateY(-2px); }
  .pnode__top { display:flex; justify-content:space-between; align-items:center; }
  .pnode__num { font-size: 13px; color: var(--blue-hi); font-variant-numeric: tabular-nums; }
  .pnode__out { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: rgba(37,99,235,.15); color: var(--blue-hi); padding: 3px 8px; border-radius: 999px; }
  .pnode__label { font-size: 16px; font-weight: 500; }
  .pnode__detail { font-size: 13px; color: var(--muted); line-height: 1.45; }
  .pband__out { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
  .pfork { display:grid; grid-template-columns: 1fr 1.6fr; gap: 16px; align-items: stretch; }
  .pfork__hub { display:flex; flex-direction:column; justify-content:center; gap: 4px; text-align:center; background: linear-gradient(180deg, #111a2c, var(--panel-2)); border: 1px solid rgba(59,130,246,.35); border-radius: var(--r-lg); padding: 22px; color: var(--text) !important; text-decoration:none !important; }
  .pfork__mark { color: var(--blue-hi); font-size: 18px; }
  .pfork__label { font-size: 18px; font-weight: 500; }
  .pfork__sub { font-size: 13px; color: var(--muted); }
  .pfork__paths { list-style:none; margin:0; padding:0; display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .ppath { margin:0; background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 18px; display:flex; flex-direction:column; gap: 6px; }
  .ppath--stop { border-top: 3px solid #94a3b8; } .ppath--go { border-top: 3px solid var(--blue); }
  .ppath__head { font-weight: 500; }
  .ppath__body { font-size: 14px; color: var(--muted); line-height: 1.5; }

  /* stages */
  .stage { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 32px; margin-bottom: 20px; }
  .stage__head { display:grid; grid-template-columns: 72px 1fr; gap: 20px; margin-bottom: 26px; }
  .stage__num { font-size: 40px; line-height: 1; color: var(--blue-hi); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .stage__head h3 { font-size: 24px; margin-bottom: 8px; }
  .stage__lede { color: var(--muted); font-size: 16px; margin: 0; max-width: 60ch; }
  .stage__grid { display:grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 20px; }
  .stage__col { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 20px; }
  .stage__col--out { background: linear-gradient(180deg, #111a2c, var(--panel-2)); border-color: rgba(59,130,246,.3); }
  .stage__col--out h4 { color: var(--blue-hi); }
  .stage__deliverable { font-size: 15px; color: var(--text); margin: 0; }
  .stage__col .tick-list { margin:0; }
  .stage__col .tick-list li { font-size: 14px; }

  /* faq */
  .faq__list { display:grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .faq__item { margin: 0; }
  .faq__icon { display:none; }
  .faq__answer { padding: 0 20px 18px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
  .faq__answer > :last-child { margin-bottom: 0; }
  summary span:first-child { flex: 1; }

  /* cta band + related */
  .cta-band { background: linear-gradient(90deg, #0f2a6a, #1d4ed8 60%, #0b1f6b); padding: 56px 0; }
  .cta-band__inner { display:grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items:center; }
  .cta-band h2 { margin-bottom: 8px; }
  .cta-band p { color: rgba(255,255,255,.82); margin: 0; }
  .cta-band__actions { display:flex; gap: 12px; flex-wrap:wrap; justify-content:flex-end; }
  .cta-band .btn--primary { background: #fff; color: #0b0f19; }
  .cta-band .btn--ghost { border-color: rgba(255,255,255,.4); color:#fff; }
  .related__title { font-size: 20px; margin-bottom: 16px; }
  .related { list-style:none; margin:0; padding:0; display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .related li { margin:0; }
  .related a { display:flex; flex-direction:column; gap: 6px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 18px 20px; color: var(--text) !important; text-decoration:none !important; transition: border-color .2s ease; }
  .related a:hover { border-color: var(--blue); }
  .related__label { font-weight: 500; }
  .related__body { font-size: 13.5px; color: var(--muted); }

  /* about page lists */
  .plain { max-width: 68ch; }
  .principles { list-style:none; margin: 0; padding: 0; display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .principles li { margin:0; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 22px; }
  .principles h3 { font-size: 17px; }
  .principles p { font-size: 14.5px; color: var(--muted); margin: 0; }
  .fit { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .fit .callout { margin: 0; }

  @media (max-width: 900px) {
    .hero__inner, .split, .cards--2, .cards--3, .stage__grid, .pband__nodes, .pfork, .pfork__paths, .faq__list, .cta-band__inner, .related, .principles, .fit, .tick-list--2 { grid-template-columns: 1fr; }
    .audience__list { grid-template-columns: 1fr 1fr; }
    .funnel { grid-template-columns: 1fr 1fr; }
    .hero__stats { grid-template-columns: 1fr; gap: 12px; }
    .section { padding: 64px 0; }
    .hero:not(.hero--stage) { padding: 64px 0 52px; }
    .stage { padding: 22px; }
    .stage__head { grid-template-columns: 1fr; gap: 8px; }
    .doc__sheet { padding: 22px; }
    .cta-band__actions { justify-content:flex-start; }
  }

  footer .fcols a { color: inherit; text-decoration: none; }
  footer .fcols a:hover { color: var(--text); }
  footer .legal a { color: inherit; text-decoration: none; }
  .landing .badge:hover { color: var(--text); }


  /* small extras used by inner pages */
  .section-head--center { text-align:center; margin-left:auto; margin-right:auto; }
  .split--sticky > :last-child { position: sticky; top: 88px; }
  .pull-quote { margin: 28px 0; padding: 22px 26px; border-left: 3px solid var(--blue); background: var(--panel-2); border-radius: var(--r); }
  .pull-quote p, .pull-quote blockquote { margin: 0; font-size: 19px; line-height: 1.45; color: var(--text); }
  .pull-quote figcaption { margin-top: 10px; font-size: 13px; color: var(--dim); }
  .doc__body > :last-child { margin-bottom: 0; }
  .tick-list--1 { grid-template-columns: 1fr; }

  /* card textures */
  .card .tex { aspect-ratio: 16 / 7; margin: -8px -8px 18px; border-radius: calc(var(--r-lg) - 6px); }
  .cards--4 { grid-template-columns: 1fr 1fr; }
  .cards--4 .card { position: relative; }
  .cards--4 .card:has(.card__title a) { transition: border-color .2s ease, transform .2s ease; }
  .cards--4 .card:has(.card__title a):hover { border-color: var(--blue); transform: translateY(-2px); }
  .card__title a::after { content:""; position:absolute; inset:0; }
  .card__more { color: var(--blue-hi); }
  .card__icon { display:none; }
  .quote { border-left: 3px solid var(--blue); padding: 8px 0 8px 20px; margin: 24px 0; font-size: 18px; color: var(--text); }
  .quote__attr { display:block; margin-top: 10px; font-size: 13px; color: var(--dim); }
  .pmap__foot { margin: 22px 0 0; font-size: 15px; }
  .pnode--wide a { flex-direction: row; align-items: center; gap: 16px; }

  /* home: centred section heads, generous rhythm */
  body.home .section { padding: 112px 0; }
  body.home .section-head { text-align: center; margin: 0 auto 48px; max-width: 760px; }
  body.home .section-head .eyebrow { display:flex; align-items:center; justify-content:center; gap:8px; color: var(--dim); }
  body.home .section-head .eyebrow::before { content:""; width:5px; height:5px; border-radius:50%; background: var(--blue-hi); }
  body.home .section-head h2 { font-size: clamp(30px, 4vw, 44px); }
  body.home .split .section-head { text-align: left; margin: 0 0 16px; }
  body.home .split .section-head .eyebrow { justify-content: flex-start; }
  body.home .split > div > p { color: var(--muted); }
  body.home .stack > p { color: var(--muted); }
  body.home .prose p { color: var(--muted); }
  body.home .audience__list { margin-bottom: 24px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  @media (max-width: 900px) { body.home .section { padding: 72px 0; } .cards--4 { grid-template-columns: 1fr; } }

  /* scroll reveals (JS adds html.js; without it everything is visible) */
  .js .section-head, .js .related__title, .js .cta-band__inner { opacity: 0; transform: translateY(14px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
  .js .section-head.in, .js .related__title.in, .js .cta-band__inner.in { opacity: 1; transform: none; }
  .js.reduce-motion .section-head, .js.reduce-motion .related__title, .js.reduce-motion .cta-band__inner { opacity: 1; transform: none; transition: none; }

  /* =====================================================================
     FOOTER
     ===================================================================== */
  .site-footer { position: relative; overflow: hidden; background: #0b0d12; border-top: 1px solid var(--line-soft); padding: 80px 0 0; }
  .site-footer__grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
  .brand--footer { margin-bottom: 16px; }
  .site-footer__pitch { font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 44ch; margin: 0 0 14px; }
  .site-footer__contact { font-size: 14px; line-height: 1.7; margin: 0; }
  .site-footer__contact a { color: var(--muted); text-decoration: none; }
  .site-footer__contact a:hover { color: var(--text); }
  .site-footer__heading { font-size: 13px; font-weight: 500; letter-spacing: .04em; margin: 0 0 12px; color: var(--text); }
  .site-footer__col ul { list-style:none; margin:0; padding:0; display:grid; gap: 8px; }
  .site-footer__col a { font-size: 14px; color: var(--muted); text-decoration:none; }
  .site-footer__col a:hover { color: var(--text); }
  .site-footer__wordmark { font-size: clamp(36px, 7.4vw, 104px); line-height: .9; letter-spacing: -.045em; font-weight: 500; white-space: nowrap; overflow: hidden; color: #f1f3f7; opacity: .95; text-transform: uppercase; padding-bottom: 10px; }
  .site-footer__bar { display:flex; justify-content:space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--dim); padding: 14px 0 24px; border-top: 1px solid var(--line-soft); }
  .site-footer__bar p { margin: 0; }
  .site-footer__legal { list-style:none; margin:0; padding:0; display:flex; gap: 14px; }
  .site-footer__legal a { color: var(--dim); text-decoration:none; }
  @media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; } }

  @media (prefers-reduced-motion: reduce) {
    .bg, .up, .badge, .streaks, .hero__copy > *, .hero__aside, .stage .hero__aside { animation: none !important; opacity: 1; transform: none; }
  }
