@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600&display=swap");

/* ============================================================
   BEARINGS — QUIET LUXURY RE-SKIN
   Fraunces (display) + Inter (body). Near-monochrome warm
   neutrals, one whisper-taupe accent, hairline rules, vast
   whitespace, tracked-out uppercase small-cap labels.
   Drop-in replacement: every original selector is preserved.
   ============================================================ */

:root {
  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* The original "mono" labels become tracked-out Inter caps. */
  --font-mono: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Surfaces — warm paper */
  --canvas: #f4f1ea;
  --surface: #fbf9f4;
  --surface-soft: #f8f5ee;
  --paper: #f6f3ec;
  --paper-deep: #ece7db;

  /* Ink + text greys */
  --ink: #1a1916;
  --text: #332f28;
  --muted: #5a564c;
  --quiet: #6e685c;

  /* Hairlines */
  --line: #ded8ca;

  /* The single whisper-taupe accent. Every former colour
     (cedar, copper, source-blue, plum, lichen, warning,
     emergency …) is folded onto this restrained system so the
     whole site reads as one palette. Variable names are kept
     alive so inline styles and all selectors still resolve. */
  --taupe: #7a6a55;
  --taupe-deep: #6b5c49;
  --taupe-soft: #ebe5da;

  --cedar: #6b5c49;
  --cedar-dark: #322d24;
  --lichen: #ebe5da;
  --copper: #7a6a55;
  --copper-soft: #ebe5da;
  --source-blue: #5a564c;
  --source-blue-soft: #efebe2;
  --plum: #5a564c;
  --plum-soft: #efebe2;
  --warning: #6b5c49;
  --warning-soft: #efebe2;
  --emergency: #6b4a3f;
  --emergency-soft: #f1ebe2;

  /* Geometry — quiet luxury keeps edges crisp, shadows barely there */
  --radius-card: 2px;
  --radius-control: 2px;
  --shadow-soft: 0 1px 0 rgba(26, 25, 22, 0.02);
  --shadow-report: 0 24px 60px rgba(26, 25, 22, 0.07);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  font-weight: 400;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- Layout shells ---------- */

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 56px;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(16px);
}

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

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

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

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

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

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

.nav a:hover {
  color: var(--ink);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-control);
  border: 1px solid var(--ink);
  padding: 0 34px;
  background: transparent;
  color: var(--ink);
  font: 500 13px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--canvas);
}

.button-primary:hover {
  background: transparent;
  color: var(--ink);
}

.button-secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--canvas);
}

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

.button-dark:hover {
  background: transparent;
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  padding: 104px 0 116px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.8fr);
  gap: 96px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero-title,
.page-title {
  max-width: 880px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 66px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.page-title {
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.12;
}

.hero-title em,
.page-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-lede,
.page-lede {
  max-width: 640px;
  margin: 36px 0 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.75;
}

.page-lede {
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

/* ---------- Trust chips ---------- */

.trust-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  max-width: 100%;
  white-space: normal;
}

.chip-green,
.chip-copper,
.chip-plum {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

/* The single accent: a whisper-taupe marker on the "green" chip
   (used for the human-reviewed / current trust signals). */
.chip-green::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--taupe);
}

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

/* ---------- Hero report artefact ---------- */

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

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

.report-stack::before,
.report-stack::after {
  content: "";
  position: absolute;
  inset: 22px -16px -16px 24px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper-deep);
  transform: rotate(1.2deg);
}

.report-stack::after {
  inset: 42px 16px -30px -12px;
  background: #e6e0d3;
  transform: rotate(-1deg);
}

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

/* Former tricolour bar → a single hairline-thin ink rule. */
.report::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--ink);
}

.report__body {
  padding: 40px;
}

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

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

.report__title h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.report-stamp {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  border: 1px solid var(--taupe);
  border-radius: 50%;
  color: var(--taupe-deep);
  font: 500 10px/1.4 var(--font-mono);
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-6deg);
}

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

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

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

.priority-row b {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

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

.priority-index {
  color: var(--taupe-deep);
  font: 300 28px/1 var(--font-display);
}

.priority-time {
  color: var(--muted);
  font: 500 11px/1.5 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-rule {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.source-rule span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--muted);
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Principle band (dark) ---------- */

.principle-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--canvas);
  padding: 0;
}

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

.principle {
  background: var(--ink);
  border-left: 1px solid rgba(244, 241, 234, 0.16);
  padding: 56px 44px;
}

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

.principle strong {
  display: block;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.principle span {
  display: block;
  margin-top: 14px;
  color: #c9c3b5;
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Editorial layout ---------- */

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.78fr);
  gap: 96px;
  align-items: start;
}

.editorial-lead {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.editorial-lead em {
  font-style: italic;
  font-weight: 400;
}

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

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

.artefact-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.artefact-row .code {
  color: var(--muted);
  font: 500 11px/1.5 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.artefact-row h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
}

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

/* ---------- Proof panel ---------- */

.proof-panel {
  border-left: 1px solid var(--taupe);
  background: transparent;
  padding: 8px 0 8px 36px;
}

.proof-panel p {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
}

/* ---------- Answer list (FAQ) ---------- */

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

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

.answer-row h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
}

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

/* ---------- Artefact card body ---------- */

/* Former tricolour bar → a single hairline ink rule. */
.artefact::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--ink);
}

.artefact__body {
  padding: 36px;
}

.artefact__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.artefact h2,
.artefact h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

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

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

/* ---------- Action list ---------- */

.action-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.action-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 20px 0;
}

.action-item:first-child {
  border-top: 0;
  padding-top: 0;
}

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

.action-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--taupe-deep);
  font: 400 16px/1 var(--font-display);
}

.action-item strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

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

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

.section {
  border-top: 1px solid var(--line);
  padding: 120px 0;
}

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

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

.section-title {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-kicker {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Two-col / grids ---------- */

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

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

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

/* ---------- Cards ---------- */

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 36px;
}

.card h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
}

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

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

.fine {
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- Feature table ---------- */

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

.feature-table th,
.feature-table td {
  border-bottom: 1px solid var(--line);
  padding: 20px 22px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.6;
}

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

.feature-table td {
  color: var(--text);
}

.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-top: 1px solid var(--line);
}

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

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

.price-card:last-child {
  padding-right: 0;
}

.price-card.featured {
  border-color: var(--line);
  background: transparent;
  box-shadow: none;
}

.price-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
}

/* Bare descriptive paragraph inside a pricing tier (non-.fine). */
.price-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.price-card em {
  font-style: italic;
}

.price {
  margin: 24px 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}

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

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

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

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 1px;
  margin-right: 0;
  background: var(--taupe);
  color: var(--taupe);
  font-family: var(--font-mono);
  font-size: 13px;
}

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

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

.pricing-note h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.012em;
}

/* ---------- Memo ---------- */

.memo {
  border: 0;
  border-left: 1px solid var(--taupe);
  background: transparent;
  padding: 8px 0 8px 36px;
}

.memo h2,
.memo h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
}

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

.memo p:not(.fine) {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
}

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

/* ---------- Page hero ---------- */

.page-hero {
  padding: 96px 0 88px;
}

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

/* ---------- Quiz ---------- */

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

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

.progress span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--ink);
}

.option-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.option {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: transparent;
  padding: 18px 20px;
  color: var(--ink);
  font: 400 16px/1.4 var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.option:hover {
  border-color: var(--ink);
  background: var(--surface-soft);
}

/* ---------- Forms ---------- */

.form-row {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 80px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- Emergency ---------- */

.emergency-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  padding: 22px 0;
  color: var(--ink);
  font-weight: 500;
}

.emergency-card {
  border: 1px solid var(--line);
  border-left: 2px solid var(--emergency);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 32px;
}

.emergency-card h3 {
  margin: 0;
  color: var(--emergency);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
}

/* Emergency-card body copy: was unstyled (browser default). Brought
   into the card register so this critical page reads consistently. */
.emergency-card p {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.emergency-card p strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Legal ---------- */

.legal-content {
  display: grid;
  gap: 48px;
  padding-bottom: 112px;
}

.legal-content h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

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

/* Safe list spacing in legal copy if lists are ever used. */
.legal-content ul,
.legal-content ol {
  margin: 16px 0 0;
  padding-left: 22px;
}

.legal-content li {
  margin-top: 8px;
  line-height: 1.7;
}

/* ---------- Mockup index ---------- */

.mockup-index {
  padding: 96px 0 112px;
}

.mockup-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.mockup-link {
  display: block;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 32px 36px 32px 0;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mockup-link:nth-child(odd) {
  padding-left: 0;
}

.mockup-link:nth-child(even) {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.mockup-link:hover {
  border-color: var(--line);
  box-shadow: none;
  background: var(--surface-soft);
}

.mockup-link strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 920px) {
  .container,
  .narrow {
    padding-inline: 36px;
  }

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

  .nav {
    gap: 20px;
  }

  .hero {
    padding: 72px 0 80px;
  }

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

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

  .principle {
    border-left: 0;
    border-top: 1px solid rgba(244, 241, 234, 0.16);
    padding: 44px 36px;
  }

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

  .three-col,
  .card-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    border-top: 0;
  }

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

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

  .price-card:last-child {
    padding-right: 0;
  }

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

  .mockup-link,
  .mockup-link:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
}

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

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

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

  .brand-mark span,
  .nav a:not(.button) {
    display: none;
  }

  .nav {
    gap: 12px;
  }

  .nav .button {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 12px;
  }

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

  .section {
    padding: 72px 0;
  }

  .report__body {
    padding: 26px;
  }

  .report__folio {
    display: grid;
  }

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

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

  .report-stack::before,
  .report-stack::after {
    display: none;
  }

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

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

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

  .proof-panel {
    padding-left: 28px;
  }

  .memo {
    padding-left: 28px;
  }

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

  .artefact__body,
  .card {
    padding: 26px;
  }

  /* Feature table → stacked cards on small screens */
  .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: 14px;
  }

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

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

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

  .feature-table td::before {
    content: attr(data-label);
    color: var(--quiet);
    font: 500 11px/1.5 var(--font-sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
