/* ==========================================================
   Prakriti Wellness — mid-fi stylesheet
   Muted Ayurveda palette. Instrument Serif display + Inter.
   ========================================================== */

:root {
  /* Paper / ink */
  --paper: #f5efe3;
  --paper-2: #ece5d3;
  --paper-3: #e1d9c3;
  --ink: #1a1714;
  --ink-2: #3b362a;
  --ink-3: #6e6854;
  --ink-4: #9b9480;

  /* Accents (muted Ayurveda) */
  --clay: #a04a2a;
  --clay-soft: #d9a58c;
  --ochre: #b8862f;
  --moss: #5a6b2b;
  --indigo: #3d4a6b;

  /* Dosha colors */
  --vata: #a04a2a;   /* clay */
  --pitta: #b8862f;  /* ochre */
  --kapha: #5a6b2b;  /* moss */

  --accent: var(--clay);

  /* Fonts */
  --f-display: 'Instrument Serif', 'Fraunces', 'Noto Sans Devanagari', Georgia, serif;
  --f-body: 'Inter', 'Noto Sans Devanagari', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', 'Noto Sans Devanagari', ui-monospace, monospace;

  /* Shape */
  --r: 4px;
  --r-lg: 12px;
  --stroke: 1px;
  --bd: rgba(26,23,20,0.18);
  --bd-strong: rgba(26,23,20,0.35);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  background-image:
    radial-gradient(1400px 700px at 10% -10%, #efe5cf 0%, transparent 55%),
    radial-gradient(900px 500px at 110% 10%, #e8dfc5 0%, transparent 60%);
  min-height: 100vh;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

/* =========  TOKENS =========== */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.h-display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.h-section {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
em.accent { color: var(--accent); font-style: italic; }
.mono { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; }
.muted { color: var(--ink-3); }

/* =========  NAV ========= */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bd);
}
.nav .logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.nav .logo .mark {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle at 35% 35%, var(--clay) 0 4px, transparent 4px),
    radial-gradient(circle at 65% 45%, var(--ochre) 0 3px, transparent 3px),
    radial-gradient(circle at 50% 68%, var(--moss) 0 3px, transparent 3px),
    var(--paper);
}
.nav ul {
  display: flex; gap: 22px; list-style: none; padding: 0; margin: 0;
  font-size: 14px;
}
.nav ul li {
  cursor: pointer;
  padding: 4px 0;
  color: var(--ink-2);
  position: relative;
}
.nav ul li:hover { color: var(--ink); }
.nav ul li.active { color: var(--ink); }
.nav ul li.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}
.nav .cta {
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 0;
}
.nav .cta:hover { background: var(--clay); }
.nav .burger { display: none; width: 28px; height: 20px; position: relative; background: transparent; border: 0; }
.nav .burger::before, .nav .burger::after, .nav .burger span {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
}
.nav .burger::before { top: 0; }
.nav .burger span { top: 9px; }
.nav .burger::after { bottom: 0; }

@media (max-width: 920px) {
  .nav { padding: 12px 18px; }
  .nav ul { display: none; }
  .nav .burger { display: block; }
}

/* =========  LAYOUT ========= */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--bd);
}
/* when .page is on the section itself, keep background full-width but center content */
section.page {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
section.page > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.section.tight { padding: 64px 0; }
.section.dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: transparent;
}
.section.dark .muted { color: rgba(255,255,255,0.6); }
.section.tint { background: var(--paper-2); }
.section.tint-2 { background: var(--paper-3); }

@media (max-width: 720px) {
  .page { padding: 0 20px; }
  .section { padding: 64px 0; }
}

/* =========  HERO ========= */
.hero {
  padding: 48px 0 80px;
  border-bottom: 1px solid var(--bd);
}
.hero h1 {
  font-size: clamp(48px, 8vw, 112px);
  margin: 20px 0 0;
  max-width: 14ch;
}
.hero .deck {
  margin-top: 28px;
  max-width: 52ch;
  font-size: 18px;
  color: var(--ink-2);
}
.hero .hero-cta {
  margin-top: 36px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* =========  BUTTONS ========= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 120ms, background 120ms, color 120ms;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--clay); }
.btn.accent { background: var(--clay); color: var(--paper); }
.btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(3px); }

/* =========  PILLS / BADGES ========= */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--bd-strong);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: transparent;
}
.pill.accent { background: var(--clay); color: var(--paper); border-color: var(--clay); }
.pill.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* =========  CARDS ========= */
.card {
  background: var(--paper);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
  border-color: var(--accent);
}
.card[style*="cursor: pointer"]:hover .mono,
.card[style*="cursor:pointer"]:hover .mono { opacity: 0.7; }
.card .k {
  font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3);
}
.card .h {
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--ink-2); }

/* =========  FAIL CARDS ========= */
.card-fail { border-top: none; border-bottom: 3px solid transparent; }
.card-fail--gender       { background: linear-gradient(160deg, #f0ddd0 0%, #ede5d8 60%, var(--paper) 100%) !important; border-top-color: #c97b4b; }
.card-fail--symptom      { background: linear-gradient(160deg, #d5e8cf 0%, #dce9d6 60%, var(--paper) 100%) !important; border-top-color: #6a9a58; }
.card-fail--constitution { background: linear-gradient(160deg, #d0daea 0%, #d8e0f0 60%, var(--paper) 100%) !important; border-top-color: #5a6e9e; }
.card-fail:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.09); transition: transform 0.2s, box-shadow 0.2s; }
.card-fail-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.card-fail--gender       .card-fail-icon { background: rgba(201,123,75,0.18); }
.card-fail--symptom      .card-fail-icon { background: rgba(106,154,88,0.18); }
.card-fail--constitution .card-fail-icon { background: rgba(90,110,158,0.18); }

/* =========  PROBLEM HERO ========= */
.problem-hero { display: grid; grid-template-columns: 55% 45%; gap: 40px; align-items: center; margin-bottom: 16px; }
.problem-hero__image { display: flex; justify-content: center; align-items: center; }
.problem-bowl-circle { width: 100%; }
.problem-bowl-circle img { width: 100%; height: auto; display: block; border-radius: 16px; }
@media (max-width: 900px) { .problem-hero { grid-template-columns: 1fr; } .problem-bowl-circle { width: min(320px, 100%); } .problem-hero__text h2 { white-space: normal !important; } }

/* =========  GRIDS ========= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* =========  PLACEHOLDERS ========= */
.ph {
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(135deg,
      rgba(26,23,20,0.06) 0 10px,
      rgba(26,23,20,0.10) 10px 11px);
  border: 1px dashed var(--bd-strong);
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 16px;
  text-align: center;
  min-height: 100px;
}
.ph.tall { min-height: 320px; }
.ph.hero { min-height: 420px; }
.ph.square { aspect-ratio: 1; min-height: 0; }
.ph.round { aspect-ratio: 1; border-radius: 50%; min-height: 0; }

/* =========  FAQ ========= */
.faq-item {
  border-top: 1px solid var(--bd);
  padding: 20px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--bd); }
.faq-item .q {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.faq-item .q .plus {
  font-family: var(--f-mono);
  font-size: 18px;
  color: var(--ink-3);
  transition: transform 200ms;
}
.faq-item.open .q .plus { transform: rotate(45deg); }
.faq-item .a {
  display: none;
  margin-top: 12px;
  color: var(--ink-2);
  max-width: 64ch;
}
.faq-item.open .a { display: block; }

.section.dark .faq-item { border-top-color: rgba(255,255,255,0.12); }
.section.dark .faq-item:last-child { border-bottom-color: rgba(255,255,255,0.12); }
.section.dark .faq-item .q { color: var(--paper); }
.section.dark .faq-item .q .plus { color: rgba(255,255,255,0.5); }
.section.dark .faq-item .a { color: rgba(255,255,255,0.65); }
.section.dark .sec-head h2 { color: var(--paper); }
.section.dark .sec-head .eyebrow { color: rgba(255,255,255,0.5); }
.section.dark .eyebrow { color: rgba(255,255,255,0.5); }

/* =========  STATS ========= */
.bigstat {
  font-family: var(--f-display);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* =========  FOOTER ========= */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 40px;
  border-top: 4px solid var(--clay);
}
.footer .page { padding: 0 32px; }
.footer .top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px) { .footer .top { grid-template-columns: 1fr 1fr; } }
.footer h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 40px;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.footer .col .k {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 12px;
}
.footer .col ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.footer .col ul li { margin-bottom: 8px; cursor: pointer; color: rgba(255,255,255,0.8); }
.footer .col ul li:hover { color: var(--paper); }
.footer .bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}

/* =========  TABLE ========= */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table th, .table td {
  text-align: left;
  padding: 16px 18px;
  vertical-align: top;
}
.table thead th {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--ink);
  font-weight: 500;
}
.table tbody tr { border-bottom: 1px solid var(--bd); }
.table tbody tr:last-child { border-bottom: 0; }

/* =========  QUIZ ========= */
.quiz-shell {
  max-width: 720px;
  margin: 0 auto;
}
.quiz-card {
  background: var(--paper);
  border: 1px solid var(--bd);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 20px 60px rgba(26,23,20,0.06);
}
.quiz-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.progress {
  height: 3px;
  background: var(--paper-3);
  border-radius: 999px;
  overflow: hidden;
}
.progress > div {
  height: 100%;
  background: var(--accent);
  transition: width 300ms ease;
}
.bubble {
  max-width: 86%;
  padding: 14px 18px;
  border-radius: 18px 18px 18px 4px;
  background: var(--paper-2);
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.45;
  font-size: 16px;
}
.bubble.user {
  margin-left: auto;
  border-radius: 18px 18px 4px 18px;
  background: var(--ink);
  color: var(--paper);
}
.bubble .who {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: 4px;
}
.bubble.user .who { color: rgba(255,255,255,0.5); }
.options {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.opt {
  text-align: left;
  border: 1px solid var(--bd-strong);
  background: var(--paper);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink);
  transition: background 120ms, border-color 120ms, transform 120ms;
}
.opt:hover { background: var(--paper-2); border-color: var(--ink); transform: translateY(-1px); }

/* Typing dots */
.typing {
  display: inline-flex; gap: 4px; padding: 6px 0;
}
.typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4);
  animation: blink 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

/* Result */
.result-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}
@media (max-width: 800px) { .result-hero { grid-template-columns: 1fr; } }
.result-hero .big-dosha {
  font-family: var(--f-display);
  font-size: clamp(80px, 16vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.result-dist {
  display: grid; gap: 10px;
}
.result-dist .bar {
  display: grid; grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.result-dist .bar .track {
  height: 8px; background: var(--paper-3); border-radius: 999px; overflow: hidden;
}
.result-dist .bar .fill { height: 100%; border-radius: 999px; }

/* =========  DOSHA PAGE ========= */
.dosha-hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--bd);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 900px) { .dosha-hero { grid-template-columns: 1fr; } }
.dosha-hero h1 { font-size: clamp(52px, 9vw, 128px); margin: 16px 0 0; max-width: 12ch; }

/* =========  TIMELINE ========= */
.timeline {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; } }
.timeline .step {
  padding: 28px 24px;
  border-right: 1px solid var(--bd);
}
.timeline .step:last-child { border-right: 0; }
@media (max-width: 800px) {
  .timeline .step { border-right: 0; border-bottom: 1px solid var(--bd); }
  .timeline .step:last-child { border-bottom: 0; }
}
.timeline .w {
  font-family: var(--f-display);
  font-size: 48px;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.timeline .t {
  font-family: var(--f-display);
  font-size: 22px;
  margin: 12px 0 6px;
  letter-spacing: -0.01em;
}

/* =========  FORM ========= */
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.field input, .field textarea, .field select {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--bd-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 100px; resize: vertical; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px;
  border: 1px solid var(--bd-strong);
  border-radius: 999px;
  font-size: 13px;
  background: transparent;
  color: var(--ink);
}
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* =========  SCARCITY METER ========= */
.meter {
  height: 8px; background: var(--paper-3); border-radius: 999px; overflow: hidden;
  border: 1px solid var(--bd);
}
.meter > div { height: 100%; background: var(--accent); }

/* =========  TWEAKS ========= */
.tweaks {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 14px;
  padding: 16px 18px 14px;
  width: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.tweaks h4 {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks h4 .close { background: transparent; border: 0; font-family: var(--f-mono); font-size: 10px; color: var(--ink-3); }
.tweak-row { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 10px; margin-bottom: 10px; }
.tweak-row > label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.segmented { display: flex; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; }
.segmented button {
  flex: 1; border: 0; background: transparent; padding: 6px 4px; font-size: 12px; color: var(--ink-2); border-right: 1px solid var(--ink);
}
.segmented button:last-child { border-right: 0; }
.segmented button.on { background: var(--ink); color: var(--paper); }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ink); }
.swatches button.on { outline: 2px solid var(--ink); outline-offset: 2px; }

/* =========  DARK mode swap for high-contrast tweak ========= */
body.hi-contrast {
  --paper: #fdfaf2;
  --paper-2: #f3ecd7;
  --paper-3: #e9dfbf;
  --ink: #0b0907;
}

/* =========  UTILITIES ========= */
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.stack-md > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.center { text-align: center; }
.sec-head { margin-bottom: 36px; max-width: 60ch; }
.sec-head h2 { font-size: clamp(34px, 4.5vw, 56px); margin: 10px 0 12px; }
.sec-head p { color: var(--ink-2); font-size: 17px; margin: 0; }

/* smoother anchor */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }

/* Slider dots for hero */
.slider-dots {
  display: flex; gap: 6px; margin-top: 20px;
}
.slider-dots button {
  width: 22px; height: 2px;
  background: var(--ink-4);
  border: 0;
}
.slider-dots button.on { background: var(--ink); height: 3px; }

/* ingredient tile */
.herb {
  display: grid; gap: 8px;
}
.herb .swatch {
  width: 100%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--bd);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 50%),
    var(--swatch, var(--clay-soft));
}
.herb .name { font-family: var(--f-display); font-size: 20px; line-height: 1.1; }
.herb .role { font-size: 13px; color: var(--ink-3); }

/* simple split */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.split > div { padding: 28px; }
.split > div + div { border-left: 1px solid var(--bd); }
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .split > div + div { border-left: 0; border-top: 1px solid var(--bd); }
}

/* side nav (sub-nav for research/approach page chapters) */
.subnav {
  display: flex; gap: 24px; overflow-x: auto;
  border-bottom: 1px solid var(--bd);
  padding: 0 32px;
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  position: sticky; top: 61px; z-index: 30;
}
.subnav button {
  background: transparent; border: 0;
  padding: 14px 0; font-size: 13px; font-family: var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
}
.subnav button.on { color: var(--ink); border-bottom-color: var(--ink); }

/* comparison table specifics */
.vs-table td:first-child, .vs-table th:first-child { width: 32%; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); }
.vs-table td.win { color: #f5c9a0; font-weight: 500; }
.vs-table .table thead th { color: rgba(255,255,255,0.45); border-bottom-color: rgba(255,255,255,0.15); }
.vs-table.table thead th, div[style*="var(--clay)"] .table thead th { color: rgba(255,255,255,0.45); border-bottom: 1px solid rgba(255,255,255,0.15); }
div[style*="var(--clay)"] .table tbody tr { border-bottom-color: rgba(255,255,255,0.12); }
div[style*="var(--clay)"] .table th,
div[style*="var(--clay)"] .table td { color: rgba(255,255,255,0.9); }
div[style*="var(--clay)"] .table td:first-child { color: rgba(255,255,255,0.5); }

.contact-input { padding: 14px 16px; border-radius: 10px; border: none; font-size: 16px; outline: none; background: rgba(255,255,255,0.2); color: #fff; width: 100%; box-sizing: border-box; font-family: inherit; }
.contact-input::placeholder { color: rgba(255,255,255,0.75); }
.contact-input-error { outline: 2px solid rgba(255,100,100,0.7) !important; }
