:root {
  --primary: #1c5f55;
  --primary-ink: #0f3c35;
  --primary-deep: #0a2622;
  --accent: #40aac2;
  --accent-soft: #b8dce5;
  --paper: #f7f5f0;
  --paper-warm: #efeae0;
  --mist: #e6efed;
  --ink: #0f1f1c;
  --ink-soft: #3a4a47;
  --ink-mute: #6b7a77;
  --line: rgba(15, 31, 28, 0.12);
  --line-soft: rgba(15, 31, 28, 0.06);
  --serif: "Castoro", "Castoro Titling", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 1000;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav.scrolled {
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  padding: 12px 40px;
  border-bottom-color: var(--line-soft);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.nav-brand .mark {
  width: 30px; height: 30px;
  border-radius: 6px;
}
.nav-brand .wordmark-img {
  height: 28px;
  width: auto;
  display: block;
}
.nav.scrolled .nav-brand .wordmark-img { height: 24px; transition: height 0.3s ease; }
.nav-brand .wordmark-img { transition: height 0.3s ease; }
.nav-brand .wordmark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: none !important;
  font-weight: 450;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}
.nav-link.active { color: var(--primary); }
.nav-link:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: var(--paper) !important;
  text-decoration: none !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  background: var(--primary-ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(28, 95, 85, 0.5);
}

.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav-mobile-toggle:hover .nav-burger,
.nav-mobile-toggle:hover .nav-burger::before,
.nav-mobile-toggle:hover .nav-burger::after { background: var(--primary); }
.nav-burger {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-burger::before,
.nav-burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-burger::before { top: -6px; }
.nav-burger::after  { top: 6px; }
.nav.menu-open .nav-burger { background: transparent; }
.nav.menu-open .nav-burger::before { top: 0; transform: rotate(45deg); }
.nav.menu-open .nav-burger::after  { top: 0; transform: rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 12px;
  right: 12px;
  margin-top: 8px;
  background: rgba(247, 245, 240, 0.98);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 18px 40px -18px rgba(15, 31, 28, 0.18);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-mobile-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-mobile-link {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 450;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-mobile-link:hover { background: var(--mist); color: var(--primary); }
.nav-mobile-link.active { color: var(--primary); background: rgba(28, 95, 85, 0.06); }

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links .nav-link { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .nav-mobile-panel { display: block; }
  .nav-links { gap: 10px; }
  .nav-cta { padding: 8px 14px; font-size: 12.5px; }
  .nav.scrolled { padding: 10px 20px; }
}
@media (max-width: 360px) {
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  .nav-mobile-toggle { width: 38px; height: 38px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 10px 30px -14px rgba(28, 95, 85, 0.6);
}
.btn-primary:hover {
  background: var(--primary-ink);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 14px 36px -14px rgba(28, 95, 85, 0.7);
}
.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn .arrow {
  transition: transform 0.25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Shared ---------- */
.section {
  padding: 120px 40px;
  position: relative;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .section { padding: 80px 20px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--primary);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; }
h1 { font-size: clamp(40px, 5vw, 72px); }
h2 { font-size: clamp(34px, 4.5vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.01em; line-height: 1.15; }

p.lead {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 56ch;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }

/* ---------- Hero entrance ---------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.hero-h1      { animation: heroFadeUp 1s   cubic-bezier(.2,.7,.2,1) 0.1s  both; }
.hero-sub     { animation: heroFadeUp 0.9s cubic-bezier(.2,.7,.2,1) 0.28s both; }
.hero-actions { animation: heroFadeUp 0.9s cubic-bezier(.2,.7,.2,1) 0.44s both; }
.hero-visual  { animation: heroFadeUp 1s   cubic-bezier(.2,.7,.2,1) 0.38s both; }
.hero-footnote {
  margin-top: 16px;
  font-size: clamp(17px, 1.25vw, 20px);
  color: var(--ink-mute);
  line-height: 1.55;
  max-width: 48ch;
  animation: heroFadeUp 0.9s cubic-bezier(.2,.7,.2,1) 0.52s both;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 480px;
}
.waitlist-form-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.waitlist-input {
  flex: 1;
  min-width: 0;
}
.waitlist-submit {
  flex: none;
  white-space: nowrap;
}
.waitlist-error {
  margin: 4px 2px 0 2px;
  font-size: 13.5px;
  color: #c53030;
  line-height: 1.5;
}
.waitlist-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(28, 95, 85, 0.08);
  border: 1px solid rgba(28, 95, 85, 0.18);
  color: var(--primary-ink);
  font-size: 15px;
  line-height: 1.5;
  max-width: 480px;
  animation: heroFadeUp 0.4s cubic-bezier(.2,.7,.2,1) both;
}
.waitlist-success-icon {
  flex: none;
}
@media (max-width: 520px) {
  .waitlist-form-row { flex-direction: column; }
  .waitlist-submit { width: 100%; justify-content: center; }
}

.hero-disclaimer {
  margin: 32px 2px 0 2px;
  max-width: 56ch;
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.6;
  animation: heroFadeUp 0.9s cubic-bezier(.2,.7,.2,1) 0.55s both;
}

.hero-perks {
  margin-top: 40px;
  max-width: 56ch;
  animation: heroFadeUp 0.9s cubic-bezier(.2,.7,.2,1) 0.62s both;
}
@media (max-width: 520px) {
  .hero-perks { margin-top: 28px; }
  .hero-disclaimer { margin-top: 22px; font-size: 13px; }
  .hero-perks-popover { max-width: min(300px, calc(100vw - 48px)); font-size: 14.5px; }
}
.hero-perks-line {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--ink-mute);
  line-height: 1.55;
}
.hero-perks-pop-wrap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero-perks-toggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  display: inline;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(28, 95, 85, 0.35);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.hero-perks-toggle:hover {
  color: var(--primary-ink);
  text-decoration-color: var(--primary);
}

.hero-perks-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  z-index: 50;
  width: max-content;
  max-width: min(360px, 80vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 -12px 44px -16px rgba(15, 31, 28, 0.22), 0 2px 6px -2px rgba(15, 31, 28, 0.08);
  white-space: normal;
  animation: heroPopoverIn 0.18s cubic-bezier(.2,.7,.2,1);
}
@keyframes heroPopoverIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-perks-popover::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 22px;
  width: 11px;
  height: 11px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.hero-perks-popover ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-perks-popover li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.hero-perks-check {
  flex: none;
  margin-top: 2px;
  color: var(--primary);
}

/* ---------- Hero ---------- */
.hero {
  padding: 160px 40px 80px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 130px 20px 40px; }
}
.hero h1 {
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--primary);
}
.hero-sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.25vw, 20px);
  color: var(--ink-soft);
  max-width: 48ch;
  line-height: 1.55;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  scroll-margin-top: 80px;
}
.hero-meta {
  margin-top: 54px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta .m {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta .m-num {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.hero-meta .m-label {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  max-width: 14ch;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  width: 100%;
}
@media (max-width: 960px) {
  .hero-visual { max-width: 440px; margin: 0 auto; }
}
.hero-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--paper) 0%, #fcfaf5 100%);
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(15, 60, 53, 0.25),
              0 2px 0 rgba(255,255,255,0.7) inset;
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-card-header .live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
}
.hero-card-header .live .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(64, 170, 194, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(64, 170, 194, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(64, 170, 194, 0); }
  100% { box-shadow: 0 0 0 0 rgba(64, 170, 194, 0); }
}
.hero-card-body {
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: calc(100% - 64px);
}
@media (max-width: 520px) {
  .hero-card-body { padding: 22px 18px 16px; gap: 14px; }
  .feature-pill { padding: 8px 10px; }
  .feature-pill .fp-label { font-size: 10px; }
  .feature-pill .fp-val { font-size: 12px; }
}
@media (max-width: 380px) {
  .feature-pills { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .feature-pill { padding: 7px 8px; }
  .score-trend { font-size: 11px; padding: 3px 8px; }
}
.score-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.score-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.score-value {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 64px);
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.score-trend {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--primary);
  background: rgba(28, 95, 85, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chart-wrap {
  flex: 1;
  position: relative;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(230, 239, 237, 0.4), transparent 70%);
  overflow: hidden;
}
.chart-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}
.feature-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.feature-pill {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.5);
}
.feature-pill .fp-label {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.feature-pill .fp-val {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.feature-pill .fp-val.delta-pos { color: var(--primary); }
.feature-pill .fp-val.delta-neu { color: var(--ink-soft); }

/* Hero floating badges */
.hero-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--ink);
  box-shadow: 0 18px 40px -22px rgba(15,60,53,0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
}
.hero-badge .ic {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.hero-badge.b1 {
  top: 8%; left: -14%;
  animation: float 9s ease-in-out infinite;
}
.hero-badge.b2 {
  bottom: 14%; right: -10%;
  animation: float 11s ease-in-out infinite reverse;
}
@media (max-width: 1200px) {
  .hero-badge.b1, .hero-badge.b2 { display: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Ticker removed */

/* ---------- Problem section ---------- */
.problem {
  background: var(--paper);
  color: var(--ink);
}
.problem h2 { color: var(--ink); }
.problem .eyebrow { color: var(--primary); }
.problem .eyebrow::before { background: var(--primary); }

/* ---------- Disease bar animations ---------- */
@keyframes dbarSegReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
@keyframes dbarStemDrop {
  from { transform: scaleY(0); transform-origin: top; opacity: 0; }
  to   { transform: scaleY(1); transform-origin: top; opacity: 1; }
}
@keyframes dbarLabelUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dbarBrainboxIn {
  0%   { opacity: 0; transform: translateY(10px); }
  60%  { opacity: 1; transform: translateY(0); box-shadow: 0 0 24px rgba(64,170,194,0.45); }
  100% { opacity: 1; transform: translateY(0); box-shadow: none; }
}

/* ---------- Disease progression bar ---------- */
.dbar-wrap {
  position: relative;
  padding: 70px 0 60px;
}
.dbar {
  display: flex;
  width: 100%;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.5);
}
.dbar-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: filter 0.3s ease;
}
.dbar-seg:hover { filter: brightness(1.08); }
.dbar-seg-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.005em;
  text-align: center;
  padding: 0 10px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
@media (max-width: 720px) {
  .dbar-seg-label { font-size: 11px; white-space: normal; line-height: 1.15; }
  .dbar { height: 80px; }
}
@media (max-width: 560px) {
  .dbar-seg-label { font-size: 10px; padding: 0 4px; }
  .dbar { height: 96px; }
}

.dbar-markers-top {
  position: relative;
  height: 56px;
  margin-bottom: 4px;
}
.dbar-marker {
  position: absolute;
  transform: translateX(-50%);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dbar-marker-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(64,170,194,0.12);
  border: 1px solid rgba(64,170,194,0.4);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
}
.dbar-marker-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(64,170,194,0.6);
  animation: pulse 2s infinite;
}
.dbar-marker-label.current {
  color: #ff7a66;
  background: rgba(255,122,102,0.12);
  border-color: rgba(255,122,102,0.4);
  font-style: italic;
  font-family: var(--serif);
  font-size: 15px;
  padding: 4px 12px;
}
.dbar-marker-stem {
  width: 1.5px;
  height: 14px;
  background: var(--accent);
  margin-top: 2px;
}
.dbar-marker-stem.current { background: #ff7a66; }

.dbar-annotations {
  position: relative;
  height: 30px;
  margin-top: 14px;
}
.dbar-annot {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  text-align: center;
  padding: 4px 0;
}
.dbar-annot.early {
  color: #3fb27d;
  top: 0;
}
.dbar-annot.drug {
  color: #f0a93b;
  top: 0;
}
.dbar-annot.drug { top: 26px; }
@media (max-width: 720px) {
  .dbar-annot { font-size: 11.5px; }
}
@media (max-width: 640px) {
  .dbar-markers-top {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
    margin-bottom: 14px;
  }
  .dbar-marker {
    position: static;
    transform: none;
    left: auto !important;
    right: auto !important;
  }
  .dbar-marker-stem { display: none; }
  .dbar-marker-label {
    font-size: 12px !important;
    padding: 5px 12px !important;
    white-space: normal;
  }
  .dbar-marker-label.current {
    font-size: 13px !important;
  }
  .dbar-wrap { padding: 20px 0 40px; }
}

.problem-stats {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 860px) {
  .problem-stats { grid-template-columns: 1fr; }
  .tl-steps { grid-template-columns: 1fr 1fr; }
}
.stat {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-num .unit {
  font-size: 0.5em;
  color: var(--primary);
  margin-left: 2px;
}
.stat-label {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 32ch;
}

/* ---------- How it works ---------- */
.howto {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.howto-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: flex-start;
}
@media (max-width: 960px) {
  .howto-grid { grid-template-columns: 1fr; gap: 36px; }
}
.howto-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 100px;
}
.howto-step {
  padding: 20px 22px 20px 20px;
  border-left: 2px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  border-radius: 0 10px 10px 0;
  text-align: left;
  width: 100%;
}
.howto-step .num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  padding-top: 4px;
  letter-spacing: 0.08em;
}
.howto-step .label {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.howto-step.active {
  border-left-color: var(--primary);
  background: rgba(28, 95, 85, 0.08);
}
.howto-step.active .num { color: var(--primary); }
.howto-step.active .label { color: var(--primary); }

.howto-stage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 440px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(15,60,53,0.2);
}
@media (max-width: 600px) {
  .howto-stage { padding: 28px; min-height: 380px; }
  .howto-panel { inset: 28px; }
  .howto-step { padding: 14px 16px; }
  .howto-step .label { font-size: 17px; }
  .howto-grid { margin-top: 48px; }
}
@media (max-width: 420px) {
  .feature-extract { grid-template-columns: 1fr; max-width: 100%; }
  .score-big { font-size: 64px; }
}
.howto-panel {
  position: absolute;
  inset: 44px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.howto-panel.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.howto-panel h4 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 22ch;
}
.howto-panel p {
  color: var(--ink-soft);
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .howto-stage { min-height: 0; overflow: hidden; overflow-y: visible; }
  .howto-panel {
    position: static;
    inset: auto;
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
    display: none;
  }
  .howto-panel.active { display: block; }
  .howto-panel p { max-width: 100%; }
  .howto-panel h4 { max-width: 100%; }
}

/* Voice wave */
.voice-wave {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 80px;
  width: 100%;
  max-width: 520px;
  min-width: 0;
}
.voice-bar {
  flex: 1 1 0;
  min-width: 0;
  max-width: 6px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  opacity: 0.85;
}
@media (max-width: 480px) {
  .voice-wave { gap: 3px; height: 70px; }
}

.feature-extract {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 480px;
}
.fe-item {
  padding: 10px 12px;
  background: var(--mist);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--primary-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fe-item .v { color: var(--primary); }

.baseline-chart {
  margin-top: 24px;
  height: 140px;
  width: 100%;
  max-width: 520px;
}
.baseline-chart svg { width: 100%; height: 100%; }

.score-display {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.score-big {
  font-family: var(--serif);
  font-size: 88px;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}
.score-info { display: flex; flex-direction: column; gap: 6px; }
.score-info .t1 { font-size: 13px; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--mono); }
.score-info .t2 { font-family: var(--serif); font-size: 20px; color: var(--ink); }

/* ---------- Walkthrough (iPhone app) ---------- */
.walkthrough {
  background: var(--paper);
  border-top: 1px solid var(--line);
  /* Phone scale. 1 on tall viewports; steps down via max-height media queries below. */
  --phone-scale: 1;
}
@media (max-height: 820px) { .walkthrough { --phone-scale: 0.9; } }
@media (max-height: 740px) { .walkthrough { --phone-scale: 0.78; } }
@media (max-height: 660px) { .walkthrough { --phone-scale: 0.65; } }
@media (max-height: 580px) { .walkthrough { --phone-scale: 0.55; } }
/* --- Pinned (desktop) layout ---
   Section tall enough to give each step ~100vh of pinned scroll after the intro.
   Formula: intro(~100vh) + stickyVisible(100vh) + pinScroll(N*100vh) */
.walkthrough-pinned {
  height: calc((var(--wt-steps, 4) + 2) * 100vh);
  padding: 0 40px;
}
.wt-intro {
  padding: 120px 0 40px;
}
@media (max-width: 768px) {
  .walkthrough-pinned { padding: 0 20px; }
  .wt-intro { padding: 80px 0 32px; }
}
.wt-intro-heading {
  margin-top: 22px;
  max-width: 22ch;
}
.wt-intro-lead {
  margin-top: 24px;
}
.wt-pin-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-content: center;
  padding: 40px 0;
}
.wt-pin-inner {
  width: 100%;
}
.wt-pin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.wt-pin-text {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}
.wt-pin-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wt-steps-stage {
  position: relative;
  min-height: 380px;
}
.wt-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wt-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.wt-bullet-check {
  flex: none;
  margin-top: 3px;
  color: var(--primary);
}
/* Per-child staggered entry — base (future) state */
.wt-step-content .wt-eyebrow,
.wt-step-content .wt-title,
.wt-step-content .wt-body,
.wt-step-content .wt-bullets > li {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.wt-step-content .wt-eyebrow { transform: translateY(20px); }
.wt-step-content .wt-title  { transform: translateY(36px); transition-duration: 0.9s; }
.wt-step-content .wt-body   { transform: translateY(20px); }
.wt-step-content .wt-bullets > li { transform: translateX(-16px); transition-duration: 0.6s; }
/* Checkmark stroke draws itself */
.wt-bullet-check path {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ACTIVE — staggered reveal */
.wt-step-content.active .wt-eyebrow {
  opacity: 1; transform: translateY(0); transition-delay: 0.05s;
}
.wt-step-content.active .wt-title {
  opacity: 1; transform: translateY(0); transition-delay: 0.13s;
}
.wt-step-content.active .wt-body {
  opacity: 1; transform: translateY(0); transition-delay: 0.25s;
}
.wt-step-content.active .wt-bullets > li {
  opacity: 1; transform: translateX(0);
}
.wt-step-content.active .wt-bullets > li:nth-child(1) { transition-delay: 0.36s; }
.wt-step-content.active .wt-bullets > li:nth-child(2) { transition-delay: 0.44s; }
.wt-step-content.active .wt-bullets > li:nth-child(3) { transition-delay: 0.52s; }
.wt-step-content.active .wt-bullet-check path { stroke-dashoffset: 0; }
.wt-step-content.active .wt-bullets > li:nth-child(1) .wt-bullet-check path { transition-delay: 0.5s; }
.wt-step-content.active .wt-bullets > li:nth-child(2) .wt-bullet-check path { transition-delay: 0.58s; }
.wt-step-content.active .wt-bullets > li:nth-child(3) .wt-bullet-check path { transition-delay: 0.66s; }

/* PAST — fast decisive exit, all together, opposite direction */
.wt-step-content.past .wt-eyebrow,
.wt-step-content.past .wt-title,
.wt-step-content.past .wt-body,
.wt-step-content.past .wt-bullets > li {
  opacity: 0;
  transform: translateY(-10px);
  transition-duration: 0.4s;
  transition-delay: 0s;
}
.wt-step-content.past .wt-bullet-check path {
  stroke-dashoffset: 22;
  transition-delay: 0s;
  transition-duration: 0.25s;
}
.wt-step-content {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wt-step-content.active {
  pointer-events: auto;
}
.wt-title {
  margin-top: 18px;
  color: var(--ink);
  max-width: 22ch;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.wt-body {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 64ch;
}

/* Progress indicator */
.wt-progress {
  display: flex;
  gap: 10px;
  align-items: center;
}
.wt-progress-seg {
  position: relative;
  width: 40px;
  height: 2px;
  padding: 0;
  border: 0;
  background: var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease;
}
.wt-progress-seg:hover { background: rgba(15, 31, 28, 0.12); }
.wt-progress-seg.done { background: var(--primary); }
.wt-progress-fill {
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.15s linear;
}

/* --- Stacked (mobile / reduced-motion) fallback --- */
.walkthrough-stacked { padding: 80px 20px; }
.walkthrough-stacked .wt-stack {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.wt-stack-item {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}
.wt-stack-text {
  max-width: 520px;
  width: 100%;
}
.wt-stack-text .wt-title {
  font-size: clamp(26px, 6.5vw, 34px);
}
.wt-stack-text .wt-body {
  font-size: 16px;
}
.wt-stack-phone {
  display: flex;
  justify-content: center;
  width: 100%;
}
/* On the stacked mobile layout, override height-based scaling with width-based
   breakpoints so the phone doesn't overflow horizontally on small phones. */
@media (max-width: 900px) { .walkthrough { --phone-scale: 1; } }
@media (max-width: 380px) { .walkthrough { --phone-scale: 0.92; } }
@media (max-width: 340px) { .walkthrough { --phone-scale: 0.82; } }
.iphone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  /* Reserve the scaled footprint so the column doesn't overflow on short viewports.
     Phone is rendered at natural 320x656 inside .iphone-frame and transform-scaled. */
  width: calc(320px * var(--phone-scale, 1));
  height: calc(656px * var(--phone-scale, 1));
}
.iphone-frame {
  width: 320px;
  height: 656px;
  background: linear-gradient(180deg, #1a1a1c 0%, #0a0a0b 100%);
  border-radius: 52px;
  padding: 10px;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  transform: scale(var(--phone-scale, 1));
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.04) inset,
    0 50px 100px -40px rgba(15,60,53,0.35),
    0 20px 50px -20px rgba(0,0,0,0.3);
}
.iphone-frame::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2a2a2d, #151517);
  z-index: 0;
}
.iphone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 3;
}
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: var(--paper);
  z-index: 1;
  perspective: 1200px;
  perspective-origin: center center;
}
.wt-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* Future state — enters from the right with a 3D rotation */
  transform: translate3d(44px, 6px, 0) scale(0.92) rotateY(-12deg);
  transform-origin: left center;
  filter: blur(6px) saturate(0.82);
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.wt-screen.past {
  opacity: 0;
  transform: translate3d(-44px, 6px, 0) scale(0.92) rotateY(12deg);
  transform-origin: right center;
  filter: blur(6px) saturate(0.82);
}
.wt-screen.on {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotateY(0);
  transform-origin: center center;
  filter: blur(0) saturate(1);
}
/* Soft inner highlight on the active screen — catches "ambient light" */
.iphone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42px;
  pointer-events: none;
  z-index: 4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}
/* Soft ambient glow under the phone — pulses faintly when transitioning */
.wt-pin-phone {
  position: relative;
}
.wt-pin-phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 95, 85, 0.12), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.7s ease;
}
.wt-pin-phone .iphone {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .wt-screen,
  .wt-screen.past,
  .wt-screen.on {
    transition: opacity 0.3s ease;
    transform: none;
    filter: none;
  }
  .wt-step-content .wt-eyebrow,
  .wt-step-content .wt-title,
  .wt-step-content .wt-body,
  .wt-step-content .wt-bullets > li {
    transform: none;
    transition: opacity 0.3s ease;
    transition-delay: 0s !important;
  }
  .wt-bullet-check path { stroke-dashoffset: 0; transition: none; }
}
.iphone-statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 46px;
  padding: 14px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
  pointer-events: none;
}
.sb-right { display: flex; gap: 6px; align-items: center; }
.sb-bars, .sb-wifi, .sb-batt {
  display: inline-block;
  background: var(--ink);
  border-radius: 2px;
}
.sb-bars { width: 16px; height: 10px; -webkit-mask: linear-gradient(#000,#000); }
.sb-wifi { width: 14px; height: 10px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.sb-batt { width: 24px; height: 11px; border-radius: 3px; }
.iphone-home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(15,31,28,0.35);
  border-radius: 2px;
  z-index: 2;
}
.wt-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.wt-eyebrow-soft { color: var(--ink-soft); }
@media (max-width: 900px) {
  .wt-pin-grid { grid-template-columns: 1fr; gap: 40px; }
}
.modes { background: var(--paper); border-top: 1px solid var(--line); }
.modes-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) { .modes-grid { grid-template-columns: 1fr; } }

.mode-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(15,60,53,0.2);
}
.mode-card.dark {
  background: var(--primary);
  color: var(--paper);
  border-color: var(--primary-ink);
}
.mode-card.dark h3,
.mode-card.dark .mode-label,
.mode-card.dark .mode-list li { color: var(--paper); }

.mode-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mode-card.dark .mode-label { color: var(--accent-soft); }
.mode-label .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.mode-card.dark .mode-label .dot { background: var(--accent); }

.mode-card h3 {
  color: var(--primary-ink);
  font-size: 30px;
}
.mode-sub {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 38ch;
}
.mode-card.dark .mode-sub { color: rgba(247,245,240,0.85); }

.mode-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.mode-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.mode-card.dark .mode-list li { color: rgba(247,245,240,0.9); }
.mode-list li::before {
  content: "";
  margin-top: 8px;
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.mode-price {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.mode-card.dark .mode-price {
  border-top-color: rgba(247,245,240,0.18);
  color: rgba(247,245,240,0.75);
}
.mode-price .p {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
}
.mode-card.dark .mode-price .p { color: var(--paper); }

/* ---------- Differentiator ---------- */
.diff {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.diff-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 860px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-cell {
  background: #fff;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  transition: background 0.3s ease;
}
.diff-cell:hover { background: #fff; }
.diff-cell .num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--primary);
  letter-spacing: 0.12em;
}
.diff-cell h4 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.diff-cell p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: auto;
}

/* ---------- Competition table ---------- */
.compete {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.compete-table {
  margin-top: 60px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.compete-table th, .compete-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.compete-table tr:last-child td { border-bottom: none; }
.compete-table th {
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--mist);
}
.compete-table th:not(:first-child),
.compete-table td:not(:first-child) {
  text-align: center;
}
.compete-table td.name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
}
.compete-table tr.us td {
  background: rgba(28, 95, 85, 0.06);
}
.compete-table tr.us td.name {
  color: var(--primary);
  font-weight: 500;
}
.check {
  display: inline-block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--paper);
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}
.cross {
  display: inline-block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-mute);
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  border: 1px solid var(--line);
}
.compete-table tr.us .check {
  background: var(--accent);
}

/* ---------- Market ---------- */
.market {
  background: var(--primary-deep);
  color: var(--paper);
  overflow: hidden;
}
.market h2 { color: var(--paper); }
.market .eyebrow { color: var(--accent); }
.market .eyebrow::before { background: var(--accent); }
.market-lead { color: rgba(247,245,240,0.75); }
.market-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(247,245,240,0.1);
  border: 1px solid rgba(247,245,240,0.1);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 860px) { .market-grid { grid-template-columns: 1fr; } }
.market-cell {
  background: var(--primary-deep);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  transition: background 0.3s ease;
}
.market-cell:hover { background: #0e2e2a; }
.market-cell .mc-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.market-cell .mc-num {
  font-family: var(--serif);
  font-size: 54px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--paper);
}
.market-cell .mc-desc {
  margin-top: auto;
  color: rgba(247,245,240,0.7);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---------- Who it's for ---------- */
.who-tabs {
  margin-top: 44px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.who-tab {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-mute);
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
}
.who-tab:hover {
  color: var(--ink);
  border-color: var(--primary);
}
.who-tab.active {
  background: rgba(28,95,85,0.05);
  color: var(--ink);
}

.who-tab-light {
  border-color: var(--line);
  color: var(--ink-mute);
}
.who-tab-light:hover {
  color: var(--ink);
  border-color: var(--primary);
}

.who-card-light {
  background: #fff;
  border-color: var(--line);
}

.who-card {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  animation: whoFadeIn 0.4s ease;
}
@keyframes whoFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .who-card { grid-template-columns: 1fr; padding: 32px 28px; gap: 32px; }
}
@media (max-width: 520px) {
  .who-tabs { gap: 6px; margin-top: 32px; }
  .who-tab { padding: 8px 14px; font-size: 11.5px; letter-spacing: 0.06em; }
  .who-card { padding: 26px 22px; gap: 26px; margin-top: 28px; border-radius: 16px; }
}

.who-card-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.who-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(247,245,240,0.7);
  line-height: 1.5;
}
.who-detail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ---------- Trust / security strip ---------- */
.trust-strip {
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
  padding: 54px 40px 58px;
}
.trust-strip-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.trust-strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}
.trust-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 8px;
}
.trust-strip-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--primary);
  margin-bottom: 20px;
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), background 300ms ease;
}
.trust-strip-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}
.trust-strip-item:hover .trust-strip-icon {
  transform: translateY(-2px);
  background: #dde9e6;
}
.trust-strip-label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.trust-strip-sub {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-mute);
  line-height: 1.5;
  letter-spacing: 0.005em;
  max-width: 22ch;
}
@media (max-width: 900px) {
  .trust-strip { padding: 44px 24px 48px; }
  .trust-strip-list { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .trust-strip-icon { width: 50px; height: 50px; margin-bottom: 16px; }
  .trust-strip-icon svg { width: 23px; height: 23px; }
  .trust-strip-label { font-size: 18px; }
}
@media (max-width: 520px) {
  .trust-strip-list { gap: 36px 16px; }
  .trust-strip-label { font-size: 17px; }
  .trust-strip-sub { font-size: 12.5px; }
}

/* ---------- Team page ---------- */
.team-hero {
  padding: 180px 40px 40px;
  background: var(--paper);
}
.team-section { background: var(--paper); }
.team-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 100px;
}
.team-card-lg {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: flex-start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.team-card-lg:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .team-card-lg { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
}
.team-portrait {
  width: 220px;
  aspect-ratio: 1/1.2;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--accent) 0%, var(--primary) 70%, var(--primary-deep) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15,60,53,0.45);
  flex-shrink: 0;
}
.team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-name { font-size: clamp(32px, 3.4vw, 44px); color: var(--ink); }
.team-card-lg .role {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 8px;
}
.team-card-lg p {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 58ch;
}
.team-card-lg .creds {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-mute);
}
.team-card-lg .creds strong { color: var(--ink); font-weight: 500; margin-right: 6px; }
.team-contact {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-mute);
}
.team-contact a { color: var(--primary); text-decoration: none; }
.team-contact a:hover { text-decoration: underline; }

.team-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
}
@media (max-width: 800px) { .team-values { grid-template-columns: 1fr; gap: 28px; } }
.tv h3 { color: var(--primary); font-size: 26px; margin-bottom: 12px; }
.tv p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; max-width: 40ch; }

.hiring {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
  padding-bottom: 60px;
}
@media (max-width: 860px) { .hiring { grid-template-columns: 1fr; gap: 40px; } }
.hiring-roles {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.role-row {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
}
.role-row:last-child { border-bottom: none; }
.role-row:hover { background: var(--mist); }
.role-open {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.team { background: var(--paper); border-top: 1px solid var(--line); }
.team-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.team-avatar {
  width: 84px; height: 84px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: -0.02em;
}
.team-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg,
    rgba(255,255,255,0.08) 0 8px,
    transparent 8px 18px);
}
.team-card h4 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.team-card .role {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 6px;
}
.team-card p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.team-card .creds {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--ink-mute);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 40px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .cta { padding: 88px 20px; }
  .cta-actions { margin-top: 32px; gap: 10px; }
  .cta p { margin-top: 20px; font-size: 16px; }
}
.cta::before {
  content: "";
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 1100px;
  background: radial-gradient(circle, rgba(64,170,194,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta h2 { color: var(--paper); letter-spacing: -0.025em; }
.cta h2 em { font-style: italic; color: var(--accent); }
.cta p {
  margin-top: 26px;
  font-size: 18px;
  color: rgba(247,245,240,0.72);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.cta-actions {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn-ghost {
  color: var(--paper);
  border-color: rgba(247,245,240,0.25);
}
.cta .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--paper);
  color: var(--ink-soft);
  padding: 60px 40px 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px) {
  .footer { padding: 48px 24px 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { margin-top: 36px; font-size: 11px; }
}
@media (max-width: 460px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer a {
  display: block;
  color: var(--ink-mute);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.footer a:hover { color: var(--primary); }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-brand .mark {
  width: 36px; height: 36px;
  border-radius: 8px;
}
.footer-brand .footer-wordmark {
  height: 26px;
  width: auto;
  display: block;
}
.footer-brand .wm {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}
.footer-sub {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.55;
  max-width: 32ch;
}
.footer-bottom {
  max-width: 1240px;
  margin: 50px auto 0;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Waitlist Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 28, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn 0.2s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-card {
  background: var(--paper);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 24px 80px -12px rgba(15, 31, 28, 0.28), 0 0 0 1px var(--line);
  animation: modalSlideUp 0.25s cubic-bezier(.2,.7,.2,1);
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.modal-close:hover {
  background: var(--mist);
  color: var(--ink);
}
.modal-header {
  margin-bottom: 28px;
}
.modal-fields {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.modal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  display: block;
}
.field-required {
  color: var(--primary);
}
.field-optional {
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 6px;
  display: inline;
}
.field-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
}
.field-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28, 95, 85, 0.1);
}
.field-input::placeholder {
  color: var(--ink-mute);
}
.field-textarea {
  resize: vertical;
  min-height: 56px;
  line-height: 1.55;
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  user-select: none;
}
.radio-option input[type="radio"] {
  display: none;
}
.radio-option:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.radio-option.selected {
  border-color: var(--primary);
  background: rgba(28, 95, 85, 0.07);
  color: var(--primary);
  font-weight: 500;
}
.modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 28px;
}
.modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 8px;
}
.modal-success h3 {
  font-size: 24px;
}

.optional-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.optional-divider::before,
.optional-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.optional-divider-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.optional-carousel {
  min-height: 124px;
  display: flex;
  flex-direction: column;
}
.optional-slide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: slideFade 0.22s cubic-bezier(.2,.7,.2,1);
}
@keyframes slideFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.optional-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}
.optional-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.optional-nav-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}
.optional-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.optional-dots {
  display: flex;
  gap: 6px;
}
.optional-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.15s ease, transform 0.15s ease;
}
.optional-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

.modal-disclaimer {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-mute);
  text-align: left;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .modal-card {
    padding: 28px 24px;
    border-radius: 16px;
  }
}
