@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

/* ==========================================================================
   Bearings — Premium Clinical-Trust skin
   Clean modern grotesque (Inter), white canvas, one deep-teal accent,
   crisp structured grid, hairline borders, mono micro-labels, generous space.
   Drop-in replacement: every original selector is covered, no HTML changes.
   Stripe / Oura register. WCAG AA, responsive, no JavaScript required.
   ========================================================================== */

:root {
  /* Type — grotesque sans + mono for micro-labels. */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Canvas + surfaces — white, with one cool quiet fill. */
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fbfcfc;
  --fill: #f4f7f6;

  /* Ink + text — high-contrast near-black, AA-safe greys. */
  --ink: #11201d;
  --text: #2c3633;
  --muted: #4f5b57;        /* AA on white and on --fill */
  --quiet: #606e6a;        /* AA (>=4.5:1) on white and on --fill */
  --line: #e3e8e6;
  --line-strong: #d4dbd8;

  /* One confident accent — deep teal — plus a darker pressed state. */
  --teal: #0f5c4e;
  --teal-deep: #0a4439;
  --teal-soft: #e6efed;

  /* Aliases kept so existing tokens resolve everywhere. */
  --cedar: #0f5c4e;
  --cedar-dark: #0a4439;
  --lichen: #e6efed;
  --copper: #0f5c4e;
  --copper-soft: #e6efed;
  --source-blue: #0f5c4e;
  --source-blue-soft: #e6efed;
  --paper: #ffffff;
  --paper-deep: #f0f3f2;
  --plum: #0f5c4e;
  --plum-soft: #e6efed;

  /* Status — kept distinct from the accent, calm not alarmist. */
  --warning: #8a4a2f;
  --warning-soft: #f4ece6;
  --emergency: #93312b;
  --emergency-soft: #f8efed;

  --radius-card: 4px;
  --radius-control: 3px;
  --shadow-soft: 0 1px 2px rgba(17, 32, 29, 0.04), 0 14px 32px -22px rgba(17, 32, 29, 0.22);
  --shadow-report: 0 1px 3px rgba(17, 32, 29, 0.05), 0 26px 60px -30px rgba(17, 32, 29, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--teal-soft);
  color: var(--ink);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.option:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- layout shells ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 40px;
}

.narrow {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 40px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
  }
}

.site-header__inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-mark span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav a:not(.button):hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  padding: 0 22px;
  font: 500 15px/20px var(--font-sans);
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button-primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.button-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.button-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: #000;
  border-color: #000;
}

/* ---------- hero ---------- */
.hero {
  padding: 88px 0 96px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.hero-grid > *,
.two-col > *,
.section-header > *,
.quiz-shell > *,
.card,
.artefact,
.price-card,
.memo {
  min-width: 0;
}

/* ---------- mono micro-label ---------- */
.eyebrow {
  margin: 0 0 22px;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- display headings ---------- */
.hero-title,
.page-title {
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-title {
  max-width: 20ch;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero-title em,
.page-title em,
.editorial-lead em {
  font-style: italic;
  font-weight: inherit;
  color: var(--teal);
}

.hero-lede,
.page-lede {
  max-width: 52ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.page-lede {
  max-width: 60ch;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- trust chips ---------- */
.trust-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  padding: 8px 13px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  max-width: 100%;
  white-space: normal;
}

.chip svg {
  display: block;
}

.chip-green {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.chip-copper {
  border-color: var(--line-strong);
  background: var(--fill);
  color: var(--muted);
}

.chip-plum {
  border-color: var(--line-strong);
  background: var(--fill);
  color: var(--muted);
}

.chip-quiet {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--quiet);
}

/* ---------- hero specimen / report card ---------- */
.artefact {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.report-stack {
  position: relative;
  min-width: 0;
}

/* Clinical register: drop the rotated paper-stack illusion for a clean single sheet. */
.report-stack::before,
.report-stack::after {
  content: none;
}

.report {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-report);
  overflow: hidden;
}

/* Single hairline accent rule instead of a tri-colour bar. */
.report::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--teal);
}

.report__body {
  padding: 30px;
}

.report__folio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  color: var(--muted);
  font: 500 11.5px/18px var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report__title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 22px 0 18px;
}

.report__title h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.report-stamp {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font: 500 10.5px/15px var(--font-mono);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.priority-strip {
  display: grid;
  border-top: 1px solid var(--line);
}

.priority-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 92px;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.priority-row:last-child {
  border-bottom: 0;
}

.priority-row b {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 23px;
  letter-spacing: -0.01em;
}

.priority-row span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.priority-index {
  color: var(--teal);
  font: 500 14px/1.6 var(--font-mono);
  letter-spacing: 0.02em;
}

.priority-time {
  color: var(--muted);
  font: 500 11.5px/18px var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- source rail ---------- */
.source-rule {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.source-rule span {
  color: var(--muted);
  font: 500 11.5px/18px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- principle band (dark structured block) ---------- */
.principle-band {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  padding: 0;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle {
  background: var(--ink);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding: 44px 32px;
}

.principle:first-child {
  border-left: 0;
  padding-left: 0;
}

.principle strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.principle span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- editorial layout ---------- */
.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 80px;
  align-items: start;
}

.editorial-lead {
  max-width: 22ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.artefact-menu {
  display: grid;
  gap: 0;
}

.artefact-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.artefact-row:first-child {
  border-top: 1px solid var(--ink);
}

.artefact-row .code {
  color: var(--teal);
  font: 500 12px/18px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.artefact-row h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.artefact-row p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- proof panel ---------- */
.proof-panel {
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 32px;
}

.proof-panel p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.65;
}

/* ---------- answer / FAQ list ---------- */
.answer-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.answer-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 40px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.answer-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.answer-row p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- artefact card body ---------- */
.artefact::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--teal);
}

.artefact__body {
  padding: 28px;
}

.artefact__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.artefact h2,
.artefact h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.artefact h3 {
  font-size: 20px;
  line-height: 1.25;
}

.artefact p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- action list ---------- */
.action-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.action-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  padding: 16px;
}

.action-item > * {
  min-width: 0;
}

.action-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--teal);
  background: var(--teal-soft);
  color: var(--teal-deep);
  font: 600 14px/1 var(--font-mono);
}

.action-item strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.action-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 21px;
  overflow-wrap: anywhere;
}

/* ---------- generic sections ---------- */
.section {
  border-top: 1px solid var(--line);
  padding: 96px 0;
}

.section-soft {
  background: var(--fill);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.section-title {
  max-width: 20ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.section-kicker {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: 64px;
  align-items: start;
}

.three-col,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.two-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* ---------- cards ---------- */
.card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 28px;
}

.card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.card .fine {
  margin-top: 18px;
}

.fine {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

/* ---------- feature table ---------- */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.feature-table th,
.feature-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
}

.feature-table th {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-table td {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.feature-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 0.86fr));
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
}

.price-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  padding: 40px 32px 36px;
}

.price-card:first-child {
  border-left: 0;
}

.price-card.featured {
  background: var(--surface);
  box-shadow: inset 0 3px 0 0 var(--teal);
}

.price-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.price {
  margin: 20px 0 8px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.price small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 400;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 11px;
  height: 1px;
  background: var(--teal);
}

.price-card .button {
  margin-top: auto;
}

.pricing-note {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-bottom: 40px;
}

.pricing-note h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* ---------- memo ---------- */
.memo {
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 28px 30px;
}

.memo h2,
.memo h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.memo p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

.memo p:last-child {
  margin-bottom: 0;
}

/* ---------- source list ---------- */
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
}

/* ---------- page hero ---------- */
.page-hero {
  padding: 80px 0 72px;
}

.page-hero .trust-rail {
  max-width: 780px;
}

/* ---------- quiz ---------- */
.quiz-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}

.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--teal);
  transition: width 0.3s ease;
}

.option-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.option {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  padding: 16px 18px;
  color: var(--ink);
  font: 500 16px/23px var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.option:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-deep);
}

/* ---------- forms ---------- */
.form-row {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  padding: 13px 14px;
  color: var(--ink);
  font: 16px/24px var(--font-sans);
}

input::placeholder,
textarea::placeholder {
  color: var(--quiet);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  outline: none;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 64px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
}

.footer p {
  margin: 0;
  max-width: 60ch;
}

.footer a {
  color: var(--teal);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- emergency ---------- */
.emergency-band {
  border-top: 1px solid #e6c8c4;
  border-bottom: 1px solid #e6c8c4;
  background: var(--emergency-soft);
  padding: 18px 0;
  color: #6e211c;
  font-weight: 600;
}

.emergency-card {
  border: 1px solid #e6c8c4;
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 28px;
}

.emergency-card h3 {
  margin: 0 0 12px;
  color: var(--emergency);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* ---------- legal ---------- */
.legal-content {
  display: grid;
  gap: 40px;
  padding-bottom: 96px;
}

.legal-content h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  max-width: 70ch;
  color: var(--text);
}

/* ---------- mockup index ---------- */
.mockup-index {
  padding: 80px 0 96px;
}

.mockup-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.mockup-link {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 24px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mockup-link:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-soft);
}

.mockup-link strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.mockup-link span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 920px) {
  .container,
  .narrow {
    padding-inline: 32px;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .nav {
    gap: 18px;
  }

  .hero-grid,
  .two-col,
  .section-header,
  .quiz-shell,
  .editorial-layout,
  .pricing-note {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-title {
    max-width: none;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle,
  .principle:first-child {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 32px 0;
  }

  .principle:first-child {
    border-top: 0;
  }

  .three-col,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .price-card:first-child {
    border-top: 0;
  }

  .price-card.featured {
    box-shadow: inset 3px 0 0 0 var(--teal);
  }

  .two-card-grid,
  .mockup-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html {
    font-size: 16px;
  }

  .container,
  .narrow {
    padding-inline: 20px;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .brand-mark span {
    display: none;
  }

  .nav a:not(.button) {
    display: none;
  }

  .nav {
    gap: 12px;
  }

  .nav .button {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 14px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.12;
  }

  .page-title {
    font-size: 30px;
    line-height: 1.14;
  }

  .hero-lede,
  .page-lede {
    font-size: 17px;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 56px 0 48px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 26px;
  }

  .editorial-lead,
  .pricing-note h2 {
    font-size: 27px;
  }

  .report__body {
    padding: 22px;
  }

  .report__folio {
    display: grid;
  }

  .report__title {
    grid-template-columns: 1fr;
  }

  .report__title h2 {
    font-size: 24px;
  }

  .report-stamp {
    width: auto;
    height: auto;
    justify-self: start;
    border-radius: 999px;
    padding: 8px 14px;
  }

  .priority-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
  }

  .priority-time {
    grid-column: 2;
  }

  .artefact-row,
  .answer-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .proof-panel {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .artefact__body,
  .card,
  .price-card,
  .memo {
    padding: 22px;
  }

  .feature-table,
  .feature-table thead,
  .feature-table tbody,
  .feature-table tr,
  .feature-table th,
  .feature-table td {
    display: block;
  }

  .feature-table {
    border: 0;
    background: transparent;
  }

  .feature-table thead {
    display: none;
  }

  .feature-table tbody {
    display: grid;
    gap: 12px;
  }

  .feature-table tr {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 14px 16px;
  }

  .feature-table td {
    display: grid;
    grid-template-columns: minmax(94px, 0.34fr) minmax(0, 1fr);
    gap: 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    overflow-wrap: anywhere;
  }

  .feature-table td:last-child {
    border-bottom: 0;
  }

  .feature-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font: 500 11px/18px var(--font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}