/* Tomosu AI — shared site stylesheet.
   Extracted verbatim from index.html so every page (index, platform,
   how-it-works, solutions, faq, roi, why-governance-now) shares one
   stylesheet instead of duplicating 6,000 lines each. */

    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --bg: #ffffff;
      --bg-soft: #f4f4f5;
      --bg-card: #f1f1ef;
      --bg-tint: #ebeaf5;
      --bg-lavender: #e9e7f2;
      --ink: #0a0a0a;
      --text: #1f1f1f;
      --text-soft: #3f3f46;
      --muted: #6b6b73;
      --dim: #a1a1aa;
      --border: #e5e5e7;
      --border-soft: #ececef;
      --border-accent: #99f6e4;
      --brand: #0d9488;
      --brand-deep: #115e59;
      --brand-soft: #5eead4;
      --brand-bg: #ecfdf5;
      --accent: #6d5fd1;
      --accent-deep: #4f46e5;
      --accent-bg: #eef0fb;
      --danger: #dc2626;
      --danger-bg: #fef2f2;
      --good: #16a34a;
      --serif: 'Instrument Serif', 'Iowan Old Style', 'Apple Garamond', 'Hoefler Text', 'Times New Roman', serif;
      --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--sans);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    .container {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 40px;
    }

    /* ── NAV ── */
    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.78);
      backdrop-filter: saturate(180%) blur(14px);
      -webkit-backdrop-filter: saturate(180%) blur(14px);
      border-bottom: 1px solid transparent;
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 24px;
      max-width: none;
      margin: 0;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }

    .nav-mark {
      height: 40px;
      width: auto;
      display: block;
      flex-shrink: 0;
      mix-blend-mode: multiply;
      filter: contrast(1.4) saturate(0.4);
    }

    .nav-name {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 21px;
      font-weight: 700;
      color: #000;
      letter-spacing: -0.02em;
      line-height: 1;
    }

    .nav-name .nav-name-ai {
      color: inherit;
      font-weight: inherit;
    }

    .nav-brand-text {
      display: flex;
      flex-direction: column;
    }

    .nav-tagline {
      font-size: 10px;
      font-weight: 500;
      color: var(--muted);
      letter-spacing: 0.04em;
      line-height: 1;
      margin-top: 3px;
      white-space: nowrap;
    }

    @media (max-width: 720px) {
      .nav-inner {
        padding: 14px 18px;
      }

      .nav-mark {
        height: 32px;
      }

      .nav-name {
        font-size: 18px;
      }

      .nav-tagline {
        font-size: 8.5px;
      }
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      margin-left: auto;
      margin-right: 28px;
    }

    .nav-link {
      font-size: 13.5px;
      font-weight: 500;
      color: var(--text-soft);
      text-decoration: none;
      transition: color 0.15s;
      white-space: nowrap;
    }

    .nav-link:hover {
      color: var(--ink);
    }

    /* highlighted so the calculator reads as a tool, not another nav item */
    .nav-link-tco {
      background: #dcfce7;
      color: #15803d;
      border: 1px solid rgba(22, 163, 74, 0.3);
      padding: 6px 12px;
      border-radius: 100px;
      transition: background 0.15s, border-color 0.15s;
    }

    /* Free PRI Scan — same "tool link" treatment as TCO / Governance Impact. */
    .nav-link-scan {
      background: var(--brand-bg);
      color: var(--brand-deep);
      border: 1px solid var(--brand-soft);
      padding: 6px 12px;
      border-radius: 100px;
      font-weight: 600;
      transition: background 0.15s, border-color 0.15s;
    }

    .nav-link-scan:hover {
      background: #d7f7ee;
      border-color: var(--brand);
      color: var(--brand-deep);
    }

    .nav-link-tco:hover {
      background: #bbf7d0;
      border-color: var(--good);
      color: #15803d;
    }

    /* clear the 73px sticky nav when jumping to the simulator */
    #governance-impact {
      scroll-margin-top: 92px;
    }

    .nav-link-gov {
      background: var(--accent-bg);
      color: var(--accent-deep);
      border: 1px solid rgba(109, 95, 209, 0.3);
      padding: 6px 12px;
      border-radius: 100px;
      transition: background 0.15s, border-color 0.15s;
    }

    .nav-link-gov:hover {
      background: #e0e3f7;
      border-color: var(--accent);
      color: var(--accent-deep);
    }

    /* About dropdown */
    .nav-dropdown {
      position: relative;
    }

    .nav-caret {
      color: var(--muted);
      transition: transform 0.15s;
      display: inline-block;
      vertical-align: 1px;
      line-height: 0;
    }

    .nav-dropdown:hover .nav-caret {
      transform: rotate(180deg);
    }

    .nav-dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      padding-top: 12px;
      display: none;
      z-index: 200;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
      display: block;
    }

    .nav-dropdown-menu a {
      display: block;
      background: var(--bg-card, #fff);
      font-size: 13px;
      font-weight: 500;
      color: var(--text-soft);
      text-decoration: none;
      padding: 10px 18px;
      white-space: nowrap;
      transition: background 0.15s, color 0.15s;
    }

    .nav-dropdown-menu a:first-child {
      border-radius: 12px 12px 0 0;
    }

    .nav-dropdown-menu a:last-child {
      border-radius: 0 0 12px 12px;
    }

    .nav-dropdown-menu a:hover {
      background: var(--bg-soft);
      color: var(--ink);
    }

    /* menu container border/shadow via wrapper trick: apply to the box formed by links */
    .nav-dropdown-menu a {
      border: 1px solid var(--border);
      border-bottom: none;
    }

    .nav-dropdown-menu a:last-child {
      border-bottom: 1px solid var(--border);
      box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    }

    @media (max-width: 980px) {
      .nav-dropdown {
        display: none;
      }
    }

    .nav-cta {
      background: var(--ink);
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      padding: 10px 20px;
      border-radius: 100px;
      text-decoration: none;
      transition: background 0.15s;
      white-space: nowrap;
    }

    .nav-cta:hover {
      background: var(--accent);
    }

    /* The desktop nav carries five text links, three tool pills, a download
       button and the CTA — it needs ~1800px to lay out without clipping, so it
       already overflowed on a 1440px laptop before the PRI Scan pill was added.
       Below 1600px, drop the promotional announce pill (still present in the
       mobile drawer and reachable from the modal) to buy that width back. */
    @media (max-width: 1300px) {

      /* Compound selector: .announce-btn sets display:inline-flex further down
         the sheet, so an equal-specificity .nav-announce rule would lose. */
      .announce-btn.nav-announce {
        display: none;
      }
    }

    @media (max-width: 1550px) {
      .nav-inner {
        padding: 16px 12px;
      }

      .nav-links {
        gap: 14px;
        margin-right: 14px;
      }

      .nav-link {
        font-size: 12px;
      }

      .nav-cta {
        font-size: 12px;
        padding: 8px 14px;
      }

      .nav-link-gov,
      .nav-link-scan,
      .nav-link-tco {
        padding: 5px 9px;
        font-size: 12px;
      }
    }

    @media (max-width: 1280px) {
      .nav-links {
        gap: 12px;
      }

      .nav-link {
        font-size: 12px;
      }

      .nav-link-gov,
      .nav-link-scan,
      .nav-link-tco {
        padding: 5px 9px;
      }
    }

    @media (max-width: 1080px) {
      .nav-links {
        gap: 22px;
      }

      .nav-link {
        font-size: 13px;
      }
    }

    @media (max-width: 980px) {
      .nav-links .nav-link {
        display: none;
      }
    }

    /* ── HERO ── */
    .hero {
      padding: 0;
      min-height: calc(100vh - 74px);
      display: flex;
      flex-direction: column;
      text-align: center;
      position: relative;
      overflow: visible;
    }

    .hero>.container {
      flex: 1;
      display: flex;
      flex-direction: column;
      /* centres the hero now that the outcome strip no longer fills the fold */
      justify-content: center;
      padding-top: clamp(28px, 4vh, 64px);
      padding-bottom: clamp(24px, 3vh, 48px);
      max-width: 1400px;
      width: 100%;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: -160px 0 0;
      pointer-events: none;
      z-index: 0;
      background:
        /* purple key light, off to the right behind the control plane */
        radial-gradient(58% 62% at 72% 30%, rgba(109, 95, 209, 0.17), transparent 68%),
        /* cooler indigo fill on the headline side */
        radial-gradient(46% 54% at 16% 22%, rgba(79, 70, 229, 0.07), transparent 70%),
        /* graphite grounding wash so the purple reads as depth, not tint */
        radial-gradient(70% 52% at 50% 108%, rgba(10, 10, 20, 0.07), transparent 72%);
    }

    .hero::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: -1px;
      transform: translateX(-50%);
      width: min(1180px, 88%);
      height: 1px;
      pointer-events: none;
      z-index: 0;
      background: linear-gradient(90deg, transparent, rgba(109, 95, 209, 0.28), transparent);
    }

    .hero>* {
      position: relative;
      z-index: 1;
    }

    .hero .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.6);
      border: 1px solid var(--border);
      color: var(--text-soft);
      font-size: 12px;
      font-weight: 500;
      padding: 7px 14px;
      border-radius: 100px;
      margin-bottom: 10px;
      backdrop-filter: blur(8px);
    }

    .hero .eyebrow .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 2.4s infinite;
    }

    .hero h1 {
      font-family: var(--serif);
      font-size: clamp(38px, 5.6vw, 80px);
      font-weight: 400;
      line-height: 1.04;
      color: var(--ink);
      letter-spacing: -0.03em;
      margin-bottom: 16px;
      max-width: 1100px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero h1 span {
      font-style: italic;
      color: var(--accent);
      background: none;
      -webkit-text-fill-color: var(--accent);
      font-weight: 400;
    }

    /* same green as the RELIABLE state on the PRI ring */
    .hero h1 span .h1-good {
      color: var(--good);
      -webkit-text-fill-color: var(--good);
    }

    .hero .lede {
      font-size: 19px;
      color: var(--text-soft);
      max-width: 620px;
      margin: 0 auto 0;
      line-height: 1.6;
      font-weight: 400;
    }

    .hero-cta {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 14px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--ink);
      color: #fff;
      font-size: 15px;
      font-weight: 500;
      padding: 15px 28px;
      border-radius: 100px;
      text-decoration: none;
      letter-spacing: 0;
      transition: background 0.18s, transform 0.18s;
    }

    .btn-primary:hover {
      background: var(--accent);
      transform: translateY(-1px);
    }

    .btn-primary::after {
      content: '→';
      font-size: 16px;
      transition: transform 0.18s;
    }

    .btn-primary:hover::after {
      transform: translateX(3px);
    }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      border: 1px solid var(--border);
      color: var(--ink);
      font-size: 15px;
      font-weight: 500;
      padding: 14px 26px;
      border-radius: 100px;
      text-decoration: none;
      transition: border-color 0.15s, background 0.15s;
    }

    .btn-secondary:hover {
      border-color: var(--ink);
      background: var(--bg-soft);
    }

    .hero-trust {
      font-size: 13px;
      color: var(--muted);
      margin-top: 4px;
    }

    .hero-chips {
      display: flex;
      gap: 8px;
      justify-content: center;
      flex-wrap: wrap;
      margin: 14px auto 0;
      max-width: 780px;
    }

    .hero-chip {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 10px 14px;
      flex: 1;
      min-width: 200px;
      text-align: left;
      text-decoration: none;
      transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
    }

    .hero-chip:hover {
      border-color: var(--accent);
      box-shadow: 0 4px 16px rgba(109, 95, 209, 0.1);
      transform: translateY(-2px);
    }

    .chip-num {
      font-family: var(--serif);
      font-size: 28px;
      font-weight: 400;
      color: var(--ink);
      line-height: 1;
      letter-spacing: -0.02em;
    }

    .chip-label {
      font-size: 12.5px;
      color: var(--text-soft);
      line-height: 1.4;
      margin-top: 4px;
    }

    .chip-src {
      font-size: 10.5px;
      color: var(--dim);
      font-style: italic;
      margin-top: 4px;
    }

    /* ── PRODUCT PREVIEW ── */
    .preview {
      padding: 0 0 56px;
    }

    .preview-frame {
      max-width: 1040px;
      margin: 0 auto;
      background: #fff;
      border: 1px solid var(--border-soft);
      border-radius: 24px;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 30px 80px rgba(15, 23, 42, 0.10);
      overflow: hidden;
    }

    .preview-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 14px 20px;
      border-bottom: 1px solid var(--border-soft);
      background: var(--bg-soft);
    }

    .preview-bar .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #d4d4d8;
    }

    .preview-bar .tab {
      margin-left: auto;
      font-size: 11px;
      color: var(--muted);
      font-family: ui-monospace, Menlo, monospace;
    }

    .preview-body {
      padding: 32px;
      background: #fff;
    }

    .preview-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 24px;
    }

    .preview-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--ink);
      letter-spacing: -0.01em;
    }

    .preview-pill {
      font-size: 10px;
      font-weight: 600;
      color: var(--accent-deep);
      background: var(--bg-lavender);
      padding: 5px 12px;
      border-radius: 100px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .preview-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      gap: 14px;
    }

    .preview-card {
      background: var(--bg-card);
      border: none;
      border-radius: 16px;
      padding: 20px;
    }

    .preview-card .label {
      font-size: 10.5px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 10px;
      font-weight: 500;
    }

    .preview-card .value {
      font-family: var(--serif);
      font-size: 44px;
      font-weight: 400;
      color: var(--ink);
      line-height: 1;
      letter-spacing: -0.03em;
      margin-bottom: 10px;
    }

    .preview-card .trend {
      font-size: 11.5px;
      color: var(--good);
      font-weight: 500;
    }

    .preview-card .trend.down {
      color: var(--danger);
    }

    .preview-card.pri {
      background: var(--bg-lavender);
      border: none;
    }

    .preview-card.pri .value {
      color: var(--accent-deep);
    }

    .preview-indexes {
      margin-top: 16px;
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 10px;
    }

    .preview-idx {
      background: var(--bg-card);
      border: none;
      border-radius: 12px;
      padding: 14px 8px;
      text-align: center;
    }

    .preview-idx .abbr {
      font-size: 10px;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.08em;
      margin-bottom: 6px;
    }

    .preview-idx .score {
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 400;
      color: var(--ink);
      display: inline-block;
      transform-origin: 50% 50%;
      will-change: transform, opacity;
      letter-spacing: -0.02em;
    }

    .preview-idx {
      transition: background 0.3s ease, border-color 0.3s ease;
    }

    .preview-idx.is-active {
      background: var(--bg-lavender);
      border-color: transparent;
    }

    .preview-card .value {
      display: inline-block;
      will-change: contents;
    }

    .preview-card.is-pulsing {
      box-shadow: 0 0 0 3px rgba(109, 95, 209, 0.12);
      transition: box-shadow 0.4s ease;
    }

    .preview-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .preview-pill .live-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 0 rgba(109, 95, 209, 0.6);
      animation: pulse 2s infinite;
    }

    @keyframes flipNum {
      0% {
        transform: rotateX(0deg);
        opacity: 1;
      }

      45% {
        transform: rotateX(90deg);
        opacity: 0.25;
      }

      100% {
        transform: rotateX(0deg);
        opacity: 1;
      }
    }

    .preview-idx .score.flip {
      animation: flipNum 0.55s cubic-bezier(0.5, 0, 0.2, 1);
    }

    @media (prefers-reduced-motion: reduce) {
      .preview-idx .score.flip {
        animation: none;
      }

      .preview-pill .live-dot {
        animation: none;
      }
    }

    .preview-caption {
      text-align: center;
      font-size: 13px;
      color: var(--muted);
      margin-top: 24px;
      font-style: italic;
      font-family: var(--serif);
    }

    /* ── LOGO STRIP ── */
    .logos {
      padding: 36px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: var(--bg);
    }

    .logos-label {
      text-align: center;
      font-size: 11px;
      font-weight: 500;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.18em;
      margin-bottom: 22px;
    }

    .logos-row {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 22px 38px;
      flex-wrap: wrap;
    }

    .logo-ph {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-size: 14.5px;
      font-weight: 600;
      color: var(--muted);
      letter-spacing: -0.005em;
      opacity: 0.65;
      transition: opacity 0.22s ease, color 0.22s ease;
    }

    .logo-ph img,
    .logo-ph .logo-svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    .logo-ph img {
      filter: grayscale(1);
      transition: filter 0.22s ease;
    }

    .logo-ph .logo-svg {
      fill: currentColor;
      transition: color 0.22s ease;
    }

    .logo-ph:hover {
      opacity: 1;
      color: var(--ink);
    }

    .logo-ph:hover img {
      filter: grayscale(0);
    }

    .logo-ph[data-brand="slack"]:hover {
      color: #611F69;
    }

    .logo-ph[data-brand="servicenow"]:hover {
      color: #0C8044;
    }

    .logo-ph[data-brand="mlflow"]:hover {
      color: #0194E2;
    }

    .logo-ph[data-brand="honeycomb"]:hover {
      color: #F5A623;
    }

    /* ── SECTION SHELL ── */
    section {
      padding: 72px 0;
      border-bottom: none;
    }

    section:last-of-type {
      border-bottom: none;
    }

    .section-head {
      text-align: left;
      margin-bottom: 40px;
      max-width: 920px;
    }

    .section-head.center {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .section-head.center .section-title,
    .section-head.center .section-lede {
      margin-left: auto;
      margin-right: auto;
    }

    .section-eyebrow {
      font-size: 12px;
      font-weight: 500;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.22em;
      margin-bottom: 14px;
    }

    .section-title {
      font-family: var(--serif);
      font-size: clamp(38px, 4.8vw, 64px);
      font-weight: 400;
      color: var(--ink);
      letter-spacing: -0.02em;
      line-height: 1.04;
      margin: 0 0 16px;
    }

    .section-title em {
      font-style: italic;
      color: var(--accent);
    }

    .section-lede {
      font-size: 18px;
      color: var(--text-soft);
      max-width: none;
      margin: 0;
      line-height: 1.55;
      font-weight: 400;
      text-align: left;
    }

    /* ── URGENCY ── */
    .urgency {
      background: var(--bg-card);
      border: none;
      border-radius: 24px;
      padding: 32px 36px;
      margin: 32px auto 0;
      max-width: 920px;
    }

    .urgency-tag {
      font-size: 11px;
      font-weight: 600;
      color: var(--danger);
      text-transform: uppercase;
      letter-spacing: 0.22em;
      margin-bottom: 18px;
    }

    .urgency-quote {
      font-family: var(--serif);
      font-size: 24px;
      color: var(--ink);
      line-height: 1.32;
      font-style: italic;
      margin-bottom: 16px;
      font-weight: 400;
      letter-spacing: -0.01em;
    }

    .urgency-attr {
      font-size: 13px;
      color: var(--muted);
    }

    /* ── STATS ── */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .stat-card {
      background: var(--bg-card);
      border: 1px solid transparent;
      border-radius: 20px;
      padding: 32px 28px;
      transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
      color: inherit;
    }

    .stat-card:hover {
      transform: translateY(-3px);
      background: #ebebe8;
      border-color: var(--border);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .stat-val {
      font-family: var(--serif);
      font-size: 56px;
      font-weight: 400;
      color: var(--ink);
      letter-spacing: -0.03em;
      line-height: 1;
      margin-bottom: 16px;
    }

    .stat-desc {
      font-size: 14px;
      color: var(--text-soft);
      line-height: 1.5;
      margin-bottom: 12px;
    }

    .stat-src {
      font-size: 11px;
      color: var(--dim);
      font-style: italic;
    }

    .incidents-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 24px;
    }

    .incident {
      background: var(--bg-card);
      border: 1px solid transparent;
      border-radius: 20px;
      padding: 28px;
      transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
      color: inherit;
    }

    .incident:hover {
      transform: translateY(-3px);
      border-color: rgba(220, 38, 38, 0.25);
      box-shadow: 0 4px 20px rgba(220, 38, 38, 0.07);
    }

    .incident-tag {
      font-size: 10px;
      font-weight: 600;
      color: var(--danger);
      text-transform: uppercase;
      letter-spacing: 0.18em;
      margin-bottom: 14px;
    }

    .incident h4 {
      font-size: 16px;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 10px;
      line-height: 1.3;
      letter-spacing: -0.01em;
    }

    .incident p {
      font-size: 13.5px;
      color: var(--muted);
      line-height: 1.55;
    }

    /* ── DIAGRAM ── */
    .diagram-img {
      display: block;
      width: 100%;
      max-width: 1080px;
      height: auto;
      margin: 0 auto 44px;
    }

    /* ── PROBLEM / SOLUTION ── */
    .ps-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .ps-col {
      background: var(--bg-card);
      border: none;
      border-radius: 22px;
      padding: 28px 28px;
    }

    .ps-col.good {
      background: var(--bg-lavender);
    }

    .ps-col h3 {
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 400;
      color: var(--ink);
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(15, 23, 42, 0.08);
      letter-spacing: -0.01em;
    }

    .ps-item {
      display: flex;
      gap: 12px;
      margin-bottom: 12px;
      font-size: 14.5px;
      line-height: 1.55;
      color: var(--text-soft);
    }

    .ps-item .ico {
      flex-shrink: 0;
      margin-top: 3px;
      font-size: 13px;
      font-weight: 700;
    }

    .ps-col .ps-item .ico {
      color: var(--danger);
    }

    .ps-col.good .ps-item .ico {
      color: var(--accent);
    }

    /* ── CATEGORY ── */
    .category-box {
      background: var(--bg-card);
      border: none;
      border-radius: 22px;
      padding: 40px 36px;
      text-align: center;
      max-width: 920px;
      margin: 0 auto;
    }

    .category-quote {
      font-family: var(--serif);
      font-size: 28px;
      font-weight: 400;
      color: var(--ink);
      font-style: italic;
      max-width: 760px;
      margin: 0 auto 22px;
      line-height: 1.32;
      letter-spacing: -0.015em;
    }

    .category-quote strong {
      color: var(--accent);
      font-weight: 400;
      font-style: italic;
    }

    .not-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      max-width: 720px;
      margin: 0 auto;
    }

    .not-item {
      font-size: 13px;
      color: var(--muted);
      padding: 14px 16px;
      background: rgba(255, 255, 255, 0.7);
      border: none;
      border-radius: 12px;
    }

    .not-item strong {
      color: var(--ink);
      font-weight: 600;
    }

    /* ── HOW IT WORKS ── */
    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .step {
      background: var(--bg-card);
      border: none;
      border-radius: 18px;
      padding: 26px 24px;
      position: relative;
      transition: transform 0.2s, background 0.2s;
    }

    .step:hover {
      transform: translateY(-3px);
      background: #ebebe8;
    }

    .step-num {
      font-family: var(--serif);
      font-size: 32px;
      font-weight: 400;
      color: var(--accent);
      letter-spacing: -0.02em;
      margin-bottom: 16px;
      line-height: 1;
    }

    .step h4 {
      font-size: 17px;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 10px;
      letter-spacing: -0.01em;
    }

    .step p {
      font-size: 13.5px;
      color: var(--muted);
      line-height: 1.55;
    }

    /* ── SCAN FLOW MOCK (compact 3-up) ── */
    .scanflow {
      --sf-accent: #f2683c;
      --sf-crit: #f2683c;
      --sf-high: #f0a53c;
      --sf-low: #8b8b83;
      margin-top: 32px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      align-items: stretch;
    }

    .sf-card {
      display: flex;
      flex-direction: column;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 20px 20px 18px;
    }

    .sf-card-dark {
      background: var(--ink);
      border-color: var(--ink);
    }

    .sf-head {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }

    .sf-num {
      width: 22px;
      height: 22px;
      flex: none;
      border-radius: 50%;
      background: var(--ink);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .sf-card-dark .sf-num {
      background: #fff;
      color: var(--ink);
    }

    .sf-num-accent {
      background: var(--sf-accent);
    }

    .sf-step {
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .sf-card-dark .sf-step {
      color: #fff;
    }

    .sf-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--ink);
      letter-spacing: -0.02em;
      line-height: 1.2;
    }

    .sf-title-sm {
      font-size: 16px;
      line-height: 1.3;
      margin-top: 6px;
    }

    .sf-meta {
      font-size: 12.5px;
      color: var(--muted);
      margin-top: 4px;
    }

    .sf-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      align-self: flex-start;
      margin-top: 16px;
      padding: 9px 16px;
      border-radius: 10px;
      background: var(--sf-accent);
      color: #fff;
      font-size: 13.5px;
      font-weight: 700;
    }

    .sf-cta::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #fff;
    }

    .sf-list {
      list-style: none;
      margin-top: 16px;
      display: grid;
      gap: 8px;
    }

    .sf-list li {
      position: relative;
      padding-left: 16px;
      font-size: 13px;
      color: var(--text-soft);
    }

    .sf-list li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 7px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--good);
    }

    .sf-big {
      font-size: 44px;
      font-weight: 800;
      color: #fff;
      line-height: 1;
      letter-spacing: -0.03em;
    }

    .sf-big-sub {
      font-size: 13px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.82);
      margin-top: 6px;
    }

    .sf-bars {
      margin-top: 18px;
      display: grid;
      gap: 12px;
    }

    .sf-bar-top {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      font-size: 12.5px;
      color: rgba(255, 255, 255, 0.85);
      margin-bottom: 6px;
    }

    .sf-bar-top b {
      font-family: ui-monospace, Menlo, monospace;
      font-weight: 500;
      color: #fff;
    }

    .sf-track {
      height: 5px;
      border-radius: 3px;
      background: rgba(255, 255, 255, 0.16);
      overflow: hidden;
    }

    .sf-track i {
      display: block;
      height: 100%;
      border-radius: 3px;
    }

    .sf-tag {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 11.5px;
      color: var(--sf-accent);
    }

    .sf-tag span {
      color: var(--dim);
      margin: 0 4px;
    }

    .sf-code {
      margin-top: 12px;
      background: var(--ink);
      border-radius: 10px;
      padding: 12px 14px;
      overflow-x: auto;
    }

    .sf-code code {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 11.5px;
      line-height: 1.7;
      white-space: pre;
      color: #d4d4d8;
    }

    .sf-code .del {
      color: #f87171;
    }

    .sf-code .add {
      color: #4ade80;
    }

    .sf-note {
      font-size: 12px;
      color: var(--muted);
      margin-top: 12px;
    }

    .sf-actions {
      display: flex;
      gap: 8px;
      margin-top: auto;
      padding-top: 16px;
    }

    .sf-btn {
      flex: 1;
      text-align: center;
      padding: 10px 14px;
      border-radius: 10px;
      background: var(--ink);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
    }

    .sf-btn-ghost {
      flex: none;
      background: #fff;
      color: var(--text);
      border: 1px solid var(--border);
      font-weight: 600;
    }

    @media (max-width: 860px) {
      .scanflow {
        grid-template-columns: 1fr;
      }
    }

    .flow {
      margin-top: 32px;
      background: var(--bg-card);
      border: none;
      border-radius: 22px;
      padding: 32px 28px;
    }

    .flow-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .flow-node {
      background: #fff;
      border: none;
      border-radius: 14px;
      padding: 14px 18px;
      text-align: center;
      min-width: 120px;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 6px 16px rgba(15, 23, 42, 0.04);
    }

    .flow-node .lab {
      font-size: 12px;
      font-weight: 600;
      color: var(--ink);
    }

    .flow-node .sub {
      font-size: 10px;
      color: var(--muted);
      margin-top: 3px;
    }

    .flow-core {
      background: var(--ink);
      color: #fff;
      padding: 18px 26px;
      box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    }

    .flow-core .lab {
      color: #fff;
      font-size: 14px;
      font-weight: 600;
    }

    .flow-arrow {
      color: var(--dim);
      font-size: 18px;
    }

    .flow-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .flow-loop {
      text-align: center;
      margin-top: 20px;
      font-size: 13px;
      color: var(--accent);
      font-weight: 500;
    }

    /* ── PRO FLOW DIAGRAM ── */
    .flow.flow-pro {
      position: relative;
      margin-top: 36px;
      padding: 56px 48px;
      background: linear-gradient(180deg, #f7f7f4, #f0eff3);
      border: 1px solid rgba(15, 23, 42, 0.04);
      border-radius: 24px;
      overflow: hidden;
      isolation: isolate;
    }

    .flow.flow-pro::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 60%;
      height: 90%;
      transform: translate(-50%, -50%);
      background: radial-gradient(ellipse, rgba(109, 95, 209, 0.10), transparent 60%);
      pointer-events: none;
      z-index: 0;
    }

    .flow-svg {
      position: absolute;
      top: 56px;
      left: 48px;
      width: calc(100% - 96px);
      height: calc(100% - 112px);
      pointer-events: none;
      z-index: 1;
      overflow: visible;
    }

    .flow-svg path {
      fill: none;
      stroke-width: 1.4;
      stroke-dasharray: 4 6;
      stroke-linecap: round;
      animation: flow-dash 2.4s linear infinite;
    }

    @keyframes flow-dash {
      to {
        stroke-dashoffset: -20;
      }
    }

    .flow-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 60px;
    }

    .flow-col-in,
    .flow-col-out {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .flow-card-pro {
      display: flex;
      align-items: center;
      gap: 14px;
      background: #fff;
      border-radius: 14px;
      padding: 16px 18px;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.05);
      position: relative;
      transition: transform 0.22s ease, box-shadow 0.22s ease;
    }

    .flow-card-pro:hover {
      transform: translateY(-2px);
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 16px 32px rgba(15, 23, 42, 0.08);
    }

    .flow-card-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background: var(--ico-bg, var(--bg-card));
      color: var(--ico-fg, var(--ink));
    }

    .flow-card-icon svg {
      width: 18px;
      height: 18px;
    }

    .ico-code {
      --ico-bg: #18181b;
      --ico-fg: #fff;
    }

    .ico-ai {
      --ico-bg: #f3f0ff;
      --ico-fg: #6d5fd1;
    }

    .ico-stack {
      --ico-bg: #ecfeff;
      --ico-fg: #0891b2;
    }

    .ico-check {
      --ico-bg: #ecfdf5;
      --ico-fg: #059669;
    }

    .flow-card-body {
      display: flex;
      flex-direction: column;
      min-width: 0;
      flex: 1;
    }

    .flow-card-pro .lab {
      font-size: 13.5px;
      font-weight: 600;
      color: var(--ink);
      letter-spacing: -0.005em;
    }

    .flow-card-pro .sub {
      font-size: 11.5px;
      color: var(--muted);
      margin-top: 2px;
    }

    .flow-col-core {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 220px;
    }

    .flow-halo {
      position: absolute;
      width: 320px;
      height: 320px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(109, 95, 209, 0.18) 0%, rgba(109, 95, 209, 0.05) 40%, transparent 70%);
      filter: blur(6px);
      animation: halo-pulse 4s ease-in-out infinite;
      pointer-events: none;
      z-index: 0;
    }

    .flow-halo::before,
    .flow-halo::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      border-radius: 50%;
      border: 1px dashed rgba(109, 95, 209, 0.30);
    }

    .flow-halo::before {
      width: 220px;
      height: 220px;
      margin: -110px 0 0 -110px;
      animation: ring-rotate 18s linear infinite;
    }

    .flow-halo::after {
      width: 280px;
      height: 280px;
      margin: -140px 0 0 -140px;
      border-color: rgba(109, 95, 209, 0.16);
      animation: ring-rotate 28s linear infinite reverse;
    }

    @keyframes halo-pulse {

      0%,
      100% {
        transform: scale(0.94);
        opacity: 0.7;
      }

      50% {
        transform: scale(1.05);
        opacity: 1;
      }
    }

    @keyframes ring-rotate {
      to {
        transform: rotate(360deg);
      }
    }

    .flow-core-pro {
      position: relative;
      z-index: 3;
      background: linear-gradient(145deg, #1f1f23, #050507);
      color: #fff;
      border-radius: 20px;
      padding: 26px 32px;
      text-align: center;
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
      min-width: 200px;
    }

    .flow-core-mark {
      width: 44px;
      height: 44px;
      margin: 0 auto 14px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--accent), var(--accent-deep));
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      box-shadow: 0 10px 28px rgba(109, 95, 209, 0.45);
    }

    .flow-core-mark svg {
      width: 22px;
      height: 22px;
    }

    .flow-core-pro .lab {
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .flow-core-pro .sub {
      color: #c4b5fd;
      font-size: 12px;
      margin-top: 4px;
      font-weight: 500;
      letter-spacing: 0.02em;
    }

    @media (prefers-reduced-motion: reduce) {

      .flow-halo,
      .flow-halo::before,
      .flow-halo::after,
      .flow-svg path {
        animation: none;
      }
    }

    @media (max-width: 860px) {
      .flow.flow-pro {
        padding: 28px 18px;
      }

      .flow-svg {
        display: none;
      }

      .flow-grid {
        grid-template-columns: 1fr;
        gap: 22px;
      }

      .flow-col-core {
        min-width: 0;
      }

      .flow-halo {
        width: 240px;
        height: 240px;
      }

      .flow-halo::before {
        width: 180px;
        height: 180px;
        margin: -90px 0 0 -90px;
      }

      .flow-halo::after {
        width: 220px;
        height: 220px;
        margin: -110px 0 0 -110px;
      }
    }

    /* ── INDEXES ── */
    .pri-hero {
      background: var(--bg-lavender);
      border: none;
      border-radius: 22px;
      padding: 28px 30px;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .pri-badge {
      font-family: var(--serif);
      font-size: 64px;
      font-weight: 400;
      color: var(--accent-deep);
      padding: 12px 28px;
      background: #fff;
      border: none;
      border-radius: 16px;
      letter-spacing: -0.04em;
      flex-shrink: 0;
      line-height: 1;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }

    .pri-hero h4 {
      font-family: var(--serif);
      font-size: 28px;
      font-weight: 400;
      color: var(--ink);
      margin-bottom: 10px;
      letter-spacing: -0.01em;
    }

    .pri-hero p {
      font-size: 15px;
      color: var(--text-soft);
      line-height: 1.55;
    }

    .idx-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }

    .idx-card {
      background: var(--bg-card);
      border: none;
      border-radius: 18px;
      padding: 24px 22px;
      transition: transform 0.2s, background 0.2s;
    }

    .idx-card:hover {
      transform: translateY(-3px);
      background: #ebebe8;
    }

    .idx-abbr {
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 400;
      color: var(--accent);
      letter-spacing: -0.02em;
      margin-bottom: 12px;
      line-height: 1;
    }

    .idx-card h5 {
      font-size: 15px;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 8px;
      letter-spacing: -0.01em;
    }

    .idx-card p {
      font-size: 12.5px;
      color: var(--muted);
      line-height: 1.55;
    }

    /* ── BUYER PERSONAS ── */
    .buyers {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .buyer {
      background: var(--bg-card);
      border: none;
      border-radius: 18px;
      padding: 24px 22px;
      transition: transform 0.2s, background 0.2s;
    }

    .buyer:hover {
      transform: translateY(-3px);
      background: #ebebe8;
    }

    .buyer-tag {
      font-size: 11px;
      font-weight: 600;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.18em;
      margin-bottom: 14px;
    }

    .buyer h5 {
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 400;
      color: var(--ink);
      margin-bottom: 12px;
      line-height: 1.2;
      letter-spacing: -0.01em;
    }

    .buyer p {
      font-size: 13.5px;
      color: var(--muted);
      line-height: 1.55;
    }

    /* ── DIFFERENTIATORS ── */
    .diff-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .diff {
      background: var(--bg-card);
      border: none;
      border-radius: 18px;
      padding: 24px 22px;
      transition: transform 0.2s, background 0.2s;
    }

    .diff:hover {
      background: #ebebe8;
      transform: translateY(-3px);
    }

    .diff-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      font-size: 20px;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }

    .diff h5 {
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 400;
      color: var(--ink);
      margin-bottom: 10px;
      letter-spacing: -0.01em;
      line-height: 1.2;
    }

    .diff p {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.6;
    }

    /* ── ROI ── */
    .roi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .roi {
      background: var(--bg-lavender);
      border: none;
      border-radius: 18px;
      padding: 32px 24px;
      text-align: center;
      transition: transform 0.2s ease;
    }

    .roi:hover {
      transform: translateY(-3px);
    }

    .roi .roi-prefix {
      font-size: 11px;
      font-weight: 500;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.22em;
      margin-bottom: 14px;
    }

    .roi .metric {
      font-family: var(--serif);
      font-size: clamp(44px, 4.8vw, 64px);
      font-weight: 400;
      color: var(--accent-deep);
      letter-spacing: -0.03em;
      line-height: 1;
      margin-bottom: 16px;
      white-space: nowrap;
    }

    .roi .label {
      font-size: 14px;
      color: var(--text-soft);
      line-height: 1.5;
      font-weight: 400;
      max-width: 240px;
      margin: 0 auto;
    }

    .roi-note {
      text-align: center;
      font-size: 13px;
      color: var(--dim);
      margin-top: 24px;
      font-style: italic;
    }

    @media (max-width: 860px) {
      .roi-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 540px) {
      .roi-grid {
        grid-template-columns: 1fr;
      }
    }

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(109, 95, 209, 0.4);
      }

      70% {
        box-shadow: 0 0 0 10px rgba(109, 95, 209, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(109, 95, 209, 0);
      }
    }

    /* ── TIMELINE ── */
    .timeline {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      border: none;
      border-radius: 0;
      overflow: visible;
      background: transparent;
    }

    .tl-item {
      padding: 24px 22px;
      border-right: none;
      background: var(--bg-card);
      border-radius: 18px;
      transition: transform 0.2s, background 0.2s;
    }

    .tl-item:hover {
      transform: translateY(-3px);
      background: #ebebe8;
    }

    .tl-item:last-child {
      border-right: none;
    }

    .tl-label {
      font-family: var(--serif);
      font-size: 28px;
      font-weight: 400;
      color: var(--accent);
      letter-spacing: -0.02em;
      margin-bottom: 14px;
      line-height: 1;
    }

    .tl-item h4 {
      font-size: 17px;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 10px;
      letter-spacing: -0.01em;
    }

    .tl-item p {
      font-size: 13.5px;
      color: var(--muted);
      line-height: 1.55;
      margin-bottom: 16px;
    }

    .tl-outcome {
      font-size: 12px;
      font-weight: 600;
      color: var(--accent-deep);
      background: var(--bg-lavender);
      padding: 7px 12px;
      border-radius: 100px;
      display: inline-block;
    }

    /* ── FAQ (collapsible) ── */
    .faq {
      max-width: 880px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 0;
    }

    .faq-item:first-child {
      border-top: 1px solid var(--border);
    }

    .faq-q {
      font-family: var(--serif);
      font-size: 21px;
      font-weight: 400;
      color: var(--ink);
      letter-spacing: -0.01em;
      line-height: 1.3;
      cursor: pointer;
      padding: 18px 56px 18px 0;
      position: relative;
      list-style: none;
      transition: color 0.18s;
      user-select: none;
    }

    .faq-q::-webkit-details-marker {
      display: none;
    }

    .faq-q::marker {
      content: '';
    }

    .faq-q:hover {
      color: var(--accent);
    }

    .faq-q::after {
      content: '';
      position: absolute;
      right: 8px;
      top: 50%;
      width: 11px;
      height: 11px;
      border-right: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: translateY(-75%) rotate(45deg);
      transition: transform 0.28s ease, border-color 0.18s;
      opacity: 0.55;
    }

    .faq-item[open]>.faq-q {
      color: var(--accent);
    }

    .faq-item[open]>.faq-q::after {
      transform: translateY(-25%) rotate(-135deg);
      opacity: 1;
    }

    .faq-a {
      font-size: 15px;
      color: var(--text-soft);
      line-height: 1.6;
      padding: 0 56px 20px 0;
      animation: faq-reveal 0.28s ease;
    }

    .faq-a strong {
      color: var(--ink);
      font-weight: 600;
    }

    @keyframes faq-reveal {
      from {
        opacity: 0;
        transform: translateY(-4px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (prefers-reduced-motion: reduce) {

      .faq-q::after,
      .faq-a {
        animation: none;
        transition: none;
      }
    }

    /* ── FINAL CTA ── */
    .final {
      padding: 88px 0;
      text-align: center;
      background: var(--bg-lavender);
    }

    .final h2 {
      font-family: var(--serif);
      font-size: clamp(40px, 5.6vw, 80px);
      font-weight: 400;
      color: var(--ink);
      letter-spacing: -0.025em;
      margin-bottom: 16px;
      line-height: 1.02;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .final p {
      font-size: 18px;
      color: var(--text-soft);
      margin-bottom: 28px;
      max-width: 660px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.55;
    }

    .final-trust {
      margin-top: 22px;
      font-size: 13px;
      color: var(--muted);
    }

    .final-trust strong {
      color: var(--text-soft);
      font-weight: 600;
    }

    /* ── FOOTER ── */
    .footer {
      padding: 40px 0 24px;
      background: var(--bg);
      border-top: 1px solid var(--border);
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 20px;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .footer-mark {
      height: 34px !important;
      mix-blend-mode: multiply;
      filter: contrast(1.4) saturate(0.4);
    }

    .footer-name {
      font-size: 17px !important;
      margin-bottom: 4px;
      color: #000 !important;
    }

    .footer-tagline {
      font-size: 12.5px;
      color: var(--muted);
    }

    .footer-social {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding-left: 14px;
      margin-left: 2px;
      border-left: 1px solid var(--border);
    }

    .footer-social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      transition: color 0.18s ease;
    }

    .footer-social a:hover {
      color: var(--ink);
    }

    .footer-social svg {
      width: 16px;
      height: 16px;
      display: block;
    }

    .footer-copy {
      font-size: 12.5px;
      color: var(--muted);
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 22px 26px;
      font-size: 13px;
      color: var(--muted);
      align-items: center;
      padding-top: 8px;
    }

    .footer-links a {
      color: var(--muted);
      text-decoration: none;
      transition: color 0.15s;
    }

    .footer-links a:hover {
      color: var(--ink);
    }

    .footer-bottom {
      margin-top: 28px;
      padding-top: 18px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
    }

    .footer-legal {
      display: flex;
      gap: 22px;
      font-size: 12.5px;
    }

    .footer-legal a {
      color: var(--muted);
      text-decoration: none;
      transition: color 0.15s;
    }

    .footer-legal a:hover {
      color: var(--ink);
    }

    /* ── GOVERNANCE LANE ── */
    .lane-section {
      background: var(--bg-card);
    }

    .lane-frame {
      max-width: 1180px;
      margin: 0 auto;
      background: #fff;
      border: 1px solid var(--border-soft);
      border-radius: 24px;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 30px 80px rgba(15, 23, 42, 0.08);
      overflow: hidden;
    }

    .lane-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 18px;
      border-bottom: 1px solid var(--border);
      background: var(--bg-soft);
    }

    .lane-bar .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #e5e7eb;
    }

    .lane-bar .lane-tab {
      margin-left: 8px;
      font-size: 12px;
      color: var(--muted);
      font-family: ui-monospace, Menlo, monospace;
    }

    .lane-stream {
      margin-left: auto;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--brand-deep);
    }

    .lane-stream-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--brand);
      box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.6);
      animation: pulse 2s infinite;
    }

    .lane-body {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      padding: 24px;
    }

    .lane-queue {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding-right: 24px;
      border-right: 1px dashed var(--border);
    }

    .lane-row {
      display: grid;
      grid-template-columns: auto 1fr auto auto auto;
      align-items: center;
      column-gap: 10px;
      padding: 14px 16px;
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: 10px;
      transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    }

    .lane-row .lane-id {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 12px;
      color: var(--dim);
    }

    .lane-row .lane-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--muted);
    }

    .lane-row .lane-em {
      color: var(--dim);
      font-size: 13px;
    }

    .lane-row .lane-author {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 12px;
      color: var(--dim);
    }

    .lane-row.checking .lane-title {
      color: var(--ink);
    }

    .lane-row.passed .lane-title,
    .lane-row.held .lane-title {
      color: var(--muted);
    }

    .lane-row .lane-pill {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 5px 11px;
      border-radius: 100px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }

    .lane-row .lane-pill.pass {
      background: var(--brand-bg);
      color: var(--brand-deep);
      border: 1px solid var(--border-accent);
    }

    .lane-row .lane-pill.held {
      background: var(--danger-bg);
      color: var(--danger);
      border: 1px solid #fecaca;
    }

    .lane-row .lane-pill.check {
      background: #fff;
      color: var(--brand-deep);
      border: 1px solid var(--border-accent);
    }

    .lane-row .lane-pill.check .check-spin {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 1.5px solid var(--brand);
      border-top-color: transparent;
      animation: spin 0.9s linear infinite;
    }

    .lane-row.checking {
      background: #fff;
      border-color: var(--border-accent);
      box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
    }

    .lane-detail {
      padding-left: 24px;
      display: flex;
      flex-direction: column;
    }

    .detail-eyebrow {
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 12px;
      font-family: ui-monospace, Menlo, monospace;
    }

    .detail-title {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 14px;
      color: var(--ink);
      font-weight: 700;
      margin-bottom: 6px;
    }

    .detail-meta {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 22px;
    }

    .lane-steps {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .lane-rail {
      position: absolute;
      left: 11px;
      top: 0;
      width: 2px;
      height: 0;
      background: var(--border);
      border-radius: 2px;
      z-index: 0;
      pointer-events: none;
    }

    .lane-rail-fill {
      position: absolute;
      left: 11px;
      top: 0;
      width: 2px;
      height: 0;
      background: var(--brand);
      border-radius: 2px;
      z-index: 1;
      pointer-events: none;
      transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .lane-step {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      opacity: 0.45;
      transition: opacity 0.35s ease;
      position: relative;
      z-index: 2;
    }

    .lane-step.is-done,
    .lane-step.is-active {
      opacity: 1;
    }

    .lane-step .step-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 1.5px solid var(--border);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background: #fff;
      margin-top: 0;
      transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    }

    .lane-step .step-num {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 9px;
      font-weight: 700;
      color: var(--muted);
    }

    .lane-step .step-check,
    .lane-step .step-spinner {
      display: none;
    }

    .lane-step.is-done .step-icon {
      background: var(--brand);
      border-color: var(--brand);
    }

    .lane-step.is-done .step-num {
      display: none;
    }

    .lane-step.is-done .step-check {
      display: inline-block;
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
    }

    .lane-step.is-active .step-icon {
      border-color: var(--brand);
      background: #fff;
      transform: scale(1.06);
      box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.10);
    }

    .lane-step.is-active .step-num {
      display: none;
    }

    .lane-step.is-active .step-spinner {
      display: inline-block;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 1.5px solid var(--brand);
      border-top-color: transparent;
      animation: spin 0.9s linear infinite;
    }

    .step-body {
      display: flex;
      flex-direction: column;
      gap: 3px;
      min-width: 0;
      flex: 1;
      padding-top: 1px;
    }

    .lane-step .step-label {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 13px;
      color: var(--ink);
      font-weight: 500;
      line-height: 1.4;
    }

    .step-meta {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 11px;
      color: var(--muted);
      line-height: 1.4;
      min-height: 15px;
      opacity: 0;
      transform: translateY(-2px);
      transition: opacity 0.45s ease, transform 0.45s ease, color 0.3s ease;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .step-meta.is-shown {
      opacity: 1;
      transform: translateY(0);
    }

    .step-meta.is-working {
      color: var(--dim);
    }

    .step-meta.is-working::after {
      content: '';
      display: inline-block;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: currentColor;
      margin-left: 6px;
      vertical-align: middle;
      animation: dotPulse 1.2s ease-in-out infinite;
    }

    .step-meta.is-violation {
      color: var(--danger);
    }

    @keyframes dotPulse {

      0%,
      100% {
        opacity: 0.25;
      }

      50% {
        opacity: 1;
      }
    }

    .lane-divider {
      margin: 24px 0 16px;
      border-top: 1px dashed var(--border);
    }

    .detail-eval {
      font-family: ui-monospace, Menlo, monospace;
      font-size: 13px;
      color: var(--muted);
      font-style: italic;
      text-align: center;
      transition: color 0.3s ease;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    @media (prefers-reduced-motion: reduce) {

      .lane-row .lane-pill.check .check-spin,
      .lane-step.is-active .step-spinner,
      .lane-stream-dot {
        animation: none;
      }
    }

    /* ── PLATFORM PILLARS (depthfirst-style) ── */
    .pillars {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .pillar {
      background: var(--bg-card);
      border: none;
      border-radius: 20px;
      padding: 28px 26px;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
      transition: transform 0.2s, background 0.2s;
    }

    .pillar:hover {
      background: #ebebe8;
      transform: translateY(-3px);
    }

    .pillar-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: #fff;
      border: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-deep);
      margin-bottom: 18px;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }

    .pillar-icon svg {
      width: 24px;
      height: 24px;
    }

    .pillar-tag {
      font-size: 11px;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .pillar h4 {
      font-family: var(--serif);
      font-size: 22px;
      font-weight: 400;
      color: var(--ink);
      line-height: 1.18;
      margin-bottom: 10px;
      letter-spacing: -0.015em;
    }

    .pillar p {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .pillar-link {
      margin-top: auto;
      font-size: 14px;
      font-weight: 500;
      color: var(--ink);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: gap 0.18s;
    }

    .pillar-link::after {
      content: '→';
      transition: transform 0.18s;
    }

    .pillar:hover .pillar-link::after {
      transform: translateX(4px);
    }

    /* ── METRICS STRIP (depthfirst-style big numbers) ── */
    .metrics-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      padding: 16px 32px;
      margin-top: 48px;
      border: none;
      border-radius: 24px;
      background: var(--bg-lavender);
    }

    .metric-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      text-align: center;
      padding: 36px 24px;
      border-right: 1px solid rgba(15, 23, 42, 0.08);
    }

    .metric-item:last-child {
      border-right: none;
    }

    .metric-num {
      font-family: var(--serif);
      font-size: clamp(48px, 5.6vw, 80px);
      font-weight: 400;
      line-height: 0.96;
      letter-spacing: -0.035em;
      margin-bottom: 20px;
      color: var(--ink);
      white-space: nowrap;
    }

    .metric-label {
      font-size: 14.5px;
      color: var(--text-soft);
      line-height: 1.5;
      max-width: 280px;
      margin: 0 auto;
      font-weight: 400;
    }

    .metric-source {
      display: block;
      font-size: 11.5px;
      color: var(--muted);
      margin-top: 10px;
      font-style: italic;
      font-weight: 400;
    }

    @media (max-width: 860px) {
      .metrics-strip {
        grid-template-columns: 1fr;
        padding: 16px 20px;
      }

      .metric-item {
        padding: 32px 0;
        border-right: none;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
      }

      .metric-item:last-child {
        border-bottom: none;
      }
    }

    /* ── WHO WE SERVE (dark) ── */
    .serve-section {
      background: #050505;
      padding: 88px 0;
      color: #fff;
      position: relative;
      overflow: hidden;
    }

    .serve-section::before {
      content: '';
      position: absolute;
      top: -200px;
      left: 50%;
      transform: translateX(-50%);
      width: 1100px;
      height: 700px;
      background: radial-gradient(ellipse, rgba(124, 58, 237, 0.18), transparent 60%);
      pointer-events: none;
    }

    .serve-section>* {
      position: relative;
      z-index: 1;
    }

    .serve-head {
      text-align: center;
      margin-bottom: 52px;
    }

    .serve-title {
      font-family: var(--serif);
      font-size: clamp(48px, 6vw, 84px);
      font-weight: 400;
      line-height: 0.98;
      letter-spacing: -0.03em;
      margin-bottom: 16px;
      background: linear-gradient(90deg, #c4b5fd, #93c5fd, #67e8f9);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .serve-lede {
      font-size: 19px;
      color: rgba(255, 255, 255, 0.65);
      max-width: 760px;
      margin: 0 auto;
      line-height: 1.55;
      font-weight: 400;
    }

    .serve-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .serve-card {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 22px;
      padding: 30px 28px;
      position: relative;
      overflow: hidden;
      transition: transform 0.25s, border-color 0.25s;
    }

    .serve-card:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 255, 255, 0.18);
    }

    .serve-card::after {
      content: '';
      position: absolute;
      top: -120px;
      right: -120px;
      width: 280px;
      height: 280px;
      border-radius: 50%;
      background: var(--card-glow, transparent);
      filter: blur(60px);
      opacity: 0.18;
      pointer-events: none;
    }

    .serve-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 22px;
      color: #fff;
      box-shadow: 0 12px 32px var(--card-glow, rgba(0, 0, 0, 0.4));
      position: relative;
      z-index: 1;
    }

    .serve-icon svg {
      width: 26px;
      height: 26px;
    }

    .serve-card-blue {
      --card-glow: rgba(59, 130, 246, 0.55);
    }

    .serve-card-blue .serve-icon {
      background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    }

    .serve-card-purple {
      --card-glow: rgba(168, 85, 247, 0.55);
    }

    .serve-card-purple .serve-icon {
      background: linear-gradient(135deg, #a855f7, #7c3aed);
    }

    .serve-card-green {
      --card-glow: rgba(34, 197, 94, 0.55);
    }

    .serve-card-green .serve-icon {
      background: linear-gradient(135deg, #22c55e, #15803d);
    }

    .serve-perspective {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.22em;
      margin-bottom: 10px;
      opacity: 0.9;
      position: relative;
      z-index: 1;
    }

    .serve-card-blue .serve-perspective {
      color: #93c5fd;
    }

    .serve-card-purple .serve-perspective {
      color: #d8b4fe;
    }

    .serve-card-green .serve-perspective {
      color: #86efac;
    }

    .serve-card h3 {
      font-size: 22px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 12px;
      letter-spacing: -0.015em;
      line-height: 1.2;
      position: relative;
      z-index: 1;
    }

    .serve-card .serve-body {
      font-size: 14.5px;
      color: rgba(255, 255, 255, 0.62);
      line-height: 1.65;
      position: relative;
      z-index: 1;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 860px) {

      .stats-grid,
      .idx-grid,
      .buyers,
      .pillars {
        grid-template-columns: repeat(2, 1fr);
      }

      .steps,
      .diff-grid,
      .roi-grid,
      .incidents-grid,
      .timeline {
        grid-template-columns: repeat(2, 1fr);
      }

      .metrics-strip {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 44px 0;
      }

      .ps-grid {
        grid-template-columns: 1fr;
      }

      .preview-grid {
        grid-template-columns: 1fr;
      }

      .preview-indexes {
        grid-template-columns: repeat(4, 1fr);
      }

      .lane-body {
        grid-template-columns: 1fr;
        padding: 16px;
      }

      .lane-queue {
        padding-right: 0;
        padding-bottom: 16px;
        border-right: none;
        border-bottom: 1px dashed var(--border);
        margin-bottom: 16px;
      }

      .lane-detail {
        padding-left: 0;
      }

      .lane-row {
        grid-template-columns: auto 1fr auto;
        gap: 8px;
        padding: 12px 14px;
      }

      .lane-row .lane-em,
      .lane-row .lane-author {
        display: none;
      }

      .serve-grid {
        grid-template-columns: 1fr;
      }

      .serve-section {
        padding: 96px 0;
      }
    }

    /* ── CHAT WIDGET ── */
    .chat-launcher {
      position: fixed;
      right: 24px;
      bottom: 24px;
      z-index: 60;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--ink);
      color: #fff;
      font-family: var(--sans);
      font-size: 13.5px;
      font-weight: 600;
      padding: 12px 18px;
      border: none;
      border-radius: 100px;
      cursor: pointer;
      box-shadow: 0 10px 30px rgba(10, 10, 10, 0.18), 0 2px 6px rgba(10, 10, 10, 0.10);
      transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
    }

    .chat-launcher:hover {
      background: var(--accent);
      transform: translateY(-1px);
      box-shadow: 0 14px 36px rgba(79, 70, 229, 0.28);
    }

    .chat-launcher svg {
      width: 16px;
      height: 16px;
    }

    .chat-launcher .chat-launcher-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--brand-soft);
      box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.7);
      animation: pulse 2.4s infinite;
    }

    .chat-launcher.is-open {
      display: none;
    }

    .chat-panel {
      position: fixed;
      right: 24px;
      bottom: 24px;
      z-index: 61;
      width: 380px;
      max-width: calc(100vw - 32px);
      height: 580px;
      max-height: calc(100vh - 48px);
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 20px;
      box-shadow: 0 24px 60px rgba(10, 10, 10, 0.18), 0 4px 14px rgba(10, 10, 10, 0.08);
      display: none;
      flex-direction: column;
      overflow: hidden;
      font-family: var(--sans);
      transform-origin: bottom right;
    }

    .chat-panel.is-open {
      display: flex;
      animation: chatPop .22s ease-out;
    }

    @keyframes chatPop {
      from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
      }

      to {
        opacity: 1;
        transform: scale(1) translateY(0);
      }
    }

    .chat-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--border-soft);
      background: linear-gradient(180deg, #fafafa, #fff);
    }

    .chat-avatar {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--brand));
      color: #fff;
      font-family: 'Space Grotesk', var(--sans);
      font-weight: 700;
      font-size: 13px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .chat-title {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
    }

    .chat-title-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--ink);
    }

    .chat-title-status {
      font-size: 11.5px;
      color: var(--muted);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 2px;
    }

    .chat-title-status::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--good);
    }

    .chat-close {
      margin-left: auto;
      background: transparent;
      border: none;
      cursor: pointer;
      color: var(--muted);
      padding: 6px;
      border-radius: 8px;
      line-height: 0;
      transition: background .15s, color .15s;
    }

    .chat-close:hover {
      background: var(--bg-soft);
      color: var(--ink);
    }

    .chat-close svg {
      width: 16px;
      height: 16px;
    }

    .chat-cta-bar {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      padding: 8px 12px;
      background: linear-gradient(180deg, #fff, #fafafa);
      border-bottom: 1px solid var(--border-soft);
    }

    .chat-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, var(--accent-deep), var(--accent));
      color: #fff;
      border: none;
      border-radius: 100px;
      font-family: var(--sans);
      font-size: 11.5px;
      font-weight: 600;
      padding: 5px 11px;
      cursor: pointer;
      transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
      box-shadow: 0 3px 10px rgba(79, 70, 229, 0.18);
    }

    .chat-cta-btn:hover {
      filter: brightness(1.06);
      transform: translateY(-1px);
      box-shadow: 0 6px 14px rgba(79, 70, 229, 0.26);
    }

    .chat-cta-btn svg {
      width: 11px;
      height: 11px;
    }

    .chat-body {
      flex: 1;
      overflow-y: auto;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      background: #fafafa;
    }

    .chat-msg {
      max-width: 85%;
      padding: 10px 13px;
      border-radius: 14px;
      font-size: 13.5px;
      line-height: 1.5;
      word-wrap: break-word;
    }

    .chat-msg.bot {
      background: #fff;
      border: 1px solid var(--border-soft);
      color: var(--text);
      border-top-left-radius: 4px;
      align-self: flex-start;
    }

    .chat-msg.user {
      background: var(--ink);
      color: #fff;
      align-self: flex-end;
      border-top-right-radius: 4px;
    }

    .chat-msg strong {
      font-weight: 600;
      color: var(--ink);
    }

    .chat-msg.bot a {
      color: var(--accent-deep);
      text-decoration: underline;
    }

    .chat-msg ul {
      margin: 6px 0 0 18px;
      padding: 0;
    }

    .chat-msg li {
      margin: 2px 0;
    }

    .chat-typing {
      display: inline-flex;
      gap: 3px;
      padding: 12px 14px;
      background: #fff;
      border: 1px solid var(--border-soft);
      border-radius: 14px;
      border-top-left-radius: 4px;
      align-self: flex-start;
    }

    .chat-typing span {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--dim);
      animation: chatDot 1.2s infinite ease-in-out;
    }

    .chat-typing span:nth-child(2) {
      animation-delay: .15s;
    }

    .chat-typing span:nth-child(3) {
      animation-delay: .3s;
    }

    @keyframes chatDot {

      0%,
      80%,
      100% {
        transform: scale(0.6);
        opacity: .5;
      }

      40% {
        transform: scale(1);
        opacity: 1;
      }
    }

    .chat-suggestions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding: 0 16px 10px;
      background: #fafafa;
    }

    .chat-chip {
      background: #fff;
      border: 1px solid var(--border);
      color: var(--text-soft);
      font-size: 12px;
      font-weight: 500;
      padding: 6px 11px;
      border-radius: 100px;
      cursor: pointer;
      transition: border-color .15s, color .15s, background .15s;
    }

    .chat-chip:hover {
      border-color: var(--accent);
      color: var(--accent-deep);
      background: var(--accent-bg);
    }

    .chat-input-row {
      display: flex;
      gap: 8px;
      padding: 12px 14px;
      border-top: 1px solid var(--border-soft);
      background: #fff;
    }

    .chat-input {
      flex: 1;
      border: 1px solid var(--border);
      border-radius: 100px;
      padding: 10px 16px;
      font-size: 13.5px;
      font-family: var(--sans);
      color: var(--text);
      outline: none;
      transition: border-color .15s, box-shadow .15s;
    }

    .chat-input:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-bg);
    }

    .chat-send {
      background: var(--ink);
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: background .15s, transform .15s;
    }

    .chat-send:hover {
      background: var(--accent);
    }

    .chat-send:disabled {
      background: var(--dim);
      cursor: not-allowed;
    }

    .chat-send svg {
      width: 16px;
      height: 16px;
    }

    .chat-form {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 12px;
      background: #fff;
      border: 1px solid var(--border-soft);
      border-radius: 14px;
      align-self: stretch;
      max-width: 100%;
    }

    .chat-form label {
      font-size: 11.5px;
      font-weight: 500;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .chat-form input {
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 9px 12px;
      font-size: 13px;
      font-family: var(--sans);
      color: var(--text);
      outline: none;
      transition: border-color .15s, box-shadow .15s;
    }

    .chat-form input:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-bg);
    }

    .chat-form input.is-error {
      border-color: var(--danger);
      box-shadow: 0 0 0 3px var(--danger-bg);
    }

    .chat-form .chat-form-error {
      font-size: 11.5px;
      color: var(--danger);
      display: none;
    }

    .chat-form .chat-form-error.is-shown {
      display: block;
    }

    .chat-form button {
      background: var(--ink);
      color: #fff;
      border: none;
      border-radius: 10px;
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 600;
      font-family: var(--sans);
      cursor: pointer;
      transition: background .15s;
      margin-top: 4px;
    }

    .chat-form button:hover {
      background: var(--accent);
    }

    .chat-footer-note {
      font-size: 10.5px;
      color: var(--dim);
      text-align: center;
      padding: 6px 12px 10px;
      background: #fff;
    }

    @media (max-width: 480px) {
      .chat-panel {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        height: 70vh;
      }

      .chat-launcher {
        right: 14px;
        bottom: 14px;
      }
    }

    /* ── FREE PLUGIN DOWNLOAD ── */
    .nav-download {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: transparent;
      border: 1.5px solid var(--brand);
      color: var(--brand);
      font-size: 13px;
      font-weight: 600;
      padding: 8px 17px;
      border-radius: 100px;
      text-decoration: none;
      transition: background 0.15s, color 0.15s;
      white-space: nowrap;
      margin-right: 10px;
    }

    .nav-download:hover {
      background: var(--brand);
      color: #fff;
    }

    .nav-download svg {
      flex-shrink: 0;
    }

    .download-section {
      background: var(--bg-soft);
    }

    .download-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .download-copy .section-eyebrow {
      color: var(--brand);
    }

    .download-copy .section-title {
      font-size: clamp(32px, 3.6vw, 52px);
    }

    .download-copy .section-lede {
      font-size: 17px;
      margin-top: 4px;
    }

    .download-features {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 24px;
    }

    .download-feat {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      color: var(--text-soft);
      line-height: 1.4;
    }

    .download-feat .feat-check {
      flex-shrink: 0;
      margin-top: 1px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--brand-bg);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .download-feat .feat-check svg {
      color: var(--brand);
    }

    .download-card-wrap {
      background: #0f0f10;
      border-radius: 24px;
      padding: 32px;
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08), 0 32px 80px rgba(15, 23, 42, 0.18);
      position: relative;
      overflow: hidden;
    }

    .download-card-wrap::before {
      content: '';
      position: absolute;
      top: -60px;
      right: -60px;
      width: 240px;
      height: 240px;
      background: radial-gradient(circle, rgba(13, 148, 136, 0.18), transparent 65%);
      pointer-events: none;
    }

    .dc-header {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 22px;
    }

    .dc-vscode-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      flex-shrink: 0;
      background: #0078d4;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .dc-vscode-icon svg {
      width: 26px;
      height: 26px;
      fill: #fff;
    }

    .dc-meta {
      flex: 1;
    }

    .dc-name {
      font-size: 15px;
      font-weight: 700;
      color: #fff;
      letter-spacing: -0.01em;
      line-height: 1.2;
    }

    .dc-sub {
      font-size: 12px;
      color: #71717a;
      margin-top: 3px;
    }

    .dc-badge {
      font-size: 10px;
      font-weight: 600;
      color: var(--brand-soft);
      background: rgba(13, 148, 136, 0.15);
      border: 1px solid rgba(13, 148, 136, 0.3);
      padding: 4px 10px;
      border-radius: 100px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .dc-includes {
      margin-bottom: 24px;
    }

    .dc-includes-label {
      font-size: 10px;
      font-weight: 600;
      color: #52525b;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      margin-bottom: 12px;
    }

    .dc-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: #a1a1aa;
      margin-bottom: 8px;
    }

    .dc-item svg {
      color: var(--brand-soft);
      flex-shrink: 0;
    }

    .dc-item strong {
      color: #e4e4e7;
      font-weight: 500;
    }

    .dc-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .btn-download {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      background: var(--brand);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      padding: 14px 24px;
      border-radius: 100px;
      text-decoration: none;
      transition: background 0.15s, transform 0.15s;
    }

    .btn-download:hover {
      background: var(--brand-deep);
      transform: translateY(-1px);
    }

    .btn-download svg {
      flex-shrink: 0;
    }

    .dc-install {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 11px 14px;
    }

    .dc-install code {
      flex: 1;
      font-size: 11.5px;
      color: #a1a1aa;
      font-family: ui-monospace, Menlo, 'Courier New', monospace;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .dc-copy-btn {
      background: none;
      border: none;
      cursor: pointer;
      color: #52525b;
      padding: 2px;
      transition: color 0.15s;
      flex-shrink: 0;
    }

    .dc-copy-btn:hover {
      color: var(--brand-soft);
    }

    .dc-note {
      font-size: 11px;
      color: #3f3f46;
      text-align: center;
      margin-top: 14px;
    }

    .dc-note a {
      color: #52525b;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    @media (max-width: 840px) {
      .download-wrap {
        grid-template-columns: 1fr;
        gap: 36px;
      }
    }

    @media (max-width: 980px) {
      .nav-download {
        display: none;
      }
    }

    /* ── HERO LAYOUT ── */
    /* flex column, stretch so margin:auto centering works on children */
    .hero-grid {
      flex: 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      text-align: center;
      padding: 36px 0 0;
    }

    .hero-intro {
      font-size: 15px;
      color: var(--text-soft);
      line-height: 1.5;
      max-width: 660px;
      margin: 6px auto 4px;
      text-align: center;
    }

    /* Pain list: text left-aligned, block centred via auto margins */
    .hero-pains {
      list-style: none;
      margin: 8px auto 8px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      text-align: left;
      max-width: 660px;
    }

    .hero-pains {
      position: relative;
      min-height: 48px;
    }

    .hero-pains li {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      display: flex;
      align-items: flex-start;
      gap: 11px;
      font-size: 14px;
      color: var(--text-soft);
      line-height: 1.45;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.45s ease, transform 0.45s ease;
      pointer-events: none;
    }

    .hero-pains li.pain-active {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .pain-mark {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #fef2f2;
      border: 1px solid #fca5a5;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 1px;
      font-size: 9px;
      color: #dc2626;
      font-weight: 800;
      line-height: 1;
    }

    .hero-pains li strong {
      color: var(--ink);
      font-weight: 600;
    }

    /* Bridge: left-aligned text, block centred via auto margins */
    .hero-bridge {
      font-size: 13px;
      color: var(--text-soft);
      line-height: 1.55;
      padding: 9px 14px;
      background: var(--accent-bg);
      border-left: 3px solid var(--accent);
      border-radius: 0 10px 10px 0;
      margin: 0 auto 0;
      text-align: left;
      max-width: 660px;
    }

    .hero-grid .hero-cta {
      justify-content: center;
    }

    /* ── LEDE SPLIT (left / right) ── */
    .lede-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      max-width: 880px;
      margin: 20px auto 32px;
      text-align: left;
      position: relative;
    }

    /* Gradient vertical line */
    .lede-split::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 1px;
      background: linear-gradient(to bottom,
          transparent 0%,
          var(--border) 15%,
          var(--accent) 50%,
          var(--border) 85%,
          transparent 100%);
      opacity: 0.6;
    }

    /* Decorative diamond accent at centre */
    .lede-split::after {
      content: '◆';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 8px;
      color: var(--accent);
      background: var(--bg);
      padding: 6px 4px;
      line-height: 1;
      z-index: 1;
      text-shadow: 0 0 8px rgba(109, 95, 209, 0.35);
    }

    .lede-split .lede-col {
      padding: 0 36px;
    }

    .lede-split .lede-col p.lede {
      font-size: 17px;
      line-height: 1.65;
      margin: 0;
      text-align: left;
    }

    /* ── ANNOUNCEMENT BUTTON + MODAL ── */
    .hero-pill-row {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 14px;
    }

    .hero-kicker {
      display: inline-flex;
      align-items: center;
      font-family: 'Space Grotesk', var(--sans);
      font-size: clamp(13px, 1.1vw, 17px);
      font-weight: 700;
      letter-spacing: -0.01em;
      background: var(--ink);
      color: #fff;
      border-radius: 100px;
      padding: 9px 20px;
      line-height: 1.3;
      white-space: nowrap;
      box-shadow: 0 1px 2px rgba(10, 10, 10, .18);
    }

    @media (max-width: 860px) {
      .hero-kicker {
        white-space: normal;
        border-radius: 14px;
        padding: 9px 16px;
      }
    }

    .hero-pill-row .eyebrow {
      margin-bottom: 0;
    }

    .announce-btn {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: 100px;
      padding: 8px 16px;
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.01em;
      cursor: pointer;
      animation: announce-glow 2.2s ease-in-out infinite;
      transition: transform 0.18s;
    }

    .announce-btn:hover {
      transform: translateY(-1px);
    }

    .announce-spark {
      font-size: 11px;
      animation: pulse 2.2s infinite;
    }

    @keyframes announce-glow {

      0%,
      100% {
        box-shadow: 0 0 6px rgba(109, 95, 209, 0.45), 0 0 18px rgba(109, 95, 209, 0.25);
      }

      50% {
        box-shadow: 0 0 14px rgba(109, 95, 209, 0.85), 0 0 36px rgba(109, 95, 209, 0.45);
      }
    }

    @media (prefers-reduced-motion: reduce) {

      .announce-btn,
      .announce-spark {
        animation: none;
      }
    }

    /* compact variant for the nav */
    .nav-announce {
      font-size: 11px;
      padding: 7px 13px;
      white-space: nowrap;
    }

    /* between the mobile drawer and full width the bar is tight — close the
       gaps rather than dropping a destination */
    @media (max-width: 1460px) {
      .nav-links {
        gap: 18px;
        margin-right: 18px;
      }
    }

    /* the badge is the first thing to go when the bar runs out of room; it
       already hid below 1180, now it hides while the bar is still crowded */
    @media (max-width: 1500px) {
      .nav-announce {
        display: none;
      }
    }

    @media (max-width: 980px) {
      .nav-announce {
        display: none;
      }
    }

    .announce-modal {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.55);
      backdrop-filter: blur(6px);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      z-index: 1000;
    }

    .announce-modal.open {
      display: flex;
    }

    .announce-modal-box {
      position: relative;
      width: 100%;
      max-width: 500px;
      max-height: 90vh;
      overflow: auto;
      border-radius: 20px;
      background: #fff;
      box-shadow: 0 24px 80px rgba(15, 23, 42, 0.4);
    }

    .announce-modal-box img {
      display: block;
      width: 100%;
      height: auto;
    }

    .announce-close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 32px;
      height: 32px;
      border: none;
      border-radius: 50%;
      background: rgba(15, 23, 42, 0.65);
      color: #fff;
      font-size: 18px;
      line-height: 1;
      cursor: pointer;
      z-index: 1;
      transition: background 0.15s;
    }

    .announce-close:hover {
      background: rgba(15, 23, 42, 0.9);
    }

    /* ── Video modal ─────────────────────────────────────────── */
    #video-modal {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      z-index: 1100;
      /* layered background: deep navy + purple/teal ambient orbs */
      background:
        radial-gradient(ellipse 70% 60% at 20% 30%, rgba(109, 95, 209, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 55% 50% at 80% 70%, rgba(13, 148, 136, 0.14) 0%, transparent 60%),
        rgba(4, 8, 20, 0.88);
      backdrop-filter: blur(18px) saturate(1.4);
      -webkit-backdrop-filter: blur(18px) saturate(1.4);
      /* smooth fade-in/out via opacity + pointer-events */
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s ease;
    }

    #video-modal.open {
      opacity: 1;
      pointer-events: auto;
    }

    #video-modal-box {
      position: relative;
      width: 100%;
      max-width: 900px;
      border-radius: 20px;
      overflow: hidden;
      background: linear-gradient(160deg, #111827 0%, #0a0f1e 100%);
      box-shadow:
        0 0 0 1px rgba(109, 95, 209, 0.25),
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 40px 100px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
      transform: scale(0.94) translateY(22px);
      transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
      opacity: 0;
    }

    #video-modal.open #video-modal-box {
      transform: scale(1) translateY(0);
      opacity: 1;
    }

    #video-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 15px 20px 14px;
      background: linear-gradient(90deg, rgba(109,95,209,0.12), rgba(13,148,136,0.08));
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    #video-modal-title-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    #video-modal-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #6d5fd1;
      box-shadow: 0 0 8px rgba(109,95,209,0.7);
      flex-shrink: 0;
    }

    #video-modal-title {
      font-size: 13px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.82);
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    #video-modal-close {
      width: 32px;
      height: 32px;
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.06);
      color: rgba(255,255,255,0.7);
      font-size: 16px;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #video-modal-close:hover {
      background: rgba(255, 255, 255, 0.14);
      border-color: rgba(255,255,255,0.25);
      color: #fff;
    }

    #video-modal-video {
      display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: #000;
      outline: none;
    }

    /* ── SPLIT HERO (text left, evidence right) ── */
    .hero-grid2 {
      display: grid;
      grid-template-columns: 1fr 1.35fr;
      gap: 40px;
      align-items: stretch;
      text-align: left;
      padding: 14px 0 10px;
    }

    .hero-l {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      /* 0 like .hero-r, so the eyebrow and the board share a top edge */
      padding-top: 0;
    }

    .hero-l h1 {
      text-align: left;
      margin-left: 0;
      margin-right: 0;
      font-size: clamp(34px, 3.7vw, 56px);
      line-height: 1.06;
      max-width: none;
      margin-bottom: 26px;
    }

    /* ── HOW TOMOSU WORKS stepper ── */
    .how-works {
      display: flex;
      flex-direction: column;
      max-width: 580px;
      text-align: left;
    }

    .how-works .lede-card-head {
      margin-bottom: 18px;
      font-size: 12px;
    }

    .hw-flow {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .hw-stage {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .hw-num {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--accent-bg);
      border: 1px solid rgba(109, 95, 209, 0.35);
      color: var(--accent);
      font-family: 'Space Grotesk', var(--sans);
      font-size: 15px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .hw-arrow {
      font-size: 22px;
      color: var(--accent);
      line-height: 1;
      margin-top: 8px;
      flex-shrink: 0;
    }

    .hw-title {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 13px;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      line-height: 1.35;
    }

    .hw-stage p {
      margin: 0;
      font-size: 14.5px;
      line-height: 1.5;
      color: var(--text-soft);
    }

    .outcome-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 11px;
      max-width: 580px;
      width: 100%;
      margin-top: 22px;
      padding-top: 16px;
      border-top: 1px solid var(--border);
      font-size: 13px;
      font-weight: 400;
      color: var(--muted);
    }

    .outcome-dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }

    /* ── Hero repo-scan input ──────────────────────────────────────────────
       The primary interactive element of the hero: paste a public repo, get a
       PRI report. Submitting NAVIGATES to the scanner rather than analyzing in
       place — a scan takes minutes, and a hero that hangs is worse than none. */
    .hero-scan {
      margin-top: 28px;
      max-width: 480px;
    }

    .hero-scan-wrap {
      display: flex;
      align-items: center;
      gap: 6px;
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: 11px;
      padding: 5px 5px 5px 12px;
      transition: border-color .15s ease, box-shadow .15s ease;
    }

    .hero-scan-wrap:focus-within {
      border-color: var(--brand);
      box-shadow: 0 0 0 4px var(--brand-bg);
    }

    .hero-scan-icon {
      display: flex;
      color: var(--dim);
      flex-shrink: 0;
    }

    .hero-scan-wrap input {
      flex: 1;
      min-width: 0;
      border: 0;
      outline: 0;
      background: transparent;
      font-family: var(--sans);
      font-size: 13.5px;
      color: var(--ink);
      padding: 9px 0;
    }

    .hero-scan-wrap input::placeholder {
      color: var(--dim);
    }

    .hero-scan-btn {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: 0;
      cursor: pointer;
      border-radius: 8px;
      background: var(--ink);
      color: #fff;
      font-family: var(--sans);
      font-weight: 600;
      font-size: 12.5px;
      padding: 10px 15px;
      white-space: nowrap;
      transition: background .15s ease;
    }

    .hero-scan-btn:hover {
      background: var(--brand-deep);
    }

    .hero-scan-fine {
      display: flex;
      align-items: center;
      gap: 7px;
      flex-wrap: wrap;
      margin-top: 9px;
      font-size: 11.5px;
      color: var(--dim);
    }

    .hero-scan-fine a {
      color: var(--brand);
      text-decoration: none;
      font-weight: 600;
    }

    .hero-scan-fine a:hover {
      text-decoration: underline;
    }

    .hero-l .hero-cta-bar {
      justify-content: flex-start;
      margin-top: 18px;
      padding-top: 0;
      padding-bottom: 0;
      flex-wrap: nowrap;
      gap: 12px;
    }

    .hero-l .hero-cta-bar .btn-primary,
    .hero-l .hero-cta-bar .btn-secondary {
      font-size: 12.5px;
      padding: 11px 18px;
      white-space: nowrap;
    }

    .btn-free {
      background: #dcfce7;
      border-color: rgba(22, 163, 74, 0.35);
      color: #15803d;
      cursor: pointer;
    }

    .btn-free:hover {
      background: #bbf7d0;
      border-color: var(--good);
    }

    .btn-video {
      border-color: var(--accent);
      color: var(--accent);
    }

    .btn-video:hover {
      border-color: var(--accent);
      background: var(--accent-bg);
    }

    /* keyword emphasis inside lede rows */
    .lede-row p strong {
      color: var(--ink);
      font-weight: 600;
    }

    .pri-evidence-label {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10.5px;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.16em;
      text-align: center;
      margin-bottom: 14px;
    }

    .hero-r {
      padding-top: 0;
      /* board sizes to its own content and centres in the column, rather than
         stretching to the left column's height */
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .hero-r .cp-board {
      flex: 0 1 auto;
      display: flex;
      flex-direction: column;
      /* caps the board on wide screens only — on narrower ones the column is
         already below this, so nothing inside ever reflows */
      max-width: 690px;
      margin-left: auto;
    }

    .hero-r .cp-grid {
      flex: 0 0 auto;
    }

    .hero-r .pri-evidence {
      flex-direction: column;
      gap: 10px;
      margin: 0 auto;
      max-width: 640px;
    }

    .hero-r .pri-shot {
      max-width: none;
    }

    .hero-r .pri-delta {
      flex-direction: row;
      gap: 8px;
    }

    .hero-r .pri-delta-arrow {
      transform: rotate(90deg);
    }

    @media (max-width: 960px) {
      .hero-grid2 {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 28px;
      }

      /* single column: the board goes back to filling its width */
      .hero-r {
        display: block;
      }

      .hero-r .cp-board {
        max-width: none;
        margin-left: 0;
        width: 100%;
      }

      .cp-note {
        max-width: none;
        margin-left: 0;
      }

      .hero-r .pri-shot {
        max-width: 560px;
      }
    }

    /* ── LEDE GROUPS (left column) ── */
    .lede-groups {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin: 22px 0 26px;
      max-width: 580px;
      text-align: left;
    }

    .lede-group {
      display: flex;
      flex-direction: column;
      gap: 11px;
    }

    .lede-card-head {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10.5px;
      font-weight: 700;
      color: var(--dim);
      text-transform: uppercase;
      letter-spacing: 0.16em;
    }

    .lede-row {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .lede-row p {
      margin: 0;
      font-size: 14.5px;
      line-height: 1.55;
      color: var(--text-soft);
    }

    .lede-phase {
      display: block;
      font-family: 'Space Grotesk', var(--sans);
      font-size: 9.5px;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.14em;
      margin-bottom: 3px;
    }

    .lede-badge {
      flex-shrink: 0;
      width: 32px;
      height: 32px;
      border-radius: 10px;
      background: var(--accent-bg);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      line-height: 1;
    }


    @media (max-width: 680px) {
      .lede-split {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 20px;
        margin: 16px auto 24px;
      }

      .lede-split::before,
      .lede-split::after {
        display: none;
      }

      .lede-split .lede-col {
        padding: 0;
      }
    }

    /* ── CATEGORY MARQUEE (hero) ── */
    .cat-marquee-wrap {
      max-width: 880px;
      margin: 34px auto 8px;
      width: 100%;
    }

    .cat-marquee-label {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10.5px;
      font-weight: 700;
      color: var(--dim);
      text-transform: uppercase;
      letter-spacing: 0.16em;
      text-align: center;
      margin-bottom: 12px;
    }

    .cat-marquee {
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
      mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    }

    .cat-track {
      display: inline-flex;
      gap: 8px;
      white-space: nowrap;
      width: max-content;
      animation: cat-scroll 42s linear infinite;
      will-change: transform;
    }

    .cat-marquee:hover .cat-track {
      animation-play-state: paused;
    }

    @keyframes cat-scroll {
      from {
        transform: translateX(0);
      }

      to {
        transform: translateX(-50%);
      }
    }

    .cat-pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: 100px;
      padding: 6px 14px;
      font-size: 12.5px;
      font-weight: 500;
      color: var(--text-soft);
      flex-shrink: 0;
      transition: border-color 0.18s, color 0.18s;
    }

    .cat-pill:hover {
      border-color: var(--accent);
      color: var(--ink);
    }

    .cat-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
      animation: pulse 2.4s infinite;
    }

    /* stagger the dot blink so pills twinkle instead of blinking in unison */
    .cat-pill:nth-child(3n) .cat-dot {
      animation-delay: 0.8s;
    }

    .cat-pill:nth-child(3n+1) .cat-dot {
      animation-delay: 1.6s;
    }

    @media (prefers-reduced-motion: reduce) {
      .cat-track {
        animation: none;
      }

      .cat-dot {
        animation: none;
      }
    }

    /* ── PRI BEFORE/AFTER EVIDENCE (hero) ── */
    .pri-evidence {
      display: flex;
      align-items: stretch;
      justify-content: center;
      gap: 18px;
      max-width: none;
      margin: 0 auto 26px;
      width: 100%;
    }

    .pri-shot {
      flex: 1;
      min-width: 0;
      max-width: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin: 0;
    }

    .pri-shot-frame {
      background: #111318;
      border: 1px solid rgba(15, 23, 42, 0.28);
      border-radius: 14px;
      padding: 8px;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 18px 44px rgba(15, 23, 42, 0.14);
      overflow: hidden;
    }

    .pri-shot-after .pri-shot-frame {
      border-color: rgba(34, 197, 94, 0.45);
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 18px 44px rgba(34, 197, 94, 0.16);
    }

    .pri-shot-frame img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 8px;
    }

    .pri-shot-label {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-align: center;
    }

    .pri-shot-label.label-before {
      color: #b45309;
    }

    .pri-shot-label.label-after {
      color: #15803d;
    }

    .pri-delta {
      align-self: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      flex-shrink: 0;
    }

    .pri-delta-badge {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      color: var(--accent);
      background: var(--accent-bg);
      border: 1px solid var(--accent);
      border-radius: 100px;
      padding: 5px 12px;
      white-space: nowrap;
    }

    .pri-delta-arrow {
      font-size: 18px;
      color: var(--accent);
      line-height: 1;
    }

    @media (max-width: 680px) {
      .pri-evidence {
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }

      .pri-shot {
        max-width: 340px;
        width: 100%;
      }

      .pri-delta {
        flex-direction: row;
        gap: 8px;
      }

      .pri-delta-arrow {
        transform: rotate(90deg);
      }
    }

    /* CTA bar pinned at bottom of hero container */
    .hero-cta-bar {
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap;
      padding-top: 10px;
    }

    .hero-cta-bar .btn-primary {
      font-size: 13px;
      padding: 10px 20px;
    }

    .hero-cta-bar .btn-secondary {
      font-size: 13px;
      padding: 9px 18px;
    }

    /* Simulator section below hero */
    .sim-section {
      padding: 60px 0 40px;
    }

    /* Divider label above simulator */
    .sim-divider {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }

    .sim-divider::before,
    .sim-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    .sim-divider-label {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10.5px;
      font-weight: 700;
      color: var(--dim);
      text-transform: uppercase;
      letter-spacing: 0.16em;
      white-space: nowrap;
    }

    /* Full-width simulator below hero text */
    .sim-wrap {
      padding-bottom: 60px;
    }

    /* ── IMPACT WIDGET (hero right) ── */
    .impact-widget {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 20px 56px rgba(15, 23, 42, 0.10);
    }

    .iw-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 13px 18px;
      border-bottom: 1px solid var(--border);
      background: var(--bg);
    }

    .iw-header-label {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.18em;
      color: var(--muted);
      text-transform: uppercase;
    }

    .iw-live-badge {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 10px;
      font-weight: 600;
      color: var(--good);
    }

    .iw-live-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--good);
      animation: pulse 2s infinite;
    }

    .iw-body {
      padding: 16px 18px 18px;
    }

    .iw-cockpit {
      display: grid;
      grid-template-columns: 120px 1fr;
      gap: 16px;
      align-items: center;
      margin-bottom: 14px;
    }

    .iw-ring-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .iw-ring {
      position: relative;
      width: 112px;
      height: 112px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .iw-ring svg {
      position: absolute;
      top: 0;
      left: 0;
      width: 112px;
      height: 112px;
      transform: rotate(-90deg);
    }

    .iw-ring circle {
      fill: none;
      stroke-width: 7;
      stroke-linecap: round;
    }

    .iw-ring .iw-ring-bg {
      stroke: rgba(0, 0, 0, 0.07);
    }

    .iw-ring .iw-ring-progress {
      stroke: var(--accent);
      stroke-dasharray: 314;
      stroke-dashoffset: 314;
      transition: stroke-dashoffset 0.65s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.4s ease;
      filter: drop-shadow(0 0 5px var(--accent));
    }

    .iw-ring-inner {
      position: relative;
      z-index: 1;
      text-align: center;
    }

    .iw-ring-value {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 34px;
      font-weight: 700;
      color: var(--ink);
      letter-spacing: -0.04em;
      display: block;
      line-height: 1;
    }

    .iw-ring-sub {
      font-size: 9.5px;
      font-weight: 600;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-top: 6px;
      text-align: center;
    }

    .iw-subs {
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .iw-sub-row {
      display: grid;
      grid-template-columns: 26px 1fr 26px;
      align-items: center;
      gap: 7px;
    }

    .iw-sub-abbr {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 9px;
      font-weight: 700;
      color: var(--accent);
      background: rgba(109, 95, 209, 0.1);
      padding: 2px 4px;
      border-radius: 3px;
      text-align: center;
    }

    .iw-sub-bar-bg {
      height: 4px;
      background: rgba(0, 0, 0, 0.08);
      border-radius: 10px;
      overflow: hidden;
    }

    .iw-sub-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--accent), var(--brand));
      border-radius: 10px;
      width: 0%;
      transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .iw-sub-val {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10px;
      font-weight: 700;
      color: var(--ink);
      text-align: right;
    }

    .iw-snaps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      margin: 4px 0 14px;
    }

    .iw-snap {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--muted);
      font-family: 'Space Grotesk', var(--sans);
      font-size: 11px;
      font-weight: 600;
      padding: 7px 0;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .iw-snap:hover {
      border-color: var(--dim);
      color: var(--ink);
    }

    .iw-snap.active {
      background: var(--ink);
      border-color: var(--ink);
      color: #fff;
    }

    .iw-metrics {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      border-top: 1px solid var(--border);
      padding-top: 14px;
    }

    .iw-metric {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 10px 12px;
    }

    .iw-metric-label {
      font-size: 9.5px;
      font-weight: 600;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 4px;
    }

    .iw-metric-val {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 22px;
      font-weight: 700;
      color: var(--ink);
      letter-spacing: -0.03em;
      line-height: 1;
    }

    .iw-metric-unit {
      font-size: 10px;
      color: var(--muted);
      font-weight: 500;
    }

    .iw-metric-delta {
      font-size: 10px;
      font-weight: 600;
      margin-top: 5px;
      color: var(--muted);
    }

    @media (max-width: 940px) {
      .hero {
        min-height: 100svh;
      }

      .hero>.container {
        padding-top: 32px;
        padding-bottom: 36px;
      }

      .hero-intro {
        font-size: 14.5px;
      }

      .sim-section {
        display: none;
      }
    }

    /* ══ HERO v2 — left copy ══ */
    .hero-eyebrow {
      display: inline-block;
      font-family: 'Space Grotesk', var(--sans);
      font-size: 12px;
      font-weight: 700;
      color: var(--accent-deep);
      text-transform: uppercase;
      letter-spacing: 0.13em;
      line-height: 1.4;
      margin-bottom: 22px;
      background: var(--accent-bg);
      border: 1px solid rgba(109, 95, 209, 0.3);
      border-radius: 100px;
      padding: 8px 17px;
    }

    .hero-l .hero-lede {
      font-size: 17px;
      line-height: 1.62;
      color: var(--text-soft);
      max-width: 540px;
      margin: 0;
      /* even line lengths, and no one-word last line */
      text-wrap: balance;
    }

    /* keep hyphenated product terms from splitting across lines */
    .nb {
      white-space: nowrap;
    }

    /* ══ HERO CLAIM — the promise, sitting right before the CTAs ══ */
    .hero-claim {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      width: 100%;
      max-width: 540px;
      margin-top: 22px;
      padding: 13px 16px;
      background: var(--brand-bg);
      border: 1px solid rgba(22, 163, 74, 0.22);
      border-radius: 12px;
      font-size: 14.5px;
      font-weight: 600;
      line-height: 1.5;
      color: var(--ink);
      text-align: center;
    }

    .hero-claim .claim-l2 {
      font-size: 14px;
    }

    .hero-claim .claim-l1 {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* hold the promise to exactly two lines on desktop */
    .hero-claim .claim-l2 {
      white-space: nowrap;
    }

    .hero-claim svg {
      color: var(--good);
      flex-shrink: 0;
    }

    .hero-claim .claim-seal {
      color: var(--good);
      font-weight: 700;
    }

    @media (max-width: 700px) {
      .hero-claim {
        font-size: 13.5px;
        padding: 12px 14px;
      }

      /* below this the second line cannot hold; let it wrap rather than clip */
      .hero-claim .claim-l2 {
        white-space: normal;
      }
    }

    .hero-footnote {
      display: flex;
      align-items: center;
      gap: 11px;
      /* pins to the column bottom so it aligns with the board's bottom edge */
      margin-top: auto;
      padding-top: 22px;
      font-size: 14.5px;
      color: var(--text-soft);
    }

    .hero-footnote svg {
      color: var(--accent);
      flex-shrink: 0;
    }

    /* ══ CONTROL PLANE BOARD (hero right) ══ */
    .cp-board {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: 11px 13px 11px;
      box-shadow:
        0 1px 2px rgba(10, 10, 20, 0.05),
        0 8px 20px -8px rgba(10, 10, 20, 0.12),
        0 30px 64px -22px rgba(10, 10, 20, 0.30),
        0 46px 104px -32px rgba(79, 70, 229, 0.42);
      text-align: left;
    }

    .cp-head {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-bottom: 7px;
      border-bottom: 1px solid var(--border-soft);
      margin-bottom: 10px;
    }

    .cp-head img {
      height: 34px;
      width: auto;
      mix-blend-mode: multiply;
      filter: contrast(1.4) saturate(0.4);
    }

    .cp-head-name {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 19px;
      font-weight: 700;
      color: var(--ink);
      letter-spacing: -0.02em;
    }

    .cp-head-rule {
      width: 1px;
      height: 18px;
      background: var(--border);
    }

    .cp-head-sub {
      font-size: 14px;
      color: var(--muted);
    }

    .cp-grid {
      position: relative;
      display: grid;
      grid-template-columns: 1fr 0.94fr 1fr;
      gap: 10px 16px;
      align-items: center;
    }

    .cp-card {
      position: relative;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 10px 14px 9px;
    }

    .cp-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 27px;
      height: 22px;
      padding: 0 6px;
      border-radius: 7px;
      background: var(--accent);
      color: #fff;
      font-family: 'Space Grotesk', var(--sans);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .cp-body {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 9px;
    }

    .cp-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: var(--accent-bg);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .cp-stage {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 11px;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.11em;
      line-height: 1.3;
      white-space: nowrap;
    }

    .cp-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--ink);
      line-height: 1.35;
      margin-top: 2px;
      white-space: nowrap;
    }

    .cp-foot {
      display: flex;
      align-items: center;
      gap: 7px;
      margin-top: 10px;
      padding-top: 9px;
      border-top: 1px solid var(--border-soft);
      font-size: 11px;
      color: var(--muted);
      white-space: nowrap;
    }

    .cp-foot svg {
      color: var(--dim);
      flex-shrink: 0;
    }

    /* PRI ring */
    .cp-ring-wrap {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      aspect-ratio: 1;
      width: 100%;
      max-width: 180px;
      justify-self: center;
      padding: 10px;
    }

    .cp-ring-dash {
      display: block;
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 1px dashed var(--border);
    }

    .cp-ring {
      display: block;
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: conic-gradient(from 0deg,
          #a99df0 0deg,
          #6d5fd1 60deg,
          #4f46e5 105deg,
          #3aa87d 175deg,
          #16a34a 258deg,
          rgba(255, 255, 255, 0) 258deg);
      -webkit-mask: radial-gradient(farthest-side, transparent 0 80%, #000 81%);
      mask: radial-gradient(farthest-side, transparent 0 80%, #000 81%);
    }

    .cp-ring-inner {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1px;
    }

    .cp-ring-label {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 13px;
      font-weight: 600;
      color: var(--text-soft);
      letter-spacing: 0.04em;
    }

    .cp-ring-score {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 38px;
      font-weight: 700;
      color: var(--ink);
      line-height: 1;
      letter-spacing: -0.03em;
    }

    .cp-ring-state {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10.5px;
      font-weight: 700;
      color: var(--good);
      text-transform: uppercase;
      letter-spacing: 0.13em;
      margin-top: 3px;
    }

    .cp-tick {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--good);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 5px;
    }

    /* agents card */
    .cp-agents-head {
      display: flex;
      align-items: center;
      gap: 9px;
      font-size: 14px;
      font-weight: 600;
      color: var(--ink);
    }

    .cp-agents-head svg {
      color: var(--accent);
      flex-shrink: 0;
    }

    .cp-agents {
      list-style: none;
      margin: 10px 0 0;
      padding: 0 0 0 4px;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .cp-agents li {
      display: flex;
      align-items: flex-start;
      gap: 9px;
      font-size: 13px;
      line-height: 1.4;
      color: var(--text-soft);
    }

    .cp-agents li::before {
      content: '';
      width: 5px;
      height: 5px;
      margin-top: 6px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }

    /* resolution card */
    .cp-res-head {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12.5px;
      font-weight: 600;
      color: var(--ink);
      line-height: 1.3;
      white-space: nowrap;
    }

    .cp-res-tick {
      width: 21px;
      height: 21px;
      border-radius: 50%;
      background: var(--good);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .cp-res-good {
      margin-top: 7px;
      font-size: 12px;
      font-weight: 600;
      color: var(--good);
      white-space: nowrap;
    }

    /* connectors */
    .cp-conn-r::after,
    .cp-conn-l::after,
    .cp-conn-up::after {
      content: '';
      position: absolute;
      background: rgba(109, 95, 209, 0.4);
    }

    .cp-conn-r::after {
      right: -26px;
      top: 50%;
      width: 26px;
      height: 1px;
    }

    .cp-conn-l::after {
      left: -26px;
      top: 50%;
      width: 26px;
      height: 1px;
    }

    .cp-conn-up::after {
      left: 50%;
      top: -22px;
      width: 1px;
      height: 22px;
    }

    .cp-conn-r::before,
    .cp-conn-l::before,
    .cp-conn-up::before {
      content: '';
      position: absolute;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #fff;
      border: 1.5px solid var(--accent);
      z-index: 2;
    }

    .cp-conn-r::before {
      right: -17px;
      top: 50%;
      margin-top: -4.5px;
    }

    .cp-conn-l::before {
      left: -17px;
      top: 50%;
      margin-top: -4.5px;
    }

    .cp-conn-up::before {
      left: 50%;
      top: -16px;
      margin-left: -4.5px;
      background: var(--accent);
    }

    /* incoming connector on the outcome card, with a filled green source dot */
    .cp-conn-in-l::after {
      content: '';
      position: absolute;
      left: -26px;
      top: 50%;
      width: 26px;
      height: 1px;
      background: rgba(109, 95, 209, 0.4);
    }

    .cp-conn-in-l::before {
      content: '';
      position: absolute;
      left: -25px;
      top: 50%;
      margin-top: -4.5px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--good);
      z-index: 2;
    }

    .cp-loop {
      grid-column: 1 / -1;
      position: relative;
      /* tall enough to contain the absolutely-positioned label below the rail */
      height: 38px;
      margin-top: 0;
    }

    .cp-loop::before {
      content: '';
      position: absolute;
      left: 8%;
      right: 8%;
      top: 0;
      height: 18px;
      border: 1px solid rgba(109, 95, 209, 0.4);
      border-top: 0;
      border-radius: 0 0 16px 16px;
    }

    .cp-loop span {
      position: absolute;
      left: 50%;
      /* clears the 18px rail, stays inside the 38px box */
      top: 20px;
      transform: translateX(-50%);
      padding: 0 12px;
      font-size: 11.5px;
      font-weight: 500;
      color: var(--accent);
      white-space: nowrap;
    }

    /* ══ VALUE STRIP under hero ══ */
    .value-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      margin-top: 34px;
      padding-top: 30px;
      border-top: 1px solid var(--border);
      text-align: left;
    }

    .value-item {
      display: flex;
      align-items: flex-start;
      gap: 15px;
      padding: 0 28px;
      border-right: 1px solid var(--border);
    }

    .value-item:first-child {
      padding-left: 0;
    }

    .value-item:last-child {
      border-right: 0;
      padding-right: 0;
    }

    .value-ico {
      width: 46px;
      height: 46px;
      border-radius: 12px;
      background: var(--accent-bg);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .value-item h4 {
      font-size: 17px;
      font-weight: 600;
      color: var(--ink);
      line-height: 1.3;
      margin-bottom: 5px;
    }

    .value-item p {
      font-size: 14px;
      line-height: 1.5;
      color: var(--muted);
      margin: 0;
    }

    /* ══ CONTROL PLANE — continuous loop motion ══ */
    /* One 12s cycle walks the four stages, so the board always reads as "running". */
    @keyframes cp-beat {

      0%,
      26%,
      100% {
        border-color: var(--border);
        box-shadow: none;
      }

      4%,
      20% {
        border-color: rgba(109, 95, 209, 0.55);
        box-shadow: 0 0 0 3px rgba(109, 95, 209, 0.09);
      }
    }

    @keyframes cp-beat-num {

      0%,
      26%,
      100% {
        transform: scale(1);
        box-shadow: none;
      }

      4%,
      20% {
        transform: scale(1.08);
        box-shadow: 0 0 0 4px rgba(109, 95, 209, 0.16);
      }
    }

    @keyframes cp-spin {
      to {
        transform: rotate(360deg);
      }
    }

    @keyframes cp-ping {
      0% {
        transform: scale(0.94);
        opacity: 0.5;
      }

      70%,
      100% {
        transform: scale(1.14);
        opacity: 0;
      }
    }

    .cp-beat-1,
    .cp-beat-2,
    .cp-beat-3,
    .cp-beat-4 {
      animation: cp-beat 12s ease-in-out infinite;
    }

    .cp-beat-2 {
      animation-delay: 3s;
    }

    .cp-beat-3 {
      animation-delay: 6s;
    }

    .cp-beat-4 {
      animation-delay: 9s;
    }

    .cp-beat-1 .cp-num,
    .cp-beat-2 .cp-num,
    .cp-beat-3 .cp-num {
      animation: cp-beat-num 12s ease-in-out infinite;
    }

    .cp-beat-2 .cp-num {
      animation-delay: 3s;
    }

    .cp-beat-3 .cp-num {
      animation-delay: 6s;
    }

    /* dashed collar slowly sweeps, like a scan in progress */
    .cp-ring-dash {
      animation: cp-spin 26s linear infinite;
    }

    /* radar ping behind the score */
    .cp-ring-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 1px solid rgba(109, 95, 209, 0.5);
      animation: cp-ping 3.6s ease-out infinite;
      pointer-events: none;
    }

    /* pulse the feedback node that closes the loop */
    .cp-conn-up::before {
      animation: cp-beat-num 12s ease-in-out infinite;
      animation-delay: 6s;
    }

    .cp-loop span {
      z-index: 2;
    }

    @media (prefers-reduced-motion: reduce) {

      .cp-beat-1,
      .cp-beat-2,
      .cp-beat-3,
      .cp-beat-4,
      .cp-beat-1 .cp-num,
      .cp-beat-2 .cp-num,
      .cp-beat-3 .cp-num,
      .cp-ring-dash,
      .cp-ring-wrap::after,
      .cp-conn-up::before {
        animation: none;
      }

      .cp-ring-wrap::after {
        display: none;
      }
    }


    /* ══ DIMENSIONS BAND (marquee + market signals, moved out of hero) ══ */
    .dimensions-band {
      text-align: center;
      padding: 64px 0 56px;
    }

    .dimensions-band .cat-marquee-wrap {
      margin-top: 0;
    }

    .dimensions-band .hero-chips {
      margin-top: 26px;
    }

    @media (max-width: 1100px) {
      .cp-ring-score {
        font-size: 38px;
      }

      .cp-grid {
        gap: 18px 26px;
      }

      .cp-conn-r::after,
      .cp-conn-l::after,
      .cp-conn-r::before,
      .cp-conn-l::before,
      .cp-conn-in-l::after,
      .cp-conn-in-l::before {
        display: none;
      }
    }

    @media (max-width: 960px) {
      .cp-grid {
        grid-template-columns: 1fr 1fr;
      }

      .cp-ring-wrap {
        grid-column: 1 / -1;
        order: -1;
        max-width: 200px;
      }

      .cp-conn-up::after,
      .cp-conn-up::before {
        display: none;
      }

      .value-strip {
        grid-template-columns: 1fr;
        gap: 22px;
      }

      .value-item {
        padding: 0;
        border-right: 0;
      }
    }

    @media (max-width: 620px) {
      .cp-board {
        padding: 16px 14px 14px;
      }

      .cp-grid {
        grid-template-columns: 1fr;
      }

      .cp-loop {
        display: none;
      }

      .hero-eyebrow {
        font-size: 11px;
        margin-bottom: 16px;
      }
    }

    /* ── Hero CTA: one primary action + quiet alternates ── */
    .hero-cta-quiet {
      display: inline-flex;
      align-items: center;
      align-self: center;
      font-size: 13.5px;
      font-weight: 500;
      color: var(--text-soft);
      text-decoration: none;
      border-bottom: 1px solid var(--border);
      padding-bottom: 2px;
      white-space: nowrap;
      transition: color .15s ease, border-color .15s ease;
    }

    .hero-cta-quiet:hover {
      color: var(--ink);
      border-color: var(--dim);
    }

    .hero-cta-sub {
      margin-top: 14px;
      font-size: 13px;
      color: var(--muted);
    }

    .hero-cta-sub a {
      color: var(--accent-deep);
      font-weight: 600;
      text-decoration: none;
    }

    .hero-cta-sub a:hover {
      text-decoration: underline;
    }

    /* ── Product demo strip inside the control plane board ── */
    .cp-demo {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 10px;
      padding: 9px 12px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 14px;
      text-decoration: none;
      cursor: pointer;
      transition: background .15s ease, border-color .15s ease;
    }

    .cp-demo:hover {
      background: var(--bg-tint);
      border-color: var(--accent);
    }

    .cp-demo-play {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: var(--ink);
      color: #fff;
      display: grid;
      place-items: center;
      flex: none;
    }

    .cp-demo-txt {
      min-width: 0;
    }

    .cp-demo-txt b {
      display: block;
      font-size: 13.5px;
      font-weight: 700;
      color: var(--ink);
      line-height: 1.3;
    }

    .cp-demo-txt span {
      display: block;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.35;
    }

    @media (max-width: 560px) {
      .cp-demo-txt b { font-size: 12.5px; }
      .cp-demo-txt span { font-size: 11.5px; }
    }
  

/* ── TCO / ROI calculator ── */

    #tco-modal-overlay input[type="range"] {
      -webkit-appearance: none;
      appearance: none;
      height: 4px;
      border-radius: 2px;
      background: var(--border);
      accent-color: var(--brand);
      outline: none;
    }

    #tco-modal-overlay input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--brand);
      cursor: pointer;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    }

    #tco-modal-overlay input[type="range"]::-moz-range-thumb {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--brand);
      cursor: pointer;
      border: none;
    }

    #tco-modal-overlay .tco-num {
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 6px 10px;
      font-size: 13px;
      font-family: 'Space Grotesk', var(--sans);
      font-weight: 600;
      color: var(--ink);
      text-align: right;
      outline: none;
      background: #fff;
      transition: border-color 0.15s;
    }

    #tco-modal-overlay .tco-num:focus {
      border-color: var(--brand);
    }

    #tco-modal-overlay .tco-card {
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 18px 20px;
    }

    #tco-modal-overlay .tco-result {
      background: var(--bg-soft);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    #tco-modal-overlay .tco-result.tco-without {
      border-left: 3px solid var(--danger);
    }

    #tco-modal-overlay .tco-result.tco-savings {
      border-left: 3px solid var(--brand);
    }

    #tco-modal-overlay .tco-result.tco-projected {
      border-left: 3px solid var(--accent);
    }

    #tco-modal-overlay .tco-eyebrow {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-family: 'Space Grotesk', var(--sans);
    }

    #tco-modal-overlay .tco-amount {
      font-size: 18px;
      font-weight: 700;
      font-family: 'Space Grotesk', var(--sans);
      letter-spacing: -0.02em;
      white-space: nowrap;
    }

    #tco-modal-overlay .tco-body {
      max-height: calc(100vh - 32px);
      overflow: hidden;
    }

    @media (max-height: 760px) {
      #tco-modal-overlay .tco-amount {
        font-size: 16px;
      }

      #tco-modal-overlay .tco-result {
        padding: 8px 12px;
      }
    }

    @media (max-width: 880px) {
      #tco-modal-overlay .tco-grid {
        grid-template-columns: 1fr !important;
      }

      #tco-modal-overlay .tco-body {
        max-height: 100vh;
        overflow-y: auto;
      }
    }
  


/* ── SPOKE CARDS (links to the pages this content moved to) ── */
.spoke-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.spoke-card {
  display: block;
  padding: 26px 24px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.spoke-card:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
  transform: translateY(-2px);
}

.spoke-card .spoke-eyebrow {
  font-family: 'Space Grotesk', var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.spoke-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 10px 0 9px;
}

.spoke-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
}

.spoke-card .spoke-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-deep);
}

@media (max-width: 980px) {
  .spoke-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .spoke-grid { grid-template-columns: 1fr; }
}

    /* ── caption under the control plane board ── */
    .cp-note {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      max-width: 690px;
      margin: 14px 0 0 auto;
      font-size: 13px;
      color: var(--muted);
    }

    .cp-note svg {
      color: var(--accent);
      flex-shrink: 0;
    }

    /* ── PROOF BLOCK (PRI before/after + outcome tiles) ── */
    .proof-head {
      margin-bottom: 30px;
      text-align: left;
    }

    .proof-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 26px;
      align-items: start;
    }

    .pri-ba {
      text-align: left;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 26px 26px 30px;
    }

    .proof-eyebrow {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .ba-row {
      display: flex;
      align-items: center;
      gap: 18px;
      margin-top: 20px;
    }

    .ba-box {
      flex: 1;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 18px 14px;
      text-align: center;
    }

    .ba-num {
      font-family: var(--serif);
      font-size: 40px;
      line-height: 1;
    }

    .ba-state {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-top: 8px;
    }

    .ba-before .ba-num,
    .ba-before .ba-state {
      color: var(--danger);
    }

    .ba-after .ba-num {
      color: var(--brand);
    }

    .ba-after .ba-state {
      color: var(--brand-deep);
    }

    .ba-arrow {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 13px;
      font-weight: 700;
      color: var(--brand);
      white-space: nowrap;
    }

    .proof-fine {
      text-align: left;
      margin-top: 18px;
      font-size: 12.5px;
      color: var(--muted);
    }

    .proof-fine a {
      color: var(--accent-deep);
      font-weight: 600;
      text-decoration: none;
    }

    .proof-fine a:hover {
      text-decoration: underline;
    }

    .proof-tiles {
      display: grid;
      gap: 14px;
    }

    .proof-tile {
      text-align: left;
      display: flex;
      align-items: baseline;
      gap: 14px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 18px 20px;
    }

    .proof-tile-num {
      font-family: var(--serif);
      font-size: 30px;
      line-height: 1;
      color: var(--brand-deep);
      flex-shrink: 0;
    }

    .proof-tile-label {
      font-size: 14.5px;
      color: var(--text-soft);
    }

    .proof-tiles .proof-fine {
      margin-top: 0;
    }

    @media (max-width: 900px) {
      .proof-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 560px) {
      .ba-row {
        gap: 12px;
      }

      .ba-num {
        font-size: 32px;
      }

      .ba-arrow {
        font-size: 11.5px;
      }
    }

    /* ── NVIDIA Inception badge: moved out of the nav, sits with the hero
       eyebrow where it can never crowd the logo (and now shows at every
       width, including mobile) ── */
    .hero-eyebrow-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 22px;
    }

    .hero-eyebrow-row .hero-eyebrow {
      margin-bottom: 0;
    }

    .announce-btn.hero-announce {
      font-size: 11.5px;
      padding: 7px 14px;
    }

    @media (max-width: 560px) {
      .announce-btn.hero-announce {
        font-size: 11px;
        padding: 6px 12px;
      }
    }

    /* ── nav density between the mobile drawer (<=980px) and full width ── */
    @media (max-width: 1300px) {
      .nav-links {
        gap: 11px;
        margin-right: 11px;
      }

      .nav-link {
        font-size: 11.5px;
      }

      .nav-link-gov,
      .nav-link-scan,
      .nav-link-tco {
        padding: 5px 8px;
        font-size: 11.5px;
      }

      .nav-cta {
        font-size: 11.5px;
        padding: 7px 12px;
      }

      .nav-tagline {
        display: none;
      }
    }

    /* ══ DOCUMENTATION PAGES (/mcp) ══ */
    .doc-container {
      max-width: 960px;
    }

    .doc-hero {
      padding: 64px 0 40px;
      border-bottom: 1px solid var(--border-soft);
      background:
        radial-gradient(52% 60% at 78% 10%, rgba(109, 95, 209, 0.10), transparent 70%),
        radial-gradient(48% 56% at 12% 0%, rgba(79, 70, 229, 0.06), transparent 72%);
    }

    .doc-h1 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(32px, 4.2vw, 46px);
      line-height: 1.1;
      letter-spacing: -0.015em;
      color: var(--ink);
      margin: 14px 0 18px;
      max-width: 820px;
    }

    .doc-lede {
      font-size: 17px;
      line-height: 1.65;
      color: var(--text-soft);
      max-width: 760px;
    }

    .doc-facts {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      margin-top: 30px;
      border: 1px solid var(--border);
      border-radius: 14px;
      background: #fff;
      overflow: hidden;
    }

    .doc-fact {
      padding: 14px 18px;
      border-right: 1px solid var(--border);
    }

    .doc-fact:last-child {
      border-right: 0;
    }

    .doc-fact-k {
      display: block;
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .doc-fact-v {
      display: block;
      margin-top: 5px;
      font-size: 13px;
      font-weight: 600;
      color: var(--ink);
      word-break: break-word;
    }

    /* sticky section index */
    .doc-toc-wrap {
      position: sticky;
      top: 68px;
      z-index: 20;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: saturate(180%) blur(12px);
      border-bottom: 1px solid var(--border-soft);
    }

    .doc-toc {
      display: flex;
      gap: 22px;
      overflow-x: auto;
      padding: 12px 0;
      scrollbar-width: none;
    }

    .doc-toc::-webkit-scrollbar {
      display: none;
    }

    .doc-toc a {
      font-size: 12.5px;
      font-weight: 500;
      color: var(--muted);
      text-decoration: none;
      white-space: nowrap;
    }

    .doc-toc a:hover {
      color: var(--accent-deep);
    }

    .doc-section {
      padding: 54px 0;
      border-bottom: 1px solid var(--border-soft);
      scroll-margin-top: 130px;
    }

    .doc-h2 {
      font-size: clamp(26px, 3vw, 33px);
      margin: 10px 0 22px;
    }

    .doc-h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 22px;
      color: var(--ink);
      margin: 34px 0 12px;
    }

    .doc-p {
      font-size: 15.5px;
      line-height: 1.7;
      color: var(--text-soft);
      max-width: 780px;
      margin-bottom: 14px;
    }

    .doc-p code,
    .doc-step p code,
    .doc-table code,
    .doc-returns code,
    .doc-faq p code,
    .doc-note code {
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-size: 0.88em;
      background: var(--accent-bg);
      color: var(--accent-deep);
      padding: 2px 6px;
      border-radius: 5px;
      white-space: nowrap;
    }

    .doc-code {
      background: #0f1017;
      border-radius: 12px;
      padding: 16px 18px;
      overflow-x: auto;
      margin: 14px 0 18px;
      position: relative;
    }

    .doc-code code {
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-size: 13px;
      line-height: 1.65;
      color: #e6e6f0;
      white-space: pre;
    }

    .doc-code[data-lang]::after {
      content: attr(data-lang);
      position: absolute;
      top: 10px;
      right: 14px;
      font-family: 'Space Grotesk', var(--sans);
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #6b6b7d;
    }

    .doc-note {
      border-left: 3px solid var(--accent);
      background: var(--accent-bg);
      border-radius: 0 12px 12px 0;
      padding: 14px 18px;
      margin: 20px 0;
      font-size: 14.5px;
      line-height: 1.65;
      color: var(--text-soft);
      max-width: 800px;
    }

    /* numbered walkthrough */
    .doc-steps {
      margin-top: 8px;
    }

    .doc-step {
      display: grid;
      grid-template-columns: 54px 1fr;
      gap: 18px;
      padding: 24px 0;
      border-top: 1px solid var(--border-soft);
    }

    .doc-step-n {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 13px;
      font-weight: 700;
      color: var(--accent-deep);
      background: var(--accent-bg);
      border-radius: 10px;
      height: 34px;
      display: grid;
      place-items: center;
    }

    .doc-step h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 21px;
      color: var(--ink);
      margin-bottom: 8px;
    }

    .doc-step p {
      font-size: 15px;
      line-height: 1.7;
      color: var(--text-soft);
      max-width: 740px;
    }

    /* tool reference */
    .doc-tool {
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 24px 26px;
      margin-bottom: 18px;
      background: #fff;
    }

    .doc-tool-name {
      margin-bottom: 4px;
    }

    .doc-tool-name code {
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-size: 17px;
      font-weight: 700;
      color: var(--ink);
    }

    .doc-tool-sub {
      font-size: 14.5px;
      color: var(--muted);
      margin-bottom: 16px;
    }

    .doc-noparams {
      font-style: italic;
      margin-bottom: 12px;
    }

    .doc-returns {
      font-size: 14.5px;
      line-height: 1.65;
      color: var(--text-soft);
      border-top: 1px solid var(--border-soft);
      padding-top: 14px;
      margin-top: 4px;
    }

    .doc-returns span {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--brand-deep);
      margin-right: 8px;
    }

    /* tables */
    .doc-table-wrap {
      overflow-x: auto;
      border: 1px solid var(--border);
      border-radius: 12px;
      margin: 4px 0 16px;
    }

    .doc-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
      min-width: 560px;
    }

    .doc-table th {
      text-align: left;
      font-family: 'Space Grotesk', var(--sans);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
      background: var(--bg-soft);
      padding: 10px 14px;
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
    }

    .doc-table td {
      padding: 11px 14px;
      border-bottom: 1px solid var(--border-soft);
      color: var(--text-soft);
      line-height: 1.55;
      vertical-align: top;
    }

    .doc-table tr:last-child td {
      border-bottom: 0;
    }

    .doc-table .doc-type {
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-size: 12.5px;
      color: var(--muted);
      white-space: nowrap;
    }

    .doc-table-2col {
      min-width: 420px;
    }

    .doc-req,
    .doc-opt {
      font-family: 'Space Grotesk', var(--sans);
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 999px;
      white-space: nowrap;
    }

    .doc-req {
      background: var(--brand-bg);
      color: var(--brand-deep);
    }

    .doc-opt {
      background: var(--bg-soft);
      color: var(--muted);
    }

    /* prompt cards + troubleshooting */
    .doc-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .doc-card {
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 20px;
      background: #fff;
    }

    .doc-card h4 code {
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-size: 14px;
      font-weight: 700;
      color: var(--accent-deep);
    }

    .doc-card p {
      margin-top: 9px;
      font-size: 14px;
      line-height: 1.6;
      color: var(--text-soft);
    }

    .doc-faq-item {
      border-top: 1px solid var(--border-soft);
      padding: 18px 0;
    }

    .doc-faq-item h4 {
      font-size: 15.5px;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 7px;
    }

    .doc-faq-item p {
      font-size: 14.5px;
      line-height: 1.65;
      color: var(--text-soft);
      max-width: 780px;
    }

    @media (max-width: 900px) {
      .doc-facts {
        grid-template-columns: repeat(2, 1fr);
      }

      .doc-fact:nth-child(2) {
        border-right: 0;
      }

      .doc-fact:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
      }

      .doc-cards {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 620px) {
      .doc-facts {
        grid-template-columns: 1fr;
      }

      .doc-fact {
        border-right: 0;
        border-bottom: 1px solid var(--border);
      }

      .doc-step {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .doc-step-n {
        width: 44px;
      }

      .doc-toc-wrap {
        top: 60px;
      }
    }
