/* ============================================================
   NeuraPick Robotics — Marketing site
   Editorial minimal · shares DNA with the operator console
   ============================================================ */

:root {
  --bg:        #fafaf7;
  --bg-2:      #f3f1ea;
  --bg-3:      #ebe8de;
  --paper:     #ffffff;
  --ink:       #1a1a1a;
  --ink-2:     #4a4a47;
  --ink-3:     #8a8884;
  --ink-4:     #b8b5ac;
  --rule:      #d8d4c5;
  --rule-soft: #e7e3d6;

  --sage:      #5b7d4f;
  --sage-2:    #86c66a;
  --berry:     #b94550;
  --amber:     #b58430;
  --ink-inv:   #f6f3eb;

  --max:       1240px;
  --gut:       clamp(20px, 4vw, 56px);
  --rad:       6px;

  --t-display: 'Instrument Serif', 'Times New Roman', serif;
  --t-body:    'Inter', -apple-system, system-ui, sans-serif;
  --t-mono:    'JetBrains Mono', ui-monospace, monospace;
}

[data-theme="dark"] {
  --bg:        #131210;
  --bg-2:      #1c1a16;
  --bg-3:      #25221c;
  --paper:     #1f1d18;
  --ink:       #f3efe3;
  --ink-2:     #c8c3b3;
  --ink-3:     #8a8676;
  --ink-4:     #5a5648;
  --rule:      #2e2a22;
  --rule-soft: #25221c;
  --ink-inv:   #131210;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--t-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.container--narrow { max-width: 880px; }

/* ============================================================
   TOP TICKER
   ============================================================ */
.top-ticker {
  background: var(--ink);
  color: var(--ink-inv);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.top-ticker__track {
  display: flex;
  gap: 56px;
  padding: 8px 0;
  padding-right: 56px;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 50s linear infinite;
}
.ttk { display: inline-flex; align-items: center; gap: 8px; opacity: 0.85; }
.ttk-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage-2);
  box-shadow: 0 0 0 0 var(--sage-2);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(134, 198, 106, 0.7); }
  100% { box-shadow: 0 0 0 8px rgba(134, 198, 106, 0); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav--scrolled {
  border-bottom-color: var(--rule-soft);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gut);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark {
  width: 30px; height: 30px;
  border: 1.5px solid var(--ink);
  display: inline-grid; place-items: center;
  font-family: var(--t-display);
  font-size: 18px; font-style: italic;
  color: var(--ink);
  background: var(--bg);
}
.brand__name {
  font-family: var(--t-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 8px;
}
.brand__name i {
  font-style: italic;
  color: var(--ink-3);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--t-mono);
}
.nav__links {
  display: flex; gap: 28px; flex: 1;
  font-size: 14px; color: var(--ink-2);
}
.nav__links a {
  position: relative;
  transition: color 150ms ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 1px; background: var(--ink);
}
.nav__actions { display: inline-flex; align-items: center; gap: 10px; }

/* ============================================================
   MOBILE HAMBURGER BUTTON + DRAWER
   ============================================================ */
.nav__burger {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  width: 36px; height: 36px;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  color: var(--ink);
  transition: border-color 150ms ease;
}
.nav__burger:hover { border-color: var(--ink-3); }
.nav__burger span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform 220ms ease, opacity 160ms ease;
  transform-origin: center;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-2.75px) rotate(-45deg); }

/* Drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 320ms;
}
.nav-drawer.open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}
.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 15, 0);
  transition: background 260ms ease;
}
.nav-drawer.open .nav-drawer__backdrop { background: rgba(20, 18, 15, 0.45); }
.nav-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  height: 100dvh;
  width: min(340px, 88vw);
  background: var(--paper);
  border-left: 1px solid var(--rule);
  box-shadow: -40px 0 80px -40px rgba(0,0,0,0.25);
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  padding: 18px 22px 24px;
  overflow-y: auto;
}
.nav-drawer.open .nav-drawer__panel { transform: translateX(0); }
.nav-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.nav-drawer__close {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--ink-2);
  transition: color 150ms ease, border-color 150ms ease;
}
.nav-drawer__close:hover { color: var(--ink); border-color: var(--ink); }
.nav-drawer__links {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.nav-drawer__links a {
  font-family: var(--t-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  transition: color 150ms ease;
}
.nav-drawer__links a:last-child { border-bottom: none; }
.nav-drawer__links a:hover { color: var(--sage); }
.nav-drawer__cta { margin-top: auto; padding-top: 12px; }
.btn--full { display: flex; justify-content: center; width: 100%; }
.nav-drawer__foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-drawer__foot a {
  color: var(--ink-3);
  transition: color 150ms ease;
}
.nav-drawer__foot a:hover { color: var(--ink); }

body.no-scroll { overflow: hidden; touch-action: none; }

@media (max-width: 880px) {
  .nav__burger { display: inline-flex; }
}
@media (min-width: 881px) {
  .nav-drawer { display: none; }
}

/* Mobile nav — hide bulk link list, shrink CTA so the bar fits in 375px */
@media (max-width: 880px) {
  .nav__links { display: none; }
}
@media (max-width: 520px) {
  .nav__inner { padding-left: 16px; padding-right: 16px; }
  .nav__actions .btn--primary {
    font-size: 12px;
    padding: 8px 12px;
  }
  .nav__actions .btn--primary svg { display: none; }
  .brand__name i { display: none; }
}
@media (max-width: 380px) {
  .theme-toggle { display: none; }
}
.theme-toggle {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  border-radius: var(--rad);
  cursor: pointer;
  display: inline-grid; place-items: center;
  transition: border-color 150ms, color 150ms;
}
.theme-toggle:hover { border-color: var(--ink-3); color: var(--ink); }
.theme-toggle .ico-moon { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-moon { display: inline-block; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  font-family: var(--t-body);
  font-size: 13.5px; font-weight: 500;
  border-radius: var(--rad);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 150ms ease, border-color 150ms ease;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 13px 22px; font-size: 14.5px; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
}
.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  margin-bottom: 28px;
  background: var(--paper);
}
.eyebrow--static { background: transparent; border: none; padding: 0; margin-bottom: 18px; color: var(--sage); }
.eyebrow--inverse { color: var(--ink-4); }
.eyebrow__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage-2);
  box-shadow: 0 0 0 0 var(--sage-2);
  animation: pulse 1.6s ease-out infinite;
}

.display {
  font-family: var(--t-display);
  font-size: clamp(48px, 6.4vw, 92px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--sage);
}
.display__under {
  position: relative;
  white-space: nowrap;
}
.display__under::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.18em;
  background: var(--sage-2);
  z-index: -1;
  opacity: 0.55;
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 32px;
}

.hero__cta {
  display: inline-flex; gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 24px;
}
@media (max-width: 600px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}
.hstat__num {
  font-family: var(--t-display);
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hstat__num span {
  font-size: 18px; color: var(--ink-3); margin-left: 2px; vertical-align: top;
}
.hstat__lbl {
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 6px;
}

/* Hero visual frame */
.hero__visual { position: relative; }
.hero-frame {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.18);
}
.hero-frame__chrome {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--t-mono);
  font-size: 11px;
  color: var(--ink-3);
  background: var(--bg-2);
}
.hero-frame__rec {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--berry);
}
.hero-frame__rec b {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--berry);
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-frame__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  overflow: hidden;
}
.hero-frame__feed {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-frame__hud {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hud-bbox text { font-weight: 500; }
.hud-scan {
  animation: scan 4s linear infinite;
}
@keyframes scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(300px); }
}

.hero-frame__overlay-tl,
.hero-frame__overlay-bl,
.hero-frame__overlay-br {
  position: absolute;
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  line-height: 1.4;
}
.hero-frame__overlay-tl { top: 12px; left: 14px; }
.hero-frame__overlay-bl { bottom: 12px; left: 14px; display: inline-flex; align-items: center; gap: 8px; }
.hero-frame__overlay-bl .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-2); }
.hero-frame__overlay-br { bottom: 12px; right: 14px; text-align: right; }
.hero-frame__pickrate {
  font-family: var(--t-display);
  font-size: 38px;
  color: #fff;
  line-height: 1;
}
.hero-frame__pickrate span { font-size: 18px; opacity: 0.7; }

.hero-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 16px;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  background: var(--paper);
  overflow: hidden;
}
.hcall {
  padding: 14px 16px;
  border-right: 1px solid var(--rule-soft);
  display: flex; align-items: center; gap: 10px;
}
.hcall:last-child { border-right: none; }
.hcall__ix {
  font-family: var(--t-mono);
  font-size: 10px;
  color: var(--sage);
  letter-spacing: 0.06em;
}
.hcall__lbl {
  font-size: 12.5px;
  color: var(--ink-2);
}

/* Marquee */
.marquee {
  margin-top: 48px;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  overflow: hidden;
  font-family: var(--t-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.marquee__track {
  display: flex; gap: 32px;
  padding: 14px 0;
  padding-right: 32px;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}
.m-dot { color: var(--sage-2); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section { padding: 100px 0; border-bottom: 1px solid var(--rule-soft); }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.section-head { max-width: 760px; margin: 0 0 64px; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 800px) {
  .section-head--split { grid-template-columns: 1fr; gap: 24px; }
}
.h-display {
  font-family: var(--t-display);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
  text-wrap: balance;
}
.h-display em { font-style: italic; color: var(--sage); }
.h-display--inverse { color: var(--ink-inv); }
.h-display--inverse em { color: var(--sage-2); }
.section-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}
.section-sub--right { padding-bottom: 8px; }
.section-sub--inverse { color: rgba(243,239,227,0.75); }

/* ============================================================
   PLATFORM
   ============================================================ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  overflow: hidden;
}
@media (max-width: 900px) { .platform-grid { grid-template-columns: 1fr; } }

.pillar {
  background: var(--paper);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.pillar__num {
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.pillar__icon {
  color: var(--sage);
  margin-bottom: 20px;
}
.pillar__title {
  font-family: var(--t-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}
.pillar__body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 28px;
  flex: 1;
}
.speclist {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  display: grid; gap: 8px;
}
.speclist > div {
  display: flex; justify-content: space-between;
  font-family: var(--t-mono);
  font-size: 11.5px;
}
.speclist dt { color: var(--ink-3); margin: 0; }
.speclist dd { color: var(--ink); margin: 0; font-weight: 500; }

/* ============================================================
   TECH GRID
   ============================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  overflow: hidden;
}
@media (max-width: 900px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tech-grid { grid-template-columns: 1fr; } }

.tech-card {
  background: var(--paper);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: background 150ms ease;
}
.tech-card:hover { background: var(--bg-2); }
.tech-card__head {
  display: flex; justify-content: space-between;
  margin-bottom: 28px;
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tech-card__tag { color: var(--sage); }
.tech-card__id { color: var(--ink-3); }
.tech-card h3 {
  font-family: var(--t-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink);
}
.tech-card p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 20px;
  flex: 1;
}
.kv {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
  display: grid; gap: 6px;
}
.kv > div {
  display: flex; justify-content: space-between;
  font-family: var(--t-mono);
  font-size: 11px;
}
.kv dt { color: var(--ink-3); margin: 0; }
.kv dd { color: var(--ink); margin: 0; font-weight: 500; }

/* ============================================================
   ARCHITECTURE PIPELINE
   ============================================================ */
.section--arch { background: var(--bg-2); }

.pipeline {
  position: relative;
  padding: 32px 0 24px;
  margin-bottom: 80px;
}
.pipeline__rail {
  position: absolute;
  top: 80px; left: 8%; right: 8%;
  height: 1px;
  background: var(--rule);
}
.pipeline__progress {
  position: absolute;
  top: 80px; left: 8%;
  width: 0;
  max-width: 84%;
  height: 1px;
  background: var(--sage);
  box-shadow: 0 0 0 0 var(--sage);
}
.pipeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 800px) {
  .pipeline__rail, .pipeline__progress { display: none; }
  .pipeline__steps { grid-template-columns: 1fr 1fr; }
}
.pstep {
  text-align: center;
  position: relative;
}
.pstep__num {
  font-family: var(--t-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.pstep__node {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--sage);
  position: relative;
  z-index: 1;
}
.pstep h4 {
  font-family: var(--t-display);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--ink);
}
.pstep p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 12px;
  max-width: 24ch;
  margin-left: auto; margin-right: auto;
}
.pstep__time {
  font-family: var(--t-mono);
  font-size: 11px;
  color: var(--sage);
  padding: 3px 8px;
  background: color-mix(in srgb, var(--sage) 12%, transparent);
  border-radius: 999px;
}

/* Mega stats */
.megastats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  overflow: hidden;
  background: var(--paper);
}
@media (max-width: 800px) { .megastats { grid-template-columns: repeat(2, 1fr); } }
.ms {
  padding: 32px 28px;
  border-right: 1px solid var(--rule-soft);
}
.ms:last-child { border-right: none; }
@media (max-width: 800px) {
  .ms:nth-child(2) { border-right: none; }
  .ms:nth-child(-n+2) { border-bottom: 1px solid var(--rule-soft); }
}
.ms__num {
  font-family: var(--t-display);
  font-size: 56px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.ms__num span {
  font-size: 24px; color: var(--ink-3); margin-left: 4px; vertical-align: top;
}
.ms__lbl {
  font-family: var(--t-body);
  font-size: 14px;
  color: var(--ink);
  margin-top: 12px;
  font-weight: 500;
}
.ms__sub {
  font-family: var(--t-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ============================================================
   SPEC TABLE
   ============================================================ */
.spec-table {
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  overflow: hidden;
  background: var(--paper);
}
.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr 2fr;
  gap: 24px;
  padding: 16px 24px;
  font-family: var(--t-body);
  font-size: 14px;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.spec-row:last-child { border-bottom: none; }
.spec-row > div:first-child {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
}
.spec-row > div:nth-child(2) { color: var(--ink-2); }
.spec-row__val { color: var(--ink); font-weight: 500; }
.spec-row--head {
  background: var(--bg-2);
  font-family: var(--t-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spec-row--head > div { color: var(--ink-3) !important; font-family: var(--t-mono) !important; }
@media (max-width: 700px) {
  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
}

/* ============================================================
   FIELD TRIALS
   ============================================================ */
.trials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .trials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .trials-grid { grid-template-columns: 1fr; } }
.trial {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  padding: 24px;
  display: flex; flex-direction: column;
  transition: transform 150ms ease, border-color 150ms ease;
}
.trial:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.trial__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.trial__flag { font-size: 22px; }
.trial__status {
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.trial__status--live {
  background: color-mix(in srgb, var(--sage-2) 16%, transparent);
  color: var(--sage);
}
.trial__status--live b {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage-2);
  animation: pulse 1.6s ease-out infinite;
}
.trial__status--soon {
  background: var(--bg-3);
  color: var(--ink-3);
}
.trial h3 {
  font-family: var(--t-display);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 4px;
}
.trial__loc {
  font-family: var(--t-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.trial__meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--rule-soft); flex: 1; }
.trial__meta li { display: flex; justify-content: space-between; font-size: 12.5px; gap: 12px; }
.trial__meta span { color: var(--ink-3); font-family: var(--t-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.trial__meta b { font-weight: 500; color: var(--ink); text-align: right; }

/* ============================================================
   ETHOS / QUOTE
   ============================================================ */
.section--ethos { background: var(--bg-2); }
.quote {
  margin: 0 0 64px;
  padding: 0;
}
.quote p {
  font-family: var(--t-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 32px;
  text-wrap: balance;
}
.quote p em { font-style: italic; color: var(--sage); }
.quote footer { display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  width: 46px; height: 46px;
  background: var(--sage);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--t-display); font-size: 18px; font-style: italic;
  border-radius: 50%;
}
.quote__name { font-weight: 500; color: var(--ink); }
.quote__role { font-size: 13px; color: var(--ink-3); font-family: var(--t-mono); letter-spacing: 0.04em; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 800px) { .principles { grid-template-columns: 1fr; gap: 24px; } }
.principle__num {
  font-family: var(--t-mono);
  font-size: 11px;
  color: var(--sage);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}
.principle h4 {
  font-family: var(--t-display);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--ink);
}
.principle p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}

/* ============================================================
   CTA
   ============================================================ */
.section--cta { padding: 80px 0; background: var(--bg); }
.cta-card {
  background: var(--ink);
  color: var(--ink-inv);
  border-radius: 8px;
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(134,198,106,0.12), transparent 60%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .cta-card { grid-template-columns: 1fr; gap: 32px; }
}
.cta-card__copy { position: relative; }
.cta-list {
  list-style: none; padding: 28px 0 0; margin: 28px 0 0;
  border-top: 1px solid rgba(243,239,227,0.12);
  display: grid; gap: 12px;
}
.cta-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: rgba(243,239,227,0.85);
}
.cta-list svg { color: var(--sage-2); flex-shrink: 0; }

[data-theme="dark"] .cta-card .section-sub--inverse {
  color: rgba(19, 18, 16, 0.75);
}
[data-theme="dark"] .cta-card .cta-list {
  border-top-color: rgba(19, 18, 16, 0.12);
}
[data-theme="dark"] .cta-card .cta-list li {
  color: rgba(19, 18, 16, 0.85);
}

.cta-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--rad);
  padding: 32px;
  position: relative;
}
.cta-form__fields { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--row { grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .field--row { grid-template-columns: 1fr; } }
.field label {
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field label span { color: var(--ink-4); text-transform: none; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  font-family: var(--t-body);
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 150ms ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
}
.field textarea { resize: vertical; }
.cta-form__fine {
  font-size: 11px;
  color: var(--ink-3);
  margin: 4px 0 0;
}
.cta-form__sent {
  text-align: center;
  padding: 24px 0;
}
.cta-form__check {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: color-mix(in srgb, var(--sage-2) 18%, transparent);
  color: var(--sage);
  display: grid; place-items: center;
}
.cta-form__sent h3 {
  font-family: var(--t-display);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 8px;
}
.cta-form__sent p { font-size: 14px; color: var(--ink-2); margin: 0; }
.cta-form__sent span { font-family: var(--t-mono); font-size: 12px; color: var(--ink); }

.form-notice {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--sage-2) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--sage) 28%, var(--rule));
  border-radius: var(--rad);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: -4px;
}
.form-notice svg { color: var(--sage); margin-top: 3px; }
.form-notice b { color: var(--ink); font-weight: 600; }

/* Hide reCAPTCHA Enterprise floating badge — inline disclosure under the form satisfies Google's branding requirement. */
.grecaptcha-badge { display: none !important; }
[data-theme="dark"] .form-notice {
  background: color-mix(in srgb, var(--sage-2) 14%, transparent);
  border-color: color-mix(in srgb, var(--sage-2) 35%, var(--rule));
}

/* ============================================================
   CONSOLE PREVIEW
   ============================================================ */
.section--console {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.console-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1000px) {
  .console-grid { grid-template-columns: 1fr; gap: 32px; }
}
.console-feats {
  list-style: none; padding: 24px 0 0; margin: 24px 0 32px;
  border-top: 1px solid var(--rule);
  display: grid; gap: 14px;
}
.console-feats li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; color: var(--ink-2);
}
.console-feats li b { color: var(--ink); display: block; font-weight: 500; margin-bottom: 2px; }
.console-feats svg { color: var(--sage); flex-shrink: 0; margin-top: 3px; }

.console-mock {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.25);
  display: flex;
  min-height: 460px;
}
@media (max-width: 600px) {
  .console-mock { flex-direction: column; min-height: 0; }
  .console-mock__sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; padding: 12px; gap: 6px; }
  .console-mock__brand { width: 100%; margin-bottom: 4px; }
  .console-mock__nav { padding: 4px 8px; font-size: 11px; }
}
.console-mock__sidebar {
  width: 180px;
  background: var(--bg-2);
  border-right: 1px solid var(--rule-soft);
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.console-mock__brand {
  font-family: var(--t-display);
  font-size: 16px;
  padding: 8px 10px 16px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 12px;
}
.console-mock__nav {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  font-size: 12.5px;
  color: var(--ink-2);
  border-radius: 4px;
}
.console-mock__nav.active {
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
}
.console-mock__nav span {
  width: 16px; height: 16px;
  background: var(--rule);
  border-radius: 3px;
  display: inline-block;
}
.console-mock__nav.active span { background: var(--sage); }
.console-mock__main {
  flex: 1;
  padding: 20px 24px;
  display: flex; flex-direction: column;
}
.console-mock__topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--ink-3);
}
.console-mock__title { font-family: var(--t-display); font-size: 22px; color: var(--ink); }
.console-mock__pills { display: flex; gap: 8px; }
.console-mock__pill { padding: 3px 9px; font-family: var(--t-mono); font-size: 10.5px; border: 1px solid var(--rule); border-radius: 999px; }
.console-mock__pill.live { color: var(--sage); border-color: var(--sage); }
.console-mock__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.console-mock__cards > div {
  padding: 12px;
  background: var(--bg-2);
  border-radius: 4px;
}
.console-mock__cards b {
  font-family: var(--t-display); font-size: 22px; color: var(--ink); display: block;
}
.console-mock__cards span {
  font-family: var(--t-mono); font-size: 9.5px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase;
}
.console-mock__feed {
  flex: 1;
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
  min-height: 150px;
}
.console-mock__feed img,
.console-mock__feed video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.console-mock__feed-overlay {
  position: absolute; bottom: 8px; left: 10px;
  font-family: var(--t-mono);
  font-size: 10px; color: rgba(255,255,255,0.85);
}

/* ============================================================
   DISEASE INTELLIGENCE
   ============================================================ */
.disease-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
@media (max-width: 1000px) { .disease-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .disease-grid { grid-template-columns: repeat(2, 1fr); } }
.disease {
  position: relative;
  border-radius: var(--rad);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-3);
  border: 1px solid var(--rule);
}
.disease img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform 250ms ease;
}
.disease:hover img { transform: scale(1.04); }
.disease__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,18,15,0.85) 100%);
  display: flex; align-items: flex-end;
  padding: 14px;
  pointer-events: none;
}
.disease__name {
  color: #fff;
  font-family: var(--t-display);
  font-size: 18px;
  line-height: 1.05;
}
.disease__name i {
  display: block;
  font-style: normal;
  font-family: var(--t-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-top: 4px;
}
.disease__bbox {
  position: absolute;
  border: 1.4px solid var(--sage-2);
  font-family: var(--t-mono);
  font-size: 9px;
  color: var(--sage-2);
  background: transparent;
  padding-top: 0;
}
.disease__bbox::before {
  content: attr(data-label);
  position: absolute;
  top: -14px; left: 0;
  background: rgba(20,18,15,0.7);
  padding: 1px 4px;
  white-space: nowrap;
}

/* ============================================================
   CONSUMER QR
   ============================================================ */
.consumer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .consumer-grid { grid-template-columns: 1fr; gap: 32px; } }

.qr-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 240px 240px;
  gap: 10px;
}
@media (max-width: 600px) { .qr-collage { grid-template-rows: 160px 160px; } }
.qr-tile {
  background: var(--bg-3);
  border-radius: var(--rad);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rule);
}
.qr-tile img { width: 100%; height: 100%; object-fit: cover; }
.qr-1 { grid-column: 1 / span 2; }
.qr-2 { grid-column: 3 / span 2; }
.qr-3 { grid-column: 5 / span 2; }
.qr-4 { grid-column: 1 / span 3; }
.qr-5 { grid-column: 4 / span 3; }
.qr-tile__caption {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: var(--t-mono);
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.06em;
  background: rgba(0,0,0,0.55);
  padding: 3px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* ============================================================
   FULL-BLEED GREENHOUSE BAND
   ============================================================ */
.section--bleed {
  padding: 0;
  border: none;
  position: relative;
  overflow: hidden;
}
.bleed-photo {
  height: clamp(380px, 56vh, 620px);
  position: relative;
  background: #1a1a1a;
}
.bleed-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
}
.bleed-photo__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,15,0.5) 0%, transparent 30%, transparent 60%, rgba(20,18,15,0.85) 100%),
    radial-gradient(circle at 30% 50%, transparent 30%, rgba(20,18,15,0.4) 100%);
}
.bleed-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
}
.bleed-content .container { width: 100%; }
.bleed-eyebrow {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-2);
  margin-bottom: 16px;
}
.bleed-quote {
  font-family: var(--t-display);
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.bleed-quote em { font-style: italic; color: var(--sage-2); }
.bleed-meta {
  position: absolute;
  bottom: 32px; left: var(--gut); right: var(--gut);
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--t-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 1;
}
.bleed-meta__crosshair {
  width: 30px; height: 30px;
  position: relative;
}
.bleed-meta__crosshair::before, .bleed-meta__crosshair::after {
  content: ''; position: absolute; background: var(--sage-2);
}
.bleed-meta__crosshair::before { top: 50%; left: 0; right: 0; height: 1px; }
.bleed-meta__crosshair::after { left: 50%; top: 0; bottom: 0; width: 1px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--ink-inv);
  padding: 64px 0 24px;
}
.footer .brand__mark { border-color: var(--ink-inv); color: var(--ink-inv); background: transparent; }
.footer .brand__name { color: var(--ink-inv); }
.footer .brand__name i { color: color-mix(in srgb, var(--ink-inv) 50%, transparent); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
}
.footer__brand p {
  font-size: 14px;
  color: color-mix(in srgb, var(--ink-inv) 70%, transparent);
  margin: 16px 0 24px;
  max-width: 36ch;
}
.footer__contact { display: grid; gap: 8px; font-size: 13px; }
.footer__contact div { display: flex; gap: 12px; }
.footer__contact span {
  font-family: var(--t-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink-inv) 45%, transparent);
  letter-spacing: 0.08em;
  width: 56px;
}
.footer__contact a { color: var(--sage-2); }
.footer__contact a:hover { text-decoration: underline; }

.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links h5 {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink-inv) 45%, transparent);
  margin: 0 0 8px;
  font-weight: 500;
}
.footer__links a {
  font-size: 14px;
  color: color-mix(in srgb, var(--ink-inv) 85%, transparent);
  transition: color 150ms ease;
}
.footer__links a:hover { color: var(--sage-2); }

.footer__base {
  border-top: 1px solid color-mix(in srgb, var(--ink-inv) 12%, transparent);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-family: var(--t-mono);
  font-size: 11px;
  color: color-mix(in srgb, var(--ink-inv) 45%, transparent);
  letter-spacing: 0.04em;
}
@media (max-width: 600px) {
  .footer__base { flex-direction: column; gap: 8px; }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero {
  padding: 96px 0 40px;
  border-bottom: 1px solid var(--rule);
}
.legal-hero h1 {
  font-family: var(--t-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 12px 0 20px;
  color: var(--ink);
}
.legal-hero h1 em { color: var(--sage); font-style: italic; }
.legal-hero p {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.legal-hero__meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--t-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.legal-hero__meta b {
  display: block;
  font-weight: 500;
  color: var(--ink-4);
  margin-bottom: 4px;
  font-size: 10.5px;
}

.legal-section {
  padding: 64px 0 96px;
}
.legal-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
}
.legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  font-size: 13px;
  line-height: 1.5;
}
.legal-toc h6 {
  font-family: var(--t-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.legal-toc ol {
  list-style: none;
  counter-reset: l;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.legal-toc li { counter-increment: l; }
.legal-toc a {
  color: var(--ink-2);
  display: block;
  transition: color 150ms ease;
}
.legal-toc a::before {
  content: counter(l, decimal-leading-zero);
  font-family: var(--t-mono);
  font-size: 10.5px;
  color: var(--ink-4);
  margin-right: 10px;
  letter-spacing: 0.04em;
}
.legal-toc a:hover { color: var(--sage); }
@media (max-width: 900px) {
  .legal-toc { position: static; }
}

.legal-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 680px;
}
.legal-body h2 {
  font-family: var(--t-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 56px 0 14px;
  scroll-margin-top: 96px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .num {
  display: block;
  font-family: var(--t-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.legal-body h3 {
  font-family: var(--t-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 8px;
}
.legal-body p { margin: 0 0 16px; }
.legal-body ul { padding-left: 22px; margin: 0 0 16px; }
.legal-body li { margin-bottom: 6px; }
.legal-body li::marker { color: var(--ink-4); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a {
  color: var(--sage);
  border-bottom: 1px solid color-mix(in srgb, var(--sage) 30%, transparent);
  transition: color 150ms ease, border-color 150ms ease;
}
.legal-body a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.legal-body code {
  font-family: var(--t-mono);
  font-size: 13px;
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--ink);
}
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13.5px;
}
.legal-body th, .legal-body td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.legal-body th {
  font-family: var(--t-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--ink-4);
}
.legal-body td code { font-size: 12px; background: transparent; padding: 0; color: var(--ink-2); }

.legal-address {
  margin-top: 64px;
  padding: 24px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  font-family: var(--t-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
@media (max-width: 600px) {
  .legal-address { grid-template-columns: 1fr; gap: 20px; }
}
.legal-address b {
  display: block;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10.5px;
  margin-bottom: 8px;
}
.legal-address a { color: var(--sage); }

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-banner-section {
  padding: 0 0 16px;
  background: var(--bg);
}
.careers-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  background: var(--paper);
  overflow: hidden;
  margin-top: -28px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.12);
}
.careers-banner__col {
  padding: 28px 32px;
  border-right: 1px solid var(--rule);
}
.careers-banner__col:last-child { border-right: none; }
.careers-banner__num {
  font-family: var(--t-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.careers-banner__num .careers-banner__unit {
  font-family: var(--t-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: 2px;
}
.careers-banner__lbl {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.careers-banner__sub {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 28ch;
}
@media (max-width: 800px) {
  .careers-banner { grid-template-columns: 1fr; }
  .careers-banner__col { border-right: none; border-bottom: 1px solid var(--rule); }
  .careers-banner__col:last-child { border-bottom: none; }
}

.careers-role-head {
  padding-bottom: 32px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 96px;
}
.careers-role-head__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.careers-tag {
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--bg-2);
}
.careers-role-title {
  font-family: var(--t-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.careers-role-title span {
  display: block;
  font-family: var(--t-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 6px;
}
.careers-role-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}

.careers-apply-list {
  padding-left: 22px;
  margin: 0 0 16px;
  counter-reset: step;
}
.careers-apply-list li {
  list-style: none;
  position: relative;
  padding-left: 12px;
  margin-bottom: 10px;
  counter-increment: step;
}
.careers-apply-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -22px;
  top: 1px;
  font-family: var(--t-mono);
  font-size: 11px;
  color: var(--sage);
  letter-spacing: 0.04em;
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
