:root {
    /* Malachite palette */
    --bg-base: #142D21;        /* jade ground */
    --bg-elevated: #101814;    /* elevated panels */
    --bg-panel: #16201B;       /* lifted panel */
    --bg-panel-hi: #1C2A23;    /* hover state */
    --border: rgba(180, 230, 200, 0.10);
    --border-strong: rgba(180, 230, 200, 0.18);
    --border-accent: rgba(61, 181, 132, 0.35);

    --text-primary: #E8EFE8;
    --text-secondary: #8FA496;
    --text-muted: #5A6E62;
    --text-faint: #3A4A42;

    --sentinel: #0E7F56;        /* deep mineral green — main fills */
    --sentinel-hi: #3DB584;     /* lifted sibling — small text, eyebrows, highlights */
    --sentinel-dim: rgba(14, 127, 86, 0.16);
    --seahaven: #D8C497;        /* warm champagne */
    --seahaven-hi: #EBD9B1;
    --seahaven-dim: rgba(216, 196, 151, 0.12);

    --radius: 4px;
    --radius-lg: 10px;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --body: 'Inter', system-ui, -apple-system, sans-serif;

    --ease: cubic-bezier(.2,.7,.2,1);
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  /* Global grid backdrop */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      radial-gradient(circle at 1px 1px, rgba(180,230,200,.05) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
  }
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(1200px 600px at 80% -10%, rgba(14,127,86,.10), transparent 60%),
      radial-gradient(900px 500px at -10% 40%, rgba(216,196,151,.04), transparent 55%);
    pointer-events: none;
    z-index: 0;
  }

  a { color: inherit; text-decoration: none; }

  .wrap { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 32px; }

  /* ---------------- NAV ---------------- */
  nav.site {
    position: sticky; top: 0; z-index: 50;
    background: rgba(20, 45, 33, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 32px;
    max-width: 1280px; margin: 0 auto;
  }
  .brand { display: flex; align-items: center; gap: 10px; color: var(--sentinel-hi); }
  .brand-mark { width: 22px; height: 22px; }
  .brand-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-primary);
  }
  .nav-links { display: flex; gap: 32px; align-items: center; }
  .nav-links a {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    text-transform: uppercase;
    transition: color .2s var(--ease);
  }
  .nav-links a:hover { color: var(--text-primary); }
  .nav-cta {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 16px;
    border: 1px solid var(--sentinel-hi);
    color: var(--sentinel-hi);
    border-radius: var(--radius);
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  }
  .nav-cta:hover { background: var(--sentinel); border-color: var(--sentinel); color: var(--text-primary); }
  @media (max-width: 820px) {
    .nav-links { display: none; }
  }

  /* ---------------- TYPOGRAPHY ---------------- */
  .eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .eyebrow::before {
    content: '';
    width: 24px; height: 1px;
    background: currentColor;
    opacity: .6;
  }
  .eyebrow.sentinel { color: var(--sentinel-hi); }
  .eyebrow.seahaven { color: var(--seahaven); }

  h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
  }
  h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 500; }
  h2 { font-size: clamp(32px, 4.5vw, 56px); }
  h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.01em; }

  p.lead {
    font-size: clamp(17px, 1.4vw, 20px);
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 620px;
  }

  .mono-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  /* Reveal animation */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }

  /* ---------------- HERO ---------------- */
  .hero {
    position: relative;
    padding: 110px 0 140px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
  .hero h1 .fade { color: var(--text-secondary); font-weight: 300; }
  .hero h1 .accent { color: var(--sentinel-hi); font-weight: 600; }
  .hero .sub {
    margin-top: 28px;
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.6;
  }
  .hero-cta {
    margin-top: 40px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .btn {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 22px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
  }
  .btn-primary { background: var(--sentinel); color: var(--text-primary); }
  .btn-primary:hover { background: var(--sentinel-hi); color: var(--bg-base); }
  .btn-ghost { border-color: var(--border-strong); color: var(--text-primary); }
  .btn-ghost:hover { border-color: var(--text-primary); }
  .btn .arrow { transition: transform .2s var(--ease); }
  .btn:hover .arrow { transform: translateX(3px); }

  .hero-stats {
    margin-top: 72px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 100%;
    border-top: 1px solid var(--border);
    padding-top: 28px;
  }
  .hero-stat .k { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; line-height: 1.1; }
  .hero-stat .k.green { color: var(--sentinel-hi); }
  .hero-stat .k.gold { color: var(--seahaven); }
  .hero-stat .v { display:block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--text-muted); text-transform: uppercase; margin-top: 8px; }

  /* Hero HUD visual */
  .hud {
    position: relative;
    aspect-ratio: 1 / 1;
    background:
      linear-gradient(180deg, rgba(22,32,27,.6), rgba(20,45,33,.3)),
      radial-gradient(ellipse at 50% 100%, rgba(14,127,86,.18), transparent 60%);
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    overflow: hidden;
  }
  .hud svg { width: 100%; height: 100%; display: block; }
  .hud .corner {
    position: absolute;
    width: 22px; height: 22px;
    border: 1.5px solid var(--sentinel-hi);
  }
  .hud .corner.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
  .hud .corner.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
  .hud .corner.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
  .hud .corner.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

  .hud-meta {
    position: absolute;
    top: 18px; left: 42px;
    display: flex; gap: 20px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--sentinel-hi);
    text-transform: uppercase;
  }
  .hud-meta .live::before {
    content: '';
    display: inline-block; width: 6px; height: 6px;
    background: var(--sentinel-hi);
    border-radius: 50%;
    margin-right: 6px;
    animation: blink 1.4s infinite;
    vertical-align: middle;
  }
  .hud-coords {
    position: absolute;
    bottom: 18px; right: 42px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--sentinel-hi);
    text-transform: uppercase;
  }
  .hud-tag {
    position: absolute;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--sentinel-hi);
    text-transform: uppercase;
    padding: 3px 6px;
    border: 1px solid var(--sentinel-hi);
    background: rgba(20, 45, 33, 0.72);
    white-space: nowrap;
  }
  @keyframes blink { 0%, 70%, 100% { opacity: 1; } 80%, 95% { opacity: 0.15; } }

  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero { padding: 80px 0 90px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  }

  /* ---------------- SECTION SHELL ---------------- */
  section { padding: 120px 0; border-bottom: 1px solid var(--border); position: relative; }
  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 64px;
    align-items: end;
    margin-bottom: 64px;
  }
  .section-head .right { color: var(--text-secondary); font-size: 18px; line-height: 1.6; max-width: 640px; }
  .section-head h2 { margin-top: 18px; }
  @media (max-width: 900px) {
    section { padding: 80px 0; }
    .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  }

  /* ---------------- CAPABILITY GRID ---------------- */
  .cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .cap {
    background: var(--bg-elevated);
    padding: 36px 32px 40px;
    position: relative;
    transition: background .25s var(--ease);
  }
  .cap:hover { background: var(--bg-panel); }
  .cap .num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--sentinel-hi);
    margin-bottom: 28px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .cap .num .dot {
    width: 6px; height: 6px; background: var(--sentinel-hi); border-radius: 50%;
  }
  .cap h3 { margin-bottom: 14px; }
  .cap p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin: 0; }
  .cap .icon { width: 38px; height: 38px; margin-bottom: 24px; color: var(--sentinel-hi); }

  @media (max-width: 900px) {
    .cap-grid { grid-template-columns: 1fr; }
  }

  /* ---------------- USE CASES ---------------- */
  .uc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .uc {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color .3s var(--ease), transform .3s var(--ease);
  }
  .uc:hover { border-color: var(--border-accent); }
  .uc .uc-graphic {
    position: absolute;
    top: 0; right: 0;
    width: 55%;
    height: 100%;
    opacity: .85;
    pointer-events: none;
  }
  .uc h3 { max-width: 60%; position: relative; z-index: 1; }
  .uc-tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sentinel-hi);
    margin-bottom: 16px;
  }
  .uc-body {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 80%;
    position: relative; z-index: 1;
  }
  .uc-meta {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 20px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    position: relative; z-index: 1;
  }
  @media (max-width: 900px) {
    .uc-grid { grid-template-columns: 1fr; }
    .uc .uc-graphic { width: 65%; opacity: .4; }
    .uc h3, .uc-body { max-width: 100%; }
  }

  /* ---------------- PIPELINE STRIP (agentic loop) ---------------- */
  .pipeline {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
    background:
      linear-gradient(180deg, rgba(14,127,86,.03), transparent 70%);
  }
  .pipe-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .pipe-step {
    padding: 28px 22px 30px;
    background: var(--bg-elevated);
    border-right: 1px solid var(--border);
    position: relative;
    transition: background .2s var(--ease);
  }
  .pipe-step:last-child { border-right: none; }
  .pipe-step:hover { background: var(--bg-panel); }
  .pipe-step .n {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--sentinel-hi);
    margin-bottom: 16px;
  }
  .pipe-step h4 {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
  }
  .pipe-step p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.55; }
  .pipe-step .arrow {
    position: absolute;
    right: -8px; top: 34px;
    width: 16px; height: 1px;
    background: var(--sentinel-hi);
    opacity: .45;
  }
  .pipe-step:last-child .arrow { display: none; }
  @media (max-width: 900px) {
    .pipe-grid { grid-template-columns: 1fr; }
    .pipe-step { border-right: none; border-bottom: 1px solid var(--border); }
    .pipe-step .arrow { display: none; }
  }

  /* ---------------- SEAHAVEN BRIDGE ---------------- */
  .bridge {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--border);
    background:
      linear-gradient(180deg, rgba(216,196,151,.03), transparent 60%);
  }
  .bridge-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: center;
  }
  .bridge h2 .gold { color: var(--seahaven); }
  .bridge .body { color: var(--text-secondary); font-size: 17px; max-width: 520px; margin-top: 24px; line-height: 1.6; }
  .seahaven-viz {
    position: relative;
    aspect-ratio: 1.265/1;
    border: 1px solid var(--border-strong);
    background:
      linear-gradient(180deg, rgba(22,32,27,.5), rgba(20,45,33,.2));
    border-radius: 4px;
    overflow: hidden;
  }
  .seahaven-viz svg { width: 100%; height: 100%; display: block; }
  @media (max-width: 900px) {
    .bridge-inner { grid-template-columns: 1fr; gap: 48px; }
  }

  /* ---------------- SEAHAVEN FEATURES ---------------- */
  .sea-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .sea {
    background: var(--bg-elevated);
    padding: 32px 28px 36px;
    transition: background .25s var(--ease);
  }
  .sea:hover { background: var(--bg-panel); }
  .sea h4 { font-family: var(--display); font-size: 18px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
  .sea p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.55; }
  .sea .big {
    font-family: var(--display);
    font-size: 48px;
    font-weight: 500;
    color: var(--seahaven);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
  }
  .sea .unit { font-family: var(--mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; display: block; }
  .sea .hd {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--seahaven);
    margin-bottom: 28px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .sea .hd .dot { width: 6px; height: 6px; background: var(--seahaven); border-radius: 50%; }
  @media (max-width: 900px) {
    .sea-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* ---------------- TWO PRODUCTS ---------------- */
  .duo {
    padding: 120px 0;
    border-bottom: 1px solid var(--border);
  }
  .duo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
  }
  .fw-viz { aspect-ratio: 1/1; max-width: 560px; margin: 0 auto; width: 100%; }
  .fw-viz svg { width: 100%; height: 100%; display: block; }
  .duo-points { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
  .duo-pt {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
  }
  .duo-pt .idx {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    padding-top: 4px;
  }
  .duo-pt .t { font-family: var(--display); font-weight: 600; font-size: 18px; margin-bottom: 6px; letter-spacing: -0.01em; }
  .duo-pt .d { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
  .duo-pt.sentinel .t { color: var(--sentinel-hi); }
  .duo-pt.seahaven .t { color: var(--seahaven); }
  @media (max-width: 900px) {
    .duo-grid { grid-template-columns: 1fr; gap: 48px; }
  }

  /* ---------------- AUDIENCES ---------------- */
  .aud-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .aud {
    padding: 40px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    transition: border-color .3s var(--ease), transform .3s var(--ease);
  }
  .aud:hover { border-color: var(--border-strong); }
  .aud .aud-icon { width: 34px; height: 34px; margin-bottom: 22px; color: var(--text-secondary); }
  .aud h3 { margin-bottom: 12px; font-size: 22px; }
  .aud p { color: var(--text-secondary); font-size: 15px; margin: 0 0 18px; }
  .aud ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .aud li {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
  }
  .aud li::before {
    content: '';
    width: 8px; height: 1px; background: var(--text-muted);
  }
  @media (max-width: 900px) {
    .aud-grid { grid-template-columns: 1fr; }
  }

  /* ---------------- MANIFESTO ---------------- */
  .manifesto {
    padding: 120px 0;
    border-bottom: 1px solid var(--border);
    background:
      radial-gradient(700px 400px at 20% 50%, rgba(14,127,86,.06), transparent 60%),
      radial-gradient(700px 400px at 90% 50%, rgba(216,196,151,.04), transparent 60%);
  }
  .manifesto-inner { max-width: 880px; margin: 0 auto; text-align: left; }
  .manifesto h2 {
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.15;
  }
  .manifesto h2 em { font-style: normal; color: var(--sentinel-hi); font-weight: 500; }
  .manifesto h2 .gold { color: var(--seahaven); font-weight: 500; }

  /* ---------------- CTA ---------------- */
  .cta {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
  }
  .cta::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(500px 300px at 50% 50%, rgba(14,127,86,.10), transparent 70%);
    pointer-events: none;
  }
  .cta-inner {
    position: relative;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
  }
  .cta h2 {
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 500;
    letter-spacing: -0.02em;
  }
  .cta h2 em { color: var(--sentinel-hi); font-style: normal; font-weight: 600; }
  .cta p { color: var(--text-secondary); font-size: 18px; margin-top: 22px; }
  .cta .btns { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

  /* ---------------- FOOTER ---------------- */
  footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    background: rgba(20,45,33,.4);
  }
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
  }
  .footer-brand p { color: var(--text-secondary); font-size: 14px; max-width: 300px; margin: 20px 0 0; }
  .footer-col h5 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 18px;
    font-weight: 500;
  }
  .footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color .2s var(--ease);
  }
  .footer-col a:hover { color: var(--text-primary); }
  .footer-base {
    display: flex;
    justify-content: space-between;
    padding-top: 28px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
  }
  @media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-base { flex-direction: column; gap: 12px; }
  }

  /* Scan-line for hud */
  @keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
  }
  .scanline {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent, rgba(61,181,132,.15), transparent);
    animation: scan 4.5s linear infinite;
    pointer-events: none;
  }

  /* Rotating flywheel animation */
  @keyframes rotate {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
  }
  .fw-rotate { transform-origin: 300px 300px; animation: rotate 40s linear infinite; }

  /* Image-backed use case cards */
  .uc .uc-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    z-index: 0;
    transition: opacity .4s var(--ease), transform .6s var(--ease);
  }
  .uc::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
      rgba(16, 24, 20, 0.96) 0%,
      rgba(16, 24, 20, 0.88) 20%,
      rgba(16, 24, 20, 0.55) 55%,
      rgba(16, 24, 20, 0.18) 85%,
      rgba(16, 24, 20, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
  }
  .uc::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 100% 50%, rgba(14,127,86,0.08), transparent 60%);
    z-index: 1;
    pointer-events: none;
  }
  .uc > * { position: relative; z-index: 2; }
  .uc:hover .uc-bg { opacity: 0.78; transform: scale(1.02); }
  .uc:hover { border-color: var(--border-accent); }
  .uc h3 { max-width: 65%; }
  .uc-body { max-width: 70%; }
  @media (max-width: 900px) {
    .uc h3, .uc-body { max-width: 100%; }
    .uc::before {
      background: linear-gradient(180deg,
        rgba(16,24,20,0.7) 0%,
        rgba(16,24,20,0.92) 60%,
        rgba(16,24,20,0.98) 100%);
    }
  }


  /* Portrait hero slot (replaces 1:1 HUD) */
  .hud.hud-portrait { margin-top: 44px;
    position: relative;
    aspect-ratio: 2 / 3;
    max-height: 820px;
    background: linear-gradient(180deg, rgba(22,32,27,.35), rgba(20,45,33,.15));
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    overflow: hidden;
    padding: 0;
  }
  .hud.hud-portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  /* Ambient glow behind portrait */
  .hud.hud-portrait::before {
    content: "";
    position: absolute;
    inset: -8%;
    background:
      radial-gradient(60% 50% at 50% 50%, rgba(61,181,132,.10), transparent 70%),
      radial-gradient(60% 40% at 50% 10%, rgba(216,196,151,.06), transparent 75%);
    pointer-events: none;
    z-index: 0;
  }
  .hud.hud-portrait img { position: relative; z-index: 1; }

  /* Tighten hero grid for portrait — let text breathe, image tall but not dominating */
  .hero .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 56px; align-items: start; }
  @media (max-width: 900px) {
    .hud.hud-portrait { aspect-ratio: 2 / 3; max-height: 600px; max-width: 420px; margin: 0 auto; }
    .hero .hero-grid { grid-template-columns: 1fr; }
  }


  /* Full-width hero stats */
  .hero-stats { margin-top: 56px; }
  .hero-stat .k { white-space: normal; }
  .hero-stat .k.wide { white-space: nowrap; }


  /* Keep capability-card h3s on a single line at normal desktop widths */
  .cap h3 {
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.005em;
  }
  /* Intermediate widths: go to 2 columns so headings don't cram */
  @media (max-width: 1100px) and (min-width: 901px) {
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
  }


  /* ====== VERSION D: 50/50 half-text / half-square-image hero ====== */
  .hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
  }
  .hero h1 {
    /* Two-line headline (Models detect. / Sentinel answers.) — balance with square image */
    font-size: clamp(40px, 5.4vw, 76px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }
  .hud.hud-square {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 640px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(22,32,27,.35), rgba(20,45,33,.15));
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    overflow: hidden;
  }
  .hud.hud-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    z-index: 1;
  }
  .hud.hud-square::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
      radial-gradient(60% 60% at 50% 40%, rgba(61,181,132,.12), transparent 70%),
      radial-gradient(50% 50% at 50% 80%, rgba(216,196,151,.05), transparent 75%);
    pointer-events: none;
    z-index: 0;
  }
  @media (max-width: 900px) {
    .hero .hero-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
    .hud.hud-square { max-width: 520px; }
  }

/* ---- Trust carousel (was inline) ---- */

.trust-section {
    padding: 56px 0 60px;
    border-bottom: 1px solid var(--border);
    background: rgba(20, 45, 33, 0.55);
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  .trust-label-wrap {
    display: flex; align-items: center; justify-content: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 32px;
  }
  .trust-label-wrap .rule {
    width: 28px; height: 1px;
    background: currentColor; opacity: .5;
  }
  .trust-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .trust-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: trust-scroll 56s linear infinite;
  }
  .trust-section:hover .trust-track { animation-play-state: paused; }
  @keyframes trust-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .trust-track { animation: none; transform: none; }
    .trust-marquee { overflow-x: auto; }
  }

  .trust-track .logo {
    flex: 0 0 auto;
    list-style: none;
    margin: 0 36px;
    padding: 0;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    opacity: 0.62;
    transition: opacity .3s var(--ease), color .3s var(--ease);
    white-space: nowrap;
  }
  .trust-track .logo:hover { opacity: 1; color: var(--text-primary); }

  /* Image logos: desaturate + brighten to fit dark theme; hover reveals full color */
  .trust-track .logo-img img {
    display: block;
    filter: grayscale(1) brightness(1.8) contrast(0.9);
    transition: filter .3s var(--ease);
  }
  .trust-track .logo-img:hover img { filter: none; }

  /* Inline SVG entries (NVIDIA) */
  .trust-track .logo svg { display: block; height: 22px; width: auto; }
  .trust-track .logo.logo-pair { gap: 8px; }

  /* Wordmark-only entries */
  .trust-track .logo .wm { font-size: 16px; line-height: 1; letter-spacing: -0.005em; }
  .trust-track .wm-only .wm {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.005em;
  }
  .trust-track .logo[aria-label^="U.S."] .wm {
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .trust-track .nv-text { font-family: 'Inter', sans-serif; font-weight: 800; font-style: italic; font-size: 16px; letter-spacing: 0; }
  .trust-track .wm-zeroeyes .wm { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.015em; }
  .trust-track .wm-kibsi .wm { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }