/* ==========================================================================
   RNS Email Verify — shared stylesheet
   Used by every page. Sections:
     1. Fonts            5. Header            9. Sections of the home page
     2. Design tokens    6. Buttons          10. Footer
     3. Base             7. Result colours   11. Small screens
     4. Layout helpers   8. Hero
   ========================================================================== */

/* 1. Fonts (self-hosted, SIL Open Font License) --------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* 2. Design tokens --------------------------------------------------------- */
:root {
  /* Brand */
  --navy: #0B1535;          /* header, hero, dark bands */
  --navy-2: #16234F;        /* raised surfaces on navy */
  --cobalt: #2348F0;        /* actions and links */
  --cobalt-dark: #1836C4;
  --airmail: #E0453A;       /* airmail stripe only */

  /* Neutrals */
  --ink: #0E1A40;           /* headings and body text */
  --ink-soft: #46527A;      /* secondary text */
  --paper: #F3F6FC;         /* tinted section background */
  --surface: #FFFFFF;
  --line: #D8DFEE;
  --on-navy: #E8EDFB;
  --on-navy-soft: #AEB9DA;

  /* Result colours: text / background */
  --ok: #08774E;       --ok-bg: #E0F5EA;
  --risk: #955600;     --risk-bg: #FFF0D2;
  --bad: #BF2A26;      --bad-bg: #FCE5E3;
  --unknown: #515D80;  --unknown-bg: #E8ECF5;

  /* Type */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Shape and space */
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-space: clamp(64px, 9vw, 112px);
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: inherit;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.005em; }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--cobalt); text-underline-offset: 0.18em; }
a:hover { color: var(--cobalt-dark); }
img, svg { max-width: 100%; }
code, pre { font-family: var(--font-mono); }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid #F5B82E;
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-s);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* 4. Layout helpers -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }
.section--tint { background: var(--paper); }
.section--dark { background: var(--navy); color: var(--on-navy); }

.section__intro { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section__intro p { margin-top: 16px; font-size: 1.15rem; color: var(--ink-soft); }

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

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--on-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand__mark { flex: none; display: block; }
.brand__sub { font-weight: 450; color: var(--on-navy); }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
}
.site-nav__list { display: flex; gap: 4px; }
.site-nav__list a {
  display: block;
  padding: 8px 12px;
  color: var(--on-navy);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  border-radius: var(--radius-s);
}
.site-nav__list a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-nav__actions { display: flex; align-items: center; gap: 18px; }

.link-quiet { color: var(--on-navy); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.link-quiet:hover { color: #fff; text-decoration: underline; }

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-s);
  cursor: pointer;
}
.nav-toggle .icon { display: block; width: 24px; height: 24px; }

/* 6. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius-m);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cobalt); color: #fff; }
.btn--primary:hover { background: var(--cobalt-dark); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #DCE4FF; color: var(--navy); }
.btn--small { padding: 10px 16px; font-size: 0.95rem; border-radius: var(--radius-s); }
.btn[disabled] { opacity: 0.65; cursor: progress; }

/* 7. Result colours (chips, stamps, check rows) ---------------------------- */
.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 650;
  white-space: nowrap;
}
.chip--ok { color: var(--ok); background: var(--ok-bg); }
.chip--risk { color: var(--risk); background: var(--risk-bg); }
.chip--bad { color: var(--bad); background: var(--bad-bg); }
.chip--unknown { color: var(--unknown); background: var(--unknown-bg); }

/* The rubber stamp. Uppercase on purpose: it imitates an inked postal stamp. */
.stamp {
  display: inline-block;
  padding: 7px 14px 6px;
  border: 2.5px solid currentColor;
  border-radius: 6px;
  outline: 1.5px solid currentColor;
  outline-offset: 3px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-6deg);
}
.stamp--static { font-size: 0.92rem; transform: rotate(-3deg); transform-origin: left center; }

/* 8. Hero ------------------------------------------------------------------ */
.hero {
  background: var(--navy);
  color: var(--on-navy);
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero h1 { color: #fff; max-width: 13ch; }
.hero__lead {
  margin-top: 24px;
  max-width: 34rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--on-navy);
}

.checker { margin-top: 36px; max-width: 34rem; }
.checker__label { display: block; margin-bottom: 10px; font-weight: 600; color: #fff; }
.checker__row { display: flex; gap: 10px; }
.checker__input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius-m);
}
.checker__input::placeholder { color: #8791AE; }
.checker__input:focus-visible { outline-offset: 2px; }
.checker__note { margin-top: 12px; font-size: 0.95rem; color: var(--on-navy-soft); }

/* Result slip */
.slip {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -20px rgba(2, 8, 30, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.slip__edge {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--airmail) 0 14px,
    #fff 14px 22px,
    var(--cobalt) 22px 36px,
    #fff 36px 44px
  );
}
.slip__head { padding: 22px 26px 18px; border-bottom: 1px dashed var(--line); }
.slip__title { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
.slip__email {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 1.08rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.slip__checks { padding: 8px 26px; }

.check {
  display: grid;
  grid-template-columns: 26px 7.2rem 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #EDF0F7;
  font-size: 0.98rem;
}
.check:last-child { border-bottom: 0; }
.check .icon {
  width: 24px; height: 24px;
  padding: 4px;
  border-radius: 50%;
  stroke-width: 2.6;
}
.check__name { font-weight: 650; }
.check__value { color: var(--ink-soft); }
.check--ok .icon { color: var(--ok); background: var(--ok-bg); }
.check--risk .icon { color: var(--risk); background: var(--risk-bg); }
.check--bad .icon { color: var(--bad); background: var(--bad-bg); }
.check--info .icon, .check--wait .icon { color: var(--unknown); background: var(--unknown-bg); }
.check--bad .check__value, .check--risk .check__value { color: var(--ink); }
.check--wait { opacity: 0.55; }
.check__value a { font-weight: 600; }
.check__value button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 650;
  color: var(--cobalt);
  text-decoration: underline;
  cursor: pointer;
}

.slip__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 26px 26px;
  border-top: 1px dashed var(--line);
  background: #FAFBFE;
}
.slip__summary { font-size: 0.95rem; color: var(--ink-soft); max-width: 17rem; }
.slip__summary a { font-weight: 650; }

.slip[data-verdict="sample"] .stamp,
.slip[data-verdict="ok"] .stamp { color: var(--ok); }
.slip[data-verdict="risk"] .stamp { color: var(--risk); }
.slip[data-verdict="bad"] .stamp { color: var(--bad); }
.slip[data-verdict="unknown"] .stamp,
.slip[data-verdict="checking"] .stamp { color: var(--unknown); }
.slip[data-verdict="checking"] .stamp { opacity: 0.35; }

/* The one animated moment: rows tick in and the stamp lands after a check. */
@keyframes row-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}
@keyframes stamp-in {
  0% { opacity: 0; transform: rotate(-14deg) scale(1.9); }
  60% { opacity: 1; transform: rotate(-5deg) scale(0.95); }
  100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}
.check.is-new { animation: row-in 0.28s ease both; }
.stamp.is-new { animation: stamp-in 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }

/* 9. Home page sections ---------------------------------------------------- */

/* What we check */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 88px);
}
.checklist__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.checklist__icon {
  width: 44px; height: 44px;
  padding: 10px;
  color: var(--cobalt);
  background: #E9EEFF;
  border-radius: var(--radius-m);
  stroke-width: 1.7;
}
.checklist__item h3 { margin-bottom: 6px; }
.checklist__item p { color: var(--ink-soft); max-width: 30rem; }
.checklist__item .eg {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--ink);
}
.eg code {
  padding: 3px 7px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}
.eg span { margin-left: 6px; font-weight: 650; color: var(--ink-soft); }
.eg span::before { content: "= "; font-weight: 400; }

/* How it works */
.how {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.steps { counter-reset: step; margin: 36px 0 36px; }
.steps__item {
  position: relative;
  counter-increment: step;
  padding: 0 0 28px 60px;
}
.steps__item::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -4px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.1rem;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
}
.steps__item::after {
  content: "";
  position: absolute;
  left: 19px; top: 42px; bottom: 2px;
  width: 2px;
  background: var(--line);
}
.steps__item:last-child { padding-bottom: 0; }
.steps__item:last-child::after { display: none; }
.steps__item h3 { margin-bottom: 4px; }
.steps__item p { color: var(--ink-soft); }

.sheet {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: 0 24px 48px -28px rgba(14, 26, 64, 0.35);
  overflow: hidden;
}
.sheet__table { min-width: 520px; font-size: 0.93rem; }
.sheet__table caption {
  padding: 14px 20px;
  text-align: left;
  font-weight: 650;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  background: #FAFBFE;
}
.sheet__table th, .sheet__table td { padding: 12px 20px; text-align: left; white-space: nowrap; }
.sheet__table thead th { font-size: 0.84rem; font-weight: 650; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.sheet__table tbody tr + tr td { border-top: 1px solid #EDF0F7; }
.sheet__table code { font-size: 0.86rem; }
.sheet__table td:last-child { color: var(--ink-soft); }

/* Results explained */
.verdicts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.verdict { padding: 32px 28px 8px 0; }
.verdict + .verdict { padding-left: 28px; border-left: 1px solid var(--line); }
.verdict .stamp { margin: 4px 0 26px 4px; }
.verdict h3 { margin-bottom: 8px; font-size: 1.3rem; }
.verdict p { color: var(--ink-soft); }
.verdict .verdict__action { margin-top: 14px; font-weight: 650; color: var(--ink); }
.verdict--ok .stamp { color: var(--ok); }
.verdict--risk .stamp { color: var(--risk); }
.verdict--bad .stamp { color: var(--bad); }
.verdict--unknown .stamp { color: var(--unknown); }

/* API */
.api {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.api h2 { color: #fff; }
.api__copy > p { margin-top: 18px; font-size: 1.12rem; color: var(--on-navy); max-width: 32rem; }
.ticks { margin: 26px 0 34px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { margin-top: 3px; color: #6FE3B0; stroke-width: 2.6; }

.code-stack { display: grid; gap: 16px; min-width: 0; }
.code {
  margin: 0;
  background: #060D24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.code figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--on-navy-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.code pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #D5DEFA;
  tab-size: 2;
}
.code__copy {
  padding: 4px 10px;
  font: inherit;
  color: var(--on-navy);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  cursor: pointer;
}
.code__copy:hover { background: rgba(255, 255, 255, 0.16); }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.pricing__copy > p { margin-top: 18px; font-size: 1.12rem; color: var(--ink-soft); max-width: 32rem; }
.free-offer {
  margin-top: 32px;
  padding: 26px 28px 28px;
  background: var(--ok-bg);
  border-radius: var(--radius-l);
  max-width: 30rem;
}
.free-offer__amount {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #064E34;
}
.free-offer p + p { margin: 8px 0 20px; color: #17503A; }

.price-table { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 20px 8px; text-align: right; border-bottom: 1px solid var(--line); }
.price-table th:first-child { text-align: left; padding-left: 0; }
.price-table td:last-child, .price-table thead th:last-child { padding-right: 0; }
.price-table thead th { padding-top: 0; padding-bottom: 12px; font-size: 0.9rem; font-weight: 650; color: var(--ink-soft); }
.price-table tbody th {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.price-table tbody td:nth-child(2) { font-weight: 700; font-size: 1.2rem; }
.price-table tbody td:last-child { color: var(--ink-soft); }
.price-note { margin-top: 20px; font-size: 0.98rem; color: var(--ink-soft); }

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
.faq h2 { position: sticky; top: 100px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  margin-right: 6px;
  border-right: 2.5px solid var(--cobalt);
  border-bottom: 2.5px solid var(--cobalt);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__item summary:hover h3 { color: var(--cobalt); }
.faq__item > p { padding: 0 40px 26px 0; color: var(--ink-soft); max-width: 44rem; }

/* Final call to action — an airmail letter on the page, not a full-width
   blue band (2026-10-05: the solid cobalt band was too loud). Cobalt stays an
   accent: only the button carries it. */
.cta {
  background: var(--paper);
  padding-block: clamp(56px, 7vw, 96px);
}
.section--tint + .cta { padding-top: 0; } /* continues the tinted section above */
.cta__card {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 64px) clamp(32px, 4.5vw, 56px);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -32px rgba(14, 26, 64, 0.35), 0 0 0 1px var(--line);
  overflow: hidden;
}
.cta__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--airmail) 0 14px,
    #fff 14px 22px,
    var(--navy) 22px 36px,
    #fff 36px 44px
  );
}
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); max-width: 18ch; }
.cta p { margin-top: 12px; font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--outline { background: transparent; color: var(--cobalt); box-shadow: inset 0 0 0 2px var(--cobalt); }
.btn--outline:hover { background: #EEF2FF; color: var(--cobalt-dark); }
@media (min-width: 900px) {
  .cta__card { grid-template-columns: 1fr auto; gap: 48px; }
  .cta__actions { justify-content: flex-end; }
}

/* 10. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--on-navy-soft); padding-top: 64px; font-size: 0.98rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer__about p { margin-top: 14px; max-width: 20rem; }
.site-footer__heading {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
  color: #fff;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer nav a { color: var(--on-navy-soft); text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.site-footer__legal { margin-top: 56px; font-size: 0.9rem; }
.site-footer__legal p { padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* 11. Small screens --------------------------------------------------------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { padding: 12px 4px; font-size: 1.05rem; }
  .site-nav__actions { justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); }

  .hero__grid, .how, .api, .pricing, .faq { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 16ch; }
  .slip { transform: none; max-width: 34rem; }
  .faq h2 { position: static; }
  .verdicts { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .verdict, .verdict + .verdict { padding: 28px 24px 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .checker__row { flex-direction: column; }
  .check { grid-template-columns: 26px 1fr; }
  .check__value { grid-column: 2; margin-top: -8px; }
  .slip__head, .slip__checks, .slip__foot { padding-inline: 20px; }
  .slip__foot { flex-direction: column-reverse; align-items: flex-start; gap: 18px; }
  .verdicts { grid-template-columns: minmax(0, 1fr); }
  .faq__item > p { padding-right: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

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

@media print {
  .site-header, .checker, .cta, .nav-toggle { display: none; }
  .hero, .section--dark, .site-footer { background: #fff; color: #000; }
}
