/* Vignetra site — one calm design system for every page.
   Photo-first, system type, Taxi Yellow for the one primary action,
   Pioneer gold only as a small earned touch. Light and dark follow the
   reader's system setting. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #56565b;
  --line: rgba(0, 0, 0, 0.12);
  --line-strong: rgba(0, 0, 0, 0.28);
  --accent: #ffd166;
  --on-accent: #1d1d1f;
  --gold: #ffc247;
  --gold-ink: #4a2c00;
  --focus: #1d1d1f;
  --bubble: #e9e9ee;
  --device: #1d1d1f;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell: 1120px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-2: #0e0e10;
    --surface: #161618;
    --surface-2: #1c1c1f;
    --text: #f5f5f7;
    --text-2: #a8a8ae;
    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.32);
    --focus: #ffffff;
    --bubble: #2a2a2e;
    --device: #2a2a2d;
    --shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.9);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

::selection { background: var(--gold); color: var(--gold-ink); }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.022em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

/* ----------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: var(--bg); }
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
  min-height: 44px;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text-2);
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-links .nav-cta { color: var(--text); font-weight: 600; }

.menu-button {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}
.menu-button span,
.menu-button span::before,
.menu-button span::after {
  position: absolute;
  left: 13px;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 220ms ease, opacity 220ms ease;
}
.menu-button span { top: 21px; }
.menu-button span::before { left: 0; top: -6px; }
.menu-button span::after { left: 0; top: 6px; }
.menu-button[aria-expanded="true"] span { background: transparent; }
.menu-button[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-button { display: inline-block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { font-size: 17px; color: var(--text); padding: 0 4px; border-radius: 8px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
}

/* ----------------------------------------------------------- buttons */

.button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.button-primary,
.primary-button { background: var(--accent); color: var(--on-accent); }
.button-primary:hover,
.primary-button:hover { filter: brightness(1.04); }
.button-secondary,
.quiet-button {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.button-secondary:hover,
.quiet-button:hover { background: var(--surface-2); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.inline-link { font-weight: 500; }

/* ----------------------------------------------------------- shared text */

.eyebrow {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.lede {
  color: var(--text-2);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ----------------------------------------------------------- home: hero */

.hero {
  padding-top: clamp(48px, 9vw, 104px);
  text-align: center;
}
.hero-app {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-app img { width: 40px; height: 40px; border-radius: 10px; }
.hero h1 {
  font-size: clamp(44px, 8.4vw, 96px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 11ch;
  margin-inline: auto;
}
.hero .lede { margin: 20px auto 0; max-width: 34ch; text-wrap: balance; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 32px;
}
.availability { margin-top: 14px; color: var(--text-2); font-size: 15px; }

.ask-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 460px);
  min-height: 52px;
  margin: 40px auto 0;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 17px;
  text-align: left;
}
.ask-pill svg { flex: none; width: 20px; height: 20px; }

/* Device frames: a plain rounded frame, the screen exactly as rendered. */
.device {
  position: relative;
  margin: 0;
  padding: 6px;
  border-radius: 47px;
  background: var(--device);
  box-shadow: var(--shadow);
}
.device img,
.device picture { border-radius: 41px; width: 100%; height: auto; }
.device picture img { border-radius: 41px; }

.stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  align-items: end;
  gap: clamp(12px, 3vw, 40px);
  max-width: 1040px;
  margin: clamp(48px, 7vw, 80px) auto 0;
  padding-inline: var(--gutter);
}
.stage .device:nth-child(1),
.stage .device:nth-child(3) { transform: translateY(-6%); }
.stage figcaption { margin-top: 14px; color: var(--text-2); font-size: 15px; text-align: center; }
.stage figure { margin: 0; }

@media (max-width: 700px) {
  .stage {
    grid-template-columns: 0.62fr 1fr 0.62fr;
    gap: 10px;
    padding-inline: 0;
    width: 100%;
    overflow: hidden;
  }
  .stage .device { padding: 4px; border-radius: 30px; }
  .stage .device img, .stage .device picture img { border-radius: 26px; }
  .stage > figure:nth-child(1) { margin-left: -28%; }
  .stage > figure:nth-child(3) { margin-right: -28%; }
  .stage figcaption { font-size: 13px; }
  .stage > figure:nth-child(1) figcaption,
  .stage > figure:nth-child(3) figcaption { visibility: hidden; }
}

/* ----------------------------------------------------------- home: sections */

.section { padding-block: clamp(72px, 11vw, 140px); }
.section-border { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2,
.split h2 { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -0.03em; }
.section-head p:not(.eyebrow),
.split .copy > p:not(.eyebrow) { margin-top: 16px; color: var(--text-2); font-size: clamp(18px, 2vw, 21px); }

/* Older section heads (support, guardian) put copy beside the title. */
.section-head > div + p { margin-top: 16px; color: var(--text-2); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.split.flip .copy { order: 2; }
.split .visual { display: flex; justify-content: center; }
.split .visual-stack { flex-direction: column; align-items: center; gap: 20px; }
.split .visual .device { width: min(100%, 340px); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.flip .copy { order: 0; }
}

.facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.facts li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.facts svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--text-2); }

/* Ask: a chat in the app's own words. */
.chat {
  width: min(100%, 440px);
  padding: 20px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}
.section-alt .chat { background: var(--bg); }
.chat-q {
  justify-self: end;
  max-width: 85%;
  padding: 10px 16px;
  border-radius: 20px 20px 6px 20px;
  background: var(--bubble);
  font-size: 17px;
}
.chat-a {
  max-width: 92%;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.chat-a small { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.chat-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 2px 0 6px; }
.chat-photos img { aspect-ratio: 1; object-fit: cover; border-radius: 14px; width: 100%; }
.chat-follow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  margin-top: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-2);
}
.chat-follow svg { width: 18px; height: 18px; }

/* Today: the widget, drawn like the real one — the photo untouched,
   the caption on its own strip below. */
.widgets {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 3vw, 28px);
  flex-wrap: wrap;
}
.widget {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.widget img { width: 100%; object-fit: cover; }
.widget-small { width: 142px; height: 142px; }
.widget-small img { flex: 1; min-height: 0; }
.widget-large { width: min(100%, 300px); }
.widget-large img { aspect-ratio: 728 / 600; }
.widget figcaption { padding: 9px 14px 11px; line-height: 1.25; }
.widget-small figcaption { padding: 7px 12px 9px; }
.widget strong { display: block; font-size: 14px; font-weight: 600; }
.widget-small strong { font-size: 13px; }
.widget span { display: block; font-size: 12px; color: var(--text-2); }
.widget-label { margin-top: 14px; color: var(--text-2); font-size: 15px; text-align: center; }

.crop-card {
  width: min(100%, 420px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; width: min(100%, 560px); }
.duo .device:last-child { margin-top: 18%; }
@media (max-width: 420px) {
  .duo .device { padding: 4px; border-radius: 30px; }
  .duo .device img, .duo .device picture img { border-radius: 26px; }
}

/* Privacy: three plain statements. */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.pillars h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; }
.pillars p { margin-top: 8px; color: var(--text-2); }
.pillars svg { width: 28px; height: 28px; margin-bottom: 16px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

.more-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 4px 24px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.stat-row h3 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.025em; }
.stat-row p { margin-top: 10px; color: var(--text-2); }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 220ms ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-list details p { padding: 0 0 20px; color: var(--text-2); max-width: 70ch; }
.faq-list details p + p { margin-top: -8px; }

.cta-panel { text-align: center; }
.cta-panel h2 { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -0.03em; }
.cta-panel p:not(.eyebrow) { margin: 16px auto 0; color: var(--text-2); max-width: 46ch; font-size: 19px; }
.cta-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; align-items: center; }

/* ----------------------------------------------------------- legal and info pages */

.legal-hero,
.error-page {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(32px, 4vw, 48px);
}
.legal-hero h1,
.error-page h1 { font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -0.035em; }
.legal-hero .lede { margin-top: 16px; max-width: 40ch; }
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 24px;
  color: var(--text-2);
  font-size: 15px;
}

.legal-app-summary {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin: 0 auto clamp(24px, 4vw, 40px);
  padding-inline: var(--gutter);
}
.legal-app-summary-panel {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-2);
  display: grid;
  gap: 12px;
}
.legal-app-summary-kicker { font-size: 15px; font-weight: 600; color: var(--text-2); }
.legal-app-summary-notice { font-size: 17px; }
.legal-language-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.legal-language-controls label { display: grid; gap: 6px; flex: 1 1 220px; }
.legal-language-controls label > span:not(.sr-only) { font-size: 13px; font-weight: 600; color: var(--text-2); }
.legal-language-controls select,
.legal-language-controls input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.legal-language-results { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-language-results:empty { display: none; }
.legal-language-results button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.legal-language-results button[aria-pressed="true"] { border-color: var(--text); font-weight: 600; }
.legal-language-no-match { color: var(--text-2); font-size: 15px; }

.legal-layout {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(72px, 10vw, 120px);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 80px;
  display: grid;
  gap: 2px;
  max-height: calc(100vh - 100px);
  overflow: auto;
  font-size: 15px;
}
.legal-toc strong { font-size: 13px; color: var(--text-2); margin-bottom: 8px; font-weight: 600; }
.legal-toc a { color: var(--text-2); text-decoration: none; padding: 5px 0; line-height: 1.35; }
.legal-toc a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc {
    position: static;
    max-height: none;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--bg-2);
  }
}

.legal-document { max-width: 72ch; min-width: 0; }
.legal-document section { padding-top: 8px; }
.legal-document section + section { margin-top: 40px; }
.legal-document h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
.legal-document h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.3; margin: 24px 0 8px; }
.legal-document p,
.legal-document li { color: var(--text); }
.legal-document p + p { margin-top: 14px; }
.legal-document ul,
.legal-document ol { margin: 14px 0; padding-left: 1.4em; }
.legal-document li + li { margin-top: 8px; }
.legal-document a { font-weight: 500; overflow-wrap: anywhere; }
.legal-callout {
  margin-bottom: 40px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border-left: 4px solid var(--gold);
}

.data-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.data-table th,
.data-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.data-table th { font-weight: 600; color: var(--text-2); font-size: 13px; }
.data-table td:first-child { font-weight: 600; min-width: 150px; }
.table-scroll { overflow-x: auto; }

/* Support and guardian cards */
.support-grid {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.support-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.support-card .eyebrow { margin-bottom: 0; }
.support-card h2 { font-size: 22px; letter-spacing: -0.015em; line-height: 1.25; }
.support-card p { color: var(--text-2); }
.support-card > a:last-child { margin-top: auto; padding-top: 8px; font-weight: 600; }
.shell > .support-grid { padding: 0; }

/* Older home-page blocks still used on support / safety pages */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature-card,
.access-card,
.principle { padding: 24px; border-radius: var(--radius); background: var(--bg-2); }
.feature-card h3,
.access-card h3 { font-size: 21px; line-height: 1.25; margin: 6px 0 8px; }
.feature-card p,
.access-card p,
.principle p { color: var(--text-2); }
.feature-index { font-size: 13px; font-weight: 600; color: var(--text-2); }
.warning-box { padding: 16px 20px; border-radius: var(--radius); background: var(--bg-2); border-left: 4px solid var(--gold); }

/* 404 */
.error-page { text-align: center; padding-block: clamp(96px, 16vw, 200px); }
.error-page p:not(.eyebrow) { margin: 16px auto 0; color: var(--text-2); max-width: 40ch; font-size: 19px; }
.error-page .hero-actions { margin-top: 32px; }

/* ----------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 40px 32px;
  font-size: 15px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 48px;
}
.footer-copy { margin-top: 8px; color: var(--text-2); max-width: 36ch; }
.site-footer .brand img { box-shadow: 0 0 0 1.5px var(--gold); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 0 40px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--text-2);
  text-decoration: none;
}
.footer-links a:hover,
.footer-links a[aria-current="page"] { color: var(--text); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
}
.footer-bottom a { color: inherit; }
@media (max-width: 520px) { .footer-links { grid-template-columns: 1fr 1fr; gap: 0 20px; } }

/* ----------------------------------------------------------- preferences */

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

@media (prefers-contrast: more) {
  :root { --text-2: #2c2c30; --line: rgba(0, 0, 0, 0.4); --line-strong: rgba(0, 0, 0, 0.7); }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root { --text-2: #d8d8de; --line: rgba(255, 255, 255, 0.45); --line-strong: rgba(255, 255, 255, 0.75); }
}

@media (forced-colors: active) {
  .button-primary, .primary-button { border: 2px solid ButtonText; }
}

@media print {
  .site-header, .site-footer, .legal-toc, .legal-app-summary, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .legal-layout { display: block; padding: 0; }
  .legal-document { max-width: none; }
  a { color: #000; }
}

.error-page { min-height: calc(100vh - 260px); display: flex; flex-direction: column; justify-content: center; }
