/*
Theme Name: NutraShure Resources
Theme URI: https://resources.nutrashure.com
Author: NutraShure
Author URI: https://nutrashure.com
Description: Dark-editorial B2B field-dossier theme for the NutraShure ingredient-science resource hub. Self-hosted Proxima Nova + Crimson Pro italic. Audited to WCAG AA.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: nutrashure-resources
*/

/* =========================================================
   FONTS — self-hosted woff2 (owner decision: Proxima self-host).
   Proxima Nova in weights = the whole system.
   Crimson Pro ITALIC ONLY = rare editorial voice lines.
   ========================================================= */
@font-face {
  font-family: "Proxima Nova";
  src: url("assets/fonts/ProximaNova-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("assets/fonts/ProximaNova-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("assets/fonts/ProximaNova-Semibold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("assets/fonts/ProximaNova-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("assets/fonts/ProximaNova-Extrabold.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("assets/fonts/CrimsonPro-Italic-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}

/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --base: #0d1828;
  --panel: #121f33;
  --panel-2: #16263c;
  --brand-navy: #18283f;
  --brand-blue: #223a5e;

  --ink: #e7eef8;
  --ink-2: #9fb1cb;
  --ink-3: #8698bd; /* AA on every surface */
  --ink-4: #3c4d6b; /* DECORATIVE ONLY — never text */
  --placeholder: #8698bd;
  --ink-body: #dfe7f3;

  --mark: #fff79d;
  --mark-hi: #fffbc4;
  --mark-ink: #1a1c0a;
  --mark-line: rgba(255, 247, 157, 0.5);

  --rule: rgba(159, 177, 203, 0.16);
  --rule-strong: rgba(159, 177, 203, 0.28);

  --sans: "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --serif: "Crimson Pro", Georgia, "Times New Roman", serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--base);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "ss01" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }

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

/* =========================================================
   ATOMS
   ========================================================= */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.label--mark { color: var(--mark); }
.meta-num { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.muted { color: var(--ink-2); }
.rule { height: 1px; background: var(--rule); border: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em;
  padding: 0.9rem 1.4rem; border-radius: 4px;
  transition: transform 150ms var(--ease-out), background 200ms ease,
    border-color 200ms ease, color 200ms ease;
  will-change: transform;
}
.btn:active { transform: scale(0.975); }
.btn--mark { background: var(--mark); color: var(--mark-ink); }
.btn--ghost { border: 1px solid var(--rule-strong); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--mark:hover { background: var(--mark-hi); }
  .btn--ghost:hover { border-color: var(--mark-line); color: var(--mark); }
}
.btn .arr { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arr { transform: translateX(3px); } }

/* Reveal — visible by DEFAULT; animation gated behind html.js */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; }
  * { transition-duration: 120ms !important; }
}

/* =========================================================
   SITE HEADER / FOOTER (hub + single)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 24, 40, 0.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 300ms ease;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header img { height: 22px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { font-size: 0.88rem; color: var(--ink-2); transition: color 180ms ease; display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) { .site-nav a:hover { color: var(--ink); } }
.site-nav .btn { padding: 0.55rem 1rem; font-size: 0.85rem; min-height: 44px; }
@media (max-width: 680px) { .site-nav .nlink { display: none; } }

.site-footer { border-top: 1px solid var(--rule); margin-top: 4rem; padding: 2.5rem 0; }
.site-footer .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer img { height: 20px; }
.site-footer .legal { font-size: 0.78rem; color: var(--ink-3); }

/* =========================================================
   LANDING — gated field-report dossier
   ========================================================= */
.lp { min-height: 100svh; display: grid; grid-template-columns: 1.15fr 0.85fr; }
.dossier {
  position: relative; padding: clamp(1.75rem, 3.5vw, 3.25rem) clamp(1.5rem, 4vw, 4rem);
  display: flex; flex-direction: column; border-right: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--brand-navy) 0%, var(--base) 70%);
}
.dossier::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 80% at 12% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 80% at 12% 0%, #000 0%, transparent 70%);
  opacity: 0.5; pointer-events: none;
}
.dossier > * { position: relative; z-index: 1; }
.doss-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.doss-top img { height: 24px; width: auto; }
.doss-id { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.doss-head { margin-top: clamp(2.5rem, 7vh, 5rem); max-width: 30ch; }
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem; }
.kicker .tick { width: 26px; height: 1px; background: var(--mark-line); }
.doss-head h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(2.5rem, 4.6vw, 4.1rem); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.doss-head h1 em {
  font-style: normal; color: inherit;
  background-image: linear-gradient(var(--mark-line), var(--mark-line));
  background-repeat: no-repeat; background-size: 100% 3px; background-position: 0 96%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.thesis { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.4; color: var(--ink); max-width: 40ch; margin-top: 1.6rem; }
.thesis .src { font-family: var(--sans); font-size: 0.78rem; font-style: normal; letter-spacing: 0.04em; color: var(--ink-3); display: block; margin-top: 1rem; }
.manifest { margin-top: auto; padding-top: 2.5rem; display: grid; grid-template-columns: repeat(3, auto); gap: 2.5rem; border-top: 1px solid var(--rule); }
.manifest dt { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.manifest dd { font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 0.35rem; }
.manifest dd small { display: block; font-weight: 500; font-size: 0.8rem; letter-spacing: 0; color: var(--ink-2); margin-top: 0.1rem; }

.gate { position: relative; background: var(--base); padding: clamp(1.75rem, 3.5vw, 3.25rem) clamp(1.5rem, 3.5vw, 3.25rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.gate-step, .gate-foot { display: flex; align-items: center; justify-content: space-between; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gate-card { width: 100%; max-width: 400px; margin-inline: auto; }
.gate-card h2 { font-family: var(--sans); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; }
.gate-card .sub { color: var(--ink-2); font-size: 0.95rem; margin-top: 0.5rem; margin-bottom: 1.9rem; }
.gate-fine { margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); display: grid; gap: 0.7rem; }
.gate-fine li { list-style: none; display: flex; gap: 0.6rem; font-size: 0.82rem; color: var(--ink-2); line-height: 1.4; }
.gate-fine svg { flex: none; margin-top: 2px; color: var(--mark); }
.gate-trust { margin-top: 1.6rem; font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.02em; }
.gate-trust b { color: var(--ink-2); font-weight: 600; }

@media (max-width: 940px) {
  .lp { grid-template-columns: 1fr; min-height: 0; }
  .dossier { border-right: 0; }
  .gate { border-top: 1px solid var(--rule); justify-content: flex-start; }
  .manifest { margin-top: 2.5rem; }
}
@media (max-width: 520px) { .manifest { grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; } }

/* =========================================================
   FLUENT FORMS — style the real [fluentform id="3"] output
   to match the dark dossier gate. Wrapper: .ff-shell
   ========================================================= */
.ff-shell .frm-fluent-form { display: grid; gap: 0.9rem; }
.ff-shell .ff-el-group { margin-bottom: 0 !important; }
.ff-shell .ff-el-input--label label { display: block; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.4rem; }
.ff-shell .ff-el-input--content input,
.ff-shell .ff-el-input--content textarea,
.ff-shell .ff-el-input--content select {
  width: 100%; background: var(--panel); border: 1px solid var(--rule-strong);
  border-radius: 4px; padding: 0.8rem 0.9rem; color: var(--ink); font: inherit; font-size: 0.95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
/* Force readable typed text — FF's own .ff-el-form-control color loses here */
.ff-shell .ff-el-form-control,
.ff-shell input,
.ff-shell select,
.ff-shell textarea { color: var(--ink) !important; caret-color: var(--mark); }
.ff-shell select option { color: #111; }
.ff-shell input::placeholder, .ff-shell textarea::placeholder { color: var(--placeholder); }
.ff-shell .ff-el-input--content input:focus,
.ff-shell .ff-el-input--content textarea:focus,
.ff-shell .ff-el-input--content select:focus {
  outline: none; border-color: var(--mark-line); background: var(--panel-2);
  box-shadow: 0 0 0 3px rgba(255, 247, 157, 0.12);
}
.ff-shell .ff-btn-submit {
  width: 100%; background: var(--mark) !important; color: var(--mark-ink) !important;
  border: 0 !important; border-radius: 4px !important; padding: 0.95rem 1.4rem !important;
  font-weight: 800 !important; font-size: 1rem !important; margin-top: 0.4rem;
  transition: transform 150ms var(--ease-out), background 200ms ease !important;
}
.ff-shell .ff-btn-submit:active { transform: scale(0.98); }
@media (hover: hover) { .ff-shell .ff-btn-submit:hover { background: var(--mark-hi) !important; } }
.ff-shell .ff-el-is-error .text-danger,
.ff-shell .error-text { color: #ffb4a8; font-size: 0.8rem; }

/* =========================================================
   HUB — the library
   ========================================================= */
.hub-hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.hub-hero .kick { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.3rem; }
.hub-hero .kick .tick { width: 26px; height: 1px; background: var(--mark-line); }
.hub-hero h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(2.4rem, 5.5vw, 4.3rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 17ch; text-wrap: balance; }
.hub-hero p { font-family: var(--sans); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin-top: 1.3rem; }

.register { position: sticky; top: 68px; z-index: 40; background: rgba(13, 24, 40, 0.82); backdrop-filter: blur(10px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.register .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; }
.chips { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1rem; border-radius: 3px; border: 1px solid var(--rule-strong); color: var(--ink-2); font-size: 0.8rem; font-weight: 600; transition: transform 140ms var(--ease-out), color 160ms, border-color 160ms, background 160ms; }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--mark); color: var(--mark-ink); border-color: var(--mark); }
@media (hover: hover) { .chip:not([aria-pressed="true"]):hover { color: var(--ink); border-color: var(--mark-line); } }
.reg-count { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 680px) { .reg-count { display: none; } }

.cards { margin: clamp(2rem, 4vw, 3rem) 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.card { position: relative; display: flex; flex-direction: column; background: var(--base); padding: 1.6rem 1.5rem 1.5rem; min-height: 270px; transition: background 280ms ease; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 38px; height: 2px; background: var(--mark); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease-out); }
@media (hover: hover) { .card:hover { background: var(--panel); } .card:hover::before { transform: scaleX(1); } }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 1.2rem; }
.card-id { font-size: 0.7rem; letter-spacing: 0.12em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tier { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.22rem 0.5rem; border-radius: 2px; border: 1px solid var(--rule-strong); color: var(--ink-2); white-space: nowrap; }
.tier--rct { color: var(--mark); border-color: var(--mark-line); }
.card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.32rem; line-height: 1.15; letter-spacing: -0.02em; margin-top: 1.1rem; }
.card .dek { font-size: 0.92rem; color: var(--ink-2); margin-top: 0.6rem; line-height: 1.45; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: 0.76rem; color: var(--ink-3); }
.card-foot .ing { color: var(--ink-2); font-weight: 600; }
.card-foot .read { font-variant-numeric: tabular-nums; }
.card.hide { display: none; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--ink-3); padding: 4rem 1rem; }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

/* =========================================================
   WATCH — YouTube shelf in the Library
   ========================================================= */
.watch { padding: clamp(2.5rem, 5vw, 4rem) 0 4rem; border-top: 1px solid var(--rule); }
.watch-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.watch-head .kick { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.watch-head .kick .tick { width: 26px; height: 1px; background: var(--mark-line); }
.watch-head h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.03em; }
.watch-head .yt-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.55rem 1.1rem; border: 1px solid var(--rule-strong); border-radius: 4px; font-weight: 700; font-size: 0.88rem; color: var(--ink); transition: border-color 180ms ease, color 180ms ease, transform 150ms var(--ease-out); }
.watch-head .yt-link svg { color: var(--mark); }
.watch-head .yt-link:active { transform: scale(0.97); }
@media (hover: hover) { .watch-head .yt-link:hover { border-color: var(--mark-line); color: var(--mark); } }

.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.vid { display: flex; flex-direction: column; }
.vid-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, var(--brand-navy), var(--base)); border: 1px solid var(--rule); }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) { .vid:hover .vid-thumb img { transform: scale(1.05); } }
.vid-play { position: absolute; inset: 0; display: grid; place-items: center; }
.vid-play span { width: 56px; height: 56px; border-radius: 50%; background: var(--mark); display: grid; place-items: center; color: var(--mark-ink); transition: transform 200ms var(--ease-out); }
@media (hover: hover) { .vid:hover .vid-play span { transform: scale(1.08); } }
.vid h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; margin-top: 0.9rem; line-height: 1.25; }
.vid .dur { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-top: 0.4rem; }

/* launching state — channel exists, videos pending */
.watch-soon {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem;
  border: 1px dashed var(--rule-strong); border-radius: 10px;
  padding: clamp(2rem, 5vw, 3.5rem); background: linear-gradient(135deg, var(--brand-navy), var(--base));
  max-width: 60ch;
}
.watch-soon p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.55; max-width: 48ch; }

/* =========================================================
   SINGLE — the report
   ========================================================= */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--mark); z-index: 60; will-change: transform; }

.masthead { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule); }
.mast-id { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mast-id .tier--rct { color: var(--mark); }
.masthead h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -0.035em; max-width: 20ch; margin: 1.3rem 0 1.2rem; text-wrap: balance; }
.masthead .standfirst { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.45; color: var(--ink); max-width: 56ch; font-style: italic; }
.byline { margin-top: 1.6rem; display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-2); }
.byline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-4); }

.post-cover { margin-top: 0; }
.post-cover img { width: 100%; max-height: 56vh; object-fit: cover; }

.report { display: grid; grid-template-columns: 1fr; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.body { max-width: 66ch; margin-inline: auto; width: 100%; font-family: var(--sans); font-weight: 400; font-size: 1.2rem; line-height: 1.72; letter-spacing: 0.01em; color: var(--ink-body); text-wrap: pretty; }
.body > * + * { margin-top: 1.4rem; }
.body > p.lead:first-letter { float: left; font-weight: 800; font-size: 3.2em; line-height: 0.82; padding: 0.04em 0.14em 0 0; color: var(--mark); }
.body h2 { font-family: var(--sans); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.1; margin: 2.8rem 0 0.2rem; color: var(--ink); }
.body h3 { font-family: var(--sans); font-weight: 700; font-size: 1.3rem; margin-top: 2rem; color: var(--ink); }
.body a { color: var(--mark); border-bottom: 1px solid var(--mark-line); transition: border-color 160ms ease; }
.body a:hover { border-color: var(--mark); }
.body ul, .body ol { padding-left: 1.3rem; }
.body li + li { margin-top: 0.5rem; }
.body img { border-radius: 6px; margin-inline: auto; }
.body blockquote {
  font-family: var(--serif); font-style: italic; font-size: 1.85rem; line-height: 1.38;
  color: var(--ink); border-top: 1px solid var(--rule-strong); padding-top: 1.6rem; max-width: 56ch;
}
.sec-label { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.ref { font-family: var(--sans); font-size: 0.62em; vertical-align: super; color: var(--mark); font-weight: 700; padding: 0 0.1em; }

.pull { font-family: var(--serif); font-style: italic; font-size: 1.85rem; line-height: 1.38; color: var(--ink); border-top: 1px solid var(--rule-strong); padding-top: 1.6rem; margin: 2.4rem 0; max-width: 56ch; }

.callout { font-family: var(--sans); margin: 2.4rem 0; border: 1px solid var(--rule); border-radius: 5px; overflow: hidden; }
.callout .ch { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 1rem; border-bottom: 1px solid var(--rule); background: var(--panel); }
.callout .ch .label { color: var(--ink-2); }
.callout .cb { display: grid; grid-template-columns: repeat(3, 1fr); }
.callout .cb div { padding: 1.2rem 1rem; border-right: 1px solid var(--rule); }
.callout .cb div:last-child { border-right: 0; }
.callout .n { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.callout .n .mark { color: var(--mark); }
.callout .l { font-size: 0.74rem; color: var(--ink-3); margin-top: 0.3rem; }

.cta-band { max-width: 64ch; margin: 3rem auto 0; border: 1px solid var(--rule-strong); border-radius: 6px; padding: clamp(1.8rem, 4vw, 2.6rem); background: linear-gradient(135deg, var(--brand-navy), var(--base)); }
.cta-band h3 { font-family: var(--sans); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.cta-band p { color: var(--ink-2); margin: 0.5rem 0 1.4rem; max-width: 48ch; }

.related { padding-top: 1rem; }
.related-h { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.5rem; }

/* =========================================================
   GENERIC PAGE (Thank You, Privacy, …)
   ========================================================= */
.page-shell { padding: clamp(2.5rem, 6vw, 5rem) 0 4rem; }
.page-body { max-width: 70ch; margin-inline: auto; font-size: 1.1rem; line-height: 1.7; color: var(--ink-body); }
.page-body > * + * { margin-top: 1.2rem; }
.page-body h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.03em; color: var(--ink); margin-bottom: 0.4rem; text-wrap: balance; }
.page-body h2 { font-weight: 700; font-size: 1.5rem; margin-top: 2rem; color: var(--ink); }
.page-body h3 { font-weight: 700; font-size: 1.2rem; margin-top: 1.6rem; color: var(--ink); }
.page-body a:not(.btn) { color: var(--mark); border-bottom: 1px solid var(--mark-line); }
.page-body a:not(.btn):hover { border-color: var(--mark); }
.page-body ul, .page-body ol { padding-left: 1.3rem; }
.page-body li + li { margin-top: 0.4rem; }
.page-body img { border-radius: 6px; }
