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

/* =========================================================================
   BEARINGS — DARK CONCIERGE LUXE
   Deep-forest near-black canvas, ivory text, champagne/brass accent.
   Serif display: Fraunces. Body sans: Inter. WCAG AA verified on dark ground.
   Drop-in replacement: every original selector retained, HTML untouched.
   ========================================================================= */

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Inter", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Core dark ground */
  --canvas: #101815;
  --surface: #16201c;
  --surface-soft: #19241f;
  --surface-2: #19241f;

  /* Text */
  --ink: #ece7db;          /* near-white display/ink on dark */
  --text: #dcd6c8;         /* body copy */
  --muted: #aeb8b0;        /* secondary copy — AA at body size */
  --quiet: #9aa59c;        /* tertiary / fine print */
  --line: #2c3a34;         /* hairline borders */
  --line-soft: #232f2a;

  /* Brass / champagne accent */
  --brass: #c2a36b;
  --brass-deep: #a8884b;
  --brass-ink: #16110a;    /* text on brass fills */

  /* Forest / accent tokens, re-pointed to the brass-on-dark world */
  --cedar: #c2a36b;
  --cedar-dark: #d8be8a;
  --lichen: #1d2a24;
  --copper: #c2a36b;
  --copper-soft: #241914;
  --source-blue: #cbd6d0;
  --source-blue-soft: #18231e;
  --paper: #18221d;        /* "advisory paper" artefact ground, warm dark */
  --paper-deep: #131c18;
  --plum: #d6cbb4;
  --plum-soft: #1e1a26;

  --warning: #e0b27f;
  --warning-soft: #241c14;
  --emergency: #e8a99e;
  --emergency-soft: #241413;

  --radius-card: 3px;
  --radius-control: 2px;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.42);
  --shadow-report: 0 38px 90px rgba(0, 0, 0, 0.55);

  --measure: 1280px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
}

a {
  color: inherit;
}

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

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

::selection {
  background: rgba(194, 163, 107, 0.28);
  color: var(--ink);
}

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

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

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

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

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

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

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

.brand-mark strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

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

/* ---------- Buttons (ghost / brass) ---------- */

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

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

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

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

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

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

.button-dark:hover {
  border-color: var(--brass);
  color: var(--brass);
}

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

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.82fr);
  gap: 80px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 22px;
  color: var(--brass);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-title,
.page-title {
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.page-title {
  max-width: 22ch;
  font-size: clamp(32px, 4.6vw, 46px);
  line-height: 1.12;
}

/* Italic display emphasis inside headings/leads (in-aesthetic). */
.hero-title em,
.page-title em,
.editorial-lead em,
.proof-panel em,
.memo em {
  font-style: italic;
  font-weight: 400;
}

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

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

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

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

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.06em;
  white-space: normal;
}

.chip::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

.chip-green {
  border-color: rgba(194, 163, 107, 0.32);
  background: var(--lichen);
  color: var(--cedar-dark);
}

.chip-copper {
  border-color: rgba(194, 163, 107, 0.3);
  background: var(--copper-soft);
  color: var(--brass);
}

.chip-plum {
  border-color: rgba(214, 203, 180, 0.18);
  background: var(--plum-soft);
  color: var(--plum);
}

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

.chip-quiet::before {
  background: var(--quiet);
}

/* ---------- Report / artefact preview (dark "advisory paper") ---------- */

.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 -18px -18px 28px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper-deep);
  transform: rotate(1.5deg);
}

.report-stack::after {
  inset: 46px 18px -34px -14px;
  background: #131b17;
  transform: rotate(-1.2deg);
}

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

.report::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brass) 0 52%, var(--brass-deep) 52% 100%);
}

.report__body {
  padding: 36px;
}

.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/18px var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

.report-stamp {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass);
  font: 500 10px/15px var(--font-mono);
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

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

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

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

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

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

.priority-index {
  color: var(--brass);
  font: 400 26px/1 var(--font-display);
}

.priority-time {
  color: var(--muted);
  font: 500 11px/18px 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: 20px;
}

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

/* ---------- Principle band ---------- */

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

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

.principle {
  background: transparent;
  border-left: 1px solid var(--line);
  padding: 36px 36px;
}

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

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

.principle span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

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

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

.editorial-lead {
  max-width: 22ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

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

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

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

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

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

.proof-panel {
  border-left: 2px solid var(--brass);
  background: var(--surface);
  padding: 34px 36px;
}

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

/* ---------- Answer / FAQ list ---------- */

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

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

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

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

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

.artefact::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--brass-deep), var(--brass), var(--brass-deep));
}

.artefact__body {
  padding: 30px;
}

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

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

.artefact h3 {
  font-size: 23px;
  font-weight: 400;
  line-height: 1.3;
}

.artefact p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.action-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

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

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

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

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

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

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

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

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

.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: 24ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

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

/* ---------- Grids ---------- */

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

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

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

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

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

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

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

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

.fine {
  color: var(--quiet);
  font-size: 13.5px;
  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: 17px 20px;
  text-align: left;
  vertical-align: top;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.feature-table th {
  color: var(--brass);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.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: 18px;
  align-items: stretch;
}

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

.price-card.featured {
  border-color: var(--brass);
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft), inset 0 2px 0 var(--brass);
}

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

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

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

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 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: 9px;
  height: 1px;
  background: var(--brass);
}

.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-soft);
  padding-top: 40px;
  margin-bottom: 40px;
}

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

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

.memo {
  border-left: 2px solid var(--brass);
  background: var(--surface);
  padding: 28px 32px;
}

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

.memo h3 {
  font-size: 22px;
}

.memo p {
  margin: 0 0 14px;
  color: var(--text);
}

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

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

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

.page-hero {
  padding: 84px 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: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

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

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

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

.option:hover {
  border-color: var(--brass);
  background: var(--lichen);
  color: var(--brass);
}

/* The readiness-check script injects the result heading with a hard-coded
   inline colour meant for a light background (e.g. #23483f / #9b553f /
   #a85a4a). On this dark card those drop to ~1.6–3.4:1 and fail WCAG AA.
   Inline colour beats class rules, so force a brass/ivory tone with
   !important — scoped to the quiz card only, leaving page .section-title
   untouched. No HTML/JS change required. */
.quiz-shell .card .section-title,
.quiz-shell .card .section-title[style] {
  color: var(--brass) !important;
}

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

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

label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

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

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(194, 163, 107, 0.5);
}

/* Calm focus affordance for pointer focus (keyboard ring handled above). */
input:focus,
textarea:focus,
select:focus {
  border-color: var(--brass);
}

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

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 72px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

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

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--brass);
}

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

.emergency-band {
  border-top: 1px solid rgba(232, 169, 158, 0.3);
  border-bottom: 1px solid rgba(232, 169, 158, 0.3);
  background: var(--emergency-soft);
  padding: 18px 0;
  color: #f0c9c2;
  font-weight: 500;
}

.emergency-card {
  border: 1px solid rgba(232, 169, 158, 0.32);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 28px;
}

.emergency-card h3 {
  margin-top: 0;
  color: var(--emergency);
  font-family: var(--font-display);
  font-weight: 400;
}

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

.legal-content {
  display: grid;
  gap: 44px;
  padding-bottom: 96px;
}

.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: 72ch;
  color: var(--text);
}

.legal-content ul,
.legal-content ol {
  margin: 0;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(194, 163, 107, 0.5);
}

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

.mockup-index {
  padding: 84px 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);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 26px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

/* =========================================================================
   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: 44px;
  }

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

  .principle {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0;
  }

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

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

  .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,
  .nav a:not(.button) {
    display: none;
  }

  .nav {
    gap: 12px;
  }

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

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

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

  .section {
    padding: 60px 0;
  }

  .hero-actions {
    margin-top: 32px;
  }

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

  .report__body {
    padding: 24px;
  }

  .report__folio {
    display: grid;
  }

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

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

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

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

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

  .proof-panel {
    padding: 26px;
  }

  .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);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 16px 18px;
  }

  .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-soft);
    padding: 10px 0;
    overflow-wrap: anywhere;
  }

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

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

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