/* Farside Accounting — site v2, "practice desk".
   Light editorial identity, deliberately data-dense: the visual register of a
   UK practice's tax card rather than v1's dark industrial-tech pass (../site/).
   Built 2026-08-13 alongside v1, not replacing it. Light-only by choice —
   printed-reference feel is the point, so no dark-mode inversion.

   NUMBERS RULE: every figure on this site is real and sourced (UK tax data,
   verified 2026-08-13) or a marked [[PENDING]] slot. Nothing about client
   volume, headcount or savings is invented. See README.md in this folder. */

:root {
  --paper:    #faf9f6;
  --paper-2:  #f3f0ea;
  --surface:  #ffffff;
  --ink:      #11181f;
  --ink-2:    #4d5a66;
  --ink-3:    #5f6b76;   /* 4.5:1 or better on every paper tone; was #7c8892 (3.2:1) */
  --rule:     #e4dfd5;
  --rule-2:   #d2cabb;
  --navy:     #0d2b40;
  --accent:   #8a5a12;
  --accent-2: #b8871f;
  --accent-wash: #fbf4e4;
  --pos:      #1a6b4c;
  --neg:      #9c2f26;
  --warn-bg:  #fdf6e3;
  --warn-fg:  #6b4e08;

  --serif: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;

  --measure: 36rem;
  --gutter: clamp(1.15rem, 4vw, 3.5rem);
  --wide: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 { text-wrap: balance; }

/* Anchor targets clear the sticky header on wide screens. */
[id] { scroll-margin-top: 5.5rem; }

/* ---------- accessibility primitives ---------- */

:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 2px; }
.ticker-bar :focus-visible, .cta-strip :focus-visible { outline-color: #f0c56a; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -5rem;
  z-index: 30;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 0 3px 3px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ---------- header ---------- */

.site-head {
  border-bottom: 1px solid var(--rule);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
}
/* Sticky only where the nav fits on one row; on a phone it wraps and would eat the screen. */
@media (min-width: 62rem) {
  .site-head { position: sticky; top: 0; z-index: 20; }
}

.head-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.4rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.wordmark span { color: var(--accent); }

.site-head nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
  font-size: 0.8125rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  font-weight: 600;
}
/* 44px tap target; the underline is drawn on the text so the tall box stays invisible. */
.site-head nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink-2);
  text-decoration: underline 2px transparent;
  text-underline-offset: 0.5em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.site-head nav a:hover { color: var(--navy); text-decoration-color: var(--rule-2); }
.site-head nav a[aria-current="page"] { color: var(--accent); text-decoration-color: var(--accent-2); }

/* Phone and tablet: the menu collapses behind a button (added by app.js, so without
   JavaScript the links simply wrap as before). */
.nav-toggle { display: none; }
@media (max-width: 61.99rem) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    color: var(--navy);
    background: transparent;
    border: 1px solid var(--rule-2);
    border-radius: 2px;
    cursor: pointer;
  }
  .nav-toggle .bars { width: 1rem; height: 0.7rem; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); border-top: 2px solid currentColor; }
  .head-inner { flex-wrap: wrap; }
  .site-head.has-toggle nav { display: none; width: 100%; flex-direction: column; gap: 0; padding: 0.25rem 0 0.6rem; border-top: 1px solid var(--rule); margin-top: 0.4rem; }
  .site-head.has-toggle.nav-open nav { display: flex; }
  .site-head.has-toggle nav a { min-height: 2.9rem; border-bottom: 1px solid var(--rule); }
  .site-head.has-toggle nav a:last-child { border-bottom: 0; }
}

/* ---------- rates ticker ---------- */

.ticker-bar { display: flex; background: var(--navy); border-bottom: 1px solid var(--rule); }
.ticker {
  flex: 1;
  min-width: 0;
  color: #e8eef3;
  overflow: hidden;
  position: relative;
}
/* Moving content needs a pause control that works without a pointer (WCAG 2.2.2). */
.ticker-toggle {
  flex: none;
  appearance: none;
  min-width: 4.25rem;
  padding: 0 0.9rem;
  background: var(--navy);
  color: #e8eef3;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.ticker-toggle:hover { background: #143d59; }
.ticker-bar.is-paused .ticker-track { animation-play-state: paused; }
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 62s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; flex: none; }
.ticker-item {
  flex: none;
  padding: 0.5rem 1.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}
.ticker-item b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #f0c56a;
  margin-left: 0.45em;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
  .ticker-toggle { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .cta:hover { transform: none; }
}

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

main { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

.band { padding: clamp(2.75rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--rule); }
.band:first-of-type { border-top: 0; }

.band-head { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.75rem; }

.kicker {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.7rem;
  display: block;
}

.band h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
}

.section-lede {
  font-size: 1rem;
  color: var(--ink-2);
  max-width: var(--measure);
  margin: 0.85rem 0 0;
}

.band > p { max-width: var(--measure); }

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

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 62rem) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4rem; align-items: start; }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1.15rem;
  max-width: 20ch;
}
.hero.hero-single { grid-template-columns: 1fr; padding-bottom: 1.5rem; }

.lede { font-size: clamp(1.03rem, 1.6vw, 1.19rem); color: var(--ink-2); max-width: var(--measure); margin: 0 0 2rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; align-items: center; }

.cta {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--navy);
  transition: background 0.18s ease, transform 0.18s ease;
}
.cta:hover { background: #143d59; transform: translateY(-1px); }

.cta.ghost { background: transparent; color: var(--navy); border-color: var(--rule-2); }
.cta.ghost:hover { background: var(--surface); border-color: var(--navy); }

.text-link { color: var(--accent); font-weight: 600; }

/* ---------- audience routes (hero) ----------
   Navy edge = accounting practices, brass edge = businesses and individuals.
   The same coding carries through to .audience further down the page. */

.routes { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.75rem; max-width: 40rem; }
@media (min-width: 40rem) { .routes { grid-template-columns: 1fr 1fr; } }
.route {
  display: block;
  height: 100%;
  padding: 0.95rem 1.1rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--rule-2);
  border-left: 3px solid var(--navy);
  border-radius: 0 4px 4px 0;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.route.alt { border-left-color: var(--accent-2); }
.route:hover { background: var(--accent-wash); }
.route b { display: block; font-family: var(--serif); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--navy); }
.route span { display: block; margin-top: 0.3rem; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }

.audiences { display: grid; gap: 1.25rem; }
@media (min-width: 56rem) { .audiences { grid-template-columns: 1fr 1fr; } }
.audience {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  border-radius: 0 0 4px 4px;
  padding: 1.5rem 1.4rem 1.6rem;
}
.audience.alt { border-top-color: var(--accent-2); }
.audience h3 { font-family: var(--serif); font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: var(--navy); margin: 0 0 0.45rem; }
.audience > p { margin: 0 0 1rem; color: var(--ink-2); font-size: 0.9375rem; }
.points { list-style: none; margin: 0 0 1.25rem; padding: 0; border-bottom: 1px solid var(--rule); }
.points li { padding: 0.75rem 0; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 0.9375rem; }
.points b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- data panel (hero right) ---------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(17, 24, 31, 0.04), 0 12px 32px -24px rgba(13, 43, 64, 0.4);
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  border-radius: 4px 4px 0 0;
}
.panel-head h2, .panel-head h3 {
  font-family: var(--sans);
  line-height: 1.62;
  font-size: 0.7188rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}
.panel-head .stamp { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); white-space: nowrap; }

.panel-foot {
  padding: 0.6rem 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.75rem;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
}
.panel-foot a { color: var(--accent); font-weight: 600; text-decoration: none; display: inline-block; padding: 0.2rem 0; }

.panel.padded { padding: 1.1rem; }
.panel + .panel { margin-top: 1.5rem; }
.panel-sub { font-size: 0.8125rem; font-weight: 700; color: var(--navy); margin: 0; padding: 0.9rem 1.1rem 0.3rem; }
.panel-sub ~ .panel-sub { border-top: 1px solid var(--rule-2); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 0.55rem 1.1rem; border-bottom: 1px solid var(--rule); font-size: 0.875rem; }
.checklist li:last-child { border-bottom: 0; }
.checklist small { display: block; color: var(--ink-3); font-size: 0.75rem; margin-top: 0.1rem; }
.panel-foot a:hover { text-decoration: underline; }

/* ---------- tabs ---------- */

.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.tabs button {
  flex: 1 1 auto;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.8rem 0.85rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.tabs button:hover { color: var(--navy); background: rgba(255, 255, 255, 0.6); }
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent-2); background: var(--surface); }

.tabpanel { display: none; }
.tabpanel.is-active { display: block; }

/* ---------- data tables ---------- */

.table-scroll { overflow-x: auto; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
table.data caption {
  text-align: left;
  font-size: 0.75rem;
  color: var(--ink-3);
  padding: 0 0 0.7rem;
}
table.data th, table.data td {
  text-align: left;
  padding: 0.6rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
table.data thead th {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule-2);
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--accent-wash); }
table.data td.figure, table.data th.figure {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
table.data td.figure { font-weight: 600; color: var(--navy); }
table.data td small { display: block; color: var(--ink-3); font-size: 0.75rem; font-weight: 400; margin-top: 0.15rem; }
table.data tbody th { font-weight: 600; }
table.data tr.total td, table.data tr.total th { background: var(--paper-2); font-weight: 700; border-top: 1px solid var(--rule-2); }

.panel table.data th:first-child, .panel table.data td:first-child { padding-left: 1.1rem; }
.panel table.data th:last-child, .panel table.data td:last-child { padding-right: 1.1rem; }

/* ---------- stat tiles ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}
.stat { padding: 1.5rem 1.35rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat .figure {
  display: block;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}
.stat .figure sub { font-size: 0.42em; vertical-align: baseline; color: var(--ink-3); margin-left: 0.3em; font-weight: 500; }
.stat .label { display: block; margin-top: 0.6rem; font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.stat .sub { display: block; margin-top: 0.2rem; font-size: 0.75rem; color: var(--ink-3); line-height: 1.45; }

/* ---------- deadline board ---------- */

.board { display: grid; gap: 0; }
.board-row {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.board-row:last-child { border-bottom: 0; }
.board-row:hover { background: var(--accent-wash); }

.board-date {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
.board-date span { display: block; font-size: 0.6875rem; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }

.board-what { font-size: 0.875rem; line-height: 1.4; }
.board-what b { font-weight: 600; }
.board-what small { display: block; color: var(--ink-3); font-size: 0.75rem; margin-top: 0.1rem; }

.pill {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  color: var(--ink-2);
  background: var(--paper-2);
  white-space: nowrap;
}
.pill.soon { color: var(--neg); border-color: #e5bdb8; background: #fdf1ef; }
.pill.near { color: var(--accent); border-color: #e6d3a6; background: var(--accent-wash); }

/* ---------- chart ---------- */

.chart-wrap { display: grid; gap: 1.5rem; }
@media (min-width: 54rem) { .chart-wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; } }

.chart { width: 100%; height: auto; display: block; }
.chart .axis { stroke: var(--rule-2); stroke-width: 1; }
.chart .grid-line { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .curve { fill: none; stroke: var(--navy); stroke-width: 2.25; stroke-linejoin: round; }
.chart .area { fill: rgba(184, 135, 31, 0.11); }
.chart .marker { fill: var(--accent); }
.chart text { font-family: var(--mono); font-size: 10px; fill: var(--ink-3); }
.chart text.lbl { font-family: var(--sans); font-size: 11px; fill: var(--ink-2); font-weight: 600; }

/* ---------- bar rows (penalties) ---------- */

.bar-cell { display: flex; align-items: center; gap: 0.7rem; min-width: 11rem; }
.bar-track { flex: 1; height: 7px; background: var(--paper-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--rule); }
.bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--neg)); }

/* ---------- service matrix ---------- */

/* Wide tables scroll inside their panel on a phone rather than crushing the first column. */
table.matrix.wide { min-width: 36rem; }
.matrix td:first-child { font-weight: 600; }
.matrix .tagline { color: var(--ink-3); font-weight: 400; font-size: 0.8125rem; display: block; margin-top: 0.15rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--rule-2);
  border-radius: 3px;
  padding: 0.32rem 0.7rem;
}
.chip.on { color: var(--accent); border-color: var(--accent-2); background: var(--accent-wash); }

/* ---------- cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.1rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.4rem 1.35rem;
}
.card h3 { font-family: var(--serif); font-size: 1.125rem; font-weight: 600; color: var(--navy); margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.9375rem; max-width: none; }
.card a, .faq a, .band > p a { color: var(--accent); }

/* ---------- steps ---------- */

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 50rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.steps li { counter-increment: s; padding-top: 1rem; border-top: 2px solid var(--navy); }
.steps li::before {
  content: "0" counter(s);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.steps h3 { font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; color: var(--navy); margin: 0 0 0.4rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.9375rem; max-width: none; }

/* ---------- faq ---------- */

.faq { margin: 0; }
.faq-group { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); margin: 3rem 0 1.25rem; padding-left: 0.8rem; border-left: 3px solid var(--rule-2); }
.faq-group:first-of-type { margin-top: 0; }
.faq-group.for-practices { border-left-color: var(--navy); }
.faq-group.for-businesses { border-left-color: var(--accent-2); }

.glossary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 0.9rem 2rem; margin: 1.5rem 0 0; }
.glossary dt { font-family: var(--mono); font-size: 0.8125rem; font-weight: 600; color: var(--navy); }
.glossary dd { margin: 0.1rem 0 0; font-size: 0.8125rem; color: var(--ink-2); line-height: 1.5; }

.contact-email { font-size: 1.125rem; font-weight: 600; }
.contact-email a { color: var(--accent); display: inline-block; padding: 0.5rem 0; }

.faq dt { font-weight: 600; font-size: 1.0625rem; color: var(--navy); margin: 1.75rem 0 0.4rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.faq dt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.faq dd { margin: 0; color: var(--ink-2); max-width: var(--measure); font-size: 0.9375rem; }

/* ---------- notes, prose ---------- */

.note { color: var(--ink-3); font-size: 0.8125rem; max-width: 46rem; }
.note a { color: var(--accent); }

.source-note {
  margin-top: 1.1rem;
  font-size: 0.75rem;
  color: var(--ink-3);
  border-left: 2px solid var(--rule-2);
  padding-left: 0.85rem;
  max-width: 46rem;
  line-height: 1.55;
}

.prose { max-width: 48rem; padding-bottom: 2rem; }
.prose h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 1.25rem; }
.prose h2 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 2.75rem 0 0.85rem; }
.prose dl { margin: 0; border-top: 1px solid var(--rule); }
.prose dt { font-weight: 600; padding-top: 0.85rem; }
.prose dd { margin: 0.2rem 0 0; padding-bottom: 0.85rem; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 0.9375rem; }
.prose code { font-family: var(--mono); font-size: 0.85em; background: var(--paper-2); padding: 0.1em 0.35em; border-radius: 2px; }

.warn {
  background: var(--warn-bg);
  color: var(--warn-fg);
  border: 1px solid #eadcb4;
  border-left: 3px solid var(--accent-2);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 58rem;
}
.warn code { background: rgba(0, 0, 0, 0.06); padding: 0.1em 0.3em; border-radius: 2px; font-family: var(--mono); font-size: 0.9em; }

/* Build-only. Removed at go-live, per web/go-live-gate.md. */
.build-banner { margin: 1.75rem 0 0; }

/* [[PENDING]] slots must be impossible to miss in a build review. */
.pending {
  font-family: var(--mono);
  font-size: 0.85em;
  font-weight: 600;
  color: var(--warn-fg);
  background: var(--warn-bg);
  border: 1px dashed var(--accent-2);
  border-radius: 2px;
  padding: 0.05em 0.4em;
}

/* ---------- CTA strip ---------- */

.cta-strip {
  background: var(--navy);
  color: #eef3f7;
  border-radius: 4px;
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 52rem) { .cta-strip { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.cta-strip h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; color: #fff; margin: 0 0 0.6rem; letter-spacing: -0.015em; }
.cta-strip p { margin: 0; color: #b9cbd8; max-width: 40rem; font-size: 0.9375rem; }
.cta-strip .cta { background: var(--accent-2); border-color: var(--accent-2); color: #1c1403; }
.cta-strip .cta:hover { background: #cf9b2c; border-color: #cf9b2c; }

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  background: var(--paper-2);
}
.foot-inner { max-width: var(--wide); margin: 0 auto; padding: 2.75rem var(--gutter) 3.5rem; font-size: 0.8125rem; color: var(--ink-2); }

.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1.75rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule-2); }
.foot-grid h2 { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--navy); margin: 0 0 0.75rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 0.35rem 0; }
.foot-grid a:hover { color: var(--accent); text-decoration: underline; }

.site-foot p { margin: 1.25rem 0 0; }
.disclosure { max-width: 52rem; line-height: 1.7; color: var(--ink-3); font-size: 0.75rem; }
