/* ==========================================================================
   AccessProof — landing styles
   Aesthetic: "audit ledger" — warm paper, ink, brand blue, serif display,
   mono accents, hairline rules. No external fonts, no dependencies.
   ========================================================================== */

/* ---------- Tokens ---------- */

:root {
  --paper: #faf8f4;
  --paper-2: #f1ede4;
  --card: #ffffff;
  --ink: #11151d;
  --ink-2: #39414f;
  --muted: #5b6473;          /* ≥ 4.5:1 on paper and washes */
  --line: #ded7c9;
  --line-2: #cfc7b6;

  --blue: #1d4ed8;           /* brand — 6.7:1 on white/paper */
  --blue-deep: #1a3fae;
  --blue-wash: #edf2fd;
  --blue-line: #c9d8f8;
  --blue-soft: #a8c2f8;      /* on dark backgrounds */
  --blue-pale: #dbeafe;      /* ≥ 4.5:1 on --blue */

  --night: #0c1322;
  --night-2: #111a30;
  --night-line: #27334e;
  --paper-night: #eae8e0;
  --night-text: #c2cadb;
  --muted-night: #9aa4b8;    /* ≥ 7:1 on night */

  --crit: #dc2626;
  --serious: #ea580c;
  --mod: #d97706;
  --minor: #8a93a3;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Charter, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- Base ---------- */

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

* { margin: 0; }

html { color-scheme: light; }

body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul, ol { padding-left: 1.2rem; }

::selection { background: var(--blue); color: #fff; }

[id] { scroll-margin-top: 7.5rem; }

:focus-visible {
  outline: 3px solid var(--focus, var(--blue));
  outline-offset: 2.5px;
  border-radius: 3px;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

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

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100vh;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.85em 1.3em;
  border-radius: 0 0 8px 8px;
  font: 600 0.85rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.skip-link:focus { top: 0; }

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

.ticker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25em 0.6em;
  background: var(--blue);
  color: #fff;
  font: 600 0.72rem/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0.6em 1rem;
}

.ticker-sep { color: var(--blue-pale); }

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 244, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font: 700 1.1rem/1 var(--serif);
}

.brand-name {
  font: 700 1.2rem var(--serif);
  letter-spacing: -0.01em;
}

.masthead-inner nav { margin-left: auto; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.2rem;
  list-style: none;
  padding: 0;
}

.nav-list a {
  position: relative;
  display: inline-block;
  font: 600 0.78rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-2);
  padding: 0.55em 0.15em;
  transition: color 0.15s;
}

/* Long nav labels (DE/PL) crowd the masthead below ~1180px: move the main nav
   to its own full-width row instead of squeezing against the CTA. */
@media (max-width: 1180px) {
  .masthead-inner { gap: 0.6rem 1.4rem; }
  .masthead-inner nav:not(.lang-switch) { order: 3; flex-basis: 100%; margin-left: 0; }
  .masthead-cta { margin-left: auto; }
  .nav-list { gap: 0.25rem 1rem; }
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2em;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav-list a:hover { color: var(--blue); }
.nav-list a:hover::after { transform: scaleX(1); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.45em;
  font: 700 0.8rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: none;
  border-radius: 5px;
  border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

/* Arrow lives in a pseudo-element (not a text node) so symbol-only
   spans never show up in automated text checks. */
.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s;
}

.btn-arrow:hover::after { transform: translateX(3px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }

.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-invert { background: #fff; color: var(--blue); }
.btn-invert:hover { background: var(--blue-pale); }

.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }

.btn-sm { padding: 0.68em 1.1em; }

/* ---------- Type patterns ---------- */

.kicker {
  font: 600 0.75rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.sec-title {
  font: 700 clamp(1.9rem, 3.6vw, 2.8rem)/1.12 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 46rem;
  margin-bottom: 1.2rem;
}

.sec-lead {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 44rem;
}

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

.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
  background-image: radial-gradient(rgba(29, 78, 216, 0.10) 1px, transparent 1.5px);
  background-size: 26px 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

h1 {
  font: 700 clamp(2.7rem, 5.6vw, 4.3rem)/1.04 var(--serif);
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 1.4rem;
}

h1 .accent { font-style: italic; color: var(--blue); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 36rem;
  text-wrap: pretty;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.hero-micro {
  font: 500 0.78rem/1.7 var(--mono);
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 1.7rem;
}

.hero-jab {
  font: italic 500 1.02rem/1.6 var(--serif);
  color: var(--muted);
  border-left: 2px solid var(--line-2);
  padding-left: 1rem;
  max-width: 30rem;
}

/* ---------- Scan card (hero visual) ---------- */

.hero-visual { position: relative; }

.scan-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: 0 30px 70px -30px rgba(17, 21, 29, 0.35);
  padding: 1.5rem;
  transform: rotate(-1.3deg);
}

.scan-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.1rem;
}

.scan-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.scan-site { font: 600 0.9rem var(--mono); }

.scan-meta {
  margin-left: auto;
  font: 500 0.7rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sev-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.sev {
  display: grid;
  grid-template-columns: 10px 5.2rem 1fr 2rem;
  align-items: center;
  gap: 0.7rem;
}

.sev-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c);
}

.sev-name { font: 600 0.82rem var(--sans); color: var(--ink-2); }

.sev-track {
  height: 6px;
  border-radius: 99px;
  background: var(--paper-2);
  overflow: hidden;
}

.sev-fill {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--c);
  border-radius: inherit;
}

.sev-count { font: 700 0.85rem var(--mono); text-align: right; }

.scan-map {
  font: 500 0.78rem var(--mono);
  color: var(--blue);
  background: var(--blue-wash);
  border: 1px solid var(--blue-line);
  border-radius: 6px;
  padding: 0.55em 0.8em;
  margin-bottom: 0.8rem;
}

.scan-export {
  font: 700 0.8rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  padding: 0.95em;
}

.stamp {
  position: absolute;
  top: -2.4rem;
  right: -0.8rem;
  transform: rotate(-7deg);
  border: 2px solid var(--blue);
  outline: 1.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
  color: var(--blue);
  background: var(--paper);
  font: 700 0.68rem/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 0.55em 0.85em;
}

/* ---------- Bands ---------- */

.band {
  padding-block: clamp(3.8rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.step {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding-top: 1.2rem;
}

.step::before {
  content: "0" counter(step);
  display: block;
  font: italic 700 2.6rem/1 var(--serif);
  color: var(--blue);
  margin-bottom: 0.7rem;
}

.step h3 {
  font: 700 1.25rem var(--serif);
  margin-bottom: 0.5rem;
}

.step p { color: var(--ink-2); font-size: 0.97rem; }

.step-note {
  margin-top: 2.4rem;
  font: italic 500 1rem var(--serif);
  color: var(--muted);
}

/* ---------- Comparison table ---------- */

.table-scroll {
  /* position: relative keeps absolutely-positioned screen-reader-only
     spans inside the scroll container instead of widening the page */
  position: relative;
  overflow-x: auto;
  margin-top: 2.4rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--card);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare th,
.compare td {
  padding: 0.95rem 1.25rem;
  text-align: left;
  border-top: 1px solid var(--line);
}

.compare thead th {
  border-top: 0;
  font: 700 0.8rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-block: 1.1rem;
  width: 22%;
}

/* value columns: headers align with the centered check cells below them */
.compare thead th:not(:first-child) { text-align: center; }

.compare thead th:first-child { width: 56%; }

.th-price {
  display: block;
  font: 700 1.5rem var(--serif);
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 0.3rem;
}

.compare tbody th { font: 600 1.0625rem/1.5 var(--sans); }

.compare td { text-align: center; }

.compare td svg {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
}

/* ---------- Product screenshots ---------- */

.product-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

.product-shots figure {
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
}

.product-shots img { width: 100%; height: auto; }

.product-shots figcaption {
  font: 700 0.8rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
}

/* ---------- Sample report showcase ---------- */

.report-showcase {
  margin-top: 1.5rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--card);
  padding: 1.5rem;
}

.report-pages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.25rem;
}

.report-pages img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.report-showcase-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.report-showcase-note {
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.compare .col-paid {
  background: var(--blue-wash);
  border-inline: 1px solid var(--blue-line);
}

.compare thead .col-paid .th-price { color: var(--blue); }

.yes { color: var(--blue); }
.no { color: var(--muted); }

/* ---------- Honesty frame ---------- */

.frame {
  border: 2px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 4px;
  border-radius: 4px;
  background: var(--card);
  padding: clamp(1.8rem, 5vw, 3.2rem);
}

.pull {
  font: italic 500 clamp(1.15rem, 2.2vw, 1.45rem)/1.55 var(--serif);
  color: var(--ink-2);
  max-width: 50rem;
  margin-bottom: 2.4rem;
}

.honesty-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.honesty-col h3 {
  font: 700 0.75rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
}

.honesty-col--machine h3 { color: var(--blue); }
.honesty-col--human h3 { color: var(--ink); }

.honesty-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.honesty-col li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-2);
  font-size: 0.97rem;
}

.honesty-col li::before {
  position: absolute;
  left: 0;
  top: 0.4em;
  font-size: 0.65rem;
  line-height: 1;
}

.honesty-col--machine li::before { content: "●"; color: var(--blue); }
.honesty-col--human li::before { content: "○"; color: var(--muted); }

.honesty-close {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 46rem;
}

/* ---------- Enforcement (dark band) ---------- */

/* Solid background by design: automated contrast checkers can always
   resolve text colors here. Atmosphere comes from the rules, the timeline
   and a watermark that never sits underneath text. */
.band-dark {
  --focus: #fff;
  position: relative;
  overflow: hidden;
  background-color: var(--night);
  border-top: 0;
  border-bottom: 6px double var(--night-line);
  color: var(--paper-night);
}

.band-dark > .container { position: relative; }

.band-watermark {
  position: absolute;
  right: -1rem;
  top: 2rem;
  font: 700 22rem/1 var(--serif);
  color: rgba(168, 194, 248, 0.06);
  user-select: none;
}

.band-dark .kicker { color: var(--blue-soft); }
.band-dark .sec-title { color: #fff; }
.band-dark .sec-lead { color: var(--night-text); }

.timeline {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  display: grid;
  gap: 2.2rem;
  border-left: 1px solid var(--night-line);
  max-width: 46rem;
}

.timeline li {
  position: relative;
  padding-left: 2rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: 0 0 0 4px var(--night);
}

.tl-date {
  font: 600 0.74rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-soft);
  margin-bottom: 0.45rem;
}

.timeline h3 {
  font: 700 1.3rem var(--serif);
  color: #fff;
  margin-bottom: 0.45rem;
}

.timeline p:not(.tl-date) {
  color: var(--muted-night);
  font-size: 0.97rem;
  max-width: 38rem;
}

.tl-close {
  margin-top: 2.6rem;
  font: italic 600 1.25rem/1.5 var(--serif);
  color: #fff;
  max-width: 40rem;
}

.tl-note {
  margin-top: 1.1rem;
  font: 500 0.74rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-night);
}

.tl-note a {
  color: var(--paper-night); /* ~14:1 on --night, replaces browser default blue */
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tl-note a:hover { color: #fff; }
.tl-note a:focus-visible { outline: 2px solid var(--paper-night); outline-offset: 2px; }

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 2rem;
  align-items: stretch;
  margin-top: 2.6rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}

.price-name {
  font: 700 0.78rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.price-amount {
  font: 700 3.2rem/1 var(--serif);
  letter-spacing: -0.02em;
}

.price-per {
  display: block;
  font: 500 0.78rem var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.55rem;
}

.price-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.price-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-2);
  font-size: 0.96rem;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--blue);
}

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

.price-card--paid {
  --focus: #fff;
  position: relative;
  background: var(--night-2);
  border-color: var(--night-line);
  color: var(--paper-night);
}

.price-card--paid .price-name { color: var(--blue-soft); }
.price-card--paid .price-amount { color: #fff; }
.price-card--paid .price-per { color: var(--muted-night); }
.price-card--paid .price-list li { color: var(--night-text); }
.price-card--paid .price-list li::before { color: var(--blue-soft); }

.price-tag {
  position: absolute;
  top: -0.95rem;
  right: 1.6rem;
  background: var(--blue);
  color: #fff;
  font: 700 0.68rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.5em 0.85em;
  border-radius: 4px;
}

.vat-note {
  border: 1.5px dashed rgba(168, 194, 248, 0.45);
  border-radius: 8px;
  padding: 0.8em 1em;
  font: 500 0.8rem/1.6 var(--mono);
  color: var(--night-text);
}

.price-foot {
  margin-top: 2.2rem;
  font: 500 0.8rem var(--mono);
  letter-spacing: 0.03em;
  color: var(--muted);
  text-align: center;
}

/* ---------- FAQ ---------- */

.faq-list {
  margin-top: 2.4rem;
  max-width: 50rem;
  border-top: 1px solid var(--line-2);
}

.faq-list details { border-bottom: 1px solid var(--line-2); }

.faq-list summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0.2rem;
  cursor: pointer;
  font: 600 1.06rem var(--sans);
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary:hover { color: var(--blue); }

.faq-q { flex: 1; }

.faq-marker {
  flex: none;
  font: 400 1.5rem/1 var(--mono);
  color: var(--blue);
  transition: transform 0.25s;
}

details[open] .faq-marker { transform: rotate(45deg); }

.faq-list details p {
  padding: 0 0.2rem 1.4rem;
  color: var(--ink-2);
  max-width: 44rem;
}

.faq-list details a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- CTA band ---------- */

.band-cta {
  --focus: #fff;
  background-color: var(--blue);
  border-top: 0;
  border-block: 6px double rgba(255, 255, 255, 0.45);
  color: #fff;
  text-align: center;
}

.band-cta .sec-title {
  color: #fff;
  margin-inline: auto;
}

.cta-sub {
  color: var(--blue-pale);
  max-width: 36rem;
  margin: 0 auto 2.2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.cta-micro {
  font: 500 0.74rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-pale);
}

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

footer {
  --focus: #fff;
  background: var(--night);
  color: var(--paper-night);
  border-top: 4px solid var(--blue);
  padding: 3.5rem 0 2.2rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--night-line);
  margin-bottom: 1.6rem;
}

.foot-brand .brand { display: flex; width: fit-content; }

.foot-brand .brand-name { color: #fff; }

.foot-tag {
  font: italic 500 1rem/1.6 var(--serif);
  color: var(--muted-night);
  margin-top: 0.8rem;
  max-width: 22rem;
}

.foot-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 0.35rem 2.2rem;
}

.foot-links a {
  display: inline-block;
  color: #cdd6e6;
  font-size: 0.92rem;
  padding: 0.4em 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--night-line);
  transition: color 0.15s, text-decoration-color 0.15s;
}

.foot-links a:hover {
  color: #fff;
  text-decoration-color: var(--blue-soft);
}

.foot-contact code {
  display: inline-block;
  font: 600 0.85rem var(--mono);
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 5px;
  padding: 0.35em 0.6em;
  color: var(--paper-night);
}

.foot-small p {
  font-size: 0.8rem;
  color: var(--muted-night);
  max-width: 56rem;
}

/* ---------- Privacy / prose page ---------- */

.prose-page { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }

.prose { max-width: min(46rem, 100% - 2.5rem); }

.back-link {
  display: inline-block;
  font: 600 0.76rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--muted);
  padding: 0.55em 0;
  margin-bottom: 1.8rem;
}

.back-link::before { content: "← "; }

.back-link:hover { color: var(--blue); }

.prose h1 {
  font: 700 clamp(2.3rem, 5vw, 3.4rem)/1.06 var(--serif);
  letter-spacing: -0.015em;
  margin: 0.4rem 0 1rem;
}

.prose-updated {
  font: 500 0.76rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 2rem;
}

.lede {
  font: italic 500 1.22rem/1.6 var(--serif);
  color: var(--ink-2);
  margin-bottom: 2.5rem;
}

.prose h2 {
  font: 700 1.45rem var(--serif);
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  margin: 2.4rem 0 0.9rem;
}

.prose p {
  color: var(--ink-2);
  margin-bottom: 1rem;
  max-width: 65ch;
}

.prose ul {
  color: var(--ink-2);
  margin-bottom: 1rem;
  display: grid;
  gap: 0.4rem;
}

.prose strong { color: var(--ink); }

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose code {
  font: 600 0.9em var(--mono);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.15em 0.45em;
}

.tldr {
  background: var(--blue-wash);
  border: 1px solid var(--blue-line);
  border-radius: 10px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1rem;
}

.tldr h2 {
  font: 700 0.76rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  border-top: 0;
  padding-top: 0;
  margin: 0 0 1rem;
}

.tldr ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.tldr li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
  font-size: 0.97rem;
}

.tldr li::before {
  content: "—";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--blue);
}

.placeholder-note {
  font: italic 0.95rem var(--serif);
  color: var(--muted);
}

/* ---------- Motion (opt-in only) ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }

  @keyframes rise-rot {
    from { opacity: 0; transform: translateY(26px) rotate(0.5deg); }
    to { opacity: 1; transform: rotate(-1.3deg); }
  }

  @keyframes stamp-in {
    0% { opacity: 0; transform: scale(1.5) rotate(2deg); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: scale(1) rotate(-7deg); }
  }

  @keyframes grow {
    from { transform: scaleX(0); }
  }

  .hero-copy > * { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
  .hero-copy > :nth-child(1) { animation-delay: 0.02s; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.14s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.2s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.26s; }
  .hero-copy > :nth-child(6) { animation-delay: 0.32s; }

  .scan-card { animation: rise-rot 0.7s 0.25s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
  .stamp { animation: stamp-in 0.45s 0.75s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
  .sev-fill {
    transform-origin: left;
    animation: grow 0.9s 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1150px) {
  /* Keep the watermark from ever sitting underneath text on narrow viewports */
  .band-watermark { display: none; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { max-width: 30rem; width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .honesty-cols { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---------- Language switcher ---------- */

.lang-switch {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-switch a {
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  text-decoration: none;
  color: var(--muted);
}

.lang-switch a[aria-current="page"] {
  background: var(--blue-wash);
  color: var(--blue);
}

.lang-switch a:hover:not([aria-current="page"]) { color: var(--ink); }

.foot-lang {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.foot-lang a { color: var(--muted-night); text-decoration: none; }
.foot-lang a[aria-current="page"] { color: var(--blue-soft); font-weight: 600; }
.foot-lang a:hover { color: #fff; }

/* ---------- EAA fines reference table ---------- */

.fines-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 2rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.fines-table th,
.fines-table td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.fines-table thead th {
  background: var(--blue-wash);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fines-table tbody th[scope="row"] { white-space: nowrap; }

@media (max-width: 720px) {
  .fines-table { display: block; overflow-x: auto; }
}

.sources-list { margin: 0.6rem 0 1.4rem; padding-left: 1.2rem; }
.sources-list li { margin-bottom: 0.35rem; }

.prose-note {
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 3px solid var(--line);
  padding-left: 0.9rem;
  margin: 1.2rem 0 1.8rem;
}

@media (max-width: 640px) {
  .ticker { font-size: 0.68rem; }
  .masthead-inner { gap: 0.6rem 1.2rem; }
  .masthead-inner nav { order: 3; flex-basis: 100%; margin-left: 0; }
  .masthead-cta { margin-left: auto; }
  .stamp { top: -2.2rem; right: 0.9rem; }
  .sev { grid-template-columns: 10px 4.4rem 1fr 1.6rem; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .cta-actions .btn { width: 100%; max-width: 22rem; }
  .foot-links { grid-template-columns: 1fr; }
}
