/* ghostanalytics marketing surface — shared design tokens + components.
   Extracted from the landing so every marketing page (landing, feature
   pages, use-cases) stays visually identical. Dark-locked, Geist, mint accent. */
      :root {
        color-scheme: dark;
        --void: #0a0c0e;
        --surface: #101317;
        --surface-2: #15191e;
        --ink: #eef2f3;
        --muted: #9aa4a9;
        --faint: #6d777c;
        --line: rgba(233, 238, 240, 0.09);
        --line-strong: rgba(233, 238, 240, 0.16);
        --accent: #46d3c0;
        --accent-ink: #04201c;
        --accent-soft: rgba(70, 211, 192, 0.10);
        --accent-line: rgba(70, 211, 192, 0.34);
        --r: 12px;
        --r-sm: 8px;
        --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
        --wide: "Geist", ui-sans-serif, system-ui, sans-serif;
        --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
      }

      * { box-sizing: border-box; }

      html {
        background: var(--void);
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
      }

      body {
        margin: 0;
        min-height: 100vh;
        overflow-x: hidden;
        color: var(--ink);
        background: var(--void);
        font-family: var(--sans);
        font-size: 16px;
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
      }

      /* single, very subtle ambient glow behind the hero (no mesh, no gradient stack) */
      body::before {
        position: fixed;
        inset: 0;
        z-index: -1;
        content: "";
        pointer-events: none;
        background: radial-gradient(58rem 40rem at 82% -8%, rgba(70, 211, 192, 0.045), transparent 62%);
      }

      a { color: inherit; text-decoration: none; }

      /* preserve the coming-soon site-mode wiring */
      body[data-site-mode="coming-soon"] .site-content { display: none; }
      body[data-site-mode="coming-soon"].site-mode-unlocked .site-content { display: block; }
      body[data-site-mode="coming-soon"].site-mode-unlocked .mode-screen,
      body:not([data-site-mode="coming-soon"]) .mode-screen { display: none; }

      .mode-screen {
        min-height: 100vh;
        display: grid;
        place-items: center;
        padding: clamp(1rem, 4vw, 3rem);
      }
      .mode-card {
        width: min(720px, 100%);
        border: 1px solid var(--line-strong);
        border-radius: var(--r);
        padding: clamp(2rem, 6vw, 3.5rem);
        background: var(--surface);
      }
      .mode-card h1 {
        margin: 0;
        font-family: var(--wide);
        font-size: clamp(2rem, 5vw, 3rem);
        letter-spacing: -0.02em;
      }
      .mode-card p { color: var(--muted); line-height: 1.6; max-width: 46ch; }

      /* layout shell */
      .shell {
        width: min(1180px, calc(100% - 48px));
        margin: 0 auto;
      }
      .shell-narrow {
        width: min(920px, calc(100% - 48px));
        margin: 0 auto;
      }

      /* nav */
      .nav {
        position: sticky;
        top: 0;
        z-index: 30;
        border-bottom: 1px solid var(--line);
        background: rgba(10, 12, 14, 0.72);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
      }
      .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.25rem;
        min-height: 68px;
      }
      .brand {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
      }
      .brand-mark {
        display: grid;
        place-items: center;
        width: 30px;
        height: 30px;
        border: 1px solid var(--accent-line);
        border-radius: var(--r-sm);
        color: var(--accent);
        font-family: var(--wide);
        font-size: 1rem;
        line-height: 1;
      }
      .brand-name {
        font-family: var(--wide);
        font-size: 1.12rem;
        letter-spacing: -0.01em;
      }
      .nav-links {
        display: flex;
        align-items: center;
        gap: 1.6rem;
        margin-left: auto;
        color: var(--muted);
        font-size: 0.9rem;
      }
      .nav-links a { transition: color 0.16s ease; }
      .nav-links a:hover { color: var(--ink); }
      .nav-cta { margin-left: 1.6rem; }

      /* mobile menu - pure-CSS disclosure (details/summary), no JS */
      .nav-menu { display: none; margin-left: auto; position: relative; }
      .nav-menu > summary {
        list-style: none;
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--line-strong);
        border-radius: var(--r-sm);
        cursor: pointer;
      }
      .nav-menu > summary::-webkit-details-marker { display: none; }
      .nav-menu > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
      .burger, .burger::before, .burger::after {
        display: block;
        width: 18px;
        height: 1.5px;
        background: var(--ink);
        transition: transform 0.2s ease, opacity 0.2s ease;
      }
      .burger { position: relative; }
      .burger::before { content: ""; position: absolute; top: -5px; }
      .burger::after { content: ""; position: absolute; top: 5px; }
      .nav-menu[open] .burger { background: transparent; }
      .nav-menu[open] .burger::before { transform: translateY(5px) rotate(45deg); }
      .nav-menu[open] .burger::after { transform: translateY(-5px) rotate(-45deg); }
      .nav-menu-panel {
        position: absolute;
        right: 0;
        top: calc(100% + 12px);
        z-index: 50;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        min-width: 232px;
        padding: 0.6rem;
        background: var(--surface-2);
        border: 1px solid var(--line-strong);
        border-radius: var(--r);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
      }
      .nav-menu-panel a {
        padding: 0.6rem 0.7rem;
        border-radius: var(--r-sm);
        color: var(--muted);
        font-size: 0.95rem;
      }
      .nav-menu-panel a:hover { color: var(--ink); background: var(--surface); }
      .nav-menu-panel .btn { margin-top: 0.35rem; justify-content: center; }

      /* buttons */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 46px;
        padding: 0 1.15rem;
        border: 1px solid var(--line-strong);
        border-radius: var(--r-sm);
        color: var(--ink);
        font-family: var(--sans);
        font-size: 0.92rem;
        letter-spacing: 0.005em;
        white-space: nowrap;
        background: transparent;
        cursor: pointer;
        transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
      }
      .btn.primary {
        border-color: var(--accent);
        color: var(--accent-ink);
        background: var(--accent);
      }
      .btn.primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(70, 211, 192, 0.18);
      }
      .btn.ghost:hover { border-color: var(--accent-line); }
      .btn:active { transform: scale(0.985); }
      .btn.sm { min-height: 40px; padding: 0 0.95rem; font-size: 0.85rem; }

      /* hero */
      .hero {
        display: grid;
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
        align-items: center;
        gap: clamp(2rem, 5vw, 4.5rem);
        padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
      }
      .eyebrow {
        margin: 0 0 1.1rem;
        color: var(--accent);
        font-size: 0.72rem;
        font-weight: 400;
        letter-spacing: 0.18em;
        text-transform: uppercase;
      }
      .hero-title {
        margin: 0;
        font-family: var(--wide);
        font-size: clamp(2.55rem, 5.4vw, 4.3rem);
        font-weight: 400;
        line-height: 1.02;
        letter-spacing: -0.025em;
        color: var(--ink);
      }
      .hero-sub {
        max-width: 46ch;
        margin: 1.5rem 0 0;
        color: var(--muted);
        font-family: var(--sans);
        font-weight: 300;
        font-size: 1.12rem;
        line-height: 1.6;
      }
      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 2.1rem;
      }

      /* hero live panel (real product surface: live count + real chart) */
      .panel {
        border: 1px solid var(--line-strong);
        border-radius: var(--r);
        background: var(--surface);
        padding: 1.15rem 1.15rem 1rem;
      }
      .panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
      }
      .live {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--muted);
        font-size: 0.82rem;
      }
      .live-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 0 0 rgba(70, 211, 192, 0.5);
        animation: pulse 2.4s ease-out infinite;
      }
      .panel-tag {
        color: var(--faint);
        font-family: var(--mono);
        font-size: 0.72rem;
        letter-spacing: 0.02em;
      }
      .stat-big {
        margin: 1rem 0 0;
        font-family: var(--mono);
        font-size: 2.6rem;
        line-height: 1;
        letter-spacing: -0.01em;
        color: var(--ink);
      }
      .stat-label {
        margin: 0.35rem 0 0;
        color: var(--muted);
        font-size: 0.85rem;
      }
      .chart-wrap {
        margin-top: 1.15rem;
        padding-top: 1.1rem;
        border-top: 1px solid var(--line);
      }
      .chart-cap {
        display: block;
        margin-bottom: 0.6rem;
        color: var(--faint);
        font-family: var(--mono);
        font-size: 0.7rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }
      .chart { display: block; width: 100%; height: auto; }
      .top-pages {
        margin-top: 1.1rem;
        display: grid;
        gap: 0.5rem;
      }
      .top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        font-size: 0.85rem;
      }
      .top-row .path { color: var(--muted); font-family: var(--mono); font-size: 0.8rem; }
      .top-row .count { color: var(--ink); font-family: var(--mono); }

      /* generic section */
      .section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
      .section-head { max-width: 62ch; }
      .section-title {
        margin: 0;
        font-family: var(--wide);
        font-size: clamp(1.85rem, 3.1vw, 2.75rem);
        font-weight: 400;
        line-height: 1.08;
        letter-spacing: -0.02em;
        color: var(--ink);
      }
      .section-intro {
        margin: 1.1rem 0 0;
        color: var(--muted);
        font-weight: 300;
        font-size: 1.08rem;
        line-height: 1.65;
        max-width: 60ch;
      }

      /* privacy strip */
      .chips {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
        margin-top: 2.5rem;
      }
      .chip {
        border: 1px solid var(--line);
        border-top: 2px solid var(--accent-line);
        border-radius: var(--r);
        padding: 1.35rem 1.25rem;
        background: var(--surface);
      }
      .chip h3 {
        margin: 0 0 0.55rem;
        font-family: var(--sans);
        font-size: 1rem;
        font-weight: 400;
        color: var(--ink);
      }
      .chip p { margin: 0; color: var(--muted); font-weight: 300; font-size: 0.92rem; line-height: 1.55; }

      /* feature bento */
      .bento {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 0.9rem;
        margin-top: 2.75rem;
      }
      .cell {
        border: 1px solid var(--line);
        border-radius: var(--r);
        background: var(--surface);
        padding: 1.5rem;
      }
      .cell h3 {
        margin: 0 0 0.55rem;
        font-family: var(--sans);
        font-size: 1.08rem;
        font-weight: 400;
        color: var(--ink);
      }
      .cell p { margin: 0; color: var(--muted); font-weight: 300; font-size: 0.95rem; line-height: 1.6; }
      .cell.lead {
        grid-column: span 3;
        grid-row: span 2;
        display: flex;
        flex-direction: column;
        background: var(--accent-soft);
        border-color: var(--accent-line);
      }
      .cell.lead h3 { font-size: 1.3rem; }
      .cell.lead p { font-size: 1rem; color: var(--ink); opacity: 0.86; }
      .cell.b, .cell.c { grid-column: span 3; }
      .cell.d, .cell.e, .cell.f { grid-column: span 2; }
      .cell.tint { background: var(--surface-2); }
      .lead-spark {
        margin-top: auto;
        padding-top: 1.5rem;
      }
      .lead-spark svg { display: block; width: 100%; height: auto; }

      /* migration banner */
      .migrate {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1.25rem;
        border: 1px solid var(--line-strong);
        border-radius: var(--r);
        padding: clamp(1.5rem, 4vw, 2.25rem);
        background: var(--surface);
      }
      .migrate p {
        margin: 0;
        max-width: 52ch;
        font-family: var(--wide);
        font-size: clamp(1.15rem, 2vw, 1.5rem);
        letter-spacing: -0.01em;
        color: var(--ink);
      }
      .migrate a.textlink {
        color: var(--accent);
        font-size: 0.95rem;
        border-bottom: 1px solid var(--accent-line);
        padding-bottom: 2px;
        transition: opacity 0.16s ease;
      }
      .migrate a.textlink:hover { opacity: 0.78; }

      /* install / code */
      .code-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        margin-top: 2.5rem;
      }
      .code {
        border: 1px solid var(--line-strong);
        border-radius: var(--r);
        background: var(--surface-2);
        overflow: hidden;
      }
      .code-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.7rem 1rem;
        border-bottom: 1px solid var(--line);
        color: var(--faint);
        font-family: var(--mono);
        font-size: 0.74rem;
        letter-spacing: 0.03em;
      }
      .code pre {
        margin: 0;
        padding: 1.15rem 1.25rem;
        overflow-x: auto;
        color: var(--ink);
        font-family: var(--mono);
        font-size: 0.86rem;
        line-height: 1.7;
      }
      .code pre .tok { color: var(--accent); }
      .code-note {
        margin: 1.5rem 0 0;
        max-width: 66ch;
        color: var(--muted);
        font-weight: 300;
        font-size: 0.95rem;
        line-height: 1.65;
      }
      .code-note code { font-family: var(--mono); font-size: 0.85em; color: var(--ink); }

      /* comparison */
      .cmp {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.9rem;
        margin-top: 2.75rem;
      }
      .cmp-cell {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        border: 1px solid var(--line);
        border-radius: var(--r);
        padding: 1.25rem;
        background: var(--surface);
      }
      .cmp-dim {
        color: var(--faint);
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
      }
      .cmp-ga, .cmp-ghost {
        padding-left: 0.75rem;
        border-left: 2px solid var(--line);
        font-size: 0.92rem;
        line-height: 1.45;
      }
      .cmp-ga { color: var(--muted); font-weight: 300; }
      .cmp-ghost { color: var(--ink); border-left-color: var(--accent); }

      /* final cta */
      .cta-band {
        text-align: center;
        border: 1px solid var(--line-strong);
        border-radius: var(--r);
        padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 3rem);
        background: var(--surface);
      }
      .cta-band h2 {
        margin: 0 auto;
        max-width: 20ch;
        font-family: var(--wide);
        font-size: clamp(1.9rem, 3.4vw, 3rem);
        font-weight: 400;
        line-height: 1.08;
        letter-spacing: -0.02em;
        color: var(--ink);
      }
      .cta-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 2rem;
      }

      /* footer */
      .footer {
        border-top: 1px solid var(--line);
        padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
      }
      .footer-top {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) repeat(5, minmax(0, 1fr));
        gap: 2rem;
      }
      .footer-brand .brand { margin-bottom: 0.9rem; }
      .footer-brand p {
        margin: 0 0 1.25rem;
        max-width: 34ch;
        color: var(--muted);
        font-weight: 300;
        font-size: 0.92rem;
        line-height: 1.6;
      }
      .footer-social { display: inline-flex; gap: 0.6rem; }
      .footer-social a {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border: 1px solid var(--line);
        border-radius: var(--r-sm);
        color: var(--muted);
        transition: color 0.16s ease, border-color 0.16s ease;
      }
      .footer-social a:hover { color: var(--accent); border-color: var(--accent-line); }
      .footer-social svg { width: 18px; height: 18px; fill: currentColor; }
      .footer-col h4 {
        margin: 0 0 0.9rem;
        color: var(--ink);
        font-family: var(--sans);
        font-size: 0.82rem;
        font-weight: 400;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }
      .footer-col a {
        display: block;
        margin-bottom: 0.6rem;
        color: var(--muted);
        font-weight: 300;
        font-size: 0.9rem;
        transition: color 0.16s ease;
      }
      .footer-col a:hover { color: var(--ink); }
      .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-top: 3rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--line);
        color: var(--faint);
        font-size: 0.82rem;
      }

      /* motion: hero entrance (load), reduced-motion gated */
      .enter { opacity: 0; transform: translateY(14px); animation: enter-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
      .enter.d1 { animation-delay: 0.06s; }
      .enter.d2 { animation-delay: 0.12s; }
      .enter.d3 { animation-delay: 0.18s; }
      .enter.d4 { animation-delay: 0.24s; }
      @keyframes enter-up { to { opacity: 1; transform: none; } }

      @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(70, 211, 192, 0.45); }
        70% { box-shadow: 0 0 0 8px rgba(70, 211, 192, 0); }
        100% { box-shadow: 0 0 0 0 rgba(70, 211, 192, 0); }
      }

      /* motion: scroll reveal via CSS scroll-driven animation, visible fallback if unsupported */
      .reveal { opacity: 1; }
      @supports (animation-timeline: view()) {
        @media (prefers-reduced-motion: no-preference) {
          .reveal {
            opacity: 0;
            animation: reveal-in 0.8s linear both;
            animation-timeline: view();
            animation-range: entry 4% cover 20%;
          }
        }
      }
      @keyframes reveal-in {
        from { opacity: 0; transform: translateY(22px); }
        to { opacity: 1; transform: none; }
      }

      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .enter, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
        .live-dot { animation: none; }
        .btn { transition: none; }
      }

      /* responsive */
      @media (max-width: 960px) {
        .hero { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
        .cmp { grid-template-columns: repeat(2, 1fr); }
        .footer-top { grid-template-columns: 1fr 1fr; }
        .footer-brand { grid-column: 1 / -1; }
      }
      @media (max-width: 860px) {
        .nav-links { display: none; }
        .nav-cta { display: none; }
        .nav-menu { display: block; }
      }
      @media (max-width: 780px) {
        .shell, .shell-narrow { width: calc(100% - 32px); }
        .chips { grid-template-columns: 1fr 1fr; }
        .bento { grid-template-columns: 1fr; }
        .cell.lead, .cell.b, .cell.c, .cell.d, .cell.e, .cell.f { grid-column: auto; grid-row: auto; }
        .cmp { grid-template-columns: 1fr; }
        .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
      }
      @media (max-width: 480px) {
        .chips { grid-template-columns: 1fr; }
        .hero-actions .btn, .cta-actions .btn { width: 100%; }
      }

      /* ============================================================
         Feature + use-case page components (added for sub-pages).
         Reuse the tokens above so sub-pages match the landing exactly.
         ============================================================ */

      .subnav { display: flex; align-items: center; gap: 0.5rem; padding-top: 1.75rem; color: var(--faint); font-size: 0.88rem; }
      .subnav a { color: var(--muted); transition: color 0.16s ease; }
      .subnav a:hover { color: var(--ink); }
      .subnav .sep { color: var(--faint); }

      /* single-column feature/use-case hero (no live panel) */
      .feat-hero { padding: 2.5rem 0 1.5rem; max-width: 62ch; }
      .feat-hero .kicker {
        display: inline-flex; align-items: center; gap: 0.5rem;
        font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
        text-transform: uppercase; color: var(--accent);
      }
      .feat-hero h1 {
        margin: 1rem 0 0; font-family: var(--wide);
        font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1.05; letter-spacing: -0.025em;
      }
      .feat-hero p { margin: 1.1rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
      .feat-hero .hero-actions { margin-top: 1.75rem; }

      /* numbered vertical flow (how it works) */
      .flow { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
      .flow-step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 1.5rem; background: var(--surface); }
      .flow-num { font-family: var(--mono); font-size: 0.82rem; color: var(--accent); padding-top: 0.15rem; }
      .flow-step h3 { margin: 0; font-family: var(--wide); font-size: 1.05rem; letter-spacing: -0.01em; }
      .flow-step p { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

      /* metric tiles (breathing, no card chrome) */
      .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem; }
      .metric .m-value { font-family: var(--wide); font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -0.02em; color: var(--ink); }
      .metric .m-label { margin-top: 0.35rem; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

      /* prose block for definitions / privacy detail */
      .prose { max-width: 66ch; }
      .prose p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin: 0 0 1rem; }
      .prose strong { color: var(--ink); font-weight: 600; }

      /* related features grid at page foot */
      .related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
      .related a { display: block; padding: 1.3rem 1.4rem; background: var(--surface); transition: background 0.16s ease; }
      .related a:hover { background: var(--surface-2); }
      .related .r-name { font-family: var(--wide); font-size: 1rem; color: var(--ink); letter-spacing: -0.01em; }
      .related .r-desc { margin-top: 0.3rem; color: var(--faint); font-size: 0.86rem; line-height: 1.45; }

      /* use-case cards: image + label + body, real visual variation */
      .usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
      .usecase { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
      .usecase img { display: block; width: 100%; height: 168px; object-fit: cover; opacity: 0.92; }
      .usecase-body { padding: 1.4rem 1.5rem 1.6rem; }
      .usecase-body h3 { margin: 0; font-family: var(--wide); font-size: 1.15rem; letter-spacing: -0.015em; }
      .usecase-body p { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
      .usecase-body .textlink { margin-top: 0.9rem; display: inline-block; }

      @media (max-width: 860px) {
        .metrics { grid-template-columns: 1fr 1fr; }
        .related { grid-template-columns: 1fr; }
        .usecases { grid-template-columns: 1fr; }
      }
      @media (max-width: 560px) {
        .metrics { grid-template-columns: 1fr; }
        .flow-step { grid-template-columns: 1fr; gap: 0.4rem; }
      }

      /* landing feature cells now link to feature pages */
      a.cell { cursor: pointer; }
      .cell-more {
        display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem;
        font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
        color: var(--faint); transition: color 0.16s ease, gap 0.16s ease;
      }
      .cell-more::after { content: "\2192"; }
      a.cell:hover .cell-more { color: var(--accent); gap: 0.55rem; }

      /* feature-page visuals: trackless bars, vitals tiles, code body */
      .code-body { margin: 0; padding: 1.1rem 1.25rem; overflow-x: auto; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: #d6deeb; }
      .bar-row { display: grid; grid-template-columns: 132px 1fr 46px; align-items: center; gap: 0.9rem; padding: 0.5rem 0; }
      .bar-row + .bar-row { border-top: 1px solid var(--line); }
      .bar-label { color: var(--muted); font-size: 0.88rem; }
      .bar-track { height: 8px; border-radius: 999px; background: transparent; }
      .bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); opacity: 0.82; min-width: 4px; }
      .bar-value { font-family: var(--mono); font-size: 0.82rem; color: var(--ink); text-align: right; }
      .vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
      .vital { padding: 1.4rem 1.5rem; background: var(--surface); }
      .vital-k { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
      .vital-v { margin-top: 0.5rem; font-family: var(--wide); font-size: 1.9rem; letter-spacing: -0.02em; color: var(--ink); }
      .vital-tag { margin-top: 0.4rem; display: inline-flex; font-size: 0.78rem; color: var(--accent); }
      .vital.good .vital-tag { color: var(--accent); }
      @media (max-width: 560px) { .vitals { grid-template-columns: 1fr; } .bar-row { grid-template-columns: 110px 1fr 40px; } }

      /* login link beside the Sign up nav button */
      .nav-login { color: var(--muted); font-size: 0.9rem; transition: color 0.16s ease; }
      .nav-login:hover { color: var(--ink); }
      .nav-cta { margin-left: 0.95rem; }
