  :root {
    --paper: #ffffff;
    --ground: #f4f7fc;
    --panel: #ffffff;
    --ink: #0a1330;
    --body: #3a4763;
    --muted: #6b7a99;
    --line: #e4eaf5;
    --line-strong: #d3ddf0;
    --navy: #0b1f5b;
    --brand: #1e4ed8;
    --brand-strong: #1a3fb0;
    --accent: #0898b4;      /* teal, deepened for legibility on light ground */
    --accent-glow: #22d3ee; /* bright teal for indicators/glows — DECORATIVE ONLY, 1.81:1 on white */
    /* Focus indicator (WCAG 2.2 SC 1.4.11 needs >=3:1). Brand navy is 15.43:1
       on white / 14.37:1 on --ground; the white halo below carries it over the
       dark hero sections (16.67:1 on #0a1a4a). Never use --accent-glow here. */
    --focus: #0b1f5b;
    --focus-halo: #ffffff;
    --good: #16a34a;
    --hero-ground: #0a1a4a;
    --hero-ink: #f2f6ff;
    --hero-body: #b9c8ec;
    --hero-line: #21356e;
    --shadow: 0 1px 2px rgba(11,31,91,.06), 0 12px 32px -12px rgba(11,31,91,.16);
    --shadow-lift: 0 1px 2px rgba(11,31,91,.06), 0 24px 56px -20px rgba(11,31,91,.28);
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
    --maxw: 1120px;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --paper: #060f28;
      --ground: #060f28;
      --panel: #0b1838;
      --ink: #eaf1ff;
      --body: #b3c1e0;
      --muted: #8092b8;
      --line: #17264e;
      --line-strong: #21335f;
      --brand: #5a82ff;
      --brand-strong: #7d9dff;
      --accent: #35e0f7;
      --accent-glow: #35e0f7;
      --focus: #35e0f7; --focus-halo: #060f28; /* 11.89:1 on dark paper */
      --hero-ground: #050d24;
      --hero-ink: #f2f6ff;
      --hero-body: #b0c0e6;
      --hero-line: #1a2c58;
      --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -18px rgba(0,0,0,.7);
      --shadow-lift: 0 1px 2px rgba(0,0,0,.5), 0 28px 64px -22px rgba(0,0,0,.8);
    }
  }
  :root[data-theme="light"] {
    --paper: #ffffff; --ground: #f4f7fc; --panel: #ffffff;
    --ink: #0a1330; --body: #3a4763; --muted: #6b7a99;
    --line: #e4eaf5; --line-strong: #d3ddf0;
    --brand: #1e4ed8; --brand-strong: #1a3fb0; --accent: #0898b4; --accent-glow: #22d3ee;
    --focus: #0b1f5b; --focus-halo: #ffffff;
    --hero-ground: #0a1a4a; --hero-ink: #f2f6ff; --hero-body: #b9c8ec; --hero-line: #21356e;
    --shadow: 0 1px 2px rgba(11,31,91,.06), 0 12px 32px -12px rgba(11,31,91,.16);
    --shadow-lift: 0 1px 2px rgba(11,31,91,.06), 0 24px 56px -20px rgba(11,31,91,.28);
  }
  :root[data-theme="dark"] {
    --paper: #060f28; --ground: #060f28; --panel: #0b1838;
    --ink: #eaf1ff; --body: #b3c1e0; --muted: #8092b8;
    --line: #17264e; --line-strong: #21335f;
    --brand: #5a82ff; --brand-strong: #7d9dff; --accent: #35e0f7; --accent-glow: #35e0f7;
    --focus: #35e0f7; --focus-halo: #060f28;
    --hero-ground: #050d24; --hero-ink: #f2f6ff; --hero-body: #b0c0e6; --hero-line: #1a2c58;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -18px rgba(0,0,0,.7);
    --shadow-lift: 0 1px 2px rgba(0,0,0,.5), 0 28px 64px -22px rgba(0,0,0,.8);
  }

  * { box-sizing: border-box; }
  body {
    margin: 0; background: var(--ground); color: var(--body);
    font-family: var(--sans); font-size: 17px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  }
  h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
  p { margin: 0; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

  .eyebrow {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent); font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .eyebrow.dim { color: var(--muted); }

  /* ---- Buttons ---- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1;
    padding: 13px 20px; border-radius: 10px; border: 1px solid transparent;
    cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  }
  .btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
  .btn-primary:hover { background: var(--brand-strong); transform: translateY(-1px); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
  .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
  .btn-on-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
  .btn-on-dark:hover { background: rgba(255,255,255,.16); }
  /* Two-tone focus ring: a solid --focus outline plus a contrasting halo, so
     the indicator stays visible on white cards AND on the dark hero/CTA bands. */
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
  textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--focus-halo);
    border-radius: 3px;
  }

  /* ---- Skip link (WCAG 2.4.1) ---- */
  .skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 999;
    background: var(--navy, #0b1f5b); color: #fff;
    padding: 12px 18px; border-radius: 8px; font-weight: 700;
    font-size: 15px; text-decoration: none;
    transition: top .15s ease;
  }
  .skip-link:focus { top: 8px; }

  /* ---- Nav ---- */
  header.nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--ground) 82%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100px; }
  .brand { display: flex; align-items: center; gap: 11px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; font-size: 19px; }
  .mark { width: 30px; height: 30px; flex: none; }
  .nav-links { display: flex; align-items: center; gap: 30px; }
  .nav-links a { font-size: 15px; color: var(--body); font-weight: 500; transition: color .15s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { display: flex; align-items: center; gap: 12px; }
  .nav-links, .nav-cta .btn-ghost { }
  @media (max-width: 860px) { .nav-links { display: none; } .nav-cta .signin { display: none; } }

  /* ---- Hero ---- */
  .hero { position: relative; background: var(--hero-ground); color: var(--hero-body); overflow: hidden; border-bottom: 1px solid var(--hero-line); }
  /* Banner hero — the full brand banner (car + wheel + wordmark) shown edge to
     edge, with a supporting line and CTAs on the navy ground beneath it. */
  .hero-banner-sec { background: var(--hero-ground); }
  .hero-banner { display: block; width: 100%; height: auto; }
  .hero-cta-bar { padding: 34px 24px 46px; }
  .hero-sub { max-width: 640px; color: var(--hero-body); font-size: clamp(1.02rem, 1.6vw, 1.24rem); line-height: 1.55; }
  .hero-cta-bar .hero-actions { margin-top: 24px; }
  .hero-cta-bar .trust { margin-top: 32px; }
  #signal { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
  .hero-fade { position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(120% 90% at 78% 12%, transparent 40%, color-mix(in srgb, var(--hero-ground) 88%, transparent) 100%),
                linear-gradient(180deg, transparent 55%, var(--hero-ground) 100%); }
  .hero-inner { position: relative; z-index: 2; padding: 92px 0 104px; max-width: 760px; }
  .hero h1 { color: var(--hero-ink); font-size: clamp(2.4rem, 5.4vw, 4.3rem); font-weight: 800; margin: 22px 0 0; }
  .hero h1 .tint { color: var(--accent-glow); }
  .hero .lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); margin-top: 22px; max-width: 620px; color: var(--hero-body); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
  .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-glow); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-glow) 70%, transparent); animation: pulse 2.4s ease-out infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-glow) 60%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
  .trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: color-mix(in srgb, var(--hero-body) 82%, transparent); }
  .trust span { display: inline-flex; align-items: center; gap: 9px; }
  .trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-glow); }

  /* ---- Section scaffold ---- */
  section { padding: 92px 0; }
  .sec-head { max-width: 640px; margin-bottom: 52px; }
  .sec-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 800; margin-top: 14px; }
  .sec-head p { margin-top: 16px; font-size: 1.08rem; color: var(--body); }

  /* ---- Pit Crew grid ---- */
  .crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  @media (max-width: 940px) { .crew { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .crew { grid-template-columns: 1fr; } }
  .analyst {
    background: linear-gradient(160deg, #1d3fae 0%, #2b61e2 100%);
    border: 1px solid #2b61e2; border-radius: 14px;
    padding: 22px; display: flex; flex-direction: column; gap: 12px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    color: #fff; text-decoration: none; cursor: pointer;
  }
  .analyst:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #7fc0f6; }
  .analyst h3 { color: #fff; }
  .analyst p { color: rgba(255,255,255,.85); }
  .analyst .a-role { color: #aee3ff; border-color: rgba(174,227,255,.45); }
  .analyst .a-watch { color: rgba(255,255,255,.7); }
  .a-top { display: flex; align-items: center; justify-content: space-between; }
  .a-avatar { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
    font-family: var(--mono); font-weight: 700; font-size: 16px; color: #fff;
    background: linear-gradient(140deg, var(--navy), var(--brand)); letter-spacing: 0; }
  .a-photo { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; object-position: top center;
    background: linear-gradient(140deg, var(--navy), var(--brand)); border: 1px solid var(--line); flex: none; }
  .brand-logo { height: 64px; width: auto; display: block; }
  .a-role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 999px; padding: 4px 9px; }
  .analyst h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
  .analyst p { font-size: .94rem; color: var(--body); line-height: 1.5; }
  .a-watch { margin-top: auto; padding-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--muted); display: flex; align-items: center; gap: 7px; }
  .a-watch .live-dot { width: 6px; height: 6px; }

  /* ---- Split feature (connectors) ---- */
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  @media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
  .checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
  .checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--body); }
  .checks svg { flex: none; margin-top: 3px; color: var(--accent); }
  .checks b { color: var(--ink); font-weight: 600; }
  .connect-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
  .connect-panel .cap { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
  .conn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
  /* Three connector chips will not fit a phone. Without this the grid's
     min-content (~419px) sized the whole .split track to 477px in a 375px
     viewport, so the ENTIRE homepage scrolled sideways and the headline was cut
     off — on the one page a prospect lands on. Two columns at 560px, one at
     380px. minmax(0, 1fr) above lets the tracks shrink at all: a bare 1fr is
     minmax(auto, 1fr), which refuses to go below the chip's min-content. */
  @media (max-width: 560px) { .conn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 380px) { .conn-grid { grid-template-columns: minmax(0, 1fr); } }
  .chip { display: flex; align-items: center; gap: 9px; }
  .chip img.c-logo { object-fit: contain; background: #fff; border: 1px solid var(--line); }
  .chip .c-logo { width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center;
    font-family: var(--sans); font-weight: 800; font-size: 12px; color: #fff; }
  .chip .c-txt { display: flex; flex-direction: column; min-width: 0; }
  .chip { border: 1px solid var(--line); border-radius: 10px; padding: 12px 10px; text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink); background: var(--ground); }
  .chip small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 3px; }
  .conn-foot { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }

  /* ---- Engine wheel ---- */
  .engine { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .engine-row { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
  @media (max-width: 900px) { .engine-row { grid-template-columns: 1fr; gap: 34px; } }
  .engine-copy .lead { margin-top: 16px; font-size: 1.08rem; color: var(--body); }
  .engine-copy h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 800; margin-top: 14px; }
  .engine-tags { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .engine-tags li { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--body); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 12px; background: var(--ground); }
  .engine-viz { display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .engine-wheel { width: 100%; max-width: 430px; height: auto; display: block; filter: drop-shadow(0 26px 52px rgba(11,31,91,.26)); }
  .engine-wheel .seg { stroke: var(--panel); stroke-width: 2.5; }
  .engine-wheel .rays line { stroke: #fff; stroke-width: 1.4; }
  .engine-wheel .rays { opacity: .5; }
  .engine-wheel .seg-tx { fill: #fff; font-family: var(--sans); font-weight: 700; font-size: 17px; letter-spacing: .01em; }
  .engine-cap { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .engine-cap b { color: var(--accent); font-weight: 600; }
  @keyframes engineGlow { 0%, 100% { opacity: .82; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
  @keyframes engineRays { 0%, 100% { opacity: .34; } 50% { opacity: .64; } }
  .engine-wheel .glow { transform-box: fill-box; transform-origin: center; animation: engineGlow 4.4s ease-in-out infinite; }
  .engine-wheel .rays { animation: engineRays 3.4s ease-in-out infinite; }

  /* ---- Capability band ---- */
  .band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
  @media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; } }
  @media (max-width: 480px) { .cap-grid { grid-template-columns: 1fr; } }
  .cap-item { border-left: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); padding-left: 16px; }
  .cap-item h3 { font-family: var(--mono); font-size: 1.4rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
  .cap-item p { margin-top: 8px; font-size: .95rem; color: var(--body); }

  /* ---- How it works ---- */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
  @media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
  .step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
  .step .num { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); font-weight: 600; }
  .step h3 { font-size: 1.18rem; font-weight: 700; margin-top: 12px; }
  .step p { margin-top: 10px; font-size: .96rem; color: var(--body); }

  /* ---- Final CTA ---- */
  .cta-final { position: relative; background: linear-gradient(160deg, var(--navy), #071238); color: #eaf1ff; border-radius: 22px; padding: 64px 48px; overflow: hidden; }
  .cta-final::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent-glow) 40%, transparent), transparent 68%); pointer-events: none; }
  .cta-final h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; max-width: 620px; position: relative; }
  .cta-final p { margin-top: 16px; color: #b9c8ec; max-width: 540px; position: relative; }
  .cta-final .hero-actions { margin-top: 30px; }
  @media (max-width: 560px) { .cta-final { padding: 44px 26px; } }

  /* ---- Footer ---- */
  footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 0; }
  .foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
  .foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
  .foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
  .foot-col a { display: block; font-size: .95rem; color: var(--body); margin-bottom: 10px; }
  .foot-col a:hover { color: var(--brand); }
  .foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: var(--muted); font-family: var(--mono); letter-spacing: .02em; }

  @media (prefers-reduced-motion: reduce) {
    #signal { display: none; }
    .live-dot { animation: none; }
    .engine-wheel .glow, .engine-wheel .rays { animation: none; }
    * { transition: none !important; }
  }

  .btn-contact { background: #111; color: #fff; border-radius: 999px; padding: 12px 26px; }
  .btn-contact:hover { background: #333; }
  .btn-demo { background: #12A38F; color: #fff; border-radius: 999px; padding: 12px 26px; }
  .btn-demo:hover { background: #0E8878; }

  /* Pit Crew card text — white on Prospura blue */
  .analyst, .analyst h3, .analyst p { color: #fff; }
  .analyst p { color: rgba(255,255,255,.88); }
  .analyst .a-watch { color: rgba(255,255,255,.75); }
  .analyst .a-role { color: #cfeaff; border-color: rgba(207,234,255,.5); }

  .btn-engine { background: #0a1a4a; color: #fff; border-radius: 999px; padding: 12px 22px; }
  .btn-engine:hover { background: #14286b; }
  .nav-links a { color: #1e4ed8; font-weight: 600; }
  header.nav { background: #fff; }
  @media (max-width: 1200px) { .btn-engine { font-size: 13px; padding: 11px 16px; } }

  /* Nav fit: full-width row like prospura.com */
  header.nav .wrap { max-width: 1440px; }
  .nav-inner { gap: 18px; }
  .nav-links { gap: 20px; flex: none; }
  .nav-links a { font-size: 14.5px; white-space: nowrap; }
  .nav-cta { gap: 10px; flex: none; }
  .btn-contact, .btn-demo, .btn-engine { padding: 10px 18px; font-size: 14px; white-space: nowrap; }
  .brand { flex: none; display: flex; align-items: center; }
  .brand-logo { height: 68px; max-height: 84px; }
  @media (max-width: 1280px) {
    .nav-inner { flex-wrap: wrap; height: auto; padding: 10px 0; justify-content: center; }
    .nav-links { order: 3; width: 100%; justify-content: center; }
  }

  /* =====================================================================
     ServiceNow-look layer — enterprise polish, Prospura palette.
     Bigger type, more air, softer cards, alternating section grounds.
     Additive: shared classes keep working on about/product/consulting/contact.
     ===================================================================== */

  body { background: var(--paper); font-size: 17.5px; }

  /* Type scale — big, tight, heavy */
  h1, h2, h3 { letter-spacing: -0.028em; }
  .hero h1 { font-size: clamp(2.9rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.03; }
  .sec-head h2, .engine-copy h2, .split-h2, .cta-final h2 {
    font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.06; margin-top: 16px;
  }
  .sec-head { max-width: 720px; margin-bottom: 64px; }
  .sec-head p { margin-top: 20px; font-size: 1.15rem; line-height: 1.65; }
  .lead, .engine-copy .lead { font-size: 1.15rem; line-height: 1.65; }
  .split-h2 { color: var(--ink); }

  /* Section rhythm — generous whitespace, alternating grounds */
  section { padding: 108px 0; background: var(--paper); }
  .engine, #how { background: var(--ground); border-top: 0; border-bottom: 0; }
  .band { background: var(--paper); border-top: 0; border-bottom: 0; }
  #security { background: var(--paper); }
  .hero, .hero-banner-sec { background: var(--hero-ground); }

  /* Nav — clean sticky white bar */
  header.nav { background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(11,31,91,.03); }
  @media (prefers-color-scheme: dark) { header.nav { background: var(--panel); } }
  :root[data-theme="dark"] header.nav { background: var(--panel); }
  :root[data-theme="light"] header.nav { background: #fff; }
  .nav-links a { color: #1e4ed8; font-weight: 600; }
  @media (prefers-color-scheme: dark) { .nav-links a { color: #8fb0ff; } }
  :root[data-theme="dark"] .nav-links a { color: #8fb0ff; }
  :root[data-theme="light"] .nav-links a { color: #1e4ed8; }
  :root[data-theme="light"] .nav-links a, .nav-links a { transition: color .15s; }
  .nav-links a:hover { color: var(--brand); }

  /* Buttons — pills everywhere, confident hover */
  .btn { border-radius: 999px; padding: 14px 26px; font-weight: 700; }
  .btn-primary { background: var(--brand); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand) 75%, transparent); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--brand) 80%, transparent); }
  .btn-contact, .btn-demo, .btn-engine { font-weight: 700; }

  /* Hero — airy CTA bar under the banner */
  .hero-cta-bar { padding: 56px 24px 88px; }
  .hero-sub { max-width: 720px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.6; }
  .hero-sub b { color: var(--hero-ink); }
  /* Homepage <h1>. Renders identically to the bold lead sentence it replaced —
     the page previously had no h1 at all (0 h1 / 6 h2 / 16 h3). */
  .hero-title { max-width: 720px; color: var(--hero-ink); font-weight: 700;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.6; margin: 0 0 .5em; }
  .hero-cta-bar .hero-actions { margin-top: 32px; }
  .hero-cta-bar .trust { margin-top: 40px; }

  /* Cards — soft, large radius, subtle depth */
  .analyst { border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
  .analyst:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
  .crew { gap: 20px; }
  .a-photo { border-radius: 16px; }
  .connect-panel { border-radius: 20px; padding: 28px; }
  .step { border-radius: 18px; padding: 32px 28px; box-shadow: var(--shadow); border-color: var(--line); }
  .step:hover { box-shadow: var(--shadow-lift); }
  .step h3 { font-size: 1.28rem; }
  .steps { gap: 24px; }
  .chip { border-radius: 12px; }
  .cta-final { border-radius: 28px; padding: 88px 64px; }
  @media (max-width: 560px) { .cta-final { padding: 52px 28px; } }
  .cta-final p { font-size: 1.1rem; line-height: 1.65; }

  /* Capability band — tile treatment instead of bare rules */
  .cap-grid { gap: 24px; }
  .cap-item {
    border-left: 0; padding: 28px 26px;
    background: var(--ground); border: 1px solid var(--line);
    border-radius: 18px; transition: box-shadow .18s ease, transform .18s ease;
  }
  .cap-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
  .cap-item h3 { font-family: var(--sans); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
  .cap-item p { margin-top: 10px; font-size: .98rem; line-height: 1.6; }

  /* Eyebrow — quieter, more editorial */
  .eyebrow { font-size: 12.5px; letter-spacing: 0.16em; font-weight: 700; }

  /* Footer — more air */
  footer { padding: 80px 0 48px; background: var(--paper); }
  .foot-bottom { margin-top: 56px; }

  @media (max-width: 720px) { section { padding: 76px 0; } .sec-head { margin-bottom: 44px; } }

  /* ---- Mobile nav (hamburger + slide-down menu) ---- */
  .nav-toggle {
    display: none; background: none; border: 1px solid var(--line-strong);
    border-radius: 10px; padding: 9px 11px; cursor: pointer; color: var(--ink);
    align-items: center; justify-content: center; flex: none;
  }
  .nav-toggle svg { display: block; }
  .nav-toggle .icon-close { display: none; }
  header.nav.nav-open .nav-toggle .icon-open { display: none; }
  header.nav.nav-open .nav-toggle .icon-close { display: block; }
  @media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    header.nav .nav-inner { flex-wrap: wrap; justify-content: space-between; height: auto; padding: 10px 0; gap: 0; }
    .brand-logo { height: 46px; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    header.nav.nav-open .nav-links {
      display: flex; order: 3; width: 100%; flex-direction: column;
      align-items: stretch; gap: 0; padding: 8px 0 4px;
      border-top: 1px solid var(--line); margin-top: 10px;
    }
    header.nav.nav-open .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
    header.nav.nav-open .nav-links a:last-child { border-bottom: 0; }
    header.nav.nav-open .nav-cta {
      display: flex; order: 4; width: 100%; flex-direction: column;
      align-items: stretch; gap: 10px; padding: 8px 0 14px;
    }
    header.nav.nav-open .nav-cta .btn { width: 100%; justify-content: center; text-align: center; }
  }

  /* =====================================================================
     Card scheme — light teal brand-tint grounds with Prospura-blue title
     bands (white text). Applies to feature/step/pillar/belief/trust/
     outcome cards site-wide; analyst cards keep their blue treatment.
     ===================================================================== */
  :root {
    --card-tint: #E1F5F3;
    --card-tint-line: #bfe7e0;
    --card-band: #1e4ed8;
    --card-band-ink: #ffffff;
  }
  @media (prefers-color-scheme: dark) {
    :root { --card-tint: #0b2c31; --card-tint-line: #17484e; --card-band: #2f5fe0; }
  }
  :root[data-theme="dark"] { --card-tint: #0b2c31; --card-tint-line: #17484e; --card-band: #2f5fe0; }
  :root[data-theme="light"] { --card-tint: #E1F5F3; --card-tint-line: #bfe7e0; --card-band: #1e4ed8; }

  body .step, body .pillar, body .outcome, body .power-card, body .watch-card,
  body .reach-card, body .c-card, body .c-panel, body .connect-panel {
    background: var(--card-tint);
    border-color: var(--card-tint-line);
  }
  body .step h3, body .pillar h3, body .outcome h3, body .power-card h3,
  body .watch-card h3, body .c-card h3, body .c-panel h3, body .reach-card .k,
  body .connect-panel h3 {
    display: block;
    background: var(--card-band);
    color: var(--card-band-ink) !important;
    padding: 9px 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    width: fit-content;
    max-width: 100%;
  }
  .outcome .o-bar { display: none; }
