/* FairIntellect Technologies: one stylesheet, mobile first. Tokens in :root; ui-context.md documents them. */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-display.woff2") format("woff2");
  font-weight: 380 560;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-display-italic.woff2") format("woff2");
  font-weight: 380 560;
  font-style: italic;
  font-display: optional;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/plex-sans.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/plex-sans-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a1320;
  --ink-2: #111c2e;
  --ink-3: #1a2740;
  --ink-4: #243453;
  --paper: #f7f8f5;
  --paper-2: #edf0ea;
  --white: #ffffff;
  --text: #0a1320;
  --muted: #4e5a69;
  --muted-2: #5b6675;
  --line: rgba(10, 19, 32, 0.12);
  --line-2: rgba(10, 19, 32, 0.2);
  --on-dark: #e8eef6;
  --on-dark-muted: #9aa8ba;
  --on-dark-faint: #8593a6;
  --line-dark: rgba(232, 238, 246, 0.13);
  --line-dark-2: rgba(232, 238, 246, 0.22);
  --accent: #0b7390;
  --accent-deep: #085a71;
  --accent-bright: #3ccbef;
  --accent-soft: rgba(11, 115, 144, 0.08);
  --gfp: #58e08a;
  --cfp: #3ccbef;
  --yfp: #f2d04b;
  --mcherry: #ff6f8e;
  --dapi: #8b93ff;
  --danger: #b42318;
  --focus: var(--accent);

  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --hdr: 60px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --section: clamp(72px, 11vw, 140px);
  --shadow-sm: 0 1px 2px rgba(10, 19, 32, 0.06);
  --shadow: 0 1px 2px rgba(10, 19, 32, 0.05), 0 10px 30px -12px rgba(10, 19, 32, 0.14);
  --shadow-lg: 0 2px 4px rgba(10, 19, 32, 0.05), 0 28px 60px -24px rgba(10, 19, 32, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 900px) {
  :root { --hdr: 68px; }
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@media (min-width: 900px) {
  body { font-size: 1.0625rem; }
}

img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 420;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.55rem + 4.6vw, 5.1rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.45rem + 2.4vw, 3.3rem); line-height: 1.08; }
h3 { font-size: 1.1875rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; font-weight: 400; }

p { text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }

strong, b { font-weight: 600; }

::selection { background: rgba(60, 203, 239, 0.28); }

:focus-visible {
  outline: 2px solid var(--focus, var(--accent));
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-bright);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; color: var(--ink); }

/* ---------------------------------------------------------------- icons, buttons, links */

.i-arrow, .i-check {
  width: 1em; height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--white);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 1rem/1 var(--font-sans);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { --btn-bg: var(--accent-deep); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn .i-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bg: rgba(10, 19, 32, 0.04); --btn-fg: var(--text); --btn-bd: var(--text); }

.btn--bright { --btn-bg: var(--accent-bright); --btn-fg: var(--ink); }
.btn--bright:hover { --btn-bg: #7ddcf5; --btn-fg: var(--ink); }

.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: var(--line-dark-2); }
.btn--ghost-dark:hover { --btn-bg: rgba(232, 238, 246, 0.06); --btn-fg: var(--white); --btn-bd: var(--on-dark-muted); }

.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
}
.link-arrow .i-arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .i-arrow { transform: translateX(3px); }
.section--dark .link-arrow, .hero .link-arrow { color: var(--accent-bright); }

/* ---------------------------------------------------------------- header */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}

.hdr__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--hdr);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--accent-bright);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: var(--accent-bright); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__dish { fill: none; stroke: currentColor; stroke-opacity: 0.55; stroke-width: 1.3; }
.brand__cell { fill: var(--accent-bright); }
.brand__word {
  font: 400 1.1875rem/1 var(--font-sans);
  letter-spacing: -0.01em;
}
.brand__word b { font-weight: 600; }
.brand__sub {
  display: block;
  margin-top: 5px;
  font: 500 0.625rem/1 var(--font-mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.nav { display: none; }
.hdr__cta { padding: 0 14px; font-size: 0.875rem; }
@media (max-width: 349px) {
  .hdr__cta { display: none; }
}

@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 4px; }
  .hdr__cta { margin-left: 12px; padding: 0 18px; font-size: 0.9375rem; }
}

.nav__link {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link:hover { color: var(--white); background: rgba(232, 238, 246, 0.06); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 3px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent-bright);
}

/* Mobile menu: a <details>, so it opens without JavaScript. main.js adds scroll lock and Escape. */
.mnav { position: static; }
.mnav > summary {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-right: -8px;
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary:hover { background: rgba(232, 238, 246, 0.06); }
.burger, .burger::before, .burger::after {
  display: block;
  width: 20px; height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.mnav[open] .burger { background: transparent; }
.mnav[open] .burger::before { transform: translateY(6px) rotate(45deg); }
.mnav[open] .burger::after { transform: translateY(-6px) rotate(-45deg); }

.mnav__panel {
  position: fixed;
  left: 0; right: 0;
  top: var(--hdr);
  height: calc(100vh - var(--hdr));
  height: calc(100dvh - var(--hdr));
  overflow-y: auto;
  padding: 24px var(--gutter) 32px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (prefers-reduced-motion: no-preference) {
  .mnav[open] .mnav__panel { animation: menu-in 0.35s var(--ease); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.mnav__nav { display: flex; flex-direction: column; }
.mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
  font: 420 1.75rem/1.1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.mnav__link[aria-current="page"] { color: var(--accent-bright); }
.mnav__meta { display: grid; gap: 6px; font-size: 0.9375rem; color: var(--on-dark-muted); }
.mnav__meta a { display: flex; align-items: center; min-height: 44px; color: var(--on-dark); text-decoration: none; }

@media (min-width: 900px) {
  .mnav { display: none; }
}

/* ---------------------------------------------------------------- sections */

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.62); }
.section--tint { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 115, 144, 0.14);
}
.section--dark .eyebrow, .hero .eyebrow, .phero .eyebrow, .cta-band .eyebrow { color: var(--on-dark-muted); }
.section--dark .eyebrow::before, .hero .eyebrow::before, .phero .eyebrow::before, .cta-band .eyebrow::before {
  background: var(--gfp);
  box-shadow: 0 0 0 3px rgba(88, 224, 138, 0.16), 0 0 12px rgba(88, 224, 138, 0.6);
}

.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head p:not(.eyebrow) { margin-top: 20px; }

h2 + .lede, h2 + p { margin-top: 20px; }

.lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
}
@media (min-width: 900px) {
  .lede { font-size: 1.25rem; }
}
.section--dark .lede, .cta-band .lede { color: var(--on-dark-muted); }

.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 700px) {
  .grid--2, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { gap: 24px; }
}
@media (min-width: 1200px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-fig { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .split--flip > :first-child { order: 2; }
  .split--wide-fig.split--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

/* ---------------------------------------------------------------- reveal (CSS scroll timeline; no JS, nothing hidden where unsupported) */

@media screen and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0 entry 140px;
    }
  }
}
@keyframes reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------------------------------------------------------------- figures (journal style) */

.fig { margin: 0; }
.fig__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.section--dark .fig__frame, .hero .fig__frame { border-color: var(--line-dark); }
.fig__cap {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-2);
}
.fig__cap b { font-weight: 600; color: var(--text); margin-right: 4px; }
.section--dark .fig__cap, .hero .fig__cap, .phero .fig__cap { color: var(--on-dark-faint); }
.section--dark .fig__cap b, .hero .fig__cap b, .phero .fig__cap b { color: var(--on-dark); }

.photo { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- lists */

.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i-check {
  margin-top: 0.3em;
  color: var(--accent);
  stroke-width: 2;
}
.section--dark .ticks .i-check, .hero .ticks .i-check { color: var(--gfp); }

/* ---------------------------------------------------------------- footer */

.ftr {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-top: clamp(56px, 8vw, 88px);
  font-size: 0.9375rem;
}
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { color: var(--accent-bright); }
.ftr__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
  padding-bottom: 48px;
}
.ftr__brand, .ftr__grid > :last-child { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .ftr__grid > :last-child { grid-column: auto; }
}
@media (min-width: 1024px) {
  .ftr__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; }
  .ftr__brand { grid-column: auto; }
}
.ftr__brand .brand { color: var(--on-dark); margin-bottom: 20px; }
.ftr__brand p { max-width: 34ch; }
.ftr__h {
  margin-bottom: 14px;
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.ftr__list { display: grid; gap: 2px; }
.ftr__list a { display: inline-flex; align-items: center; min-height: 36px; }
.ftr__base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
  color: var(--on-dark-faint);
}
.ftr__base nav { display: flex; gap: 20px; }
.ftr__base a { display: inline-flex; align-items: center; min-height: 40px; }
.ftr__base p { display: flex; align-items: center; min-height: 40px; }

/* ---------------------------------------------------------------- hero (home) */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(60, 203, 239, 0.12), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(88, 224, 138, 0.06), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(232, 238, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 238, 246, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.hero__title { color: var(--white); max-width: 11ch; }
.hero__title em { color: var(--accent-bright); }
.hero__lede {
  margin-top: 24px;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--on-dark-muted);
}
@media (min-width: 900px) {
  .hero__lede { font-size: 1.25rem; }
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .i-check { color: var(--gfp); stroke-width: 2; }

/* ---------------------------------------------------------------- colony figure */

.colony {
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 50%, #0b1626 0%, #050a12 72%);
  border-radius: 20px;
}
.colony__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.colony__hud { position: absolute; inset: 0; pointer-events: none; }
.hud {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 0.6875rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 238, 246, 0.72);
  font-variant-numeric: tabular-nums;
}
.hud--tl { top: 16px; left: 16px; }
.hud--tr { top: 16px; right: 16px; text-transform: none; letter-spacing: 0.04em; }
.hud--bl { bottom: 16px; left: 16px; text-transform: none; letter-spacing: 0.04em; }
.hud--br { bottom: 16px; right: 16px; flex-direction: column; align-items: flex-end; gap: 6px; text-transform: none; }
.hud__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mcherry);
  box-shadow: 0 0 10px var(--mcherry);
}
@media (prefers-reduced-motion: no-preference) {
  .hud__dot { animation: blink 2s steps(2, jump-none) infinite; }
}
@keyframes blink { 50% { opacity: 0.25; } }
.hud__bar { display: block; height: 2px; width: 60px; background: rgba(232, 238, 246, 0.8); border-radius: 1px; }
@media (min-width: 600px) {
  .hud { font-size: 0.75rem; }
  .hud--tl, .hud--tr { top: 20px; }
  .hud--bl, .hud--br { bottom: 20px; }
  .hud--tl, .hud--bl { left: 20px; }
  .hud--tr, .hud--br { right: 20px; }
}

/* ---------------------------------------------------------------- problem cards */

.pain {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pain__tag {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.02em;
}
.pain h3 { font-size: 1.125rem; }
.pain p:not(.pain__tag) { color: var(--muted); font-size: 0.9375rem; }

/* ---------------------------------------------------------------- advantage */

.advantage__lede { margin-top: 20px; }
#advantage h2 + .lede + p { margin-top: 18px; color: var(--muted); }
.advantage__list { margin-top: 28px; gap: 14px; }
.advantage__list b { color: var(--text); }
.advantage__list span { color: var(--muted); }
.photo--bench { aspect-ratio: 1400 / 939; box-shadow: var(--shadow-lg); }

/* ---------------------------------------------------------------- service cards */

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.svc-card__fig { width: 96px; height: 64px; margin-bottom: 22px; color: var(--ink); }
.svc-card__fig svg { width: 100%; height: 100%; }
.svc-card__idx {
  position: absolute;
  top: 26px; right: 26px;
  font: 500 0.75rem/1 var(--font-mono);
  color: var(--muted-2);
  letter-spacing: 0.08em;
}
.svc-card__title { font-size: 1.375rem; font-family: var(--font-display); font-weight: 460; letter-spacing: -0.01em; }
.svc-card__text { margin-top: 10px; color: var(--muted); }
.svc-card .ticks { margin-top: 18px; margin-bottom: 24px; font-size: 0.9375rem; }
.svc-card .link-arrow { margin-top: auto; }
.svc-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

.ic-line { stroke: currentColor; stroke-width: 1.6; }
.ic-dim { stroke-opacity: 0.35; }
.ic-well circle { stroke: currentColor; stroke-width: 1.3; stroke-opacity: 0.45; }
.ic-fill circle { fill: var(--accent); stroke: none; }
.ic-fill-2 { fill: var(--gfp); }
.ic-node circle { fill: var(--white); stroke: currentColor; stroke-width: 1.6; }
.ic-dot { fill: var(--accent); stroke: none; }
.ic-accent { stroke: var(--accent); stroke-width: 2; }
.ic-hl { fill: rgba(242, 208, 75, 0.45); stroke: none; }
.ic-text { font: 500 11px/1 var(--font-mono); fill: var(--accent); stroke: none; letter-spacing: 0.04em; }
.ic-text--dim { fill: currentColor; fill-opacity: 0.45; }

/* ---------------------------------------------------------------- spotlight + pipeline figure */

.spotlight { overflow: hidden; }
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 85% 50%, rgba(60, 203, 239, 0.1), transparent 70%);
  pointer-events: none;
}
.spotlight .container { position: relative; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.pipeline {
  position: relative;
  border-radius: var(--radius);
  background: #060c16;
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
  overflow: hidden;
}
.pipeline__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.75rem;
  color: var(--on-dark-faint);
}
.pipeline__dots { display: inline-flex; gap: 6px; }
.pipeline__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(232, 238, 246, 0.14); }
.pipeline__title { color: var(--on-dark); }
.pipeline__env { margin-left: auto; display: none; }
@media (min-width: 520px) { .pipeline__env { display: inline; } }

.pipeline__stages { position: relative; padding: 10px 16px 14px 16px; }
.pipeline__stages::before {
  content: "";
  position: absolute;
  left: 26px; top: 28px; bottom: 30px;
  width: 1px;
  background: var(--line-dark-2);
}
.stage {
  --d: 0s;
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  grid-template-areas: "node name out" "node tool out" "node meter meter";
  column-gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(232, 238, 246, 0.07);
}
.stage:last-child { border-bottom: 0; }
.stage:nth-child(2) { --d: 1.1s; }
.stage:nth-child(3) { --d: 2.2s; }
.stage:nth-child(4) { --d: 3.3s; }
.stage:nth-child(5) { --d: 4.4s; }
.stage:nth-child(6) { --d: 5.5s; }
.stage__node {
  grid-area: node;
  position: relative;
  z-index: 1;
  width: 11px; height: 11px;
  margin: 5px 0 0 5px;
  border-radius: 50%;
  background: #060c16;
  border: 1.5px solid var(--gfp);
  box-shadow: 0 0 0 4px #060c16;
}
.stage__node::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--gfp);
}
.stage__name { grid-area: name; font-size: 0.8125rem; color: var(--on-dark); font-family: var(--font-sans); font-weight: 500; }
.stage__tool { grid-area: tool; font-size: 0.75rem; color: var(--on-dark-faint); }
.stage__out { grid-area: out; align-self: center; font-size: 0.75rem; color: var(--gfp); text-align: right; white-space: nowrap; }
.stage__meter {
  grid-area: meter;
  display: block;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: rgba(232, 238, 246, 0.08);
  overflow: hidden;
}
.stage__meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--cfp), var(--gfp)); transform-origin: left; }

@media (prefers-reduced-motion: no-preference) {
  .pipeline.is-live .stage__meter i { animation: meter 9s var(--d) infinite both; }
  .pipeline.is-live .stage__out { animation: out 9s var(--d) infinite both; }
  .pipeline.is-live .stage__node::after { animation: out 9s var(--d) infinite both; }
  .pipeline.is-live .pipeline__packet { animation: packet 9s infinite linear; }
}
@keyframes meter {
  0% { transform: scaleX(0); }
  12% { transform: scaleX(1); }
  88% { transform: scaleX(1); opacity: 1; }
  94%, 100% { transform: scaleX(1); opacity: 0; }
}
@keyframes out {
  0%, 11% { opacity: 0; }
  14%, 88% { opacity: 1; }
  94%, 100% { opacity: 0; }
}
.pipeline__packet {
  position: absolute;
  left: 23.5px; top: 30px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cfp);
  box-shadow: 0 0 12px 2px rgba(60, 203, 239, 0.8);
  opacity: 0;
}
@keyframes packet {
  0% { top: 30px; opacity: 0; }
  3% { opacity: 1; }
  70% { top: calc(100% - 44px); opacity: 1; }
  74%, 100% { top: calc(100% - 44px); opacity: 0; }
}

/* ---------------------------------------------------------------- video band */

.vband {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(380px, 62vh, 680px);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.vband__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .vband.is-live .vband__img { animation: drift 26s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.vband__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 19, 32, 0.82) 0%, rgba(10, 19, 32, 0.55) 50%, rgba(10, 19, 32, 0) 82%),
    linear-gradient(180deg, rgba(10, 19, 32, 0) 35%, rgba(10, 19, 32, 0.7) 100%);
}
.vband__copy { padding-block: clamp(48px, 8vw, 96px); }
.vband__quote {
  max-width: 22ch;
  text-shadow: 0 1px 18px rgba(10, 19, 32, 0.6);
  font: 420 clamp(1.9rem, 1.2rem + 3vw, 3.6rem)/1.1 var(--font-display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.vband__quote em { color: var(--accent-bright); }

/* ---------------------------------------------------------------- steps */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.step__num {
  font: 400 2.75rem/1 var(--font-display);
  color: var(--accent);
  letter-spacing: -0.02em;
}
.step p:not(.step__num):not(.step__meta) { color: var(--muted); }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .step { border: 0; border-radius: 0; background: transparent; padding: 8px 28px; }
  .step + .step { border-left: 1px solid var(--line); }
  .step:first-child { padding-left: 0; }
  .step:last-child { padding-right: 0; }
}
.step__meta {
  margin-top: auto;
  padding-top: 8px;
  font: 500 0.75rem/1.3 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------------------------------------------------------------- track record + principles */

.record {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-bottom: clamp(48px, 7vw, 80px);
  margin-bottom: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .record { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
}
.record__head .lede { margin-top: 18px; }
.claims { display: grid; gap: 28px; }
@media (min-width: 600px) {
  .claims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.claim { padding-top: 20px; border-top: 2px solid var(--ink); }
.claim__value {
  font: 420 clamp(3.2rem, 2.2rem + 4vw, 5rem)/1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.claim__text { margin-top: 12px; color: var(--muted); max-width: 26ch; }

.principle { padding: 4px 0 0; }
.principle h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.principle h3::before {
  content: "";
  width: 18px; height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.6L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.principle p { color: var(--muted); }

/* ---------------------------------------------------------------- FAQ (details) */

.split--faq { align-items: start; }
@media (min-width: 1000px) {
  .split--faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .split--faq > :first-child { position: sticky; top: calc(var(--hdr) + 32px); }
}
.split--faq .lede { margin-top: 18px; }
.faq-more { margin-top: 24px; }

.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item__icon {
  position: relative;
  flex: none;
  width: 26px; height: 26px;
  margin-top: -1px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 1.5px;
  margin: -0.75px 0 0 -5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: rotate(0deg); }
.faq-item[open] summary { color: var(--text); }
.faq-item__body { padding: 0 44px 24px 0; color: var(--muted); display: grid; gap: 12px; }

/* ---------------------------------------------------------------- CTA band */

.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(72px, 10vw, 128px);
  overflow: hidden;
  isolation: isolate;
}
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band h2 em { color: var(--accent-bright); }
.cta-band .lede { margin-top: 18px; max-width: 36rem; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: end; }
@media (min-width: 1000px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; }
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) {
  .cta-band__actions .btn { width: 100%; }
}
.cta-band__plate {
  position: absolute;
  z-index: -1;
  right: -120px; top: 50%;
  width: 640px; height: 430px;
  transform: translateY(-50%) rotate(-8deg);
  border-radius: 28px;
  border: 1px solid rgba(232, 238, 246, 0.08);
  background-image: radial-gradient(circle, rgba(232, 238, 246, 0.1) 0 13px, transparent 14px);
  background-size: 53px 53px;
  background-position: 13px 13px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  opacity: 0.8;
}
@media (max-width: 999px) {
  .cta-band__plate { top: auto; bottom: -250px; right: -260px; transform: rotate(-8deg); opacity: 0.45; }
}

html.menu-open { overflow: hidden; }
.is-off, .is-off * { animation-play-state: paused !important; }

/* ---------------------------------------------------------------- page hero (inner pages) */

.phero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(56px, 9vw, 120px) clamp(56px, 8vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 90% 10%, rgba(60, 203, 239, 0.11), transparent 70%),
    radial-gradient(30% 50% at 0% 100%, rgba(88, 224, 138, 0.05), transparent 70%);
}
.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(232, 238, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 238, 246, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.phero h1 { color: var(--white); max-width: 16ch; }
.phero h1 em { color: var(--accent-bright); }
.phero__lede {
  margin-top: 24px;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--on-dark-muted);
}
@media (min-width: 900px) {
  .phero__lede { font-size: 1.25rem; }
}
.phero .actions { margin-top: 32px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip--dark { border-color: var(--line-dark-2); color: var(--on-dark); }
.chip--dark:hover { border-color: var(--on-dark-muted); color: var(--white); background: rgba(232, 238, 246, 0.05); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font: 500 0.8125rem/1.3 var(--font-mono);
  color: var(--muted);
}

/* ---------------------------------------------------------------- solutions */

.sol__idx {
  margin-bottom: 18px;
  font: 500 0.75rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--accent);
}
.sol--dark .sol__idx { color: var(--accent-bright); }
.sol__copy .lede { margin-top: 18px; }
.sol__h {
  margin: 32px 0 14px;
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sol__copy .ticks { color: var(--text); }
.sol--dark .ticks { color: var(--on-dark); margin-top: 28px; }
.sol__tags { margin-top: 32px; display: grid; gap: 10px; }
.sol__tagline {
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sol__tagline:not(:first-child) { margin-top: 10px; }
.section--tint .tags li { background: var(--white); }
.sol__note {
  margin-top: 28px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------------------------------------------------------------- fig: plate to record */

.platefig {
  container-type: inline-size;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: #060c16;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
  color: var(--on-dark);
  font-family: var(--font-mono);
}
.platefig__plate {
  position: relative;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  grid-template-rows: 14px auto;
  gap: 6px;
  padding: 12px 12px 14px 8px;
  border-radius: 12px;
  background: #0b1524;
  border: 1px solid rgba(232, 238, 246, 0.08);
  overflow: hidden;
}
.platefig__cols, .platefig__rows { font-size: 9px; color: var(--on-dark-faint); }
.platefig__cols { grid-column: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); text-align: center; }
.platefig__rows { grid-row: 2; display: grid; grid-template-rows: repeat(8, minmax(0, 1fr)); align-items: center; }
.platefig__wells {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5px;
}
.w {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #13294a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.w::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #0d1a2c;
  opacity: 0;
}
.v0 { background: #13294a; } .v1 { background: #173a66; } .v2 { background: #1a4c7e; }
.v3 { background: #1c6093; } .v4 { background: #1d76a3; } .v5 { background: #1f8dad; }
.v6 { background: #27a3b1; } .v7 { background: #3fb8ad; } .v8 { background: #62cca0; }
.v9 { background: #8fdf8c; }
.platefig__scan {
  position: absolute;
  top: 0; bottom: 0; left: 22px;
  width: 2px;
  background: var(--cfp);
  box-shadow: 0 0 14px 3px rgba(60, 203, 239, 0.55);
  opacity: 0;
}
.platefig__flow { display: grid; place-items: center; height: 16px; }
.platefig__flow span {
  width: 9px; height: 9px;
  border-right: 2px solid var(--cfp);
  border-bottom: 2px solid var(--cfp);
  transform: rotate(45deg) translate(-2px, -2px);
}
.platefig__rec {
  padding: 14px 16px;
  border-radius: 12px;
  background: #0b1524;
  border: 1px solid rgba(232, 238, 246, 0.08);
  font-size: 0.75rem;
}
.rec__top { display: flex; align-items: center; gap: 8px; color: var(--white); font-family: var(--font-sans); font-weight: 500; font-size: 0.8125rem; }
.rec__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gfp); box-shadow: 0 0 10px var(--gfp); }
.rec__meta { display: grid; gap: 6px; margin-top: 12px; }
.rec__meta div { display: flex; justify-content: space-between; gap: 12px; }
.rec__meta dt { color: var(--on-dark-faint); }
.rec__meta dd { margin: 0; color: var(--on-dark); text-align: right; }
.rec__data { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(232, 238, 246, 0.12); color: var(--gfp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@container (min-width: 600px) {
  .platefig { grid-template-columns: minmax(0, 1.5fr) 18px minmax(0, 1fr); align-items: center; }
  .platefig__flow { height: auto; }
  .platefig__flow span { transform: rotate(-45deg) translate(-2px, -2px); }
}

@media (prefers-reduced-motion: no-preference) {
  .platefig.is-live .w::after { animation: unread 8s infinite both; }
  .platefig.is-live .platefig__scan { animation: scan 8s infinite linear both; }
  .platefig.is-live .platefig__rec > * { animation: rec 8s infinite both; }
}
.w:nth-child(12n+1)::after { animation-delay: 0s; } .w:nth-child(12n+2)::after { animation-delay: 0.3s; }
.w:nth-child(12n+3)::after { animation-delay: 0.6s; } .w:nth-child(12n+4)::after { animation-delay: 0.9s; }
.w:nth-child(12n+5)::after { animation-delay: 1.2s; } .w:nth-child(12n+6)::after { animation-delay: 1.5s; }
.w:nth-child(12n+7)::after { animation-delay: 1.8s; } .w:nth-child(12n+8)::after { animation-delay: 2.1s; }
.w:nth-child(12n+9)::after { animation-delay: 2.4s; } .w:nth-child(12n+10)::after { animation-delay: 2.7s; }
.w:nth-child(12n+11)::after { animation-delay: 3s; } .w:nth-child(12n+12)::after { animation-delay: 3.3s; }
.platefig__rec > :nth-child(2) { animation-delay: 0.15s !important; }
.platefig__rec > :nth-child(3) { animation-delay: 0.3s !important; }
@keyframes unread {
  0%, 2% { opacity: 1; }
  4%, 90% { opacity: 0; }
  96%, 100% { opacity: 1; }
}
@keyframes scan {
  0% { left: 22px; opacity: 0; }
  2% { opacity: 1; }
  48% { left: calc(100% - 12px); opacity: 1; }
  52%, 100% { left: calc(100% - 12px); opacity: 0; }
}
@keyframes rec {
  0%, 50% { opacity: 0; transform: translateY(6px); }
  56%, 90% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}

/* ---------------------------------------------------------------- fig: freezer box */

.boxfig {
  container-type: inline-size;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
}
.boxfig__search {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  font-size: 0.8125rem;
}
.boxfig__search::before {
  content: "";
  width: 14px; height: 14px;
  margin-right: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='4.5' fill='none' stroke='%235b6675' stroke-width='1.6'/%3E%3Cpath d='m10.5 10.5 3 3' stroke='%235b6675' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.boxfig__q { color: var(--text); font-weight: 500; }
.boxfig__caret { width: 1.5px; height: 15px; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .boxfig__caret { animation: blink 1.1s steps(2, jump-none) infinite; }
}
.boxfig__kbd {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(88, 224, 138, 0.16);
  color: #1c7a44;
  font-size: 0.6875rem;
}
.boxfig__body { display: grid; gap: 16px; margin-top: 16px; }
@container (min-width: 520px) {
  .boxfig__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
}
.boxfig__box {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  grid-template-rows: 12px auto;
  gap: 5px;
  padding: 10px 10px 12px 6px;
  border-radius: 10px;
  background: #e7ebe4;
  border: 1px solid var(--line);
}
.boxfig__cols, .boxfig__rows { font-size: 9px; color: var(--muted-2); }
.boxfig__cols { grid-column: 2; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); text-align: center; }
.boxfig__rows { grid-row: 2; display: grid; grid-template-rows: repeat(9, minmax(0, 1fr)); align-items: center; }
.boxfig__grid { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; }
.tube {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 -2px 0 rgba(10, 19, 32, 0.12), 0 1px 1px rgba(10, 19, 32, 0.12);
}
.tube--plasma { background: #f2d04b; }
.tube--serum { background: #f59e4b; }
.tube--dna { background: #8b93ff; }
.tube--empty { background: transparent; box-shadow: inset 0 0 0 1px rgba(10, 19, 32, 0.18); }
.tube--hit { background: #f2d04b; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--accent); z-index: 1; }
.tube--hit::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .boxfig.is-live .tube--hit::after { animation: ping 2.2s var(--ease) infinite; }
}
@keyframes ping {
  0% { transform: scale(0.8); opacity: 0.9; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}
.boxfig__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 0.6875rem; color: var(--muted-2); }
.boxfig__legend span { display: inline-flex; align-items: center; gap: 6px; }
.boxfig__legend i { width: 10px; height: 10px; border-radius: 50%; }
.boxfig__legend .tube--empty { box-shadow: inset 0 0 0 1px rgba(10, 19, 32, 0.3); }
.boxfig__card {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 0.75rem;
}
.boxfig__id { font-size: 1rem; color: var(--white); font-weight: 500; }
.boxfig__what { margin-top: 2px; color: var(--on-dark-muted); font-family: var(--font-sans); font-size: 0.8125rem; }
.boxfig__loc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin-top: 14px; }
.boxfig__loc dt { color: var(--on-dark-faint); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; }
.boxfig__loc dd { margin: 2px 0 0; color: var(--white); }
.boxfig__log { display: grid; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(232, 238, 246, 0.14); color: var(--on-dark-muted); }
.boxfig__log li { position: relative; padding-left: 14px; }
.boxfig__log li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--gfp); }
.boxfig__log b { color: var(--on-dark); font-weight: 500; }

/* ---------------------------------------------------------------- fig: documents */

.docfig {
  container-type: inline-size;
  position: relative;
  display: grid;
  gap: 14px;
}
.docfig__doc {
  display: grid;
  gap: 10px;
  padding: 20px 22px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.docfig__file {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font: 500 0.75rem/1.3 var(--font-mono);
  color: var(--muted-2);
}
.docfig__ln { display: block; height: 7px; border-radius: 4px; background: #e6e9e3; }
.docfig__ln--h { width: 55%; height: 10px; background: #d9ddd6; margin-bottom: 4px; }
.docfig__ln--90 { width: 90%; }
.docfig__ln--80 { width: 80%; }
.docfig__ln--60 { width: 60%; }
.docfig__quote { font-size: 0.875rem; line-height: 1.5; color: var(--text); }
.docfig__quote mark { background: rgba(242, 208, 75, 0.5); color: inherit; padding: 1px 2px; border-radius: 3px; }
.docfig__chat {
  padding: 18px 20px 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
}
.docfig__q {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--ink-3);
  font-size: 0.875rem;
  color: var(--white);
}
.docfig__a { margin-top: 14px; font-size: 0.9375rem; line-height: 1.55; color: var(--on-dark); }
.docfig__ref { font: 500 0.75rem/1 var(--font-mono); color: var(--accent-bright); }
.docfig__src {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(232, 238, 246, 0.14);
  font: 400 0.75rem/1.4 var(--font-mono);
  color: var(--on-dark-muted);
}
.docfig { gap: 0; }
.docfig__doc { padding-bottom: 72px; }
.docfig__chat { position: relative; margin: -52px 12px 0; }
@container (min-width: 560px) {
  .docfig__doc { margin-right: 22%; }
  .docfig__chat { margin: -56px 0 0 18%; }
}

/* ---------------------------------------------------------------- in silico page */

.tool {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.tool__tag {
  align-self: flex-start;
  margin-bottom: 6px;
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.tool h3 { font: 460 1.375rem/1.25 var(--font-display); letter-spacing: -0.01em; }
.tool p:not(.tool__tag) { color: var(--muted); }

.wb {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: clamp(16px, 3vw, 28px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--paper);
  border: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .wb { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; }
}
.wb__label, .wb__h {
  display: block;
  margin-bottom: 10px;
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.wb__seq {
  display: block;
  width: 100%;
  min-height: 220px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--text);
  font: 400 16px/1.55 var(--font-mono);
  word-break: break-all;
  resize: vertical;
}
@media (min-width: 900px) {
  .wb__seq { font-size: 0.8125rem; min-height: 300px; }
}
.wb__seq:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.wb__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.wb__min {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--muted);
}
.wb__min input, .wb__frame select {
  width: 84px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--text);
  font: 400 16px/1 var(--font-mono);
}
.wb__noscript { margin-top: 12px; color: var(--danger); }
.wb__out { display: grid; gap: 16px; align-content: start; }
.wb__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}
.wb__stats > div { padding: 12px 14px; background: var(--white); }
.wb__stats dt { font: 500 0.6875rem/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.wb__stats dd { margin: 6px 0 0; font: 420 1.5rem/1.1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.wb__stats .wb__comp { grid-column: 1 / -1; }
.wb__stats .wb__comp dd { font: 400 0.875rem/1.4 var(--font-mono); color: var(--muted); }
.wb__warn { padding: 10px 12px; border-radius: 8px; background: rgba(242, 208, 75, 0.2); font-size: 0.875rem; }
.wb__block, .wb__more {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
}
.wb__track { display: block; width: 100%; height: 154px; margin-top: 4px; overflow: visible; }
.tk-label { font: 500 11px var(--font-mono); fill: var(--muted-2); }
.tk-lane { stroke: var(--line); stroke-width: 1; }
.tk-orf { fill: rgba(11, 115, 144, 0.28); }
.tk-best { fill: var(--accent); }
.tk-open { fill: none; stroke: var(--accent); stroke-dasharray: 3 2; }
.tk-axis { stroke: var(--line-2); stroke-width: 1; }
.tk-tick { font: 400 10px var(--font-mono); fill: var(--muted-2); }
.wb__orf { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.wb__seqout {
  max-height: 9.6em;
  overflow: auto;
  font: 400 0.8125rem/1.6 var(--font-mono);
  color: var(--text);
  word-break: break-all;
}
.wb__more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 0.9375rem;
}
.wb__more > summary::-webkit-details-marker { display: none; }
.wb__more > summary::after { content: "+"; font: 400 1.25rem/1 var(--font-mono); color: var(--muted-2); }
.wb__more[open] > summary::after { content: "\2212"; }
.wb__more[open] > summary { margin-bottom: 10px; }
.wb__frame { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.875rem; color: var(--muted); }
.wb__note { margin-top: 16px; max-width: 80ch; font-size: 0.875rem; color: var(--muted-2); }

.amrfig {
  padding: 14px 10px 10px;
  border-radius: var(--radius);
  background: #060c16;
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.amrfig svg { width: 100%; height: auto; }
.amr-band { fill: rgba(255, 111, 142, 0.07); }
.amr-tree { fill: none; stroke: rgba(232, 238, 246, 0.55); stroke-width: 1.5; }
.amr-leaf { fill: var(--on-dark); }
.amr-iso { font: 500 12px var(--font-mono); fill: var(--on-dark); }
.amr-st { font: 400 11px var(--font-mono); fill: var(--on-dark-faint); }
.amr-st--hot { fill: var(--mcherry); }
.amr-gene { font: 400 11px var(--font-sans); fill: var(--on-dark); }
.amr-it { font-style: italic; }
.amr-sub { font-size: 8.5px; font-style: normal; }
.amr-on { fill: var(--mcherry); }
.amr-off { fill: none; stroke: rgba(232, 238, 246, 0.18); stroke-width: 1; }
.amr-note { font: 400 11px var(--font-sans); fill: var(--on-dark-faint); }

.proof { display: grid; gap: 22px; margin-top: 32px; }
@media (min-width: 700px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.proof li { padding-top: 16px; border-top: 1px solid var(--line-2); }
.proof h3 { font-size: 1.0625rem; }
.proof p { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }

.fig__cap i { font-style: italic; }
.fig__cap sub { font-size: 0.72em; }

.gene { white-space: nowrap; }
.lede + .ticks, .lede + ul { margin-top: 24px; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
@media (max-width: 599px) {
  .scroll-x .amrfig { width: 540px; }
}
@media (min-width: 1000px) {
  .wb__in { display: flex; flex-direction: column; }
  .wb__seq { flex: 1; }
}

/* ---------------------------------------------------------------- inner page variants */

.phero--compact { padding-block: clamp(48px, 7vw, 88px) clamp(48px, 6vw, 80px); }
.phero--center .phero__inner { text-align: center; }
.phero--center h1, .phero--center .phero__lede { margin-inline: auto; }
.phero--center .eyebrow, .phero--center .actions { justify-content: center; }

.prose-lite p:not(.eyebrow):not(.lede) { margin-top: 16px; color: var(--muted); }

.card-num {
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.card-num__n { font: italic 420 1.75rem/1 var(--font-display); color: var(--accent); margin-bottom: 18px; }
.card-num h3 { font: 460 1.375rem/1.25 var(--font-display); letter-spacing: -0.01em; }
.card-num p:not(.card-num__n) { margin-top: 10px; color: var(--muted); }

.split--promises { align-items: start; }
.promises { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.promises li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.0625rem;
  color: var(--on-dark);
}
.promises .i-check { margin-top: 0.3em; color: var(--gfp); stroke-width: 2; }

/* ---------------------------------------------------------------- FAQ page */

.faq-page { display: grid; gap: clamp(48px, 7vw, 72px); max-width: 880px; }
.faq-group__title {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
}
.faq-group .faq-item:first-of-type { border-top: 1px solid var(--line-2); }

/* ---------------------------------------------------------------- prose (legal) */

.prose { max-width: 720px; }
.prose h2 {
  margin: 44px 0 12px;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { display: grid; gap: 8px; margin: 12px 0; padding-left: 20px; list-style: disc; }
.prose b { color: var(--text); }

/* ---------------------------------------------------------------- next steps */

.next-steps li {
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.section--white .next-steps li { background: var(--paper); }
.next-steps h3 { margin-top: 12px; }
.next-steps p:not(.step__num) { margin-top: 8px; color: var(--muted); }

/* ---------------------------------------------------------------- 404 */

.nf {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(64px, 10vw, 128px);
  text-align: center;
  overflow: hidden;
}
.nf h1 { color: var(--white); margin-inline: auto; max-width: 14ch; }
.nf h1 em { color: var(--accent-bright); }
.nf .eyebrow { justify-content: center; color: var(--on-dark-muted); }
.nf .eyebrow::before { background: var(--mcherry); box-shadow: 0 0 0 3px rgba(255, 111, 142, 0.16), 0 0 12px rgba(255, 111, 142, 0.6); }
.nf .phero__lede { margin-inline: auto; }
.nf .actions { justify-content: center; }
.nf__dish { width: clamp(140px, 22vw, 200px); height: auto; margin: 0 auto 32px; }
.nf__rim { fill: none; stroke: rgba(232, 238, 246, 0.35); stroke-width: 2; }
.nf__agar { fill: rgba(242, 208, 75, 0.12); stroke: rgba(232, 238, 246, 0.12); stroke-width: 1; }
.nf__streak { fill: none; stroke: rgba(232, 238, 246, 0.22); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 6; }

/* ---------------------------------------------------------------- contact */

.section--contact { padding-top: clamp(40px, 6vw, 72px); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; grid-template-areas: "booking" "form" "direct"; }
.contact > .booking { grid-area: booking; }
.contact__main { grid-area: form; }
.contact > .direct { grid-area: direct; }
@media (min-width: 1000px) {
  .contact {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "booking form" "direct form";
    gap: 20px 32px;
  }
}

.booking {
  padding: 22px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.booking__title { font: 460 1.375rem/1.25 var(--font-display); }
.booking__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 0.875rem; color: var(--muted); }
.booking__meta span { display: inline-flex; align-items: center; gap: 6px; }
.booking__meta span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); margin-right: 10px; }
.booking__body { display: grid; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 600px) and (max-width: 999px), (min-width: 1280px) {
  .booking__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
.cal__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__month { font-weight: 600; }
.cal__nav {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}
.cal__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cal__nav:disabled { opacity: 0.35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px 2px; }
.cal__dow { padding: 4px 0; text-align: center; font: 500 0.6875rem/1.2 var(--font-mono); letter-spacing: 0.06em; color: var(--muted-2); }
.cal__day {
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  max-width: 48px;
  justify-self: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font: 600 0.9375rem/1 var(--font-sans);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.cal__day:hover { background: rgba(11, 115, 144, 0.16); }
.cal__day:disabled { background: transparent; color: rgba(10, 19, 32, 0.28); font-weight: 400; cursor: default; }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal__day[aria-pressed="true"] { background: var(--accent); color: var(--white); }
.slots__day { margin-bottom: 10px; font-weight: 600; }
.slots__list { display: grid; gap: 8px; }
.slot {
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.slot:hover { border-color: var(--accent); }
.slot[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.slot__t { font-weight: 600; font-size: 0.9375rem; }
.slot__l { font-size: 0.75rem; color: var(--muted-2); }
.slot__l:empty { display: none; }
.booking__foot { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }

.direct {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.direct__h { margin-bottom: 6px; font-weight: 600; }
.direct__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.direct__link:hover { color: var(--accent); }
.direct__k { width: 56px; flex: none; font: 500 0.75rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }

.form, .form-done {
  padding: clamp(20px, 3vw, 32px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 18px; }
.form__title { font: 460 1.5rem/1.25 var(--font-display); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 600px) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: 0.9375rem; }
.field__opt { font-weight: 400; color: var(--muted-2); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.4 var(--font-sans);
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 115, 144, 0.16);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field input.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 4px rgba(88, 224, 138, 0.55); } 100% { box-shadow: 0 0 0 4px rgba(88, 224, 138, 0); } }
.form__submit { margin-top: 4px; }
.form__submit:disabled { opacity: 0.6; cursor: progress; }
.form__legal { font-size: 0.8125rem; color: var(--muted-2); }
.form__status { font-size: 0.9375rem; color: var(--muted); }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--danger); }
.form-done { text-align: center; padding-block: 48px; }
.form-done__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(88, 224, 138, 0.18); color: #1c7a44; }
.form-done__icon .i-check { width: 26px; height: 26px; stroke-width: 2.2; }
.form-done__title { margin-top: 18px; font: 460 1.6rem/1.2 var(--font-display); }
.form-done__text { margin-top: 10px; color: var(--muted); }
.photo--plates { aspect-ratio: 1400 / 939; box-shadow: var(--shadow-lg); }

.nowrap { white-space: nowrap; }

.phero__seq {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  z-index: -1;
  display: grid;
  gap: 6px;
  overflow: hidden;
  font: 400 13px/1.2 var(--font-mono);
  letter-spacing: 0.3em;
  color: rgba(232, 238, 246, 0.1);
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.phero__seq.is-ready { visibility: visible; opacity: 1; }
.phero__seq span { display: block; width: max-content; }
.phero__seq b { font-weight: 400; color: rgba(88, 224, 138, 0.45); }
.phero__seq i { font-style: normal; color: rgba(255, 111, 142, 0.45); }
@media (prefers-reduced-motion: no-preference) {
  .phero__seq span { animation: seq 120s linear infinite; }
  .phero__seq span:nth-child(2) { animation-duration: 160s; animation-direction: reverse; }
}
@keyframes seq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.boxfig__legend { grid-column: 1 / -1; grid-row: 3; }
@media (max-width: 999px) {
  .hero__fig { max-width: 560px; }
}

.cal { min-height: 330px; }
.slots__list { min-height: 216px; }

/* ---------------------------------------------------------------- fig: validation report */

.valfig {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.valfig__head { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.valfig__title { font: 460 1.25rem/1.25 var(--font-display); }
.valfig__sub { margin-top: 4px; font: 400 0.75rem/1.4 var(--font-mono); color: var(--muted-2); }
.valfig__rows { margin: 0; }
.valfig__rows > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "dt ok" "dd ok";
  gap: 2px 12px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 560px) {
  .valfig__rows > div { grid-template-columns: 150px minmax(0, 1fr) auto; grid-template-areas: "dt dd ok"; }
}
.valfig__rows dt { grid-area: dt; font: 500 0.75rem/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.valfig__rows dd { margin: 0; font-size: 0.9375rem; }
.valfig__rows dd:nth-of-type(1) { grid-area: dd; }
.valfig__ok {
  grid-area: ok;
  justify-self: end;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(88, 224, 138, 0.18);
  color: #1c7a44;
  font: 500 0.75rem/1.3 var(--font-mono) !important;
}
.valfig__methods { padding: 16px 20px 20px; background: var(--paper); }
.valfig__label { margin-bottom: 8px; font: 500 0.75rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.valfig__methods p:not(.valfig__label) { font: italic 400 1rem/1.55 var(--font-display); color: var(--text); }
@media (min-width: 1000px) {
  .split .proof { grid-template-columns: 1fr; gap: 18px; }
}

.hdr, .hero, .phero, .section--dark, .cta-band, .ftr, .nf, .vband, .pipeline, .amrfig, .platefig, .boxfig__card, .docfig__chat { --focus: var(--accent-bright); }

@media print {
  .skip, .mnav, .hdr__cta, .nav, .cta-band__plate, .phero__seq, .colony__hud, .motion-toggle, .cta-band__actions, .hero__actions, .actions, .wb__bar { display: none !important; }
  .hdr { position: static; }
  *, *::before, *::after { color: #0a1320 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; }
  .reveal, .stage__out, .platefig__rec > *, .w::after { animation: none !important; opacity: 1 !important; }
  .w::after { opacity: 0 !important; }
  a { text-decoration: underline; }
  .fig, .card-num, .step, .principle, .faq-item, .pain, .svc-card, .tool, .claim { break-inside: avoid; }
  .section, .phero, .hero, .cta-band { padding-block: 24px; }
}

@media (pointer: coarse) {
  .ftr__list a { min-height: 44px; }
}
.fig__cap { text-wrap: pretty; }
h3 { text-wrap: balance; }
@media (max-width: 479px) {
  .actions .btn, .nf .actions .btn { width: 100%; }
}
.section--white .next-steps li, .next-steps li { background: var(--white); }
.section--white .next-steps li { background: var(--paper); }
.wb__seq { word-break: normal; overflow-wrap: anywhere; }
.platefig__cols, .platefig__rows, .boxfig__cols, .boxfig__rows { font-size: 10px; }
.scroll-hint { display: none; margin-top: 10px; font-size: 0.8125rem; color: var(--on-dark-faint); }
@media (max-width: 599px) {
  .scroll-hint { display: block; }
}
.scroll-x:focus-visible { outline-offset: 4px; }

.direct__h { font: 600 1rem/1.4 var(--font-sans); letter-spacing: 0; }
.form__picked {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(88, 224, 138, 0.14);
  color: #14532d;
  font-size: 0.9375rem;
}

.hud-btn {
  z-index: 2;
  min-height: 40px;
  margin: -12px 0 0 -10px;
  padding: 0 12px 0 10px;
  border: 1px solid rgba(232, 238, 246, 0.2);
  border-radius: 999px;
  background: rgba(5, 10, 18, 0.55);
  cursor: pointer;
  pointer-events: auto;
}
.hud-btn:hover { border-color: rgba(232, 238, 246, 0.5); color: var(--white); }
html.motion-paused .hud-btn .hud__dot { background: var(--on-dark-faint); box-shadow: none; }

.motion-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-dark);
  font: inherit;
  cursor: pointer;
}
.motion-toggle:hover { color: var(--accent-bright); }

html.motion-paused [data-live] *, html.motion-paused .vband__img, html.motion-paused .phero__seq span,
html.motion-paused .hud__dot, html.motion-paused .boxfig__caret { animation-play-state: paused !important; }
.hud-btn.is-still .hud__dot { background: var(--on-dark-faint); box-shadow: none; animation: none; }
