/*
 * Shared styles for the pages beside the home page (the landing pages and the privacy notice).
 * index.html keeps its own inline copy; the tokens, nav, buttons, cards and footer here match it,
 * so change both together.
 */

:root {
  color-scheme: light;

  /* Brand constants — identical in both themes. --navy / --navy-deep are the dark band and
     footer backgrounds, never text colours. */
  --cobalt: #2563ff;
  --sky: #00b2ff;
  --teal: #00a9a1;
  --teal-brand: #00d4c8;
  --navy: #0a1b3d;
  --navy-deep: #071129;

  /* The browser mock around the product screenshot stays light in both themes. */
  --shot-frame: #ffffff;
  --shot-chrome: #f6f8fc;
  --shot-line: #e8edf4;
  --shot-border: #d9dfe9;
  --shot-dot: #d9dfe9;
  --shot-url-text: #5c687d;

  /* Themed tokens — every one of these is redefined for dark below. */
  --heading: #0a1b3d;
  --ink: #101b33;
  --muted: #5c687d;
  --line: #d9dfe9;
  --line-soft: #e8edf4;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --surface-warm: #fafaf8;
  --card: #ffffff;
  --cobalt-bright: #2563ff;
  --cobalt-text: #1e54d6;
  --teal-text: #087b76;
  --blue-soft: #edf3ff;
  --teal-soft: #eaf8f6;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --hero-top: #f6f9ff;
  --band-edge: transparent;
  --pill-border: rgba(37, 99, 255, 0.18);
  --accent-border: rgba(37, 99, 255, 0.28);
  --focus-ring: rgba(37, 99, 255, 0.35);
  --shadow: 0 14px 36px rgba(10, 27, 61, 0.08);
  --shadow-deep: 0 30px 80px rgba(10, 27, 61, 0.18);
  --shadow-card: 0 4px 14px rgba(10, 27, 61, 0.04);

  --radius: 16px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-label: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* Dark theme. Applied when the visitor's OS prefers dark and they have not explicitly chosen
   light, and whenever they pick dark from the nav toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --heading: #eef3fc;
    --ink: #dde6f5;
    --muted: #94a6c2;
    --line: #2e3f5c;
    --line-soft: #253449;
    --surface: #0b1424;
    --surface-soft: #0e1829;
    --surface-warm: #0e1829;
    --card: #16223a;
    --navy-deep: #060d1a;
    --cobalt-bright: #6f9dff;
    --cobalt-text: #8fb2ff;
    --teal-text: #3ad3c6;
    --blue-soft: rgba(37, 99, 255, 0.18);
    --teal-soft: rgba(0, 212, 200, 0.15);
    --nav-bg: rgba(11, 20, 36, 0.92);
    --hero-top: #0e1a2e;
    --band-edge: #253449;
    --pill-border: rgba(143, 178, 255, 0.32);
    --accent-border: rgba(143, 178, 255, 0.45);
    --focus-ring: rgba(143, 178, 255, 0.45);
    --shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
    --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.62);
    --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.32);
  }
}

/* Buttons transition their background, so a theme flip would otherwise cross-fade every
   control. Switch colours instantly instead. */
:root.theme-switching *,
:root.theme-switching *::before,
:root.theme-switching *::after {
  transition: none !important;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --heading: #eef3fc;
  --ink: #dde6f5;
  --muted: #94a6c2;
  --line: #2e3f5c;
  --line-soft: #253449;
  --surface: #0b1424;
  --surface-soft: #0e1829;
  --surface-warm: #0e1829;
  --card: #16223a;
  --navy-deep: #060d1a;
  --cobalt-bright: #6f9dff;
  --cobalt-text: #8fb2ff;
  --teal-text: #3ad3c6;
  --blue-soft: rgba(37, 99, 255, 0.18);
  --teal-soft: rgba(0, 212, 200, 0.15);
  --nav-bg: rgba(11, 20, 36, 0.92);
  --hero-top: #0e1a2e;
  --band-edge: #253449;
  --pill-border: rgba(143, 178, 255, 0.32);
  --accent-border: rgba(143, 178, 255, 0.45);
  --focus-ring: rgba(143, 178, 255, 0.45);
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.62);
  --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

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

a {
  color: var(--cobalt-text);
  text-decoration: none;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt-text);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--heading);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  padding: 13px 24px;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--cobalt), #1e46d6);
  box-shadow: 0 10px 24px rgba(37, 99, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 255, 0.36);
}

.btn-ghost {
  color: var(--heading);
  background: var(--surface);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--cobalt);
  color: var(--cobalt-text);
}

.btn-light {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 10px 24px rgba(2, 8, 26, 0.3);
}

.btn-light:hover {
  transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
  max-width: none;
}

/* The supplied logo is opaque artwork on white, so dark mode gets its own transparent,
   light-on-dark rendering of the same lockup. */
.nav-logo .logo-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .nav-logo .logo-light {
    display: none;
  }
  :root:not([data-theme='light']) .nav-logo .logo-dark {
    display: block;
  }
}

:root[data-theme='dark'] .nav-logo .logo-light {
  display: none;
}

:root[data-theme='dark'] .nav-logo .logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.nav-links a:hover {
  color: var(--cobalt-text);
}

.nav-links .btn-primary {
  width: 100%;
  justify-content: center;
  color: #fff;
}

.nav-links .btn-primary:hover {
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .signin {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  padding: 10px 14px;
}

.nav-cta .btn {
  padding: 11px 20px;
  font-size: 14px;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition:
    border-color 140ms ease,
    color 140ms ease,
    background 140ms ease;
}

.theme-toggle:hover {
  border-color: var(--cobalt);
  color: var(--cobalt-text);
}

/* Moon shows in light mode (click for dark); sun shows in dark mode. */
.theme-toggle .icon-sun {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .icon-sun {
    display: block;
  }
  :root:not([data-theme='light']) .theme-toggle .icon-moon {
    display: none;
  }
}

:root[data-theme='dark'] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme='dark'] .theme-toggle .icon-moon {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  margin: 5px 0;
  border-radius: 2px;
}

.mobile-only {
  display: none;
}

/* ---------- Page hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(0, 178, 255, 0.12), transparent 60%),
    radial-gradient(900px 520px at 88% 0%, rgba(0, 212, 200, 0.12), transparent 60%),
    linear-gradient(180deg, var(--hero-top) 0%, var(--surface) 78%);
  padding: 40px 0 84px;
  text-align: center;
}

.hero.has-shot {
  padding-bottom: 0;
}

.crumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

.crumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--line);
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--cobalt-text);
}

.hero .eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt-text);
  background: var(--blue-soft);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  max-width: 840px;
  margin: 0 auto 22px;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--cobalt-text);
}

.hero .lede {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
  max-width: 740px;
  margin: 0 auto 34px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-notes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.hero.has-shot .hero-notes {
  margin-bottom: 64px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-notes svg {
  color: var(--teal);
  flex: none;
}

.hero-shot {
  max-width: 1060px;
  margin: 0 auto;
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--shot-border);
  border-bottom: 0;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  background: var(--shot-frame);
}

.hero-shot .chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--shot-chrome);
  border-bottom: 1px solid var(--shot-line);
}

.hero-shot .chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--shot-dot);
}

.hero-shot .chrome .url {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  background: var(--shot-frame);
  border: 1px solid var(--shot-line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--shot-url-text);
  padding: 4px 12px;
  text-align: center;
}

.hero-shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
}

/* ---------- Sections ---------- */
section {
  padding: 96px 0;
}

.tint {
  background: var(--surface-soft);
}

.section-head {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin: 14px 0 16px;
  text-wrap: balance;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--blue-soft);
  color: var(--cobalt-text);
}

.card:nth-child(3n + 2) .icon {
  background: var(--teal-soft);
  color: var(--teal-text);
}

.card .num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--cobalt-bright);
  margin-bottom: 16px;
}

.card h3 {
  font-family: var(--font-label);
  font-size: 17px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
}

.card p + p {
  margin-top: 10px;
}

/* A short list of plain statements with a teal tick, used for "what the numbers promise". */
.checks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  max-width: 980px;
  margin: 0 auto;
}

.checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 18px 20px;
}

.checks svg {
  flex: none;
  color: var(--teal-text);
  margin-top: 3px;
}

.checks strong {
  display: block;
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 3px;
}

.checks span {
  font-size: 14px;
  color: var(--muted);
}

/* Dark band, the same treatment as the home page's privacy section. */
.band {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(0, 178, 255, 0.14), transparent 55%),
    radial-gradient(700px 420px at 5% 100%, rgba(0, 212, 200, 0.1), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #d7e0f2;
  border-top: 1px solid var(--band-edge);
  border-bottom: 1px solid var(--band-edge);
}

.band .grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: start;
}

.band .eyebrow {
  color: var(--sky);
}

.band h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  margin: 14px 0 18px;
}

.band .lede {
  font-size: 16.5px;
  color: #aab8d4;
  margin-bottom: 20px;
}

.band .lede a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.band-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.band-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 17px 20px;
}

.band-list svg {
  flex: none;
  color: var(--teal-brand);
  margin-top: 3px;
}

.band-list strong {
  display: block;
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}

.band-list span {
  font-size: 14px;
  color: #aab8d4;
}

/* FAQ */
.faq .section-head {
  margin-bottom: 44px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

details {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 0 24px;
  transition: border-color 140ms ease;
}

details[open] {
  border-color: var(--accent-border);
}

summary {
  font-family: var(--font-label);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--heading);
  padding: 19px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--cobalt-bright);
  line-height: 1;
  transition: transform 140ms ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  font-size: 14.5px;
  color: var(--muted);
  padding-bottom: 20px;
}

/* Related pages */
.related {
  padding-top: 0;
}

.related h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 24px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-grid a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.related-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent-border);
}

.related-grid strong {
  display: block;
  font-family: var(--font-label);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
}

.related-grid span {
  font-size: 14px;
  color: var(--muted);
}

/* Final CTA */
.cta-band {
  padding: 0 0 96px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 24px;
  padding: 72px 32px;
  background:
    radial-gradient(700px 340px at 80% -20%, rgba(0, 212, 200, 0.25), transparent 60%),
    radial-gradient(600px 320px at 10% 120%, rgba(0, 178, 255, 0.25), transparent 60%),
    linear-gradient(120deg, #16308f, var(--cobalt));
  box-shadow: var(--shadow-deep);
}

.cta-card h2 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 44px);
  margin-bottom: 14px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ---------- Long-form text (privacy notice) ---------- */
.doc {
  padding: 40px 0 96px;
}

.doc .crumbs {
  justify-content: flex-start;
  margin-bottom: 32px;
}

.prose {
  max-width: 740px;
}

.prose h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin: 12px 0 14px;
}

.prose .updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.prose .summary {
  font-size: 17.5px;
  color: var(--ink);
  background: var(--blue-soft);
  border: 1px solid var(--pill-border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.prose h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin: 48px 0 14px;
}

.prose h3 {
  font-family: var(--font-label);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--heading);
  margin: 26px 0 8px;
}

.prose p,
.prose li {
  font-size: 16px;
  color: var(--ink);
}

.prose p + p {
  margin-top: 14px;
}

.prose ul {
  margin: 12px 0 0 22px;
  display: grid;
  gap: 8px;
}

.prose ul + p {
  margin-top: 14px;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 1px 6px;
}

.table-scroll {
  overflow-x: auto;
  margin-top: 16px;
}

.prose table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.prose th {
  font-family: var(--font-label);
  font-weight: 600;
  color: var(--heading);
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy-deep);
  color: #8fa2c4;
  padding: 56px 0 40px;
  font-size: 14px;
}

.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wordmark {
  font-family: var(--font-label);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.wordmark span {
  color: var(--sky);
}

.foot-brand p {
  max-width: 320px;
  margin-top: 10px;
}

.foot-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.foot-links h4 {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7387ad;
  margin-bottom: 14px;
}

.foot-links ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.foot-links a {
  color: #aab8d4;
}

.foot-links a:hover {
  color: #fff;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 13px;
  color: #7387ad;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .card-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .band .grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  section {
    padding: 68px 0;
  }
  .nav-links,
  .nav-cta .signin {
    display: none;
  }
  /* Too little room for the wordmark, the toggle and a CTA at once, so the CTA moves into the
     menu and the bar keeps the logo readable. */
  .nav-cta .btn-primary {
    display: none;
  }
  .nav-inner {
    gap: 12px;
  }
  .nav-logo img {
    height: 34px;
  }
  .nav-toggle {
    display: block;
  }
  .nav.open .nav-links {
    display: grid;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line-soft);
    padding: 18px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav.open .mobile-only {
    display: block;
  }
  .card-grid,
  .card-grid.two,
  .related-grid,
  .checks {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 28px 0 64px;
  }
  .crumbs {
    margin-bottom: 28px;
  }
  .hero.has-shot .hero-notes {
    margin-bottom: 44px;
  }
  .doc {
    padding: 28px 0 68px;
  }
  /* The cookie table stacks into one block per row, each cell labelled from data-label. */
  .prose table,
  .prose tbody,
  .prose tr,
  .prose td {
    display: block;
    min-width: 0;
  }
  .prose thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .prose tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .prose td {
    padding: 3px 0;
    border: 0;
  }
  .prose td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .foot-links {
    gap: 40px;
  }
}
