/* ==========================================================================
   Pinit Rider — Legal document stylesheet
   Shared by: privacy-notice.html, code-of-conduct.html, terms-of-use.html
   Self-contained: no external fonts/CDNs (safe for offline app WebViews).
   ========================================================================== */

:root {
  /* Brand palette — swap these to match final Pinit brand tokens */
  --color-primary: #7a1f3d;      /* deep maroon */
  --color-primary-dark: #5a1630;
  --color-primary-tint: #fbeef1;
  --color-accent: #b9862b;       /* warm gold */
  --color-accent-tint: #fbf3e2;

  --color-bg: #faf8f6;
  --color-surface: #ffffff;
  --color-surface-2: #f4f1ee;
  --color-text: #241b1f;
  --color-text-muted: #6b5c62;
  --color-border: #e7dfe1;

  --color-warn-bg: #fff7e6;
  --color-warn-border: #e8b93a;
  --color-warn-text: #5c4a10;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(36, 27, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(36, 27, 31, 0.08);
  --header-h: 60px;
  --max-w: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #e07a9a;
    --color-primary-dark: #f0a3bb;
    --color-primary-tint: #33202a;
    --color-accent: #d9ab5c;
    --color-accent-tint: #35301f;

    --color-bg: #17141a;
    --color-surface: #1f1a20;
    --color-surface-2: #262027;
    --color-text: #f1ebee;
    --color-text-muted: #b7a9b0;
    --color-border: #362d33;

    --color-warn-bg: #2e2712;
    --color-warn-border: #7a5e1f;
    --color-warn-text: #f0d896;
  }
}

/* Explicit theme overrides, for app shells that stamp a data-theme attribute */
:root[data-theme="dark"] {
  --color-primary: #e07a9a;
  --color-primary-dark: #f0a3bb;
  --color-primary-tint: #33202a;
  --color-accent: #d9ab5c;
  --color-accent-tint: #35301f;
  --color-bg: #17141a;
  --color-surface: #1f1a20;
  --color-surface-2: #262027;
  --color-text: #f1ebee;
  --color-text-muted: #b7a9b0;
  --color-border: #362d33;
  --color-warn-bg: #2e2712;
  --color-warn-border: #7a5e1f;
  --color-warn-text: #f0d896;
}
:root[data-theme="light"] {
  --color-primary: #7a1f3d;
  --color-primary-dark: #5a1630;
  --color-primary-tint: #fbeef1;
  --color-accent: #b9862b;
  --color-accent-tint: #fbf3e2;
  --color-bg: #faf8f6;
  --color-surface: #ffffff;
  --color-surface-2: #f4f1ee;
  --color-text: #241b1f;
  --color-text-muted: #6b5c62;
  --color-border: #e7dfe1;
  --color-warn-bg: #fff7e6;
  --color-warn-border: #e8b93a;
  --color-warn-text: #5c4a10;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  flex: none;
}
.brand__name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.brand__sub {
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 6px;
  font-size: 14px;
}

.toc-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.toc-toggle__icon {
  width: 14px;
  height: 10px;
  position: relative;
  display: inline-block;
}
.toc-toggle__icon,
.toc-toggle__icon::before,
.toc-toggle__icon::after {
  border-top: 2px solid currentColor;
}
.toc-toggle__icon::before,
.toc-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.toc-toggle__icon::before { top: 4px; }
.toc-toggle__icon::after { top: 8px; }

/* ---------- Hero ---------- */
.doc-hero {
  background:
    radial-gradient(1200px 300px at 15% -20%, var(--color-primary-tint), transparent),
    var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.doc-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px 28px;
}
.doc-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.doc-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.doc-hero__meta {
  margin: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.doc-nav {
  display: inline-flex;
  gap: 6px;
  background: var(--color-surface-2);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}
.doc-nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.doc-nav__link--active {
  background: var(--color-primary);
  color: #fff;
}
.doc-nav__link:not(.doc-nav__link--active):hover {
  color: var(--color-text);
}

/* ---------- Layout ---------- */
.layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 20px 80px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.toc-panel__inner {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
}
.toc-panel__title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.toc-list > li {
  margin-bottom: 2px;
}
.toc-list a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 13.5px;
  line-height: 1.4;
}
.toc-list a:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}
.toc-list a.active {
  background: var(--color-primary-tint);
  color: var(--color-primary);
  font-weight: 600;
}
.toc-sublist {
  list-style: none;
  margin: 0 0 4px;
  padding: 0 0 0 14px;
}
.toc-sublist a {
  font-size: 12.5px;
  padding: 5px 10px;
}

/* ---------- Content ---------- */
.doc-content {
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 8px 36px 40px;
  box-shadow: var(--shadow-sm);
}

.doc-section {
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  margin-top: 28px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.doc-section:first-child {
  border-top: none;
  margin-top: 8px;
  padding-top: 20px;
}

.doc-content h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--color-text);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.doc-content h3 {
  font-size: 16.5px;
  margin: 26px 0 10px;
  color: var(--color-primary);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.doc-content p {
  margin: 0 0 14px;
  color: var(--color-text);
}
.doc-content p.lead {
  font-size: 16.5px;
  color: var(--color-text-muted);
  border-left: 3px solid var(--color-accent);
  padding-left: 16px;
  margin: 0 0 18px;
}
.doc-content ul {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
.doc-content ul li {
  position: relative;
  padding: 5px 0 5px 24px;
  margin-bottom: 4px;
}
.doc-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.doc-content strong { color: var(--color-text); font-weight: 700; }

mark.ph {
  background: var(--color-accent-tint);
  color: var(--color-warn-text);
  border: 1px dashed var(--color-accent);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
  font-size: 0.95em;
}

.draft-note {
  background: var(--color-warn-bg);
  border: 1px solid var(--color-warn-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 0 0 20px;
}
.draft-note p {
  margin: 0;
  color: var(--color-warn-text);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 480px;
}
thead th {
  text-align: left;
  background: var(--color-surface-2);
  color: var(--color-text);
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  color: var(--color-text);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--color-surface-2) 45%, transparent); }

/* Stacked "card" tables on narrow screens */
@media (max-width: 640px) {
  .table-wrap { border: none; overflow: visible; }
  table, thead, tbody, th, td, tr { display: block; width: 100%; }
  table { min-width: 0; }
  thead { display: none; }
  tbody tr {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    padding: 4px 0;
  }
  tbody tr:nth-child(odd) { background: var(--color-surface); }
  tbody td {
    display: flex;
    gap: 10px;
    border-bottom: 1px dashed var(--color-border);
    padding: 10px 14px;
  }
  tbody tr td:last-child { border-bottom: none; }
  tbody td::before {
    content: attr(data-label);
    flex: 0 0 40%;
    font-weight: 700;
    color: var(--color-text-muted);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 18px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
}
.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 20px 40px;
}
.site-footer__brand {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
}
.site-footer p {
  color: var(--color-text-muted);
  font-size: 13.5px;
  max-width: 640px;
  margin: 0 0 14px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 14px;
}
.site-footer__links a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
}
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__contact a { color: var(--color-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }
  .toc-toggle { display: inline-flex; }
  .toc-panel {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 39;
    background: rgba(0, 0, 0, 0.35);
    padding: 16px;
  }
  .toc-panel.open { display: block; }
  .toc-panel__inner {
    position: static;
    max-height: calc(100vh - var(--header-h) - 32px);
    box-shadow: var(--shadow-md);
  }
  .doc-content { padding: 4px 20px 28px; }
}

@media (max-width: 520px) {
  .doc-hero__inner { padding: 28px 16px 22px; }
  .layout { padding: 16px 16px 60px; gap: 20px; }
  .doc-content { padding: 4px 16px 24px; border-radius: var(--radius-md); }
  .site-header__inner { padding: 0 16px; }
  .doc-nav { flex-wrap: wrap; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .toc-panel, .back-to-top, .site-footer, .toc-toggle, .doc-nav { display: none !important; }
  .layout { display: block; padding: 0; }
  .doc-content { border: none; box-shadow: none; padding: 0; }
  .doc-hero { background: none; border: none; }
  a { color: inherit; text-decoration: none; }
  body { background: #fff; }
}

/* =======================================================================
   Rider marketing site (index.html)
   Shares the tokens above so the landing page and the three legal
   documents read as one site. Everything below is additive — the legal
   pages keep working untouched.
   ======================================================================= */

.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;
}

/* ---------- Shared header: nav + store badges ---------- */
.site-header__inner--wide { gap: 24px; }

/* The logo file is already a maroon rounded tile with the wordmark baked in,
   so the brand mark drops its own background and just frames the image. */
.brand__mark {
  overflow: hidden;
  padding: 0;
  background: none;
  width: 38px;
  height: 38px;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--color-primary); }
.main-nav a.is-active { color: var(--color-primary); font-weight: 600; }

.store-row { display: flex; gap: 10px; flex-wrap: wrap; }
.store-row--center { justify-content: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  background: #000;
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  border: 1px solid #000;
}
.store-badge:hover { opacity: 0.88; }
.store-badge__logo { width: 20px; height: 20px; flex: none; }
.store-badge__text { display: flex; flex-direction: column; }
.store-badge__sub { font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.store-badge__name { font-size: 14px; font-weight: 700; }
.store-row--sm .store-badge { padding: 5px 12px; }
.store-row--sm .store-badge__logo { width: 17px; height: 17px; }
.store-row--sm .store-badge__name { font-size: 12.5px; }

.nav-toggle {
  display: none;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 40px; height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__icon { width: 16px; height: 12px; position: relative; display: inline-block; }
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after { border-top: 2px solid currentColor; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; }
.nav-toggle__icon::before { top: 4px; }
.nav-toggle__icon::after { top: 9px; }

/* ---------- Hero ----------
   img/hero-rider.png is a flattened export with its own headline/lead/badges
   already baked in (see the markup comment above the .hero section) — it
   renders full-width at its native aspect ratio, no HTML text drawn over it. */
.hero {
  background: var(--color-primary-dark); /* shows while the image loads / if it 404s */
  line-height: 0; /* collapses the inline-image gap under the <img> */
}
.hero__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Generic marketing section ---------- */
.section { background: #fff; }
.section--alt { background: #f5f5f7; }
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 20px;
}
.section__inner--narrow { max-width: 820px; }
.section__head { text-align: center; margin-bottom: 40px; }
.section__head h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 34px);
  color: #1d1d1f;
  margin: 0 0 10px;
}
.section__sub {
  color: var(--color-text-muted);
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Feature cards ---------- */
.card-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 22px;
}
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #fdf0ee;
  margin-bottom: 14px;
}
.feature-card__icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: #c0392b;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.feature-card p { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* ---------- You bring / We provide ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.split__panel {
  background: #f5f5f7;
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.split__title {
  font-weight: 700;
  font-size: 20px;
  color: #1d1d1f;
  margin: 0 0 18px;
}
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--color-text);
}
.check-list li svg {
  flex: none;
  width: 38px; height: 38px;
  padding: 9px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #fff;
  fill: none;
  stroke: #c0392b;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Testimonials ---------- */
.quote-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.quote-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.quote-card::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: #c0392b;
  display: block;
  margin-bottom: 12px;
}
.quote-card__text {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.quote-card__by { margin: 0; font-size: 13px; display: flex; flex-direction: column; }
.quote-card__by strong { font-size: 13.5px; }
.quote-card__by span { color: var(--color-text-muted); }

/* ---------- FAQ ----------
   Flat hairline-separated rows, not bordered/shadowed cards — Figma runs
   these as a plain list under the "FAQ's" heading, first item open. */
.faq { border-top: 1px solid var(--color-border); }
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__item summary {
  cursor: pointer;
  padding: 22px 30px 22px 0;
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
  position: relative;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #c0392b;
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__body { padding: 0 30px 22px 0; }
.faq__body p {
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 10px;
}
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- Closing CTA ---------- */
.cta {
  background: #f5f5f7;
  text-align: center;
}
.cta__inner { max-width: 720px; margin: 0 auto; padding: 64px 20px 68px; }
.cta__inner h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 12px;
  color: #1d1d1f;
}
.cta__inner p { color: var(--color-text-muted); margin: 0 0 26px; font-size: 15.5px; }

/* ---------- Footer: 4-column variant ---------- */
.site-footer__cols {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
}
.site-footer__col p, .site-footer__col ul { max-width: none; }
.site-footer__col-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px !important;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer__col a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 13.5px;
}
.site-footer__col a:hover { color: var(--color-primary); text-decoration: underline; }
.site-footer__bar {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer__bar p { margin: 0; font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { padding: 60px 20px 68px; }
  .card-grid, .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .site-header__inner--wide .store-row--sm { display: none; }
  .site-header__inner--wide .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 8px 20px 14px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--color-border); font-size: 15px; }
  .main-nav a:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .section__inner { padding: 52px 20px; }
  .card-grid, .quote-grid, .split { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .site-footer__bar { flex-direction: column; }
}
