/* ==========================================================================
   Pathology Science — PathoZoom® homepage
   One typeface (Archivo, expanded for headlines). Colour from the stain and
   the logo: haematoxylin aubergine, eosin pink, one magenta "spotted" dot.
   ========================================================================== */

:root {
  /* Light: cool lab white. Dark: haematoxylin aubergine. Accent: eosin pink + logo magenta. */
  --paper: #f6f6f9;
  --paper-2: #ecebf1;
  --white: #ffffff;
  --ink: #1d1230;
  --ink-brand: #231536;
  --ink-2: #3b3150;
  --muted: #6c6579;
  --muted-2: #a49eaf;
  --line: rgba(35, 21, 54, 0.1);
  --line-2: rgba(35, 21, 54, 0.18);
  --magenta: #e61b70;
  --magenta-2: #ff5c9b;
  --magenta-soft: #fbe2ec;
  --eosin: #fbe9f0;
  --eosin-2: #f5d0df;
  --night: #231536;
  --night-deep: #160c25;
  --night-2: #2c1e42;
  --night-3: #3a2b52;
  --night-line: rgba(255, 255, 255, 0.1);
  --on-night: #f4f1f8;
  --on-night-muted: #a69cb8;
  --he-pink: #f0c4d6;
  --he-purple: #4a2c7e;

  --radius-lg: 10px;
  --radius: 8px;
  --radius-sm: 6px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wide: 116%;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Illustration labels follow the site font, so a font change is one token. */
svg text {
  font-family: var(--font);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--magenta);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
}
.skip:focus {
  top: 12px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Type ---------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 6.4vw, 96px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(32px, 4.1vw, 58px);
  line-height: 1.02;
}

h3 {
  font-size: clamp(20px, 1.6vw, 23px);
  letter-spacing: -0.015em;
  line-height: 1.18;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.mute {
  color: var(--muted-2);
}
.on-night .mute {
  color: #6f6680;
}

.lede {
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34ch;
}

/* Specimen label: S-02, S-03… numbered by CSS counter in page order (the hero is S-01). */
body {
  counter-reset: spec 1;
}
.eyebrow {
  counter-increment: spec;
  display: inline-flex;
  align-items: stretch;
  height: 26px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 24px;
  color: var(--ink-2);
  white-space: nowrap;
  padding-right: 0;
}
.eyebrow::before {
  content: "S-" counter(spec, decimal-leading-zero);
  padding: 0 8px;
  margin-right: 10px;
  background: var(--ink);
  color: #fff;
  letter-spacing: 0.08em;
}
.eyebrow::after {
  content: "";
  width: 22px;
  margin-left: 10px;
  border-left: 1px solid var(--line-2);
  background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 3px, currentColor 3px 5px, transparent 5px 6px);
  opacity: 0.35;
}
.on-night .eyebrow {
  border-color: var(--night-line);
  color: var(--on-night);
}
.on-night .eyebrow::before {
  background: var(--magenta);
}
.on-night .eyebrow::after {
  border-color: var(--night-line);
}

.num {
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
  font-stretch: 106%;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.3s, box-shadow 0.4s var(--ease);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn .arrow {
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--magenta {
  --bg: var(--magenta);
  box-shadow: 0 10px 30px -12px rgba(230, 27, 112, 0.7);
}
.btn--magenta:hover {
  --bg: #d0115f;
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn--light {
  --bg: var(--paper);
  --fg: var(--ink);
}
.btn--sm {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease), color 0.2s;
  padding-bottom: 2px;
}
.link:hover {
  background-size: 100% 1px;
}
.link .arrow {
  transition: transform 0.4s var(--ease);
}
.link:hover .arrow {
  transform: translateX(3px);
}
.link--magenta {
  color: var(--magenta);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip--night {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--night-line);
  color: var(--on-night);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 0 rgba(230, 27, 112, 0.6);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 27, 112, 0.55);
  }
  80%,
  100% {
    box-shadow: 0 0 0 8px rgba(230, 27, 112, 0);
  }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(246, 246, 249, 0.86);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand__mark {
  width: 26px;
  height: auto;
  color: var(--ink-brand);
}
.brand__word {
  height: 30px;
  width: auto;
}
img {
  height: auto;
}
.brand__word,
.footer__brand img {
  height: 30px;
}
.nav__by {
  font-size: 12.5px;
  color: var(--muted);
  padding-left: 16px;
  margin-left: 4px;
  border-left: 1px solid var(--line-2);
  line-height: 1.25;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 4px;
  color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s;
}
.nav__links a:hover {
  background: rgba(27, 16, 41, 0.06);
  color: var(--ink);
}
.nav__cta {
  margin-left: 8px;
}
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 0;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__toggle span:nth-child(1) {
  top: 18px;
}
.nav__toggle span:nth-child(2) {
  top: 25px;
}
.nav.is-open .nav__toggle span:nth-child(1) {
  top: 21.5px;
  transform: rotate(45deg);
}
.nav.is-open .nav__toggle span:nth-child(2) {
  top: 21.5px;
  transform: rotate(-45deg);
}

@media (max-width: 1180px) {
  .nav__by {
    display: none;
  }
}
@media (max-width: 1020px) {
  .nav__toggle {
    display: block;
  }
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav.is-open {
    background: var(--paper);
    box-shadow: 0 1px 0 var(--line);
  }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    box-shadow: 0 20px 40px -20px rgba(27, 16, 41, 0.25);
  }
  .nav.is-open .nav__links a {
    font-size: 22px;
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links .btn {
    margin-top: 16px;
    display: inline-flex;
    font-size: 16px;
    border: 0;
    padding: 0 24px;
    border-radius: 4px;
    color: #fff;
  }
}
.nav__links .nav__mobile-cta {
  display: none;
}
@media (max-width: 1020px) {
  .nav.is-open .nav__links .nav__mobile-cta {
    display: inline-flex;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(88px, 11vw, 160px) 0;
  position: relative;
}
.section--tight {
  padding-top: clamp(56px, 7vw, 96px);
}
.section--band {
  background: var(--paper-2);
}
.section--white {
  background: var(--white);
}
.on-night {
  background: var(--night);
  color: var(--on-night);
}

.head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(44px, 5.5vw, 72px);
}
.head > .eyebrow {
  justify-self: start;
}
.head--split {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 40px;
}
.head--split .head__aside {
  color: var(--muted);
  font-size: 17px;
  max-width: 38ch;
  justify-self: end;
}
.head--center {
  text-align: center;
  justify-items: center;
}
.head--center p {
  color: var(--muted);
  max-width: 52ch;
}
.on-night .head--split .head__aside,
.on-night .head--center p {
  color: var(--on-night-muted);
}
@media (max-width: 860px) {
  .head--split {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .head--split .head__aside {
    justify-self: start;
  }
}

/* ---------- Reveal ---------- */

[data-reveal] {
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.985);
  transition: opacity 1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].in {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
.split-word {
  display: inline-block;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split-word > span {
  /* each word pulls into focus, like the fine-focus knob */
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.9s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--i) * 45ms + var(--d, 0s));
}
.in .split-word > span,
.split-word.in > span {
  opacity: 1;
  filter: blur(0);
}

/* Pause decorative CSS loops while off-screen. */
[data-anim]:not(.playing) *,
[data-anim]:not(.playing)::before,
[data-anim]:not(.playing)::after {
  animation-play-state: paused !important;
}

/* ==========================================================================
   01 · Hero — centred copy; live app expands beneath it on scroll
   ========================================================================== */

.hero {
  padding: clamp(128px, 15vh, 168px) 0 clamp(64px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(35, 21, 54, 0.11) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 45% at 50% 22%, #000 0%, transparent 80%);
  mask-image: radial-gradient(60% 45% at 50% 22%, #000 0%, transparent 80%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 34%;
  width: min(1100px, 90vw);
  height: 520px;
  transform: translate(-50%, 0);
  background: radial-gradient(closest-side, rgba(230, 27, 112, 0.1), transparent);
  filter: blur(20px);
}
.hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px 0 12px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), 0 6px 20px -12px rgba(27, 16, 41, 0.25);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 30px;
  transition: box-shadow 0.3s;
}
.announce:hover {
  box-shadow: inset 0 0 0 1px var(--line-2), 0 6px 20px -12px rgba(27, 16, 41, 0.35);
}
.announce .arrow {
  color: var(--muted);
}
.hero h1 {
  font-size: clamp(42px, 6.8vw, 104px);
  margin-bottom: 28px;
}
.hero .lede {
  max-width: 40ch;
  margin-bottom: 38px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Scroll-driven stage. JS sets --p from 0 (resting, tilted & inset) to 1 (flat, full width). */
.hero__stage {
  --p: 0;
  margin-top: clamp(56px, 8vh, 88px);
  perspective: 1800px;
  perspective-origin: 50% 0%;
}
.hero__scaler {
  transform-origin: 50% 0%;
  transform: translateY(calc((1 - var(--p)) * 24px)) scale(calc(0.84 + var(--p) * 0.16)) rotateX(calc((1 - var(--p)) * 16deg));
  will-change: transform;
}
.hero__stage .live {
  box-shadow: 0 calc(30px + var(--p) * 40px) calc(60px + var(--p) * 60px) -40px rgba(27, 16, 41, calc(0.35 + var(--p) * 0.25)), 0 0 0 1px rgba(27, 16, 41, 0.9);
}

/* Live session app */

.live {
  position: relative;
  background: var(--night-deep);
  color: var(--on-night);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.live__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 6px 14px;
  font-size: 13px;
  color: var(--on-night-muted);
}
.live__bar .dots3 {
  display: flex;
  gap: 6px;
}
.live__bar .dots3 i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--night-3);
}
.live__title {
  color: var(--on-night);
  font-weight: 500;
}
.live__case {
  margin-left: auto;
}
.live__case b {
  color: var(--on-night);
  font-weight: 500;
}
.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 11px;
  border-radius: 4px;
  background: rgba(230, 27, 112, 0.14);
  color: #ff8ab8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.live__body {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 2.4fr) minmax(220px, 1fr);
  grid-template-areas: "people stage side";
  gap: 12px;
}
.live__people {
  grid-area: people;
  display: flex;
  flex-direction: column;
}
.live__stage {
  grid-area: stage;
  background: radial-gradient(circle at 50% 45%, #241a33, #0c0714 75%);
  border-radius: 8px;
  height: clamp(420px, 44vw, 600px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.fov {
  height: 84%;
  aspect-ratio: 1;
  position: relative;
  border-radius: 50%;
}
.fov canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.fov::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 50px 12px rgba(12, 7, 20, 0.85), 0 0 0 12px rgba(255, 255, 255, 0.025), 0 0 0 26px rgba(255, 255, 255, 0.015);
  pointer-events: none;
}
.fov__reticle {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.stage__meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--on-night-muted);
  letter-spacing: 0.02em;
}
.stage__meta b {
  color: var(--on-night);
  font-weight: 500;
}
.comment {
  position: absolute;
  right: 16px;
  top: 16px;
  max-width: 210px;
  padding: 10px 12px;
  border-radius: 6px 6px 6px 2px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transform-origin: 0 100%;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.comment.show {
  opacity: 1;
  transform: none;
}
.comment small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 2px;
}
.live__side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.live__side .panel:last-child {
  flex: 1;
}
.panel {
  background: var(--night-2);
  border-radius: 8px;
  padding: 14px;
  box-shadow: inset 0 0 0 1px var(--night-line);
  text-align: left;
}
.panel__k {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-night-muted);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}
.minimap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #efeaee;
  aspect-ratio: 3 / 2;
}
.minimap canvas {
  width: 100%;
  height: 100%;
}
.minimap__fov {
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid var(--magenta);
  box-shadow: 0 0 0 3px rgba(230, 27, 112, 0.18);
  will-change: transform;
}
.progress {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 0 8px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff6aa5, var(--magenta));
  border-radius: inherit;
}
.panel__row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--on-night-muted);
}
.panel__row b {
  color: var(--on-night);
  font-weight: 500;
}
.scan-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.scan-state svg {
  display: none;
  color: #6be2a8;
}
.is-done .scan-state svg {
  display: block;
}
.viewers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.viewers li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.25;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.viewers li.show {
  opacity: 1;
  transform: none;
}
.viewers li div span {
  color: var(--on-night-muted);
  display: block;
  font-size: 11.5px;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  color: #fff;
}
.share {
  margin-top: auto;
  padding-top: 16px;
}
.share__k {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-night-muted);
  margin-bottom: 8px;
}
.share__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border-radius: 6px;
  background: var(--night);
  box-shadow: inset 0 0 0 1px var(--night-line);
  font-size: 12.5px;
}
.share__url {
  flex: 1;
  color: var(--on-night-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share__btn {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  font-size: 12px;
}
.objectives {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.objectives span {
  text-align: center;
  padding: 7px 0;
  border-radius: 4px;
  font-size: 12.5px;
  background: var(--night);
  color: var(--on-night-muted);
  box-shadow: inset 0 0 0 1px var(--night-line);
  font-variant-numeric: tabular-nums;
}
.objectives span.on {
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
  font-weight: 500;
}
.capture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.capture span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 0;
  border-radius: 4px;
  font-size: 12.5px;
  background: var(--night);
  box-shadow: inset 0 0 0 1px var(--night-line);
  color: var(--on-night);
}
.rec {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  animation: blink 1.4s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(72px, 9vw, 128px);
  border-top: 1px solid var(--line);
}
.fact {
  padding: 26px 26px 0 0;
}
.fact + .fact {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.fact__n {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.fact h3 {
  font-stretch: var(--wide);
  font-size: 20px;
  margin-bottom: 8px;
}
.fact p {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .live__body {
    grid-template-columns: minmax(0, 1fr) 260px;
    grid-template-areas:
      "stage side"
      "stage people";
  }
  .live__stage {
    height: auto;
    min-height: 460px;
  }
  .fov {
    height: auto;
    width: 86%;
  }
  .live__optics {
    display: none;
  }
}
@media (max-width: 1020px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 26px;
  }
}
@media (max-width: 700px) {
  .live__case {
    display: none;
  }
  .live__title {
    margin-right: auto;
  }
  .live__body {
    grid-template-columns: 1fr;
    grid-template-areas: "stage" "side" "people";
  }
  .live__stage {
    min-height: 0;
    aspect-ratio: 1;
  }
  .fov {
    height: auto;
    width: 88%;
  }
  .share {
    display: none;
  }
  .hero__scaler {
    transform: translateY(calc((1 - var(--p)) * 16px)) scale(calc(0.92 + var(--p) * 0.08)) rotateX(calc((1 - var(--p)) * 10deg));
  }
}
@media (max-width: 560px) {
  .hero {
    padding-top: 112px;
  }
  .hero__ctas .btn {
    width: 100%;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .fact,
  .fact + .fact {
    padding-left: 0;
    border-left: 0;
  }
  .fact + .fact {
    border-top: 1px solid var(--line);
    margin-top: 26px;
  }
}

/* ==========================================================================
   02 · Problem
   ========================================================================== */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}
.pcard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pcard__art {
  height: 150px;
  border-radius: 6px;
  background: var(--paper);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.pcard__art svg {
  width: 100%;
  height: 100%;
}
.pcard p {
  color: var(--muted);
}
.problem__foot {
  /* aubergine, not black */
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--night);
  color: var(--on-night);
}
.problem__foot p {
  font-stretch: var(--wide);
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.015em;
  max-width: 46ch;
}
.problem__foot p .mute {
  color: var(--on-night-muted);
}

/* strike-through draw */
.strike {
  stroke: var(--magenta);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 0.9s var(--ease) 0.9s;
}
.in .strike,
.playing .strike {
  stroke-dashoffset: 0;
}

.van-road {
  animation: road 1.2s linear infinite;
}
@keyframes road {
  to {
    stroke-dashoffset: -32;
  }
}
.van {
  animation: vanBob 0.6s ease-in-out infinite;
  transform-box: fill-box;
}
@keyframes vanBob {
  50% {
    transform: translateY(-1.2px);
  }
}
.wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.hand-m {
  transform-origin: 120px 75px;
  animation: spin 3s linear infinite;
}
.hand-h {
  transform-origin: 120px 75px;
  animation: spin 36s linear infinite;
}
.wander {
  animation: wander 5s var(--ease) infinite;
}
@keyframes wander {
  0%,
  15% {
    transform: translateX(0);
  }
  45%,
  60% {
    transform: translateX(-70px);
  }
  90%,
  100% {
    transform: translateX(0);
  }
}
.dash-flow {
  animation: road 1.6s linear infinite;
}

/* ==========================================================================
   How it fits — camera on the microscope (illustrated render)
   ========================================================================== */

.fit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.fit h2 {
  margin: 22px 0 22px;
  font-size: clamp(30px, 3.3vw, 48px);
}
.fit .lede {
  margin-bottom: 32px;
  max-width: 40ch;
}
.fit__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.fit__steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15.5px;
}
.fit__steps li > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--magenta);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.fit__steps b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-stretch: var(--wide);
  font-size: 17px;
  margin-bottom: 2px;
}
.fit__art {
  position: relative;
  aspect-ratio: 820 / 640;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(120% 90% at 66% 20%, #ffffff 0%, #f3f1f7 50%, #e7e3ef 100%);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(35, 21, 54, 0.45);
}
.fit__art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 900px) {
  .fit {
    grid-template-columns: 1fr;
  }
}

/* Sequence: drop → click → cable → live → labels (plays once when in view) */
.fit__cam {
  opacity: 0;
  transform: translateY(-150px);
}
.fit__art.in .fit__cam {
  animation: camDrop 1.1s cubic-bezier(0.2, 0.8, 0.25, 1.12) 0.3s forwards;
}
@keyframes camDrop {
  0% {
    opacity: 0;
    transform: translateY(-150px);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.fit__click {
  opacity: 0;
  transform-box: view-box;
  transform-origin: 560px 292px;
}
.fit__art.in .fit__click {
  animation: fitClick 0.9s ease-out 1.25s forwards;
}
@keyframes fitClick {
  0% {
    opacity: 0.9;
    transform: scale(0.6);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
.fit__cable rect {
  opacity: 0;
  transition: opacity 0.4s ease 1.5s;
}
.fit__cable path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s cubic-bezier(0.65, 0, 0.35, 1) 1.6s;
}
.fit__art.in .fit__cable rect {
  opacity: 1;
}
.fit__art.in .fit__cable path {
  stroke-dashoffset: 0;
}
.fit__pulses,
.fit__screen,
.fit__lbl {
  opacity: 0;
}
.fit__screen {
  transform: translateY(10px);
}
.fit__art.in .fit__screen {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease) 2.4s, transform 0.7s var(--ease) 2.4s;
}
.fit__art.in .fit__pulses {
  opacity: 1;
  transition: opacity 0.4s ease 2.6s;
}
.fit__led {
  fill: #cfcad7;
}
.fit__art.in .fit__led {
  animation: fitLed 1.2s steps(1) 2.6s infinite;
}
@keyframes fitLed {
  0% {
    fill: #e61b70;
  }
  50% {
    fill: #f6c2d6;
  }
}
.fit__art.in .fit__lbl--1 {
  opacity: 1;
  transition: opacity 0.6s var(--ease) 2.9s;
}
.fit__art.in .fit__lbl--2 {
  opacity: 1;
  transition: opacity 0.6s var(--ease) 3.1s;
}

/* ==========================================================================
   03 · Range
   ========================================================================== */

.range {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1020px) {
  .range {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
}
.rcard {
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  padding: 14px 14px 30px;
  display: flex;
  flex-direction: column;
}
.rcard--night {
  background: var(--night);
  color: var(--on-night);
}
.rcard__art {
  border-radius: 8px;
  background: var(--paper);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
}
.rcard--night .rcard__art {
  background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--night-line);
}
.rcard__body {
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink-2);
}
.rcard--night .tag {
  background: var(--paper);
  color: var(--ink);
}
.rcard p {
  color: var(--muted);
}
.rcard--night p {
  color: var(--on-night-muted);
}
.bestfor {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.rcard--night .bestfor {
  border-color: var(--night-line);
}
.bestfor b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
}
.rcard--night .bestfor b {
  color: var(--on-night);
}
.bestfor ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bestfor li {
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink-2);
}
.rcard--night .bestfor li {
  background: var(--night-3);
  color: var(--on-night);
}
.rcard .link {
  margin-top: auto;
  padding-top: 18px;
  align-self: flex-start;
}
.rcard--night .link {
  color: var(--on-night);
}
.range__more {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* Viewers dot grid (Scan & LiveView) */
.vgrid-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 48px 22px;
}
.vgrid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: clamp(5px, 0.8vw, 8px);
  width: min(54%, 190px);
}
.vgrid i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.4s, transform 0.4s var(--ease);
}
.vgrid i.on {
  background: var(--on-night);
}
.vgrid i.new {
  background: var(--magenta);
  transform: scale(1.25);
}
.vgrid__k {
  position: absolute;
  left: 18px;
  top: 16px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--on-night-muted);
}
.vgrid__count {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 12px;
  color: var(--on-night-muted);
}
.vgrid__count b {
  font-stretch: var(--wide);
  font-size: 22px;
  color: var(--on-night);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-right: 6px;
}

/* Macro grossing board */
.macro svg {
  width: 100%;
  height: 100%;
}
.laser {
  animation: laser 6s var(--ease) infinite;
}
@keyframes laser {
  0%,
  8% {
    transform: translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  32% {
    transform: translateX(86px);
    opacity: 1;
  }
  36%,
  100% {
    transform: translateX(86px);
    opacity: 0;
  }
}
.trace {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: trace 6s var(--ease) infinite;
}
@keyframes trace {
  0%,
  36% {
    stroke-dashoffset: 620;
    opacity: 1;
  }
  62%,
  92% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
.assign {
  animation: assign 6s var(--ease) infinite;
}
@keyframes assign {
  0%,
  60% {
    opacity: 0;
    transform: translateY(10px);
  }
  68%,
  92% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: none;
  }
}
.shutter {
  animation: shutter 6s linear infinite;
}
@keyframes shutter {
  0%,
  62% {
    opacity: 0;
  }
  63% {
    opacity: 0.7;
  }
  70%,
  100% {
    opacity: 0;
  }
}

/* Digital Lab */
.dlab {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}
.dlab__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.dlab__top b {
  color: var(--ink);
  font-weight: 500;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  min-height: 0;
}
.thumb {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #efeaee;
  box-shadow: 0 0 0 1px var(--line);
}
.thumb canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.thumb__lbl {
  position: absolute;
  left: 6px;
  bottom: 6px;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-2);
}
.heat {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 62% 42%, rgba(230, 27, 112, 0.65), rgba(230, 27, 112, 0.18) 28%, transparent 48%), radial-gradient(circle at 30% 70%, rgba(230, 27, 112, 0.35), transparent 30%);
  mix-blend-mode: multiply;
  animation: heat 5s ease-in-out infinite;
}
@keyframes heat {
  0%,
  20% {
    opacity: 0;
  }
  40%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.ai-badge {
  position: absolute;
  right: 6px;
  top: 6px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--magenta);
  color: #fff;
  animation: heat 5s ease-in-out infinite;
}
.pipe {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
}
.pipe .chip {
  height: 26px;
  font-size: 11.5px;
  padding: 0 10px;
}
.pipe .chip--core {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.wire {
  height: 1px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.wire::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -20%;
  width: 20%;
  height: 3px;
  border-radius: 3px;
  background: var(--magenta);
  animation: wire 2.2s var(--ease) infinite;
}
.wire--rev::after {
  animation-direction: reverse;
  animation-delay: 1.1s;
}
@keyframes wire {
  to {
    left: 100%;
  }
}

/* ==========================================================================
   04 · Upgrade path
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 0 0 1px var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 16px;
  transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}
.step.active {
  box-shadow: 0 0 0 1.5px var(--ink), 0 30px 50px -30px rgba(27, 16, 41, 0.35);
  transform: translateY(-4px);
}
.step__k {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.step h3 {
  margin: 8px 0 8px;
}
.step p {
  color: var(--muted);
  font-size: 15.5px;
}
.mgrid {
  width: 64px;
  height: auto;
}
.mgrid circle {
  fill: transparent;
  stroke: var(--line-2);
  stroke-width: 8;
  transition: fill 0.5s, stroke 0.5s;
}
.mgrid circle.lit {
  fill: var(--ink-brand);
  stroke: var(--ink-brand);
}
.mgrid circle.pink {
  fill: var(--magenta);
  stroke: var(--magenta);
}
.steps__arrow {
  align-self: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: background-color 0.5s, color 0.5s;
}
.steps__arrow.active {
  background: var(--magenta);
  color: #fff;
  box-shadow: none;
}
.steps__track {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.steps__bar {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.steps__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 1.2s var(--ease);
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .steps__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   05 · Audiences
   ========================================================================== */

.aud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) {
  .aud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .aud {
    grid-template-columns: 1fr;
  }
}
.acard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 12px 26px;
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.acard:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 50px -30px rgba(27, 16, 41, 0.3);
}
.acard__art {
  aspect-ratio: 5 / 4;
  border-radius: 6px;
  background: var(--paper);
  overflow: hidden;
  margin-bottom: 22px;
}
.acard__art svg {
  width: 100%;
  height: 100%;
}
.acard h3,
.acard p,
.acard .link {
  padding: 0 14px;
}
.acard h3 {
  margin-bottom: 8px;
}
.acard p {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 18px;
}
.acard .link {
  margin-top: auto;
  align-self: flex-start;
  margin-left: 14px;
  padding: 0 0 2px;
  color: var(--magenta);
}

.pop {
  animation: pop 5s var(--ease) infinite;
  transform-box: fill-box;
  transform-origin: 0 100%;
}
.pop--2 {
  animation-delay: 1.4s;
}
@keyframes pop {
  0%,
  10% {
    opacity: 0;
    transform: scale(0.8) translateY(6px);
  }
  20%,
  85% {
    opacity: 1;
    transform: none;
  }
  95%,
  100% {
    opacity: 0;
    transform: none;
  }
}
.drop {
  animation: drop 5s var(--ease) infinite;
}
@keyframes drop {
  0%,
  10% {
    transform: translateY(-34px);
    opacity: 0;
  }
  30%,
  88% {
    transform: none;
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 0;
  }
}
.cells circle {
  animation: cell 5s var(--ease) infinite;
  animation-delay: calc(var(--i) * 0.12s);
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes cell {
  0%,
  6% {
    opacity: 0;
    transform: scale(0.2);
  }
  16%,
  88% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}
.badge-in {
  animation: badgeIn 5s var(--ease) infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes badgeIn {
  0%,
  50% {
    opacity: 0;
    transform: scale(0.85);
  }
  58%,
  88% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}
.sweep {
  transform-origin: 140px 112px;
  animation: spin 5s linear infinite;
}
.flag {
  animation: flag 5s ease-in-out infinite;
}
@keyframes flag {
  0%,
  30% {
    opacity: 0.15;
  }
  40%,
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0.15;
  }
}

/* ==========================================================================
   06 · Value (night)
   ========================================================================== */

.explainer {
  background: var(--night-2);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--night-line);
  padding: clamp(18px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: 16px;
}
@media (max-width: 960px) {
  .explainer {
    grid-template-columns: 1fr;
  }
  .explainer .map {
    order: -1;
  }
  .readouts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .readout__v {
  font-stretch: var(--wide);
    font-size: 17px;
  }
}
@media (max-width: 600px) {
  .readouts {
    grid-template-columns: 1fr;
  }
  .readout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
  }
  .readout__v {
    margin-top: 0;
    font-size: 16px;
    min-height: 0;
  }
}
.explainer__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 4px;
  background: var(--night);
  box-shadow: inset 0 0 0 1px var(--night-line);
  position: relative;
  align-self: flex-start;
}
.toggle button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--on-night-muted);
  cursor: pointer;
  transition: color 0.4s;
  white-space: nowrap;
}
.toggle button[aria-pressed="true"] {
  color: var(--ink);
}
.toggle__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 4px;
  background: var(--paper);
  transition: transform 0.6s var(--ease), background-color 0.4s;
}
.explainer[data-mode="digital"] .toggle__thumb {
  transform: translateX(100%);
}
.readouts {
  display: grid;
  gap: 10px;
}
.readout {
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--night);
  box-shadow: inset 0 0 0 1px var(--night-line);
}
.readout__k {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-night-muted);
}
.readout__v {
  margin-top: 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
}
.readout__v .live-dot {
  display: none;
}
.explainer[data-mode="digital"] .readout__v .live-dot {
  display: block;
}
.explainer__note {
  font-size: 14px;
  color: var(--on-night-muted);
  margin-top: auto;
}
.map {
  border-radius: 8px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03), transparent 70%), var(--night);
  box-shadow: inset 0 0 0 1px var(--night-line);
  overflow: hidden;
  position: relative;
}
.map svg {
  width: 100%;
  height: auto;
}
.map .road {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 2;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
  transition: stroke 0.6s, opacity 0.6s;
}
.map .link-line {
  fill: none;
  stroke: var(--magenta);
  stroke-width: 1.5;
  opacity: 0;
  transition: opacity 0.6s;
}
.explainer[data-mode="digital"] .road {
  opacity: 0.25;
}
.explainer[data-mode="digital"] .link-line {
  opacity: 0.6;
}
.site-ring {
  fill: var(--night-2);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.2;
}
.site-label {
  fill: var(--on-night);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.site-sub {
  fill: var(--on-night-muted);
  font-size: 11px;
}
.site-live {
  opacity: 0;
  transition: opacity 0.5s;
}
.explainer[data-mode="digital"] .site-live {
  opacity: 1;
}

.vcards .pcard {
  background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--night-line);
}
.vcards .pcard p {
  color: var(--on-night-muted);
}
.vcard__k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff7bb0;
  margin-bottom: 4px;
}
.vcard__ico {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(230, 27, 112, 0.12);
  color: #ff7bb0;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

/* ==========================================================================
   07 · Proof
   ========================================================================== */

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .proof {
    grid-template-columns: 1fr;
  }
}
.stat {
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat--night {
  background: var(--night);
  color: var(--on-night);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: end;
}
@media (max-width: 700px) {
  .stat--night {
    grid-template-columns: 1fr;
  }
}
.stat--light {
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.stat__big {
  font-stretch: var(--wide);
  font-size: clamp(88px, 11vw, 160px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
}
.stat__big sup {
  font-size: 0.42em;
  vertical-align: top;
  position: relative;
  top: 0.12em;
  letter-spacing: 0;
  color: var(--magenta);
}
.stat h3 {
  font-size: 20px;
  margin-top: 8px;
}
.stat p {
  color: var(--on-night-muted);
  font-size: 15.5px;
}
.stat--light p {
  color: var(--muted);
}
.stat cite {
  font-style: normal;
  font-size: 12.5px;
  color: var(--on-night-muted);
  opacity: 0.85;
  display: block;
  margin-top: 6px;
}
.stat--light cite {
  color: var(--muted);
}
.waffle {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 7px;
}
.waffle i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.waffle i.on {
  background: var(--on-night);
}
.waffle i.miss {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--magenta);
}
.waffle__legend {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--on-night-muted);
}
.waffle__legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.waffle__legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--on-night);
}
.waffle__legend i.m {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--magenta);
}
.half {
  font-stretch: var(--wide);
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.half small {
  font-size: 0.42em;
  letter-spacing: -0.02em;
  margin-left: 6px;
}
.day {
  margin: 10px 0 4px;
  display: grid;
  gap: 10px;
}
.day__row {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.day__bar {
  display: flex;
  height: 26px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  gap: 2px;
}
.day__bar span {
  display: grid;
  place-items: center;
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  transition: flex-grow 1.4s var(--ease), opacity 0.6s;
  flex: 1 1 0;
}
.seg-work {
  background: var(--ink);
  color: #fff;
}
.seg-wait {
  background: repeating-linear-gradient(-45deg, var(--magenta-soft) 0 6px, #f8d0df 6px 12px);
  color: var(--magenta);
  flex-grow: 2 !important;
}
.seg-back {
  background: transparent;
  color: var(--magenta);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(230, 27, 112, 0.35);
  border-radius: 8px;
}
.day .seg-back {
  flex-grow: 0.0001;
  opacity: 0;
}
.day .day--after .seg-wait {
  flex-grow: 0.0001 !important;
  opacity: 0;
}
.day .day--after .seg-back {
  flex-grow: 2;
  opacity: 1;
}

/* ==========================================================================
   08 · Security
   ========================================================================== */

.sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 900px) {
  .sec {
    grid-template-columns: 1fr;
  }
}
.sec h2 {
  margin: 22px 0 24px;
}
.sec .lede {
  max-width: 40ch;
  margin-bottom: 26px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.badges .chip {
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badges .chip svg {
  color: var(--magenta);
}
.footnote {
  font-size: 13px;
  color: var(--muted);
  max-width: 52ch;
}
.sec__art {
  border-radius: var(--radius-lg);
  background: var(--night);
  aspect-ratio: 5 / 4;
  position: relative;
  overflow: hidden;
}
.sec__art svg {
  width: 100%;
  height: 100%;
}
.orbit {
  transform-origin: 300px 240px;
  animation: spin 40s linear infinite;
}
.orbit--rev {
  animation-duration: 60s;
  animation-direction: reverse;
}
.shackle {
  animation: shackle 4s var(--ease) infinite;
}
@keyframes shackle {
  0%,
  20% {
    transform: translateY(-12px);
  }
  35%,
  100% {
    transform: none;
  }
}
.lock-glow {
  animation: glow 4s ease-out infinite;
  transform-origin: 300px 194px;
  transform-box: view-box;
}
@keyframes glow {
  0%,
  33% {
    opacity: 0;
    transform: scale(0.6);
  }
  40% {
    opacity: 0.7;
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}
.scramble rect {
  animation: scramble 4s steps(1) infinite;
  animation-delay: calc(var(--i) * -0.37s);
}
@keyframes scramble {
  0%,
  100% {
    opacity: 0.15;
  }
  25% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.35;
  }
  75% {
    opacity: 0.6;
  }
}

/* ==========================================================================
   09 · About
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
}
.about__globe {
  justify-self: center;
  width: 100%;
  max-width: 540px;
}
.globe {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
}
.globe canvas {
  width: 100%;
  height: 100%;
}
.about__lock {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 26px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about__lock img {
  width: 54px;
}
.about__lock .x {
  font-size: 20px;
  color: var(--muted-2);
}
.about__lock b {
  font-size: 19px;
  font-weight: 700;
  font-stretch: var(--wide);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.about__lock b span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--muted);
}
.about h2 {
  margin: 22px 0 22px;
}
.about p {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 48ch;
  margin-bottom: 26px;
}
.regions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.regions .chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
}

/* ==========================================================================
   10 · Demo
   ========================================================================== */

.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 960px) {
  .demo {
    grid-template-columns: 1fr;
  }
}
.demo h2 {
  margin: 22px 0 24px;
}
.demo .lede {
  color: var(--on-night-muted);
  margin-bottom: 36px;
}
.expect {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--night-line);
}
.expect li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--night-line);
  font-size: 15.5px;
}
.expect li span {
  font-size: 12px;
  color: var(--on-night-muted);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.expect li b {
  font-weight: 500;
  display: block;
}
.expect li small {
  color: var(--on-night-muted);
  font-size: 14px;
}
.form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}
.field {
  display: grid;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 13.5px;
  font-weight: 500;
}
.field label small {
  color: var(--muted);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 6px;
  border: 0;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow 0.25s;
  font-size: 15.5px;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231b1029' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field textarea {
  height: 110px;
  padding: 14px 16px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(230, 27, 112, 0.12);
}
.field.invalid input {
  box-shadow: inset 0 0 0 1.5px var(--magenta);
}
.field__err {
  font-size: 12.5px;
  color: var(--magenta);
  display: none;
}
.field.invalid .field__err {
  display: block;
}
.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 6px;
}
.form__foot p {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 34ch;
}
.form__done {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--paper);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.form.sent .form__done {
  opacity: 1;
  pointer-events: auto;
}
.form__done .tickmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  display: grid;
  place-items: center;
}
.form__done h3 {
  font-stretch: var(--wide);
  font-size: 28px;
}
.form__done p {
  color: var(--muted);
  max-width: 34ch;
}
@media (max-width: 560px) {
  .form {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--night-deep);
  color: var(--on-night);
  padding: 72px 0 28px;
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--night-line);
}
@media (max-width: 860px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}
.footer__brand img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(0.96);
}
.footer__brand .brand {
  margin-bottom: 20px;
}
.footer__brand p {
  color: var(--on-night-muted);
  font-size: 14.5px;
  max-width: 40ch;
}
.footer h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-muted);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.footer ul a {
  color: var(--on-night);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer ul a:hover {
  opacity: 1;
  color: #ff7bb0;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--on-night-muted);
}
.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__bottom a:hover {
  color: var(--on-night);
}
.footer__giant {
  display: flex;
  gap: clamp(10px, 2.2vw, 30px);
  justify-content: space-between;
  margin: 56px 0 8px;
  opacity: 0.9;
}
.footer__giant i {
  flex: 1;
  aspect-ratio: 1;
  max-width: 64px;
  border-radius: 50%;
  background: var(--night-3);
  transition: background-color 0.5s;
}
.footer__giant i.pink {
  background: var(--magenta);
  transform: translateY(-50%);
}

/* ==========================================================================
   Audience pages (pathologists first) — shared pieces
   ========================================================================== */

/* Sub-pages number their own sections from S-01 */
body.page-sub {
  counter-reset: spec 0;
}
.nav__links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(35, 21, 54, 0.07);
}
.footer ul a[aria-current="page"] {
  color: #ff7bb0;
  opacity: 1;
}

/* ---------- Hero: copy left, split-screen session right ---------- */

.phero {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 15vh, 160px) 0 clamp(72px, 9vw, 120px);
}
.phero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(35, 21, 54, 0.11) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(55% 60% at 75% 45%, #000 0%, transparent 80%);
  mask-image: radial-gradient(55% 60% at 75% 45%, #000 0%, transparent 80%);
}
.phero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.phero h1 {
  font-size: clamp(40px, 4.9vw, 76px);
  margin: 24px 0 24px;
}
.phero .lede {
  margin-bottom: 34px;
}
.phero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 1020px) {
  .phero__grid {
    grid-template-columns: 1fr;
  }
}

.split {
  background: var(--night-deep);
  color: var(--on-night);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 50px 90px -40px rgba(35, 21, 54, 0.6), 0 0 0 1px rgba(35, 21, 54, 0.9);
}
.split__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 12px;
  font-size: 12.5px;
  color: var(--on-night-muted);
}
.split__bar .dots3 {
  display: flex;
  gap: 6px;
}
.split__bar .dots3 i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night-3);
}
.split__title {
  margin-right: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.split__title b {
  color: var(--on-night);
  font-weight: 500;
}
.split__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: center;
}
.split__pane {
  background: var(--night-2);
  border-radius: 8px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px var(--night-line);
}
.split__pane--tablet {
  background: #0b0612;
  border-radius: 14px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 4px #1d1430;
}
.split__who {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.split__who span:not(.avatar) {
  display: block;
  font-size: 11px;
  color: var(--on-night-muted);
}
.split__stage {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  background: radial-gradient(circle at 50% 46%, #241a33, #0c0714 75%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.split__fov {
  position: relative;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
}
.split__fov canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.split__fov::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 30px 8px rgba(12, 7, 20, 0.85);
  pointer-events: none;
}
.split__annot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.split__annot circle {
  fill: none;
  stroke: var(--magenta);
  stroke-width: 1.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}
.split__annot.on circle {
  stroke-dashoffset: 0;
}
.split__bubble {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 8px 10px;
  border-radius: 6px 6px 6px 2px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.3;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.split__bubble.show {
  opacity: 1;
  transform: none;
}
.split__bubble small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
}
.split__link {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  color: var(--on-night-muted);
  padding: 0 4px;
}
.split__dots {
  display: flex;
  gap: 5px;
}
.split__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  animation: hop 1.2s ease-in-out infinite;
}
.split__dots i:nth-child(2) {
  animation-delay: 0.2s;
}
.split__dots i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes hop {
  0%,
  100% {
    opacity: 0.25;
    transform: translateX(-3px);
  }
  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}
@media (max-width: 560px) {
  .split__body {
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
  }
  .split__link span {
    display: none;
  }
  .split__who div {
    font-size: 11px;
  }
  .split__who span:not(.avatar) {
    display: none;
  }
  .split__bubble {
    font-size: 10.5px;
  }
}

/* ---------- Problem: a day of reporting ---------- */

.dayline {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--line);
  padding: clamp(20px, 3vw, 36px);
}
.dayline__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.dayline__title b {
  display: block;
  font-size: 20px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
}
.dayline__title span {
  font-size: 12px;
  color: var(--muted);
}
.seg-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.seg-toggle button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  height: 38px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.4s;
  white-space: nowrap;
}
.seg-toggle button[aria-pressed="true"] {
  color: #fff;
}
.seg-toggle__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 4px;
  background: var(--night);
  transition: transform 0.6s var(--ease), background-color 0.4s;
}
[data-modes][data-mode="digital"] .seg-toggle__thumb {
  transform: translateX(100%);
  background: var(--magenta);
}
.dayline__hours {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.dayline__bar {
  display: flex;
  gap: 3px;
  height: 64px;
}
.dl {
  position: relative;
  flex: var(--g) 1 0;
  min-width: 0;
  border-radius: 4px;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: flex-grow 1.2s var(--ease), background-color 0.6s;
}
.dl--work {
  background: var(--night);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}
.dl--work i {
  font-style: normal;
  white-space: nowrap;
}
.dl--lost {
  background: repeating-linear-gradient(-45deg, var(--magenta-soft) 0 7px, #f6cadb 7px 14px);
  box-shadow: inset 0 0 0 1px rgba(230, 27, 112, 0.3);
}
.dl em,
.dayline__notes em {
  font-style: normal;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--magenta);
  color: #fff;
}
.dayline[data-mode="digital"] .dl--lost {
  flex-grow: 0.16;
  background: var(--magenta);
  box-shadow: none;
}
.dayline[data-mode="digital"] .dl--lost em {
  background: transparent;
}
.dayline__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.dayline__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.k {
  width: 14px;
  height: 10px;
  border-radius: 2px;
}
.k--work {
  background: var(--night);
}
.k--lost {
  background: repeating-linear-gradient(-45deg, var(--magenta-soft) 0 3px, #f6cadb 3px 6px);
  box-shadow: inset 0 0 0 1px rgba(230, 27, 112, 0.3);
}
.k--link {
  background: var(--magenta);
}
.dayline .lg-digital,
.dayline[data-mode="digital"] .lg-glass {
  display: none;
}
.dayline[data-mode="digital"] .lg-digital {
  display: inline-flex;
}
.dayline__notes {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.dayline__notes li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  transition: opacity 0.6s;
}
.dayline__notes b {
  display: block;
  margin: 14px 0 6px;
  font-size: 18px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
}
.dayline__notes p {
  color: var(--muted);
  font-size: 15px;
}
.dayline[data-mode="digital"] .dayline__notes li {
  opacity: 0.45;
}
@media (max-width: 760px) {
  .dayline__notes {
    grid-template-columns: 1fr;
  }
  .dl--work i {
    display: none;
  }
  .dayline__bar {
    height: 48px;
  }
}

/* ---------- Value: rows, then the human win ---------- */

.vrows {
  border-top: 1px solid var(--line-2);
}
.vrow {
  display: grid;
  grid-template-columns: 180px minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 12px 40px;
  align-items: baseline;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line-2);
}
.vrow__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
}
.vrow h3 {
  font-size: clamp(22px, 2.3vw, 32px);
}
.vrow p {
  color: var(--muted);
}
@media (max-width: 760px) {
  .vrow {
    grid-template-columns: 1fr;
  }
}
.win {
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--on-night);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px 40px;
  align-items: baseline;
}
.win__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta-2);
}
.win p {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.win p .mute {
  color: var(--on-night-muted);
}
@media (max-width: 760px) {
  .win {
    grid-template-columns: 1fr;
  }
}

/* ---------- How it works: sticky illustration + five steps ---------- */

.phow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.phow__visual {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  justify-items: start;
}
.phow__visual .fit__art {
  width: 100%;
}
@media (max-width: 900px) {
  .phow {
    grid-template-columns: 1fr;
  }
  .phow__visual {
    position: relative;
    top: 0;
  }
}
.steps5 {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--line-2);
}
.steps5 li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
}
.steps5 li > span {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--night);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.steps5 b {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.also {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.also__art {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}
.also__art svg {
  width: 100%;
  height: 100%;
}
.also__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.also h3 {
  margin: 8px 0 6px;
  font-size: 19px;
}
.also p {
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 560px) {
  .also {
    grid-template-columns: 1fr;
  }
}

/* ---------- Proof + badge row ---------- */

.pproof {
  margin-top: 24px;
}
.badgerow-band {
  background: var(--paper-2);
  padding: 28px 0;
}
.badgerow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.badgerow p {
  font-size: 16px;
  color: var(--ink-2);
}
.badgerow p small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.badgerow .badges {
  margin: 0;
}

/* ==========================================================================
   Lab managers page
   ========================================================================== */

/* ---------- Hero: the kit list collapses to one camera ---------- */

.kit {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 0 0 1px var(--line), 0 50px 90px -50px rgba(35, 21, 54, 0.45);
}
.kit__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.kit__head b {
  display: block;
  font-size: 19px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
}
.kit__head span {
  font-size: 12.5px;
  color: var(--muted);
}
.kit__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.kit__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  max-height: 86px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: max-height 0.7s var(--ease), padding 0.7s var(--ease), opacity 0.5s, border-color 0.5s;
  transition-delay: calc(var(--i) * 90ms + var(--kd, 0s));
}
.kit__ico {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
}
.kit__ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kit__name {
  font-weight: 600;
  font-size: 16px;
  justify-self: start;
  transition: color 0.4s;
}
.kit__label {
  /* struck-through rule, drawn when the route switches — one per wrapped line */
  background-image: linear-gradient(var(--magenta), var(--magenta));
  background-repeat: no-repeat;
  background-position: 0 55%;
  background-size: 0% 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.5s ease;
}
.kit__name small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}
.kit__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 3px;
  background: var(--paper-2);
  color: var(--ink-2);
  white-space: nowrap;
}
.kit__row--new .kit__ico {
  background: var(--magenta-soft);
  color: var(--magenta);
}
.kit__row--new .kit__tag {
  background: var(--magenta);
  color: #fff;
}
/* glass mode: new rows folded away */
.kit[data-mode="glass"] .kit__row--new {
  max-height: 0;
  padding: 0;
  opacity: 0;
  border-color: transparent;
}
/* digital mode: old rows struck, then folded away */
.kit[data-mode="digital"] .kit__row--old .kit__name {
  color: var(--muted-2);
}
.kit[data-mode="digital"] .kit__row--old .kit__label {
  background-size: 100% 2px;
}
.kit[data-mode="digital"] .kit__row--old {
  --kd: 0.55s;
  max-height: 0;
  padding: 0;
  opacity: 0;
  border-color: transparent;
}
.kit[data-mode="digital"] .kit__row--new {
  --kd: 0.9s;
}
.kit__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.kit__total {
  font-size: 22px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.kit__total--new,
.kit[data-mode="digital"] .kit__total--old {
  display: none;
}
.kit[data-mode="digital"] .kit__total--new {
  display: inline;
  color: var(--magenta);
}

/* ---------- Problem: the receipt ---------- */

.costs {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .costs {
    grid-template-columns: 1fr;
  }
}
.receipt {
  position: relative;
  background: var(--white);
  padding: 28px 28px 44px;
  box-shadow: 0 30px 60px -36px rgba(35, 21, 54, 0.4), 0 0 0 1px var(--line);
  /* torn paper edge: solid body + a row of downward teeth along the bottom */
  -webkit-mask: conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / 16px 8px repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / 16px 8px repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat;
}
.receipt__head {
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1.5px dashed var(--line-2);
}
.receipt__head b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.receipt__head span {
  font-size: 12px;
  color: var(--muted);
}
.receipt__lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.receipt__lines li,
.receipt__total {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  font-size: 15px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease);
  transition-delay: calc(0.4s + var(--i) * 0.32s);
}
.receipt.in .receipt__lines li,
.receipt.in .receipt__total {
  opacity: 1;
  transform: none;
}
.receipt__lines i {
  border-bottom: 1.5px dotted var(--line-2);
  transform: translateY(-4px);
}
.receipt__lines b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.receipt__lines em {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  border-radius: 3px;
  background: var(--magenta);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  vertical-align: 2px;
}
.receipt__total {
  grid-template-columns: 1fr auto;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1.5px dashed var(--line-2);
  font-weight: 700;
  font-size: 16px;
}
.receipt__total b {
  color: var(--magenta);
  font-size: 20px;
  font-stretch: var(--wide);
}
.receipt__bars {
  height: 34px;
  margin-top: 18px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px);
  opacity: 0.75;
}
.costs__notes {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
}
.costs__notes li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}
.costs__notes em {
  font-style: normal;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--magenta);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.costs__notes b {
  display: block;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.costs__notes p {
  color: var(--muted);
}

/* ---------- Value: light before/after table ---------- */

.lcompare {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.lcompare th,
.lcompare td {
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
.lcompare thead th {
  padding-top: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lcompare thead th:last-child {
  color: var(--magenta);
}
.lcompare tbody th {
  width: 20%;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.02em;
}
.lcompare td {
  width: 40%;
  color: var(--muted);
  font-size: 15.5px;
}
.lcompare td b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.lcompare td:first-of-type b {
  color: var(--muted);
}
.lcompare td:last-child b::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  margin-right: 10px;
  vertical-align: 2px;
}
@media (max-width: 760px) {
  .lcompare thead {
    display: none;
  }
  .lcompare tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-2);
  }
  .lcompare th,
  .lcompare td {
    width: auto;
    padding: 0;
    border: 0;
  }
  .lcompare tbody th {
    grid-column: 1 / -1;
  }
  .lcompare td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 6px;
  }
}

/* ---------- Start small: roadmap ---------- */

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.rm__art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.rm__art--dark {
  background: var(--night);
}
.rm__art.macro svg {
  width: 100%;
  height: 100%;
}
.rm__node {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 20px 0 14px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
/* dashed connector from this step's node to the next column */
.rm {
  position: relative;
  container-type: inline-size;
}
.rm:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(75cqw + 37px);
  left: 46px;
  right: calc(-1 * clamp(16px, 2.4vw, 32px) + 6px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 10px);
}
.rm__k {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 6px;
}
.rm h3 {
  margin-bottom: 6px;
}
.rm p {
  color: var(--muted);
}
@media (max-width: 900px) {
  .roadmap {
    grid-template-columns: 1fr;
  }
  .rm::after {
    display: none;
  }
}

/* ---------- Digital Lab viewer ---------- */

.dlgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 1020px) {
  .dlgrid {
    grid-template-columns: 1fr;
  }
}
.dlv {
  background: var(--night-deep);
  color: var(--on-night);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 50px 90px -40px rgba(35, 21, 54, 0.55);
}
.dlv__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 12px;
  font-size: 12.5px;
  color: var(--on-night-muted);
}
.dlv__bar .dots3 {
  display: flex;
  gap: 6px;
}
.dlv__bar .dots3 i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night-3);
}
.dlv__title {
  color: var(--on-night);
  font-weight: 600;
}
.dlv__search {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--night-line);
  white-space: nowrap;
}
.dlv__body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(170px, 0.8fr);
  gap: 10px;
}
.dlv__viewer {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.dlv__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #120b1c;
}
.dlv__stage canvas {
  width: 100%;
  height: 100%;
}
.dlv__heat {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 62% 42%, rgba(230, 27, 112, 0.55), rgba(230, 27, 112, 0.15) 26%, transparent 46%);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.6s;
}
.dlv.ai .dlv__heat {
  opacity: 1;
}
.dlv__ai,
.dlv__loaded {
  position: absolute;
  font-size: 11.5px;
  padding: 5px 9px;
  border-radius: 4px;
  background: rgba(15, 8, 25, 0.82);
  color: var(--on-night);
  box-shadow: inset 0 0 0 1px var(--night-line);
}
.dlv__ai {
  left: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transition: opacity 0.4s;
}
.dlv.ai .dlv__ai {
  opacity: 1;
}
.dlv__ai i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
}
.dlv__ai b {
  font-weight: 700;
  min-width: 4ch;
}
.dlv__loaded {
  right: 10px;
  top: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}
.dlv__loaded.show {
  opacity: 1;
}
.dlv__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.dlv__thumbs canvas {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  opacity: 0.55;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: opacity 0.3s, outline-color 0.3s;
}
.dlv__thumbs canvas.on {
  opacity: 1;
  outline-color: var(--magenta);
}
.dlv__side {
  background: var(--night-2);
  border-radius: 6px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px var(--night-line);
  display: flex;
  flex-direction: column;
}
.dlv__k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-muted);
  margin-bottom: 12px;
}
.dlv__load {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.dlv__load li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
}
.dlv__load b {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  margin-bottom: 5px;
}
.dlv__load .bar {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.dlv__load .bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--on-night);
  transition: width 1.1s var(--ease), background-color 0.6s;
}
.dlv__load li.hot .bar i {
  background: var(--magenta);
}
.dlv__load em {
  font-style: normal;
  font-size: 12px;
  text-align: right;
  color: var(--on-night-muted);
}
.dlv__note {
  margin-top: auto;
  padding-top: 14px;
  font-size: 11.5px;
  color: var(--on-night-muted);
}
@media (max-width: 560px) {
  .dlv__body {
    grid-template-columns: 1fr;
  }
  .dlv__search {
    display: none;
  }
}
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
}
.features li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 15.5px;
}
.features b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

/* ---------- IT & IG: sign-off checklist ---------- */

.itgrid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .itgrid {
    grid-template-columns: 1fr;
  }
}
.itgrid .lede {
  margin-top: 22px;
}
.checklist {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(35, 21, 54, 0.35);
  overflow: hidden;
}
.checklist__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.checklist__head b {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.checklist__head span {
  font-size: 12px;
  color: var(--muted);
}
.checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15.5px;
}
.checklist li:last-child {
  border-bottom: 0;
}
.checklist b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}
.tick {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  color: transparent;
  transition: background-color 0.35s, box-shadow 0.35s, color 0.35s;
  transition-delay: calc(0.5s + var(--i) * 0.35s);
}
.tick svg {
  width: 16px;
  height: 16px;
}
.checklist.in .tick {
  background: var(--magenta);
  box-shadow: none;
  color: #fff;
}

/* ==========================================================================
   EBUS / ROSE page
   ========================================================================== */

/* ---------- Hero: live ROSE console ---------- */

.rose {
  background: var(--night-deep);
  color: var(--on-night);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 50px 90px -40px rgba(35, 21, 54, 0.6), 0 0 0 1px rgba(35, 21, 54, 0.9);
}
.rose__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 12px;
  font-size: 12.5px;
  color: var(--on-night-muted);
}
.rose__bar .dots3 {
  display: flex;
  gap: 6px;
}
.rose__bar .dots3 i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night-3);
}
.rose__title {
  margin-right: auto;
  white-space: nowrap;
}
.rose__title b {
  color: var(--on-night);
  font-weight: 600;
}
.rose__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
  gap: 10px;
}
.rose__main {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.rose__stage {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 6px;
  background: radial-gradient(circle at 50% 46%, #241a33, #0c0714 75%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.rose__fov {
  position: relative;
  height: 74%;
  margin-bottom: 14px;
  aspect-ratio: 1;
  border-radius: 50%;
}
.rose__fov canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.rose__fov::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 34px 8px rgba(12, 7, 20, 0.85), 0 0 0 10px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.rose__toast {
  position: absolute;
  left: 50%;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--magenta);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(230, 27, 112, 0.7);
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.rose__toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.rose__where {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--on-night-muted);
}
.rose__where i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  margin-right: 6px;
  vertical-align: 1px;
  animation: ping 1.8s var(--ease) infinite;
}
.rose__call {
  position: relative;
  background: var(--night-2);
  border-radius: 6px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px var(--night-line);
}
.rose__k {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-muted);
  margin-bottom: 8px;
}
.rose__btns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.rbtn {
  text-align: center;
  padding: 9px 4px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background: var(--night-deep);
  color: var(--on-night-muted);
  box-shadow: inset 0 0 0 1px var(--night-line);
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, transform 0.15s;
}
.rbtn.on {
  background: var(--magenta);
  color: #fff;
  box-shadow: none;
}
.rbtn.press {
  transform: scale(0.96);
}
.rose__cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
  transition: transform 0.9s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s;
}
.rose__side {
  background: var(--night-2);
  border-radius: 6px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px var(--night-line);
  display: flex;
  flex-direction: column;
}
.rose__stations {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rose__stations li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 5px;
  background: var(--night-deep);
  box-shadow: inset 0 0 0 1px var(--night-line);
  transition: box-shadow 0.3s;
}
.rose__stations b {
  font-size: 16px;
  font-weight: 600;
  font-stretch: var(--wide);
}
.rose__stations .st {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-night-muted);
}
.rose__stations li.active {
  box-shadow: inset 0 0 0 1.5px var(--on-night);
}
.rose__stations li.done .st {
  color: #ff8ab8;
}
.rose__note {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11.5px;
  color: var(--on-night-muted);
}
@media (max-width: 560px) {
  .rose__body {
    grid-template-columns: 1fr;
  }
  .rose__stations {
    grid-template-columns: repeat(3, 1fr);
  }
  .rose__note {
    display: none;
  }
  .rbtn {
    font-size: 11px;
  }
}

/* ---------- Problem: the afternoon list ---------- */

.rlist {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--line);
  padding: clamp(20px, 3vw, 36px);
}
.rlist__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
}
.rlist__head b {
  font-size: 20px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
}
.rlist__head span {
  font-size: 12px;
  color: var(--muted);
}
.rlist__track {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.rlist__k {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.rlist__lane {
  position: relative;
  height: 46px;
}
.pt {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--l);
  width: var(--w);
  border-radius: 4px;
  background: var(--paper-2);
  display: flex;
  align-items: flex-start;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
}
.pt i,
.rlist__lane--remote i {
  position: absolute;
  bottom: 6px;
  left: var(--x);
  width: 6px;
  height: 14px;
  margin-left: -3px;
  border-radius: 2px;
  background: var(--magenta);
}
.onsite {
  position: absolute;
  inset: 0 2% 0 2%;
  border-radius: 4px;
  background: repeating-linear-gradient(-45deg, var(--magenta-soft) 0 7px, #f6cadb 7px 14px);
  box-shadow: inset 0 0 0 1px rgba(230, 27, 112, 0.3);
  display: grid;
  place-items: center;
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease) 0.4s;
}
.onsite em,
.remote-lbl {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--magenta);
  white-space: nowrap;
}
.rlist__lane--remote {
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px) 0 calc(100% - 12px) / 100% 1px no-repeat;
}
.remote-lbl {
  position: absolute;
  left: 50%;
  top: 2px;
  transform: translateX(-50%);
  color: var(--muted);
  font-weight: 500;
  font-size: 11.5px;
  background: var(--white);
  padding: 0 8px;
}
.rlist__lane--remote i {
  bottom: 4px;
  height: 18px;
  opacity: 0;
  transform: scaleY(0.2);
  transition: opacity 0.4s, transform 0.5s var(--ease);
  transition-delay: calc(1.8s + var(--x) * 0.012);
}
.rlist.in .onsite {
  transform: scaleX(1);
}
.rlist.in .rlist__lane--remote i {
  opacity: 1;
  transform: none;
}
.rlist__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.rlist__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.k--pip {
  width: 6px;
  height: 14px;
  background: var(--magenta);
}
@media (max-width: 760px) {
  .rlist__track {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pt {
    font-size: 0;
  }
  .remote-lbl {
    display: none;
  }
}
.rnotes {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}
.rnotes li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.rnotes em {
  font-style: normal;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--magenta);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.rnotes b {
  display: block;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.rnotes p {
  color: var(--muted);
}
@media (max-width: 760px) {
  .rnotes {
    grid-template-columns: 1fr;
  }
}

/* ---------- Value: a three-up strip + a big statement ---------- */

.vstrip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.vstrip > div {
  padding: 26px 28px 8px 0;
}
.vstrip > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line-2);
}
.vstrip__k {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
}
.vstrip h3 {
  font-size: clamp(21px, 2vw, 28px);
  margin-bottom: 10px;
}
.vstrip p {
  color: var(--muted);
}
@media (max-width: 860px) {
  .vstrip {
    grid-template-columns: 1fr;
  }
  .vstrip > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }
}
.bigwin {
  margin-top: clamp(56px, 7vw, 96px);
  text-align: center;
}
.bigwin .win__k {
  color: var(--magenta);
}
.bigwin p {
  margin: 18px auto 0;
  max-width: 18ch;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.035em;
  line-height: 1;
}

/* ---------- How it works: the relay ---------- */

.relay {
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 50% 0%, #ffffff, #f1eff6);
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
}
.relay svg {
  width: 100%;
  height: auto;
}
.relay svg text {
  font-family: var(--font);
}
.relay__slide {
  animation: slideIn 6s var(--ease) infinite;
}
@keyframes slideIn {
  0% {
    transform: translateX(-60px);
    opacity: 0;
  }
  12%,
  92% {
    transform: none;
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.relay__ok {
  animation: okPop 6s var(--ease) infinite;
}
@keyframes okPop {
  0%,
  38% {
    opacity: 0;
  }
  44%,
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.relay__back {
  animation: goBack 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes goBack {
  0%,
  46% {
    transform: translate(860px, 232px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  78% {
    transform: translate(340px, 232px);
    opacity: 1;
  }
  90%,
  100% {
    transform: translate(340px, 232px);
    opacity: 0;
  }
}
.relay__steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.relay__steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  color: var(--muted);
  font-size: 15.5px;
}
.relay__steps li > span {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--night);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.relay__steps b {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 6px;
}
@media (max-width: 860px) {
  .relay__steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Mohs page
   ========================================================================== */

.phero__note {
  margin-top: 22px;
  max-width: 42ch;
  padding-left: 14px;
  border-left: 2px solid var(--magenta);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Hero: margin map + live slide ---------- */

.mohs {
  background: var(--night-deep);
  color: var(--on-night);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 50px 90px -40px rgba(35, 21, 54, 0.6), 0 0 0 1px rgba(35, 21, 54, 0.9);
}
.mohs__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 12px;
  font-size: 12.5px;
  color: var(--on-night-muted);
}
.mohs__bar .dots3 {
  display: flex;
  gap: 6px;
}
.mohs__bar .dots3 i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night-3);
}
.mohs__title {
  margin-right: auto;
}
.mohs__title b {
  color: var(--on-night);
  font-weight: 600;
}
.mohs__body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
}
.mohs__map {
  background: var(--night-2);
  border-radius: 6px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px var(--night-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mohs__k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-muted);
}
.mohs__map svg {
  width: 100%;
  height: auto;
}
.mohs__map .q path {
  fill: #e9b8cb;
  stroke: var(--night-2);
  stroke-width: 2;
  transition: fill 0.4s;
}
.mohs__map .q text {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  fill: rgba(35, 21, 54, 0.55);
  text-anchor: middle;
  dominant-baseline: middle;
}
.mohs__map .q.flag path {
  fill: #ff9cc2;
  animation: qpulse 0.9s ease-in-out infinite alternate;
}
@keyframes qpulse {
  to {
    fill: var(--magenta);
  }
}
.mohs__map .q.flag text {
  fill: #fff;
}
.mohs__map .q.clear path {
  fill: #f4d7e3;
}
.mohs__map .q.clear text {
  fill: var(--magenta);
}
.mohs__map .clock text {
  font-family: var(--font);
}
.mohs__who {
  display: grid;
  gap: 6px;
  font-size: 11.5px;
  color: var(--on-night-muted);
}
.mohs__who .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 8px;
}
.dot--s {
  background: #2c7a68;
}
.dot--d {
  background: #6a4a9e;
}
.mohs__stage {
  position: relative;
  border-radius: 6px;
  background: radial-gradient(circle at 50% 40%, #241a33, #0c0714 75%);
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 300px;
}
.mohs__fov {
  position: relative;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 64px;
}
.mohs__fov canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.mohs__fov::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 30px 8px rgba(12, 7, 20, 0.85);
  pointer-events: none;
}
.mohs__chat {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: grid;
  gap: 6px;
}
.mbub {
  max-width: 88%;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.mbub small {
  display: block;
  font-size: 10px;
  opacity: 0.7;
}
.mbub.show {
  opacity: 1;
  transform: none;
}
.mbub--s {
  justify-self: start;
  background: #2c7a68;
  color: #fff;
  border-bottom-left-radius: 2px;
}
.mbub--d {
  justify-self: end;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-bottom-right-radius: 2px;
}
.mohs__status {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--night-2);
  box-shadow: inset 0 0 0 1px var(--night-line);
  font-size: 12.5px;
  color: var(--on-night);
  transition: background-color 0.4s;
}
.mohs__status.ok {
  background: var(--magenta);
}
@media (max-width: 560px) {
  .mohs__body {
    grid-template-columns: 1fr;
  }
  .mohs__map {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
  }
  .mohs__map .mohs__k {
    grid-column: 1 / -1;
  }
}

/* ---------- Problem: the stage loop ---------- */

.mloop {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--line);
  padding: clamp(12px, 2vw, 24px);
}
.mloop svg {
  width: 100%;
  height: auto;
}
@media (max-width: 700px) {
  /* keep the labels legible: the diagram scrolls sideways inside its frame */
  .mloop {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mloop svg {
    width: 640px;
    max-width: none;
  }
}
.mloop text {
  font-family: var(--font);
  text-anchor: middle;
  font-size: 15px;
  font-weight: 600;
  fill: var(--ink);
}
.mloop text.sub {
  font-size: 11.5px;
  font-weight: 400;
  fill: var(--muted);
}
.mloop__node rect {
  fill: var(--white);
  stroke: var(--line-2);
  stroke-width: 1.5;
}
.mloop__node--read rect {
  fill: var(--paper);
}
.mloop__node--unsure rect {
  fill: var(--magenta-soft);
  stroke: rgba(230, 27, 112, 0.45);
  stroke-dasharray: 5 4;
  animation: unsure 9s linear infinite;
}
@keyframes unsure {
  0%,
  36% {
    fill: var(--magenta-soft);
  }
  42%,
  56% {
    fill: #ffc3da;
  }
  62%,
  100% {
    fill: var(--magenta-soft);
    opacity: 0.55;
  }
}
.mloop__node--end rect {
  fill: var(--night);
  stroke: none;
}
.mloop__node--end text {
  fill: #fff;
}
.mloop__chip rect {
  fill: var(--magenta);
}
.mloop__chip text {
  fill: #fff;
  font-size: 13px;
  font-weight: 700;
}
.mloop__chip {
  animation: chip 9s linear infinite;
}
@keyframes chip {
  0%,
  70% {
    opacity: 0.18;
  }
  76%,
  97% {
    opacity: 1;
  }
  100% {
    opacity: 0.18;
  }
}
.mloop__token {
  fill: var(--magenta);
  stroke: #fff;
  stroke-width: 3;
}
.mloop__cap text {
  font-size: 14px;
  font-weight: 500;
  fill: var(--muted);
}
.mloop__cap--a {
  animation: capA 9s linear infinite;
}
.mloop__cap--b {
  animation: capB 9s linear infinite;
}
.mloop__cap--b text {
  fill: var(--magenta);
  font-weight: 600;
}
@keyframes capA {
  0%,
  54% {
    opacity: 1;
  }
  58%,
  100% {
    opacity: 0;
  }
}
@keyframes capB {
  0%,
  56% {
    opacity: 0;
  }
  60%,
  100% {
    opacity: 1;
  }
}

/* ---------- Value on dark ---------- */

.vstrip--night {
  border-top-color: var(--on-night);
}
.vstrip--night > div + div {
  border-left-color: var(--night-line);
}
.vstrip--night .vstrip__k {
  color: var(--magenta-2);
}
.vstrip--night p {
  color: var(--on-night-muted);
}
@media (max-width: 860px) {
  .vstrip--night > div + div {
    border-top-color: var(--night-line);
  }
}
.bigwin--night .win__k {
  color: var(--magenta-2);
}
.bigwin--night p {
  max-width: 22ch;
}
.bigwin--night p .mute {
  color: var(--on-night-muted);
}

/* ---------- How it works: the dermatopathologist's iPad ---------- */

.ipadflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 860px) {
  .ipadflow {
    grid-template-columns: 1fr;
  }
}
.ipadflow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
}
.ipadflow__steps li {
  border-bottom: 1px solid var(--line-2);
}
.ipadflow__steps button {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 22px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--muted);
  font-size: 15.5px;
  opacity: 0.55;
  transition: opacity 0.4s;
}
.ipadflow__steps button[aria-pressed="true"] {
  opacity: 1;
}
.ipadflow__steps button > span {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--night);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: background-color 0.4s;
}
.ipadflow__steps button[aria-pressed="true"] > span {
  background: var(--magenta);
}
.ipadflow__steps b {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.ipad {
  justify-self: center;
  width: min(100%, 420px);
  aspect-ratio: 3 / 4;
  padding: 16px;
  border-radius: 28px;
  background: #0b0612;
  box-shadow: 0 0 0 2px #2c2240, 0 50px 90px -40px rgba(35, 21, 54, 0.6);
}
.ipad__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #120b1c;
}
.ipad__screen canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s;
}
.ipad__screen:not([data-step="0"]) canvas {
  opacity: 1;
}
.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.ipad__screen[data-step="0"] .scene--connect,
.ipad__screen[data-step="1"] .scene--live,
.ipad__screen[data-step="2"] .scene--live,
.ipad__screen[data-step="2"] .scene--talk {
  opacity: 1;
}
.scene--connect {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--on-night);
  text-align: center;
}
.scene--connect svg {
  width: 120px;
}
.scene--connect b {
  font-size: 16px;
  font-weight: 600;
}
.scene--connect small {
  font-size: 12px;
  color: var(--on-night-muted);
}
.scene__dots {
  display: flex;
  gap: 6px;
}
.scene__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  animation: hop 1.2s ease-in-out infinite;
}
.scene__dots i:nth-child(2) {
  animation-delay: 0.2s;
}
.scene__dots i:nth-child(3) {
  animation-delay: 0.4s;
}
.scene--live {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px;
}
.scene--live .pill-live {
  background: rgba(15, 8, 25, 0.82);
}
.scene--live small {
  font-size: 11.5px;
  color: #fff;
  background: rgba(15, 8, 25, 0.75);
  padding: 4px 8px;
  border-radius: 4px;
}
.scene--talk .split__annot circle {
  stroke-width: 1;
}
.callbar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(15, 8, 25, 0.85);
  color: var(--on-night);
  font-size: 12.5px;
}
.callbar b {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}
.wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--magenta);
  animation: wave 0.9s ease-in-out infinite alternate;
}
.wave i:nth-child(2n) {
  animation-delay: 0.15s;
}
.wave i:nth-child(3n) {
  animation-delay: 0.3s;
}
@keyframes wave {
  from {
    transform: scaleY(0.25);
  }
  to {
    transform: scaleY(1);
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  [data-reveal],
  .split-word > span {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* ==========================================================================
   UK landing pages — product × audience
   Everything below extends the original system; nothing above is changed.
   ========================================================================== */

html {
  scroll-padding-top: 88px;
}

/* ---------- One-row nav: brand · Home + products · audience switch · demo ---------- */

.uknav .nav__inner {
  height: 72px;
  gap: 16px;
}
.uklinks {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  margin-left: clamp(12px, 2vw, 28px);
}
.uklinks a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.25s;
}
.uklinks a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 18px;
  height: 2px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.uklinks a:hover {
  color: var(--ink);
}
.uklinks a:hover::after,
.uklinks a[aria-current="page"]::after {
  transform: scaleX(1);
}
.uklinks a[aria-current="page"] {
  color: var(--ink);
}
.uklinks .nav__mobile-cta {
  display: none;
}
.aud {
  margin-left: auto;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}
.aud a {
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s;
}
.aud a:hover {
  color: var(--ink);
}
.aud a[aria-current="page"] {
  background: var(--magenta);
  color: #fff;
}
.uknav .nav__cta {
  display: inline-flex;
  margin-left: 0;
}
.uknav .nav__toggle {
  margin-left: 0;
  flex-shrink: 0;
}

/* Below desktop the product links fold into the menu; the audience switch stays in the bar */
@media (max-width: 1180px) {
  .uknav .nav__toggle {
    display: block;
  }
  .uklinks {
    display: none;
  }
  .uknav.is-open {
    background: var(--paper);
    box-shadow: 0 1px 0 var(--line);
  }
  .uknav.is-open .uklinks {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    box-shadow: 0 20px 40px -20px rgba(27, 16, 41, 0.25);
  }
  .uknav.is-open .uklinks a {
    font-size: 20px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }
  .uknav.is-open .uklinks a::after {
    display: none;
  }
  .uknav.is-open .uklinks a[aria-current="page"] {
    color: var(--magenta);
  }
}
@media (max-width: 640px) {
  .uknav .nav__inner {
    gap: 10px;
  }
  .uknav .nav__cta {
    display: none;
  }
  .uknav.is-open .uklinks .nav__mobile-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 18px;
    border: 0;
    font-size: 16px;
    color: #fff;
  }
  .aud a {
    padding: 7px 9px;
    font-size: 12px;
  }
  .brand__mark {
    width: 22px;
  }
  .brand__word {
    height: 24px;
  }
}
@media (max-width: 440px) {
  .uknav .nav__inner {
    gap: 8px;
  }
  .aud a,
  .aud button {
    padding: 6px 7px;
    font-size: 11.5px;
  }
}
@media (max-width: 370px) {
  .brand__word {
    display: none;
  }
}

/* ---------- Hero: copy + stats, explainer on the right ---------- */

.ukhero {
  padding-top: clamp(124px, 15vh, 164px);
}
.ukhero .lede {
  margin-bottom: 30px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px 0 0;
  border-top: 1px solid var(--line-2);
  max-width: 560px;
}
.stats > div {
  padding: 18px 16px 0 0;
}
.stats > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line-2);
}
.stats dt {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.stats dd {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.35;
}

/* Compact LiveView app for a half-width hero: stage + side column */
.live--compact {
  background: var(--night-deep);
  box-shadow: 0 50px 90px -40px rgba(35, 21, 54, 0.6), 0 0 0 1px rgba(35, 21, 54, 0.9);
}
.live--compact .live__body {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-areas: "stage side";
}
.live--compact .live__stage {
  height: auto;
  aspect-ratio: 1 / 1.08;
}
.live--compact .fov {
  height: auto;
  width: 88%;
}
.live--compact .live__people {
  grid-area: auto;
  flex: 1;
}
@media (max-width: 560px) {
  .live--compact .live__body {
    grid-template-columns: 1fr;
    grid-template-areas: "stage" "side";
  }
  .live--compact .live__case {
    display: none;
  }
}

/* ---------- Sound familiar? ---------- */

.pains {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 14px;
}
.pains li {
  position: relative;
  padding: 22px 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-2);
}
.pains li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 2px;
  background: var(--line-2);
}
.pains li.q {
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  border-bottom-left-radius: 2px;
  font-weight: 600;
  font-stretch: 108%;
  color: var(--ink);
}
.pains li.q::before {
  background: var(--magenta);
}
.pains li.q span {
  color: var(--magenta);
}
@media (max-width: 900px) {
  .pains {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .pains {
    grid-template-columns: 1fr;
  }
}
.turn {
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 24ch;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.turn em {
  font-style: normal;
  color: var(--magenta);
}
.turn .mute {
  color: var(--muted-2);
}
.why {
  margin-top: 36px;
  display: grid;
  grid-template-columns: auto repeat(2, minmax(0, 1fr));
  gap: 16px 36px;
  align-items: end;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--on-night);
}
.why__k {
  align-self: start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta-2);
}
.why b {
  display: block;
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.why p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--on-night-muted);
}
.why cite {
  grid-column: 2 / -1;
  font-style: normal;
  font-size: 12px;
  color: var(--on-night-muted);
}
@media (max-width: 760px) {
  .why {
    grid-template-columns: 1fr 1fr;
  }
  .why__k,
  .why cite {
    grid-column: 1 / -1;
  }
}

/* ---------- Pillars: one ruled row per pillar, two points each ---------- */

.pillars {
  border-top: 1px solid var(--line-2);
}
.pillar {
  display: grid;
  grid-template-columns: 200px repeat(2, minmax(0, 1fr));
  gap: 12px 40px;
  align-items: baseline;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line-2);
}
.pillar h3 {
  font-size: 12px;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
}
.pillar b {
  display: block;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.pillar p {
  color: var(--muted);
}
@media (max-width: 760px) {
  .pillar {
    grid-template-columns: 1fr;
  }
}

/* ---------- Walkthrough (YouTube, loaded on click) ---------- */

.walk {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .walk {
    grid-template-columns: 1fr;
  }
}
.walk h2 {
  margin: 20px 0 16px;
  font-size: clamp(28px, 3vw, 42px);
}
.walk .lede {
  margin-bottom: 26px;
}
.walk .small {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Video cards + player ---------- */

.vcard {
  display: block;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.vcard__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night-deep);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(35, 21, 54, 0.5);
}
.vcard__frame canvas,
.vcard__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vcard__frame canvas {
  transition: transform 0.8s var(--ease), filter 0.4s;
}
.vcard:hover .vcard__frame canvas {
  transform: scale(1.03);
}
.vcard__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.vcard__play::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 21px;
  border-left: 16px solid var(--ink);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.vcard:hover .vcard__play {
  transform: scale(1.08);
  background: var(--magenta);
}
.vcard:hover .vcard__play::after {
  border-left-color: #fff;
}
.vcard__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(15, 8, 25, 0.78);
  color: #fff;
}
.vcard__cap {
  display: block;
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: -0.01em;
}
.vids {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 900px) {
  .vids {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}
.player {
  width: min(1100px, 94vw);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #000;
  overflow: hidden;
}
.player::backdrop {
  background: rgba(15, 8, 25, 0.82);
  backdrop-filter: blur(4px);
}
.player video {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #000;
}
.player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--night-deep);
  color: var(--on-night);
  font-size: 14px;
}
.player__bar a {
  color: var(--on-night-muted);
  font-size: 12.5px;
  text-decoration: underline;
}
.player__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- In practice ---------- */

.practice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) {
  .practice {
    grid-template-columns: 1fr;
  }
}
.practice h2 {
  margin: 20px 0 22px;
}
.quote-block {
  margin: 8px 0 0;
  padding-left: 20px;
  border-left: 3px solid var(--magenta);
}
.quote-block p {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.quote-block cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
}
.uses {
  margin: 0;
  border-top: 1px solid var(--line-2);
}
.uses > div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 6px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
}
.uses dt {
  font-size: 18px;
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.015em;
}
.uses dd {
  margin: 0;
  color: var(--muted);
}
.uses a {
  border-bottom: 1px solid currentColor;
}
@media (max-width: 560px) {
  .uses > div {
    grid-template-columns: 1fr;
  }
}
.pnote {
  margin-top: 36px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--paper-2);
  font-size: 15.5px;
  color: var(--ink-2);
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.trust .chip svg {
  color: var(--magenta);
}

/* ---------- Explainer sections pulled from the main site ---------- */

.xkit {
  max-width: 760px;
  margin: 0 auto;
}

/* ==========================================================================
   UK brand homepage
   ========================================================================== */

/* Range: four products, each routing to both audiences */
.range--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1180px) {
  .range--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}
@media (max-width: 640px) {
  .range--4 {
    grid-template-columns: 1fr;
  }
}
.range--4 .rcard__art {
  aspect-ratio: 5 / 4;
}
.range--4 .rcard__art svg {
  width: 100%;
  height: 100%;
}
.range--4 h3 {
  font-size: clamp(19px, 1.6vw, 22px);
}
.range--4 p {
  font-size: 15px;
}
.rcard__links {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}
.rcard--night .rcard__links {
  border-color: var(--night-line);
}
.rcard__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.rcard__links a:last-child {
  border-bottom: 0;
}
.rcard__links a:hover {
  color: var(--magenta);
}
.rcard--night .rcard__links a {
  color: var(--on-night);
  border-color: var(--night-line);
}
.rcard--night .rcard__links a:hover {
  color: var(--magenta-2);
}

/* Built for two jobs — the ICP router */
.icp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .icp {
    grid-template-columns: 1fr;
  }
}
.icp__panel {
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 8px 24px;
  align-content: start;
}
.icp__panel--night {
  background: var(--night);
  color: var(--on-night);
  box-shadow: none;
}
.icp__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
}
.icp__panel--night .icp__k {
  color: var(--magenta-2);
}
.icp__panel h3 {
  margin: 10px 0 10px;
  font-size: clamp(24px, 2.4vw, 32px);
}
.icp__panel h3 .mute {
  color: var(--muted-2);
}
.icp__panel--night h3 .mute {
  color: var(--on-night-muted);
}
.icp__pillars {
  font-size: 14px;
  color: var(--muted);
}
.icp__panel--night .icp__pillars {
  color: var(--on-night-muted);
}
.icp__art {
  grid-row: 1 / span 3;
  grid-column: 2;
  align-self: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.icp__panel--night .icp__art {
  background: var(--paper);
}
.icp__art svg {
  width: 100%;
  height: auto;
}
.icp__list {
  grid-column: 1 / -1;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.icp__panel--night .icp__list {
  border-color: var(--night-line);
}
.icp__list a {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.icp__panel--night .icp__list a {
  border-color: var(--night-line);
}
.icp__list b {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.icp__list span {
  font-size: 15.5px;
  color: var(--muted);
}
.icp__panel--night .icp__list span {
  color: var(--on-night-muted);
}
.icp__list i {
  font-style: normal;
  color: var(--magenta);
  transition: transform 0.3s var(--ease);
}
.icp__list a:hover i {
  transform: translateX(4px);
}
.icp__list a:hover span {
  color: inherit;
}
@media (max-width: 560px) {
  .icp__panel {
    grid-template-columns: 1fr;
  }
  .icp__art {
    display: none;
  }
  .icp__list a {
    grid-template-columns: 1fr auto;
  }
  .icp__list span {
    grid-column: 1;
  }
}

/* Evidence — journal figures */
.evi {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.evi__label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.evi__label b {
  color: var(--ink);
}
.evi__fig1 {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 860px) {
  .evi__fig1 {
    grid-template-columns: 1fr;
  }
}
.evi__big {
  font-size: clamp(88px, 13vw, 190px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.06em;
  line-height: 0.82;
}
.evi__big sup {
  font-size: 0.32em;
  color: var(--magenta);
  vertical-align: top;
  position: relative;
  top: 0.08em;
  letter-spacing: 0;
}
.evi__fig1 h3 {
  margin-top: 18px;
  font-size: clamp(19px, 1.8vw, 24px);
  max-width: 24ch;
}
.bars {
  display: grid;
  gap: 16px;
}
.bar__row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 56px;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.bar__track {
  height: 34px;
  border-radius: 4px;
  background: var(--paper);
  overflow: hidden;
}
.bar__track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: var(--night);
  transition: width 1.6s var(--ease);
}
.bar__row--remote .bar__track i {
  background: var(--magenta);
}
.evi.in .bar__track i {
  width: var(--v);
}
.bar__row b {
  font-size: 18px;
  font-weight: 600;
  font-stretch: var(--wide);
  color: var(--ink);
  text-align: right;
}
.bar__axis {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 56px;
  gap: 14px;
  font-size: 11.5px;
  color: var(--muted-2);
}
.bar__axis span {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
}
.evi__caption {
  margin-top: clamp(22px, 3vw, 36px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--muted);
}
.evi__caption a,
.estats a {
  border-bottom: 1px solid currentColor;
}
.estats {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.estats > div {
  padding: 22px 24px 0 0;
}
.estats > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line-2);
}
.estats b {
  display: block;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 600;
  font-stretch: var(--wide);
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.estats p {
  margin: 12px 0 8px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.estats span {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 860px) {
  .estats {
    grid-template-columns: 1fr;
  }
  .estats > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-2);
    margin-top: 22px;
  }
}
.evi__note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}
.quotes {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}
@media (max-width: 860px) {
  .quotes {
    grid-template-columns: 1fr;
  }
}

/* Upgrade path on product pages: mark where this product sits */
.step.is-here {
  box-shadow: 0 0 0 2px var(--magenta), 0 30px 50px -30px rgba(230, 27, 112, 0.35);
}
.step.is-here {
  position: relative;
}
/* Sits on the card's top edge so every card's title stays on the same line */
.here {
  position: absolute;
  top: 0;
  left: 26px;
  transform: translateY(-50%);
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--magenta);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Homepage audience picker: same look as the audience switch, as buttons */
.aud button {
  border: 0;
  background: transparent;
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s;
}
.aud button:hover {
  color: var(--ink);
}
.aud button[aria-pressed="true"] {
  background: var(--magenta);
  color: #fff;
}
@media (max-width: 640px) {
  .aud button {
    padding: 7px 10px;
    font-size: 12.5px;
  }
}

/* ==========================================================================
   UK product pages: Macro, Digital Lab, EBUS/ROSE & Mohs
   ========================================================================== */

/* LiveView Macro hero: the bench, live at the pathologist's desk */
.mx {
  background: var(--night-deep);
  color: var(--on-night);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 50px 90px -40px rgba(35, 21, 54, 0.6), 0 0 0 1px rgba(35, 21, 54, 0.9);
}
.mx__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 12px;
  font-size: 12.5px;
  color: var(--on-night-muted);
}
.mx__bar .dots3 {
  display: flex;
  gap: 6px;
}
.mx__bar .dots3 i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night-3);
}
.mx__title {
  margin-right: auto;
  color: var(--on-night);
  font-weight: 600;
}
.mx__body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(170px, 0.8fr);
  gap: 10px;
}
.mx__stage {
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 4 / 3;
}
.mx__stage svg {
  width: 100%;
  height: 100%;
}
.mx__measure {
  animation: mxShow 6s linear infinite;
}
.mx__measure path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: mxDraw 6s var(--ease) infinite;
}
@keyframes mxShow {
  0%,
  12% {
    opacity: 0;
  }
  14%,
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes mxDraw {
  0%,
  14% {
    stroke-dashoffset: 1;
  }
  30%,
  100% {
    stroke-dashoffset: 0;
  }
}
.mx__side {
  background: var(--night-2);
  border-radius: 6px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px var(--night-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.mx__k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-muted);
}
.mx__k b {
  color: var(--on-night);
}
.mx__files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.mx__files li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mx__files li.show {
  opacity: 1;
  transform: none;
}
.mx__files li span {
  display: block;
  font-size: 10.5px;
  color: var(--on-night-muted);
}
.mx__files li b {
  color: #ff8ab8;
}
.mx__thumb {
  width: 40px;
  height: 30px;
  border-radius: 3px;
  background: radial-gradient(ellipse 40% 45% at 48% 46%, #d68aa7 0 70%, transparent 72%), #e6e1ea;
}
.mx__who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  line-height: 1.25;
}
.mx__who span:not(.avatar):not(.wave) {
  display: block;
  font-size: 10.5px;
  color: var(--on-night-muted);
}
.mx__who .wave {
  margin-left: auto;
}
@media (max-width: 560px) {
  .mx__body {
    grid-template-columns: 1fr;
  }
}

/* Carried-over explainers in their UK sections */
.xsplit {
  max-width: 920px;
  margin: 0 auto;
}
.xdlab {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(35, 21, 54, 0.4);
}
.relay__steps--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1020px) {
  .relay__steps--5 {
    grid-template-columns: 1fr;
  }
}
.xmohs {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 960px) {
  .xmohs {
    grid-template-columns: 1fr;
  }
}
.xmohs .mohs {
  box-shadow: 0 0 0 1px var(--night-line), 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.on-night .phero__note {
  color: var(--on-night-muted);
}

/* Evidence row under the "In practice" columns */
.estats--practice + .evi__note {
  margin-top: 20px;
}

/* Wrapping — no stranded last words on labels, captions and short copy */
dt,
h4,
figcaption,
.vcard__cap,
.turn,
.relay__steps b,
.stats dd,
.estats p,
.step h3,
.pain,
.pains li {
  text-wrap: balance;
}
li,
dd,
cite,
label,
.lede {
  text-wrap: pretty;
}

/* In practice: proof-card variant */
.practice--proof {
  align-items: center;
}
.uses--under {
  margin-top: 36px;
}
.practice__side > .stat {
  margin: 0;
}
.nw {
  white-space: nowrap;
}
/* Short titles and card copy: balanced lines, never one stranded word */
b,
strong,
h4,
.pillar p,
.why p,
.step p,
.kit__name,
.kit__label,
.kit__total,
.stats dd,
.pnote {
  text-wrap: balance;
}
.tag {
  white-space: nowrap;
}
.range--4 .tag {
  letter-spacing: 0.08em;
}
@media (max-width: 440px) {
  .uknav .aud button {
    padding: 6px 7px;
    font-size: 11.5px;
  }
}
/* Inside flex labels the wrapper would become its own flex item (and pick up the gap) */
.btn > .nw,
.eyebrow > .nw {
  display: contents;
}

/* ==========================================================================
   Photography from the Nov 2026 review pack — only where the review placed it
   ========================================================================== */
.photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(35, 21, 54, 0.45);
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo--hero {
  aspect-ratio: 4 / 3;
}
.photo--portrait {
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin-inline: auto;
}
.photo--portrait img {
  object-position: 50% 30%;
}

/* Product heroes: the photo takes the hero, the animated graphic sits directly under it */
.herodemo {
  padding-top: 0;
}
.herodemo__stage {
  max-width: 980px;
  margin: 0 auto;
}

/* Homepage hero: copy left, Image 4 beside the headline; the LiveView session stays below */
.uk-home .hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.uk-home .hero__intro .hero__copy {
  align-items: flex-start;
  text-align: left;
  margin: 0;
  max-width: none;
}
.uk-home .hero__intro .hero__copy .lede {
  margin-left: 0;
  margin-right: 0;
}
.uk-home .hero__intro .hero__ctas {
  justify-content: flex-start;
}
.uk-home .hero__intro .photo--hero {
  max-width: 420px;
  width: 100%;
  justify-self: end;
}
@media (max-width: 860px) {
  .uk-home .hero__intro {
    grid-template-columns: 1fr;
  }
  .uk-home .hero__intro .photo--hero {
    justify-self: center;
    max-width: 380px;
  }
}

/* How it fits: the photo with the illustration's callouts laid over it */
.fitphoto {
  container-type: inline-size;
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(35, 21, 54, 0.45);
}
.fitphoto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pin {
  position: absolute;
  width: 0;
  height: 0;
}
.pin i {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 5px rgba(230, 27, 112, 0.22);
}
.pin__label {
  position: absolute;
  right: 26px;
  top: 0;
  transform: translateY(-50%);
  /* Never wider than the room left of the pin (--x is the pin's left %, cqw the photo's width) */
  width: max-content;
  max-width: calc(var(--x) * 1cqw - 36px);
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -12px rgba(35, 21, 54, 0.4);
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
  text-align: right;
  text-wrap: balance;
}
.pin__label b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.pin__label::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 14px;
  border-top: 1.5px dashed var(--magenta);
}
.fitphoto__screen {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 36%;
  display: grid;
  gap: 8px;
  padding: 10px 10px 12px;
  border-radius: 10px;
  background: var(--night-deep);
  color: #fff;
  box-shadow: 0 20px 40px -18px rgba(22, 12, 37, 0.6);
}
.fitphoto__live {
  justify-self: start;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--magenta);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.fitphoto__field {
  aspect-ratio: 1;
  width: 70%;
  justify-self: center;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 40%, #fbf3f7 0 14%, transparent 15%), radial-gradient(circle at 65% 62%, #4a2c7e 0 4%, transparent 5%), radial-gradient(circle at 30% 70%, #57368c 0 3%, transparent 4%), radial-gradient(circle at 70% 30%, #57368c 0 3%, transparent 4%), #f0c2d5;
}
.fitphoto__screen b {
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}
/* When the photo itself is narrow, there's no room left of the pins: labels sit to the right instead */
@container (max-width: 440px) {
  .pin__label {
    right: auto;
    left: 24px;
    max-width: 130px;
    text-align: left;
    font-size: 11.5px;
  }
  .pin__label b {
    font-size: 12.5px;
  }
  .pin__label::after {
    left: auto;
    right: 100%;
  }
}

/* Upgrade path step photos */
.step__photo {
  width: clamp(96px, 11vw, 140px);
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  align-self: center;
}

/* Who it's for: card photos */
.icp__art--photo {
  aspect-ratio: 4 / 3;
  background: var(--white);
}
.icp__art--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.icp__art--kit img {
  object-fit: contain;
  padding: 6px;
}

/* "Send the image, not the glass" with its photo */
.turnrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
}
.turnrow .turn {
  margin-top: 0;
}
.turnrow .photo {
  aspect-ratio: 3 / 2;
}

/* Kit list with the kit photo beside it */
.xkit--photo {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.xkit--photo .photo {
  aspect-ratio: 4 / 3;
}
.xkit--photo .photo img {
  object-fit: contain;
  padding: 4%;
}

/* Section heading with a photo beside it */
.head--photo {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.head--photo .photo {
  aspect-ratio: 16 / 10;
}

/* In practice photo */
.photo--practice {
  margin-top: 28px;
  aspect-ratio: 3 / 2;
  max-width: 560px;
}

/* Video card with a photo poster */
.vcard__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .turnrow,
  .xkit--photo,
  .head--photo {
    grid-template-columns: 1fr;
  }
}
