/* ============================================================
   Wicked Health — Longevity site
   Built on the Brand Book tokens (styles.css). Site-only classes
   are prefixed .s-. Reuses wh- type/components where possible.
   ============================================================ */

/* — Extra palette: "Signal Midnight" (the brief's literal direction).
     Selectable via Tweaks. Maps brick -> electric teal, brass -> champagne. — */
[data-palette="signal"] {
  --ink:        #0a111c;
  --ink-elev:   #111c2c;
  --ink-sunk:   #060c15;
  --brick:      #2fe3c6;   /* electric teal — live / action */
  --brick-deep: #0e9c86;
  --brick-soft: rgba(47, 227, 198, 0.16);
  --brass:      #e6cf9a;   /* warm champagne neutral */
  --brass-deep: #b8995f;
  --plum:       #122438;
  --parchment:  #e9f1f3;
  --fog:        rgba(233, 241, 243, 0.55);
  --hairline:   rgba(233, 241, 243, 0.12);
  --hairline-2: rgba(233, 241, 243, 0.22);
}
[data-palette="signal"] ::selection { background: var(--brick); color: #04201b; }

/* — Motion master switch (Tweaks) — */
[data-motion="off"] * {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body { position: relative; }

/* ============================================================
   Layout primitives
   ============================================================ */
.s-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 40px;
}
.s-section {
  position: relative;
  padding-block: clamp(72px, 11vh, 140px);
  border-top: 1px solid var(--border);
}
.s-section.flush { border-top: none; }

.s-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--wh-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 40px;
}
.s-head .num { color: var(--accent); font-weight: 600; }
.s-head .rule { flex: 1; height: 1px; background: var(--border); }

@media (max-width: 820px) {
  .s-container { padding-inline: 22px; }
  .s-head .rule { display: none; }
}

/* Scroll reveal */
.s-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.s-reveal.in { opacity: 1; transform: none; }
.s-reveal[data-d="1"] { transition-delay: 0.08s; }
.s-reveal[data-d="2"] { transition-delay: 0.16s; }
.s-reveal[data-d="3"] { transition-delay: 0.24s; }
.s-reveal[data-d="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .s-reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Navigation
   ============================================================ */
.s-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.s-nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom-color: var(--border);
}
.s-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.s-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.s-nav-links a {
  font-family: var(--wh-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
  position: relative;
  padding-block: 6px;
}
.s-nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--dur) var(--ease);
}
.s-nav-links a:hover { color: var(--fg-1); }
.s-nav-links a:hover::after { width: 100%; }

.s-nav-right { display: flex; align-items: center; gap: 18px; }
.s-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  color: var(--fg-1);
  align-items: center; justify-content: center;
}

@media (max-width: 1080px) {
  .s-nav-links { display: none; }
  .s-burger { display: inline-flex; }
}

/* Mobile sheet */
.s-mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  padding: 28px 22px;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.s-mobile.open { display: flex; }
.s-mobile a {
  font-family: var(--wh-mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-1);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.s-mobile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

/* ============================================================
   Buttons (extend wh-btn sizing)
   ============================================================ */
.s-btn-lg { font-size: 13px; padding: 15px 26px; }
.wh-btn { white-space: nowrap; }
.wh-chip { white-space: nowrap; }
.s-link-arrow {
  font-family: var(--wh-mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-2); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--dur-fast) var(--ease), gap var(--dur-fast) var(--ease);
}
.s-link-arrow:hover { color: var(--accent); gap: 12px; }

/* ============================================================
   Hero
   ============================================================ */
.s-hero {
  position: relative;
  padding-top: clamp(120px, 18vh, 200px);
  padding-bottom: clamp(64px, 9vh, 120px);
  overflow: hidden;
}
.s-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 28%, var(--brick-soft), transparent 60%),
    radial-gradient(48% 44% at 12% 88%, color-mix(in srgb, var(--brass) 16%, transparent), transparent 62%);
  pointer-events: none;
}
.s-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.s-hero h1 {
  font-family: var(--wh-mono);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0 0 26px;
  text-wrap: balance;
}
.s-hero h1 .serif {
  font-family: var(--wh-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brass);
}
.s-hero-sub {
  font-family: var(--wh-body);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 520px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.s-hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.s-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }

/* Hero stats */
.s-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(24px, 4vw, 56px);
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.s-stat .v {
  font-family: var(--wh-mono);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg-1);
}
.s-stat .v .u { color: var(--accent); }
.s-stat .l {
  font-family: var(--wh-mono);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3); margin-top: 10px;
}

/* Hero visual — abstract data x biology */
.s-orb {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.s-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--hairline-2);
}
.s-orb-ring.r1 { inset: 0; }
.s-orb-ring.r2 { inset: 13%; border-color: var(--hairline); }
.s-orb-ring.r3 { inset: 27%; }
.s-orb-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: orbPulse 3.4s var(--ease) infinite;
}
.s-orb-pulse.d2 { animation-delay: 1.13s; }
.s-orb-pulse.d3 { animation-delay: 2.26s; }
@keyframes orbPulse {
  0%   { transform: scale(0.34); opacity: 0; }
  18%  { opacity: 0.7; }
  100% { transform: scale(1); opacity: 0; }
}
.s-orb-core {
  position: relative;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--brick) 34%, transparent), transparent 62%),
    var(--bg-elev);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  box-shadow: 0 0 60px -10px var(--brick-soft), inset 0 1px 0 var(--hairline);
}
.s-orb-core .delta {
  text-align: center;
  font-family: var(--wh-mono);
}
.s-orb-core .delta .big {
  font-weight: 700; font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: -0.03em; line-height: 1; color: var(--fg-1);
  display: block;
}
.s-orb-core .delta .lab {
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass); margin-top: 8px;
}
.s-orb-spark {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.s-orb-spark path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px var(--brick-soft));
}
.s-orb-node {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--brick-soft);
  animation: nodePulse 2.2s var(--ease) infinite;
}
@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.65; }
}

@media (max-width: 920px) {
  .s-hero-grid { grid-template-columns: 1fr; }
  .s-orb { grid-row: 1; max-width: 340px; }
  .s-stats { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 520px) {
  .s-stats { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================================
   Credibility strip
   ============================================================ */
.s-cred {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  flex-wrap: wrap;
  padding-block: 40px;
}
.s-cred .lab {
  font-family: var(--wh-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3);
}
.s-logo-ph {
  font-family: var(--wh-mono);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 9px;
}
.s-logo-ph .glyph {
  width: 26px; height: 26px; border-radius: 7px;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--bg-elev);
}

/* ============================================================
   Section title block (shared)
   ============================================================ */
.s-title {
  font-family: var(--wh-mono);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.s-title .serif { font-family: var(--wh-serif); font-style: italic; font-weight: 400; color: var(--brass); letter-spacing: -0.01em; }
.s-title em.accent { color: var(--accent); font-style: normal; }
.s-sub {
  font-family: var(--wh-body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 560px;
  text-wrap: pretty;
  margin: 18px 0 0;
}
.s-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 820px) {
  .s-title-row { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
}

/* ============================================================
   How It Works — interactive 4-step
   ============================================================ */
.s-steps {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.s-steps-list { display: flex; flex-direction: column; gap: 6px; }
.s-step {
  position: relative;
  text-align: left;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid var(--border);
  padding: 22px 0 22px 56px;
  cursor: pointer;
  color: var(--fg-2);
  transition: color var(--dur) var(--ease);
}
.s-step:last-child { border-bottom: 1px solid var(--border); }
.s-step .idx {
  position: absolute;
  left: 0; top: 22px;
  font-family: var(--wh-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  width: 38px;
  display: flex; align-items: center; gap: 0;
}
.s-step .idx .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-strong);
  margin-right: 12px;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.s-step h3 {
  font-family: var(--wh-mono);
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 23px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  color: var(--fg-2);
  transition: color var(--dur) var(--ease);
}
.s-step p {
  font-family: var(--wh-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-3);
  margin: 8px 0 0;
  max-width: 440px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease), opacity var(--dur) var(--ease), margin var(--dur) var(--ease);
}
.s-step.active { color: var(--fg-1); }
.s-step.active h3 { color: var(--fg-1); }
.s-step.active .idx { color: var(--accent); }
.s-step.active .idx .dot { background: var(--accent); box-shadow: 0 0 0 4px var(--brick-soft); }
.s-step.active p { max-height: 120px; opacity: 1; margin-top: 12px; }
.s-step .bar {
  position: absolute;
  left: 3.5px; top: 38px; bottom: 8px;
  width: 1px;
  background: var(--border);
  overflow: hidden;
}
.s-step .bar i {
  position: absolute; inset: 0 auto 100% 0;
  width: 100%;
  background: var(--accent);
}
.s-step.active .bar i { animation: stepFill var(--step-dur, 6s) linear forwards; }
@keyframes stepFill { from { inset: 0 auto 100% 0; } to { inset: 0 auto 0 0; } }

/* Step visual panel */
.s-step-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 100% 0%, var(--brick-soft), transparent 55%),
    var(--bg-elev);
  min-height: 420px;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.s-step-scene { display: none; flex: 1; flex-direction: column; }
.s-step-scene.show { display: flex; animation: sceneIn 0.5s var(--ease); }
@keyframes sceneIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.s-scene-top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--wh-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-3);
  padding-bottom: 18px; margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.s-scene-big {
  font-family: var(--wh-mono); font-weight: 700;
  font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.04em;
  line-height: 0.92; color: var(--fg-1); margin: auto 0 0;
}
.s-scene-big .accent { color: var(--accent); }
.s-scene-note { font-family: var(--wh-body); font-size: 14px; color: var(--fg-2); margin: 14px 0 0; max-width: 380px; }

@media (max-width: 820px) {
  .s-steps { grid-template-columns: 1fr; }
  .s-step-panel { min-height: 320px; order: 2; }
}

/* ============================================================
   Longevity Engine + Dashboard mockup
   ============================================================ */
.s-engine { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); gap: clamp(36px,5vw,72px); align-items: center; }
.s-engine-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 2px; }
.s-engine-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 16px 0; border-top: 1px solid var(--border);
  font-family: var(--wh-body); font-size: 15px; color: var(--fg-2); line-height: 1.5;
}
.s-engine-list li b { color: var(--fg-1); font-weight: 600; }
.s-engine-list .tick {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-size: 11px; font-family: var(--wh-mono);
  margin-top: 1px;
}

.s-dash {
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--bg-sunk);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6);
}
.s-dash-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.s-dash-bar .dots { display: flex; gap: 6px; }
.s-dash-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.s-dash-bar .title { font-family: var(--wh-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.s-dash-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--wh-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.s-dash-live .led { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: led 1.6s ease-in-out infinite; }
@keyframes led { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 var(--brick-soft); } 50% { opacity: 0.5; box-shadow: 0 0 0 5px transparent; } }

.s-dash-body { padding: 22px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.s-dash-cell {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  background: var(--bg-elev);
}
.s-dash-cell.wide { grid-column: 1 / -1; }
.s-dash-cell .ch {
  font-family: var(--wh-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3); display: flex; justify-content: space-between; align-items: center;
}
.s-bioage { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.s-bioage .n { font-family: var(--wh-mono); font-weight: 700; font-size: clamp(34px,5vw,52px); letter-spacing: -0.03em; line-height: 1; color: var(--fg-1); }
.s-bioage .d {
  font-family: var(--wh-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent); display: inline-flex; align-items: center; gap: 5px;
}
.s-bioage .sub { font-family: var(--wh-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-top: 12px; }

.s-spark { width: 100%; height: 64px; margin-top: 14px; display: block; }
.s-spark path.line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-spark path.area { fill: var(--brick-soft); stroke: none; }
.s-spark .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }

.s-metric { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 12px; }
.s-metric .mv { font-family: var(--wh-mono); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--fg-1); }
.s-metric .mu { font-family: var(--wh-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.s-metric .mt { font-family: var(--wh-mono); font-size: 11px; color: var(--accent); }
.s-bars { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-top: 14px; }
.s-bars i { flex: 1; background: var(--brick-soft); border-radius: 2px 2px 0 0; }
.s-bars i.on { background: var(--accent); }

@media (max-width: 820px) {
  .s-engine { grid-template-columns: 1fr; }
  .s-dash-body { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Gene Box
   ============================================================ */
.s-gene-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.s-gene-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  padding: 28px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.s-gene-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 24px 48px -28px rgba(0,0,0,0.6); }
.s-gene-card .seq {
  font-family: var(--wh-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--accent); margin-bottom: 22px;
}
.s-gene-card h3 { font-family: var(--wh-mono); font-weight: 600; font-size: 21px; letter-spacing: -0.015em; margin: 0 0 10px; color: var(--fg-1); }
.s-gene-card p { font-family: var(--wh-body); font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0 0 18px; }
.s-gene-card .ci {
  font-family: var(--wh-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-3); display: flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border);
}
.s-gene-card .ci .d { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

.s-genebox-wrap { display: grid; grid-template-columns: minmax(0,0.86fr) minmax(0,1.14fr); gap: clamp(32px,4vw,64px); align-items: start; }
@media (max-width: 900px) {
  .s-genebox-wrap { grid-template-columns: 1fr; }
  .s-gene-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Personalized Formula (VitaminLab layer)
   ============================================================ */
.s-formula-feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.s-formula-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  padding: 28px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.s-formula-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.s-formula-card .fi {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--bg-sunk);
  display: grid; place-items: center; color: var(--accent);
  margin-bottom: 20px;
}
.s-formula-card h3 { font-family: var(--wh-mono); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; margin: 0 0 9px; color: var(--fg-1); }
.s-formula-card p { font-family: var(--wh-body); font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0; }

.s-formula-sample {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  background:
    radial-gradient(80% 120% at 0% 0%, var(--brick-soft), transparent 55%),
    var(--bg-elev);
  padding: clamp(28px, 3.4vw, 48px);
}
.s-formula-aside .s-link-arrow { margin-top: 2px; }
.s-formula-aside h3 {
  font-family: var(--wh-mono); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.025em; line-height: 1.04; margin: 16px 0 14px; color: var(--fg-1);
}
.s-formula-aside h3 .serif { font-family: var(--wh-serif); font-style: italic; font-weight: 400; color: var(--brass); }
.s-formula-aside p { font-family: var(--wh-body); font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0 0 24px; }
.s-formula-aside .wh-btn { margin-bottom: 18px; }

.s-vlab-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--wh-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-2);
}
.s-vlab-tag .glyph {
  width: 24px; height: 24px; border-radius: 7px;
  border: 1px solid var(--border-strong); background: var(--bg-sunk);
  display: grid; place-items: center; color: var(--accent);
}

/* Sample formula "bottle label" card */
.s-sample {
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--bg-sunk);
  overflow: hidden;
  box-shadow: 0 30px 64px -36px rgba(0,0,0,0.6);
}
.s-sample-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px; border-bottom: 1px solid var(--border); background: var(--bg-elev);
  font-family: var(--wh-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3);
}
.s-sample-id { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.s-sample-id .led { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.s-sample-body { padding: 22px; }
.s-sample-name { font-family: var(--wh-mono); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--fg-1); }
.s-sample-goals { display: flex; gap: 7px; flex-wrap: wrap; margin: 12px 0 22px; }
.s-sample-goals .g {
  font-family: var(--wh-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass); border: 1px solid var(--border-strong); border-radius: var(--r-pill);
  padding: 5px 11px;
}
.s-ing { display: grid; gap: 0; }
.s-ing-row { padding: 14px 0; border-top: 1px solid var(--border); }
.s-ing-row:first-child { border-top: none; }
.s-ing-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.s-ing-head .nm { font-family: var(--wh-mono); font-size: 14px; font-weight: 600; color: var(--fg-1); flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.s-ing-head .ds { font-family: var(--wh-mono); font-size: 13px; color: var(--accent); white-space: nowrap; flex: 0 0 auto; }
.s-ing-why { font-family: var(--wh-body); font-size: 13px; line-height: 1.45; color: var(--fg-3); margin: 6px 0 0; }
.s-sample-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-top: 1px solid var(--border); background: var(--bg-elev);
  font-family: var(--wh-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3);
}
.s-sample-foot .led { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

.s-formula-fine { margin-top: 40px; }

@media (max-width: 900px) {
  .s-formula-feats { grid-template-columns: 1fr; }
  .s-formula-sample { grid-template-columns: 1fr; }
  .s-formula-aside { order: 2; }
}

/* ============================================================
   Membership pricing
   ============================================================ */
.s-pricing { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; align-items: start; }
.s-tier {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.s-tier:hover { transform: translateY(-4px); }
.s-tier.featured {
  border-color: var(--accent);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--brick-soft), transparent 55%),
    var(--bg-elev);
  box-shadow: 0 30px 70px -36px var(--brick-soft);
}
.s-tier .pop {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--parchment);
  font-family: var(--wh-mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.s-tier .tname { font-family: var(--wh-mono); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.s-tier.featured .tname { color: var(--accent); }
.s-tier .tdesc { font-family: var(--wh-body); font-size: 13px; line-height: 1.5; color: var(--fg-3); margin: 10px 0 20px; min-height: 54px; }
.s-tier .price { display: flex; align-items: baseline; gap: 6px; }
.s-tier .price .cur { font-family: var(--wh-mono); font-size: 18px; color: var(--fg-2); }
.s-tier .price .amt { font-family: var(--wh-mono); font-weight: 700; font-size: 44px; letter-spacing: -0.04em; line-height: 1; color: var(--fg-1); }
.s-tier .price .amt.invite { font-size: 19px; letter-spacing: -0.005em; color: var(--accent); line-height: 1.2; white-space: nowrap; }
.s-tier .price:has(.invite) { min-height: 48px; align-items: center; }
.s-tier .price .per { font-family: var(--wh-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-3); }
.s-tier .once { font-family: var(--wh-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fg-3); margin-top: 8px; }
.s-tier ul { list-style: none; margin: 22px 0 26px; padding: 22px 0 0; border-top: 1px solid var(--border); display: grid; gap: 12px; flex: 1; }
.s-tier li {
  font-family: var(--wh-body); font-size: 13.5px; line-height: 1.4; color: var(--fg-2);
  display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start;
}
.s-tier li .k { color: var(--accent); font-family: var(--wh-mono); font-size: 12px; margin-top: 1px; }
.s-tier li b { color: var(--fg-1); font-weight: 600; }
.s-tier .wh-btn { width: 100%; justify-content: center; }
.s-pricing-foot {
  margin-top: 22px; text-align: center;
  font-family: var(--wh-body); font-size: 13px; color: var(--fg-3);
}

@media (max-width: 1080px) {
  .s-pricing { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; max-width: 720px; margin-inline: auto; }
  .s-tier .tdesc { min-height: 0; }
}
@media (max-width: 560px) {
  .s-pricing { grid-template-columns: 1fr; max-width: 420px; }
}

/* ============================================================
   For Clinics — two audience cards / pitch
   ============================================================ */
.s-clinics-wrap {
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 120% at 100% 0%, var(--brick-soft), transparent 50%),
    var(--bg-elev);
  padding: clamp(32px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr);
  gap: clamp(32px,4vw,64px);
  align-items: center;
}
.s-clinic-points { display: grid; gap: 14px; margin: 26px 0 30px; }
.s-clinic-point {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  font-family: var(--wh-body); font-size: 15px; color: var(--fg-2); line-height: 1.5;
}
.s-clinic-point .n { font-family: var(--wh-mono); font-size: 12px; color: var(--brass); font-weight: 600; }
.s-clinic-point b { color: var(--fg-1); font-weight: 600; }
.s-revcard {
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--bg-sunk);
  padding: 28px;
}
.s-revcard .rt { font-family: var(--wh-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.s-revcard .rn { font-family: var(--wh-mono); font-weight: 700; font-size: clamp(34px,4.4vw,52px); letter-spacing: -0.03em; color: var(--fg-1); margin: 14px 0 4px; }
.s-revcard .rl { font-family: var(--wh-body); font-size: 13.5px; color: var(--fg-2); }
.s-revcard hr { border: none; border-top: 1px solid var(--border); margin: 22px 0; }
.s-revrow { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--wh-mono); font-size: 13px; color: var(--fg-2); padding: 7px 0; }
.s-revrow b { color: var(--fg-1); }

@media (max-width: 900px) {
  .s-clinics-wrap { grid-template-columns: 1fr; }
}

/* For Clinics — deployment options */
.s-deploy { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 2px 0 28px; }
.s-deploy-opt {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-sunk);
  padding: 16px;
}
.s-deploy-opt.feat { border-color: var(--border-strong); box-shadow: inset 0 0 0 1px var(--brick-soft); }
.s-deploy-opt .dt { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 9px; }
.s-deploy-opt .dname { font-family: var(--wh-mono); font-weight: 600; font-size: 13px; letter-spacing: 0.01em; color: var(--fg-1); }
.s-deploy-opt .dtag {
  font-family: var(--wh-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--border-strong); border-radius: var(--r-pill);
  padding: 3px 8px; white-space: nowrap;
}
.s-deploy-opt p { font-family: var(--wh-body); font-size: 12.5px; line-height: 1.5; color: var(--fg-2); margin: 0; }
@media (max-width: 540px) { .s-deploy { grid-template-columns: 1fr; } }

/* ============================================================
   Security + compliance
   ============================================================ */
.s-badges {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}
.s-badge {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  padding: 20px 16px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.s-badge:hover { border-color: var(--accent); transform: translateY(-3px); }
.s-badge .ico {
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--accent);
  background: var(--bg-sunk);
}
.s-badge .bl { font-family: var(--wh-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-1); line-height: 1.3; }
.s-sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.s-sec-card { border-top: 1px solid var(--accent); padding-top: 22px; }
.s-sec-card .sn { font-family: var(--wh-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.s-sec-card h3 { font-family: var(--wh-mono); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin: 0 0 10px; color: var(--fg-1); }
.s-sec-card p { font-family: var(--wh-body); font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0; }

@media (max-width: 900px) {
  .s-badges { grid-template-columns: repeat(3, 1fr); }
  .s-sec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .s-badges { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Testimonials
   ============================================================ */
.s-testi { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.s-quote {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  padding: 30px;
  display: flex; flex-direction: column;
}
.s-quote .mark { font-family: var(--wh-serif); font-style: italic; font-size: 56px; line-height: 0.4; color: var(--brass); height: 28px; }
.s-quote blockquote {
  font-family: var(--wh-body); font-size: 16px; line-height: 1.55; color: var(--fg-1);
  margin: 0 0 24px; flex: 1; text-wrap: pretty;
}
.s-quote .who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.s-quote .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-sunk); border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  font-family: var(--wh-mono); font-size: 13px; font-weight: 600; color: var(--brass);
}
.s-quote .nm { font-family: var(--wh-mono); font-size: 13px; font-weight: 600; color: var(--fg-1); }
.s-quote .ro { font-family: var(--wh-body); font-size: 12.5px; color: var(--fg-3); margin-top: 2px; }

@media (max-width: 900px) { .s-testi { grid-template-columns: 1fr; } }

/* ============================================================
   Final CTA + capture
   ============================================================ */
.s-cta-band {
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 120% at 15% 10%, var(--brick-soft), transparent 55%),
    radial-gradient(60% 100% at 100% 100%, color-mix(in srgb, var(--brass) 14%, transparent), transparent 60%),
    var(--bg-elev);
  padding: clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,0.9fr);
  gap: clamp(32px,4vw,64px);
  align-items: center;
}
.s-cta-band h2 { font-family: var(--wh-mono); font-weight: 700; font-size: clamp(30px,4vw,52px); line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 16px; text-wrap: balance; }
.s-cta-band h2 .serif { font-family: var(--wh-serif); font-style: italic; font-weight: 400; color: var(--brass); }
.s-cta-band .lede { font-family: var(--wh-body); font-size: 16px; line-height: 1.55; color: var(--fg-2); margin: 0; max-width: 460px; }

.s-form { display: grid; gap: 14px; }
.s-toggle {
  display: inline-flex; padding: 4px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong); background: var(--bg-sunk);
  font-family: var(--wh-mono);
}
.s-toggle button {
  border: none; background: none; cursor: pointer;
  font-family: var(--wh-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-3); padding: 9px 20px; border-radius: var(--r-pill);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.s-toggle button.on { background: var(--accent); color: var(--parchment); }
.s-field { display: grid; gap: 7px; }
.s-field label { font-family: var(--wh-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.s-input {
  font-family: var(--wh-body); font-size: 15px;
  background: var(--bg-sunk);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 13px 16px;
  color: var(--fg-1);
  transition: border-color var(--dur-fast) var(--ease);
  width: 100%;
}
.s-input::placeholder { color: var(--fg-3); }
.s-input:focus { outline: none; border-color: var(--accent); }
.s-form .wh-btn { justify-content: center; padding: 15px; }
.s-form-note { font-family: var(--wh-body); font-size: 11.5px; line-height: 1.5; color: var(--fg-3); }
.s-form-ok {
  display: none;
  font-family: var(--wh-mono); font-size: 13px; color: var(--accent);
  align-items: center; gap: 10px;
  border: 1px solid var(--accent); border-radius: var(--r-md);
  padding: 16px; background: var(--brick-soft);
}
.s-form.done .s-form-fields { display: none; }
.s-form.done .s-form-ok { display: flex; }

@media (max-width: 820px) { .s-cta-band { grid-template-columns: 1fr; } }

/* ============================================================
   Compliance fine print
   ============================================================ */
.s-fineprint {
  font-family: var(--wh-body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-3);
  max-width: 760px;
  display: flex; gap: 10px; align-items: flex-start;
}
.s-fineprint .mk {
  font-family: var(--wh-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--brass); border: 1px solid var(--border-strong);
  border-radius: 5px; padding: 2px 7px; white-space: nowrap; margin-top: 1px;
}

/* ============================================================
   Footer
   ============================================================ */
.s-footer { border-top: 1px solid var(--border); padding-block: 64px 40px; }
.s-foot-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr));
  gap: 40px;
  margin-bottom: 48px;
}
.s-foot-col h4 { font-family: var(--wh-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 18px; }
.s-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.s-foot-col a { font-family: var(--wh-body); font-size: 14px; color: var(--fg-2); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.s-foot-col a:hover { color: var(--accent); }
.s-foot-brand p { font-family: var(--wh-body); font-size: 14px; line-height: 1.55; color: var(--fg-3); margin: 18px 0 0; max-width: 320px; }
.s-foot-bottom {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--border);
}
.s-foot-meta { font-family: var(--wh-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--fg-3); }
@media (max-width: 820px) {
  .s-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .s-foot-brand { grid-column: 1 / -1; }
}

/* ============================================================
   Demo modal
   ============================================================ */
.s-modal {
  position: fixed; inset: 0; z-index: 120;
  display: none; place-items: center;
  padding: 24px;
  background: color-mix(in srgb, #000 64%, transparent);
  backdrop-filter: blur(6px);
}
.s-modal.open { display: grid; animation: fadeIn 0.25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.s-modal-card {
  width: min(560px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  animation: modalIn 0.35s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.s-modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--bg-sunk);
  color: var(--fg-2); cursor: pointer;
  display: grid; place-items: center;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.s-modal-close:hover { color: var(--accent); border-color: var(--accent); }
.s-modal-card h3 { font-family: var(--wh-mono); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--fg-1); }
.s-modal-card .ms { font-family: var(--wh-body); font-size: 14.5px; color: var(--fg-2); margin: 0 0 26px; }
.s-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .s-row2 { grid-template-columns: 1fr; } }

/* Toast */
.s-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%);
  z-index: 130;
  background: var(--accent); color: var(--parchment);
  font-family: var(--wh-mono); font-size: 12px; letter-spacing: 0.06em;
  padding: 14px 22px; border-radius: var(--r-pill);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5);
  transition: transform 0.5s var(--ease);
  display: flex; align-items: center; gap: 10px;
}
.s-toast.show { transform: translate(-50%, 0); }

/* Reduce-motion: kill infinite loops */
@media (prefers-reduced-motion: reduce) {
  .s-orb-pulse, .s-orb-node, .s-dash-live .led { animation: none; }
  .s-orb-pulse { opacity: 0.25; }
}
[data-motion="off"] .s-orb-pulse,
[data-motion="off"] .s-orb-node,
[data-motion="off"] .s-dash-live .led,
[data-motion="off"] .s-step.active .bar i { animation: none !important; }
[data-motion="off"] .s-orb-pulse { opacity: 0.22; }
[data-motion="off"] .s-step.active .bar i { inset: 0 auto 0 0; }

/* ============================================================
   About — principle cards
   ============================================================ */
.s-about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.s-about-point {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  padding: 28px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.s-about-point:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.s-about-point .pn {
  font-family: var(--wh-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--accent); display: block; margin-bottom: 16px;
}
.s-about-point h3 {
  font-family: var(--wh-mono); font-weight: 600; font-size: 19px; letter-spacing: -0.015em;
  margin: 0 0 9px; color: var(--fg-1);
}
.s-about-point p { font-family: var(--wh-body); font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0; }
@media (max-width: 900px) { .s-about-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .s-about-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Equipment / devices
   ============================================================ */
.s-dev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.s-dev-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.s-dev-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 24px 48px -28px rgba(0,0,0,0.6); }
.s-dev-top { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.s-dev-top .dn { font-family: var(--wh-mono); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--fg-1); }
.s-dev-top .dr {
  font-family: var(--wh-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass);
}
.s-dev-card > p { font-family: var(--wh-body); font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0 0 18px; }
.s-dev-sig { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.s-dev-sig span {
  font-family: var(--wh-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-2); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 5px 11px;
}
.s-dev-batt {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
  font-family: var(--wh-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3);
  display: flex; align-items: center; gap: 8px;
}
.s-dev-batt .led { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.s-dev-kits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.s-dev-kit {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-sunk);
  padding: 22px;
}
.s-dev-kit.feat { border-color: var(--border-strong); box-shadow: inset 0 0 0 1px var(--brick-soft); }
.s-dev-kit .kt { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.s-dev-kit .kn { font-family: var(--wh-mono); font-weight: 600; font-size: 14px; letter-spacing: 0.01em; color: var(--fg-1); }
.s-dev-kit .ktag {
  font-family: var(--wh-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 3px 9px; white-space: nowrap;
}
.s-dev-kit p { font-family: var(--wh-body); font-size: 13px; line-height: 1.5; color: var(--fg-2); margin: 0; }
@media (max-width: 900px) {
  .s-dev-grid { grid-template-columns: 1fr; }
  .s-dev-kits { grid-template-columns: 1fr; }
}

/* ============================================================
   Gene flow (Personalized Testing)
   ============================================================ */
.s-gene-flow { display: grid; gap: 14px; }
.s-gene-step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  padding: 26px 28px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.s-gene-step:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.s-gene-step .gn {
  font-family: var(--wh-mono); font-weight: 700; font-size: 26px; letter-spacing: -0.03em;
  color: var(--accent); line-height: 1;
}
.s-gene-step .gc h3 { font-family: var(--wh-mono); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; margin: 0 0 8px; color: var(--fg-1); }
.s-gene-step .gc p { font-family: var(--wh-body); font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.s-gene-flow .s-fineprint { margin-top: 8px; }
