/* ============================================================
   Wager Landmark — settings
   ============================================================ */
:root {
  --paper: #edf1f6;
  --paper-2: #ffffff;
  --paper-3: #e3e9f2;
  --ink: #12161c;
  --body: #262c35;
  --muted: #57616f;
  --rule: #cfd7e2;
  --rule-2: #b0bdcf;
  --accent: #d97e00;
  --accent-deep: #b96b00;
  --accent-ink: #8a4f00;
  --accent-wash: #faeeda;

  --font-display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace;

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  --wrap: 1128px;
  --wrap-narrow: 784px;
  --gutter: 1.25rem;
  --measure: 68ch;
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.98rem + 0.12vw, 1.0625rem);
  line-height: 1.68;
  color: var(--body);
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Ccircle cx='75' cy='75' r='72' fill='none' stroke='%23c7d1de' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70'%3E%3Cpath d='M35 3 66 35 35 67 4 35Z' fill='none' stroke='%23cdd6e2' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190'%3E%3Cpath d='M2 188 188 2' fill='none' stroke='%23e0c9a6' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cpath d='M258 258A256 256 0 0 0 2 2' fill='none' stroke='%23c7d1de' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position:
    left -54px top -46px,
    right 26px top 128px,
    left 5% bottom -40px,
    right -74px bottom -86px;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.011em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 1.42rem + 2.9vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 1.28rem + 1.25vw, 2.1rem); }
h3 { font-size: clamp(1.16rem, 1.08rem + 0.4vw, 1.35rem); }
h4 { font-size: 1.0625rem; }

main h2:not(.h-plain)::after,
main h3:not(.h-plain)::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--accent);
  margin-top: 0.62rem;
}
main h2:not(.h-plain)::after { width: 46px; }
main h3:not(.h-plain)::after { width: 28px; }

p { margin: 0; }

a {
  color: var(--accent-ink);
  text-decoration: none;
}
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }

ul, ol { margin: 0; padding-left: 1.15rem; }
li + li { margin-top: var(--s-2); }

strong { font-weight: 600; color: var(--ink); }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--s-6) 0;
}

table { border-collapse: collapse; width: 100%; }

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); }
.section--tight { padding-block: clamp(2rem, 1.4rem + 2.4vw, 3rem); }

.stack > * + * { margin-top: var(--s-4); }
.stack--loose > * + * { margin-top: var(--s-5); }
.stack > h2 + * { margin-top: var(--s-5); }

/* Vertical rhythm for the direct children of a section container */
.flow > * + * { margin-top: var(--s-5); }
.flow > .featured { margin-top: var(--s-6); }
.flow > .cards { margin-top: var(--s-6); }
.flow > .stats { margin-top: var(--s-4); }
.flow > .criterion:first-of-type { margin-top: var(--s-7); }

.label {
  font-family: var(--font-mono);
  font-size: 0.7188rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: var(--s-3);
}

.lede {
  font-size: clamp(1.06rem, 1rem + 0.4vw, 1.22rem);
  color: var(--body);
  max-width: 62ch;
}

/* A heading that reads as a small caps label rather than a display line */
.label-h {
  font-family: var(--font-mono);
  font-size: 0.7188rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--s-4);
  top: var(--s-4);
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-3) var(--s-4);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

/* ============================================================
   Age notice bar — persistent, non-blocking
   ============================================================ */
.agebar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: #dbe2ec;
  border-bottom: 1px solid #2b323c;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
}
.agebar p {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding-block: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
}
.agebar b {
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  letter-spacing: 0.04em;
}
.agebar a { color: #f4d7ac; text-decoration: underline; text-underline-offset: 2px; }
.agebar a:hover { color: #fff; }

/* ============================================================
   Masthead
   ============================================================ */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: rgba(237, 241, 246, 0.9);
}
.masthead > div {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding-block: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.015em;
  line-height: 1;
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
}

.masthead nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
}
.masthead nav li { margin: 0; }
.masthead nav a {
  font-family: var(--font-mono);
  font-size: 0.7813rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body);
}
.masthead nav a:hover { color: var(--accent-ink); }
.masthead nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* ============================================================
   Buttons — pill, single accent
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.5rem;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7813rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover, .btn:focus-visible {
  background: var(--accent-deep);
  color: #fff;
  text-decoration: none;
}

.btn--quiet {
  background: transparent;
  border-color: var(--rule-2);
  color: var(--ink);
}
.btn--quiet:hover, .btn--quiet:focus-visible {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--small { padding: 0.5rem 1.1rem; font-size: 0.7188rem; }

.textlink {
  font-family: var(--font-mono);
  font-size: 0.7813rem;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
}

/* ============================================================
   Badges — square cut
   ============================================================ */
.verdict {
  display: inline-block;
  padding: 0.3rem 0.62rem;
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.7188rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.verdict--quiet {
  background: transparent;
  border-color: var(--rule-2);
  color: var(--ink);
}

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.tags li { margin: 0; }
.tag {
  display: inline-block;
  padding: 0.24rem 0.55rem;
  border: 1px solid var(--rule-2);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.smallprint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.62;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-block: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem) clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
.hero h1 { max-width: 22ch; }
.hero p { margin-top: var(--s-5); }
.hero .notice { margin-top: var(--s-6); }

.notice {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  padding: var(--s-4) var(--s-5);
  max-width: 74ch;
}
.notice p { font-size: 0.9375rem; line-height: 1.62; }
.notice p + p { margin-top: var(--s-3); }

/* ============================================================
   Credibility strip
   ============================================================ */
.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 48rem) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stats li {
  margin: 0;
  background: var(--paper-2);
  padding: var(--s-5) var(--s-4);
}
.stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stats span {
  display: block;
  margin-top: var(--s-3);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   Operator showcase — one featured panel, then a tight list
   ============================================================ */
.plate {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--ink);
  border: 1px solid var(--rule);
}

.featured {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 52rem) {
  .featured {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    padding: var(--s-6);
    gap: var(--s-6);
  }
}
.featured .plate { max-width: 260px; }

.featured-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
}
.featured h3 { font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem); }
.featured p { margin-top: var(--s-4); max-width: 64ch; }
.featured .tags { margin-top: var(--s-4); }

.datum {
  margin-top: var(--s-5);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: var(--s-3);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--body);
}
.datum b { color: var(--ink); font-weight: 600; }

.actions {
  margin-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
}

.op-list {
  list-style: none;
  margin: var(--s-6) 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.op-list > li {
  margin: 0;
  border-bottom: 1px solid var(--rule);
  padding-block: var(--s-5);
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 46rem) {
  .op-list > li {
    grid-template-columns: 176px minmax(0, 1fr) minmax(0, 15rem);
    align-items: start;
    gap: var(--s-5);
    padding-block: var(--s-6);
  }
}
.op-list .plate { max-width: 176px; }
.op-body h3 { margin-bottom: var(--s-3); }
.op-body p { max-width: 60ch; }
.op-body .tags { margin-top: var(--s-4); }
.op-body .datum { margin-top: var(--s-4); }

.op-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
}
@media (min-width: 46rem) {
  .op-side { align-items: flex-end; text-align: right; }
  .op-side .smallprint { text-align: right; }
}
.op-side .btn { width: 100%; }

/* ============================================================
   Figures
   ============================================================ */
figure {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--paper-2);
}
figure img { width: 100%; }
figcaption {
  border-top: 1px solid var(--rule);
  padding: var(--s-3) var(--s-4);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  gap: var(--s-5);
  align-items: start;
}
@media (min-width: 54rem) {
  .split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s-7); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--flip > figure { order: -1; }
}

/* ============================================================
   Tinted band (background imagery)
   ============================================================ */
.band {
  background-color: #dfe6f0;
  background-image: url("/assets/band-slate.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.band--warm { background-image: url("/assets/band-amber.jpg"); }

.pagehead {
  background-color: #dfe6f0;
  background-image: url("/assets/band-slate.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  padding-block: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
}
.pagehead--warm { background-image: url("/assets/band-amber.jpg"); }
.pagehead h1 { max-width: 26ch; }
.pagehead p { margin-top: var(--s-4); max-width: 60ch; }

/* ============================================================
   Criterion blocks
   ============================================================ */
.criterion + .criterion { margin-top: var(--s-8); }
.criterion > p { max-width: var(--measure); margin-top: var(--s-4); }

.ranked {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  counter-reset: rank;
  border-top: 1px solid var(--rule);
}
.ranked > li {
  margin: 0;
  counter-increment: rank;
  border-bottom: 1px solid var(--rule);
  padding: var(--s-4) 0;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: var(--s-2) var(--s-4);
  background: var(--paper-2);
}
.ranked > li::before {
  content: counter(rank);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
  padding-left: var(--s-4);
}
.ranked b { display: block; font-family: var(--font-display); font-size: 1.06rem; color: var(--ink); }
.ranked span { display: block; margin-top: var(--s-1); }
.ranked > li > div { padding-right: var(--s-4); }

/* ============================================================
   Comparison table
   ============================================================ */
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--paper-2);
}
.cmp {
  min-width: 60rem;
  font-size: 0.875rem;
}
.cmp caption {
  caption-side: top;
  text-align: left;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cmp th, .cmp td {
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: var(--s-3) var(--s-4);
  text-align: left;
  vertical-align: top;
}
.cmp thead th {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper-3);
  white-space: nowrap;
}
.cmp tbody th {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  background: var(--paper-2);
}
.cmp tr > *:last-child { border-right: 0; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.scroll-hint {
  margin-top: var(--s-3);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
@media (min-width: 66rem) {
  .scroll-hint { display: none; }
}

/* ============================================================
   Scorecards
   ============================================================ */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 44rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cards > li { margin: 0; }

.card {
  height: 100%;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.card h3 { margin-bottom: var(--s-1); }
.card p { font-size: 0.9375rem; }
.card dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--s-2) var(--s-4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.card dt { color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.6875rem; padding-top: 0.1rem; }
.card dd { margin: 0; color: var(--body); }
.card .btn { margin-top: auto; }

/* Safety resource cards */
.resource {
  height: 100%;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--body);
}
.resource:hover, .resource:focus-visible {
  border-color: var(--ink);
  text-decoration: none;
}
.resource .logobox {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.resource .logobox img {
  max-height: 44px;
  max-width: min(100%, 180px);
  width: auto;
  object-fit: contain;
}
.resource h3 { font-size: 1.06rem; }
.resource p { font-size: 0.875rem; }
.resource .textlink { margin-top: auto; }
.resource:hover .textlink { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  margin: var(--s-5) 0 0;
  border-top: 1px solid var(--rule);
}
.faq > div {
  border-bottom: 1px solid var(--rule);
  padding-block: var(--s-5);
}
.faq h3 { margin-bottom: var(--s-3); }
.faq p { max-width: var(--measure); }
.faq p + p { margin-top: var(--s-3); }

/* ============================================================
   Prose pages
   ============================================================ */
.prose > * + * { margin-top: var(--s-5); }
.prose h2 { margin-top: var(--s-8); }
.prose h3 { margin-top: var(--s-6); }
.prose p, .prose li { max-width: var(--measure); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose figure { margin-block: var(--s-6); }
.prose dl { margin: 0; }
.prose dt {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.06rem;
  margin-top: var(--s-5);
}
.prose dd { margin: var(--s-2) 0 0; max-width: var(--measure); }

.callout {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  padding: var(--s-5);
}
.callout h3 { margin-bottom: var(--s-3); }
.callout p + p { margin-top: var(--s-3); }
.callout ul { margin-top: var(--s-3); }

.timeline {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.timeline > li {
  margin: 0;
  border-bottom: 1px solid var(--rule);
  padding-block: var(--s-4);
  display: grid;
  gap: var(--s-1) var(--s-5);
}
@media (min-width: 40rem) {
  .timeline > li { grid-template-columns: 8.5rem minmax(0, 1fr); }
}
.timeline b {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-ink);
  letter-spacing: 0.04em;
}

/* ============================================================
   Contact form
   ============================================================ */
.form {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 40rem) { .form { padding: var(--s-6); } }
.field { display: grid; gap: var(--s-2); }
.field label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--body);
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 0;
  padding: 0.65rem 0.8rem;
  width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent-deep);
  outline-offset: 1px;
}

/* ============================================================
   Disclaimer + footer
   ============================================================ */
.disclaimer {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  padding: var(--s-5);
}
.disclaimer p { max-width: 84ch; }
.disclaimer p + p { margin-top: var(--s-3); }
.disclaimer .smallprint { font-size: 0.7813rem; color: var(--body); }

.sitefoot {
  border-top: 1px solid var(--rule);
  background: var(--ink);
  color: #c3ccd8;
  position: relative;
  overflow: hidden;
}
.sitefoot > div {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding-block: var(--s-7) var(--s-6);
  position: relative;
  z-index: 1;
}
.sitefoot .watermark {
  position: absolute;
  right: -2.5rem;
  bottom: -4.5rem;
  width: 178px;
  opacity: 0.045;
  z-index: 0;
  pointer-events: none;
}
.sitefoot .smallprint { color: #97a3b3; }
.sitefoot h2, .sitefoot h3 { color: #fff; }
.sitefoot h2::after, .sitefoot h3::after { background: var(--accent); }
.sitefoot a { color: #e6ebf2; }
.sitefoot a:hover { color: #fff; }

.footgrid {
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 48rem) {
  .footgrid { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
}
.footgrid h3 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #97a3b3;
  margin-bottom: var(--s-4);
}
.footgrid h3::after { display: none; }
.footgrid ul { list-style: none; margin: 0; padding: 0; }
.footgrid li { margin: 0; }
.footgrid li + li { margin-top: var(--s-3); }
.footgrid a { font-size: 0.9375rem; }
.footgrid p { font-size: 0.9375rem; }
.footgrid p + p { margin-top: var(--s-3); }

.footbrand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--s-4);
}
.footbrand svg { width: 32px; height: 32px; }
.footbrand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.015em;
}

.footbase {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid #2b323c;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: #8f9bab;
}

.orgs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-4);
}
.orgs img {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: #fff;
  padding: 4px 6px;
}

/* ============================================================
   Cookie consent
   ============================================================ */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
}
.cookie[hidden] { display: none; }
.cookie > div {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding-block: var(--s-4);
  display: grid;
  gap: var(--s-4);
  align-items: center;
}
@media (min-width: 52rem) {
  .cookie > div { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6); }
}
.cookie p { font-size: 0.875rem; max-width: 76ch; }
.cookie .row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ============================================================
   Print
   ============================================================ */
@media print {
  .agebar, .cookie, .masthead nav { display: none; }
  body { background: #fff; }
}
