/* Common Source — landing styles
   Tokens follow the handover source of truth (light + dark).
   Component vocabulary mirrors the in-app system. */

:root {
  color-scheme: light;

  /* Page chrome */
  --page-bg: #FAFAFA;
  --page-surface: #FFFFFF;
  --page-border: #E5E5E5;
  --page-ink: #1A1A1A;
  --page-muted: #999999;

  /* App canvas (device frame contents) */
  --canvas: #F2A93B;
  --card: #FFFFFF;
  --ink: #1A1A1A;
  --muted: #777777;
  --hairline: rgba(0,0,0,0.08);

  /* Brand */
  --orange: #F2A93B;
  --on-orange: #FFFFFF;
  --orange-soft-bg: rgba(242,169,59,0.12);
  --orange-soft-border: rgba(242,169,59,0.35);

  /* Fields */
  --field-bg: #FFFFFF;
  --field-border: #E5E5E5;
  --field-text: #1A1A1A;

  /* Dividers */
  --divider: #F2F2F2;
  --soft-divider: #F0F0F0;
  --rule: #EEEEEE;

  /* Chips / segmented control */
  --chip-bg: #F0F0F0;
  --chip-active-bg: #FFFFFF;
  --chip-fg: #1A1A1A;
  --chip-active-fg: #1A1A1A;
  --chip-shadow: 0 1px 2px rgba(0,0,0,0.1);

  /* Special surfaces */
  --phrase-bg: #FFFBF0;
  --phrase-border: #F0E0BC;
  --warn-bg: rgba(255,255,255,0.85);
  --warn-border: #FF9800;
  --warn-text: #7A4A00;
  --danger: #FF3B30;
  --danger-border: rgba(255,59,48,0.25);

  /* Controls */
  --toggle-off-bg: #D1D1D6;
  --disabled-bg: rgba(0,0,0,0.10);
  --disabled-fg: rgba(0,0,0,0.32);

  /* Shadows */
  --shadow-frame: 0 2px 12px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.06);
  --logo-filter: none;

  /* Fonts */
  --font-serif: "Lora", Georgia, serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* Dark via OS preference (unless explicitly light) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page-bg: #0E0A06;
    --page-surface: #1A130C;
    --page-border: rgba(255,255,255,0.06);
    --page-ink: #F0E8DC;
    --page-muted: #8A8175;

    --canvas: #1A130C;
    --card: #2A2118;
    --ink: #F0E8DC;
    --muted: #8A8175;
    --hairline: rgba(255,255,255,0.07);

    --orange: #E8973F;
    --on-orange: #FFFFFF;
    --orange-soft-bg: rgba(232,151,63,0.10);
    --orange-soft-border: rgba(232,151,63,0.45);

    --field-bg: rgba(0,0,0,0.25);
    --field-border: rgba(255,255,255,0.12);
    --field-text: #F0E8DC;

    --divider: rgba(255,255,255,0.07);
    --soft-divider: rgba(255,255,255,0.05);
    --rule: rgba(255,255,255,0.10);

    --chip-bg: #332A20;
    --chip-active-bg: #E8973F;
    --chip-fg: #F0E8DC;
    --chip-active-fg: #1A1A1A;
    --chip-shadow: 0 1px 2px rgba(0,0,0,0.3);

    --phrase-bg: rgba(232,151,63,0.08);
    --phrase-border: rgba(232,151,63,0.35);

    --warn-bg: rgba(255,152,0,0.08);
    --warn-border: rgba(255,152,0,0.5);
    --warn-text: #FFB840;

    --danger: #FF6B5E;
    --danger-border: rgba(255,107,94,0.28);

    --toggle-off-bg: #48413A;
    --disabled-bg: rgba(255,255,255,0.08);
    --disabled-fg: rgba(255,255,255,0.32);

    --shadow-frame: 0 4px 24px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
    --logo-filter: brightness(0) invert(1);
  }
}

/* Explicit dark override */
:root[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #0E0A06;
  --page-surface: #1A130C;
  --page-border: rgba(255,255,255,0.06);
  --page-ink: #F0E8DC;
  --page-muted: #8A8175;
  --canvas: #1A130C;
  --card: #2A2118;
  --ink: #F0E8DC;
  --muted: #8A8175;
  --hairline: rgba(255,255,255,0.07);
  --orange: #E8973F;
  --on-orange: #FFFFFF;
  --orange-soft-bg: rgba(232,151,63,0.10);
  --orange-soft-border: rgba(232,151,63,0.45);
  --field-bg: rgba(0,0,0,0.25);
  --field-border: rgba(255,255,255,0.12);
  --field-text: #F0E8DC;
  --divider: rgba(255,255,255,0.07);
  --soft-divider: rgba(255,255,255,0.05);
  --rule: rgba(255,255,255,0.10);
  --chip-bg: #332A20;
  --chip-active-bg: #E8973F;
  --chip-fg: #F0E8DC;
  --chip-active-fg: #1A1A1A;
  --chip-shadow: 0 1px 2px rgba(0,0,0,0.3);
  --phrase-bg: rgba(232,151,63,0.08);
  --phrase-border: rgba(232,151,63,0.35);
  --warn-bg: rgba(255,152,0,0.08);
  --warn-border: rgba(255,152,0,0.5);
  --warn-text: #FFB840;
  --danger: #FF6B5E;
  --danger-border: rgba(255,107,94,0.28);
  --toggle-off-bg: #48413A;
  --disabled-bg: rgba(255,255,255,0.08);
  --disabled-fg: rgba(255,255,255,0.32);
  --shadow-frame: 0 4px 24px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  --logo-filter: brightness(0) invert(1);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html, body {
  background: var(--page-bg);
  color: var(--page-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
}

/* Smooth in-page anchor scrolling + offset so the sticky nav doesn't clip targets */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
section[id], #download { scroll-margin-top: 80px; }

::selection { background: var(--orange-soft-bg); color: var(--page-ink); }

/* ---------- Type ---------- */
.font-serif { font-family: var(--font-serif); }
.font-mono  { font-family: var(--font-mono); }

.h-display {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.98; letter-spacing: -0.022em;
  color: var(--page-ink);
}
.h-section {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.85rem, 3.4vw, 2.25rem);
  line-height: 1.1; letter-spacing: -0.014em;
  color: var(--page-ink);
}
.h-card {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.375rem; letter-spacing: -0.009em;
  color: var(--page-ink);
}
.lede {
  font-size: 1.1875rem; line-height: 1.5; color: var(--page-muted);
  font-weight: 400;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; font-weight: 600;
  color: var(--orange);
}
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0; }

em { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600;
  border-radius: 10px;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border: 1.5px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange); color: var(--on-orange);
  padding: 13px 18px;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary {
  background: var(--card); color: var(--orange);
  border-color: var(--orange);
  padding: 11.5px 16px;
}
.btn-secondary:hover { background: var(--orange-soft-bg); }
.btn-tertiary {
  color: var(--orange); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  font-size: 13px;
}
.btn[disabled] { background: var(--disabled-bg); color: var(--disabled-fg); pointer-events: none; }

/* ---------- Store badges ----------
   Dark pill on light surfaces; an inverted "on-orange" variant for the CTA band.
   Custom-tailored to the Common Source system — 10px radius, DM Sans, matched
   line-height with the rest of the button vocabulary so they sit next to a
   filled-orange CTA without breaking hierarchy. */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 14px;
  background: #0E0A06;
  color: #fff;
  border-radius: 10px;
  border: 1px solid #0E0A06;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.18s ease;
  min-width: 168px;
  font-family: var(--font-sans);
}
.store-badge:hover { transform: translateY(-1px); background: #1a1a1a; }
.store-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge .sb-small {
  font-size: 10px; opacity: 0.8; letter-spacing: 0.04em;
  line-height: 1; margin-bottom: 3px;
}
.store-badge .sb-big {
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.05;
}

/* Inverted variant for use on the orange CTA band */
.store-badge--on-orange {
  background: #1A1A1A;
  border-color: rgba(0,0,0,0.15);
  color: #fff;
}
.store-badge--on-orange:hover { background: #000; }

/* Disabled "coming soon" state (e.g. iOS not yet live) */
.store-badge--soon {
  opacity: 0.6;
  pointer-events: none;
  cursor: default;
}
.store-badge--soon:hover { transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  background: color-mix(in srgb, var(--page-bg) 78%, transparent);
  border-bottom: 1px solid var(--page-border);
}
.nav .nav-link { color: var(--page-ink); font-size: 14px; opacity: 0.78; }
.nav .nav-link:hover { opacity: 1; }

.logo-mark { height: 36px; width: auto; filter: var(--logo-filter); }
.logo-mark-sm { height: 28px; width: auto; filter: var(--logo-filter); }

/* ---------- Theme toggle ---------- */
.theme-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--page-border);
  background: var(--page-surface);
  color: var(--page-muted);
  display: grid; place-items: center;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.theme-btn:hover { color: var(--page-ink); border-color: var(--orange-soft-border); }
.theme-icon { display: none; }
:root[data-active-theme="light"] .theme-icon--light { display: block; }
:root[data-active-theme="dark"] .theme-icon--dark { display: block; }

/* ---------- Card ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 20px;
}

/* ---------- Feature card (principles) ---------- */
.feature-card {
  background: var(--page-surface);
  border: 1px solid var(--page-border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange-soft-border);
}
.feature-num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--page-muted); letter-spacing: 0.04em;
}
.feature-tile {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--orange-soft-bg);
  color: var(--orange);
  display: grid; place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--orange-soft-border);
}

/* ---------- Inputs ---------- */
.input, .textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--field-bg);
  font-size: 14px;
  color: var(--field-text);
  font-family: var(--font-sans);
}
.input:focus, .textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft-bg);
}
.label {
  display: block; font-size: 13px; font-weight: 500;
  margin-bottom: 6px; color: var(--page-ink);
}

/* ---------- Callouts ---------- */
.callout-soft {
  background: var(--orange-soft-bg);
  border: 1px solid var(--orange-soft-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--page-ink);
}
.callout-warn {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--warn-text);
}

/* ---------- Segmented chip ---------- */
.chip-group {
  background: var(--chip-bg);
  border-radius: 8px;
  padding: 2px;
  display: inline-flex; gap: 2px;
}
.chip {
  padding: 4px 12px;
  font-size: 12px; font-weight: 500;
  color: var(--chip-fg);
  border-radius: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
}
.chip[aria-pressed="true"] {
  background: var(--chip-active-bg);
  color: var(--chip-active-fg);
  box-shadow: var(--chip-shadow);
}

/* ---------- Screenshot (bezel baked in) ---------- */
.screen-shot {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 30px 60px rgba(20, 15, 5, 0.28))
    drop-shadow(0 12px 24px rgba(20, 15, 5, 0.18));
}

/* ---------- Phone mockup (CSS only) ----------
   The phone interior is a marketing screenshot of the *app* — it stays in its
   own light treatment regardless of the page theme, so the screens read like
   real device captures even when the surrounding landing page is dark. */
.phone-mock {
  /* Force light-treatment tokens inside every device frame. */
  --canvas: #F2A93B;
  --card: #FFFFFF;
  --ink: #1A1A1A;
  --muted: #777777;
  --hairline: rgba(0,0,0,0.08);
  --orange: #F2A93B;
  --on-orange: #FFFFFF;
  --orange-soft-bg: rgba(242,169,59,0.12);
  --orange-soft-border: rgba(242,169,59,0.35);
  --phrase-bg: #FFFBF0;
  --phrase-border: #F0E0BC;
  --logo-filter: none;
}
.phone-mock {
  display: inline-block;
  position: relative;
  padding: 10px;
  background: #0a0a0a;
  border-radius: 14% / 6.5%;
  box-shadow:
    0 50px 100px -30px rgba(20, 15, 5, 0.55),
    0 25px 50px -20px rgba(20, 15, 5, 0.4),
    0 0 0 0.5px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 320px;
}
.phone-screen {
  background: var(--canvas);
  border-radius: 11% / 5.5%;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  position: relative;
}
.phone-mock .btn-power,
.phone-mock .btn-vol {
  position: absolute; width: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, #2a2a2a 0%, #0a0a0a 50%, #1a1a1a 100%);
  z-index: 0;
}
.phone-mock .btn-power { right: -2px; top: 23%; height: 13%; }
.phone-mock .btn-vol { left: -2px; background: linear-gradient(to left, #2a2a2a 0%, #0a0a0a 50%, #1a1a1a 100%); }
.phone-mock .btn-vol.v1 { top: 10%; height: 3.5%; }
.phone-mock .btn-vol.v2 { top: 17%; height: 8%; }
.phone-mock .btn-vol.v3 { top: 27%; height: 8%; }

/* iOS-style status bar inside the phone */
.ios-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 6px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  color: #1A1A1A;
}
.ios-statusbar .right { display: inline-flex; gap: 5px; align-items: center; }
.ios-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 22px; border-radius: 999px; background: #0a0a0a;
  z-index: 2;
}

/* ---------- Hero phone composite (renders the welcome screen with CSS) ---------- */
.cs-welcome {
  background: var(--canvas);
  height: 100%; width: 100%;
  display: flex; flex-direction: column;
  color: var(--ink);
}
.cs-welcome .cs-hero {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 24px;
  text-align: center;
}
.cs-welcome .cs-mark {
  width: 130px; height: 130px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.cs-welcome .cs-mark img { width: 100%; height: auto; display: block; }
.cs-welcome h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 24px; line-height: 1.15; letter-spacing: -0.01em;
  color: #1A1A1A; margin: 0 0 6px;
}
.cs-welcome p {
  font-size: 13.5px; line-height: 1.5; color: #3a2c10;
  max-width: 240px; margin: 0;
}
.cs-welcome .cs-actions {
  padding: 16px 20px 24px;
  display: flex; flex-direction: column; gap: 10px;
  background: #ffffff;
  border-top-left-radius: 18px; border-top-right-radius: 18px;
}
.cs-welcome .cs-btn-primary {
  background: #1A1A1A; color: #fff;
  padding: 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-align: center;
}
.cs-welcome .cs-btn-secondary {
  background: #fff; color: #1A1A1A;
  padding: 13px; border-radius: 10px;
  font-size: 14px; font-weight: 500; text-align: center;
  border: 1px solid #E5E5E5;
}
.cs-welcome .cs-foot {
  font-size: 11px; color: #777; text-align: center; margin-top: 4px;
}

/* Generic "screen frame" for steps row: top bar + content slot */
.app-frame {
  height: 100%; width: 100%;
  background: #fff;
  color: var(--ink);
  display: flex; flex-direction: column;
}
.app-frame .ab-top {
  padding: 56px 18px 12px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--canvas);
  color: #1A1A1A;
}
.app-frame .ab-top .ab-title {
  font-family: var(--font-serif); font-weight: 500; font-size: 17px;
}
.app-frame .ab-body { padding: 18px 16px; flex: 1; }
.app-frame .ab-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--hairline);
  font-size: 13px;
}
.app-frame .ab-row:last-child { border-bottom: 0; }
.app-frame .ab-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--orange-soft-bg);
  border: 1px solid var(--orange-soft-border);
  display: grid; place-items: center;
  color: var(--orange); font-weight: 600; font-size: 11px;
}
.app-frame .ab-phrase {
  background: var(--phrase-bg);
  border: 1px solid var(--phrase-border);
  border-radius: 10px; padding: 14px;
  font-family: var(--font-mono); font-size: 11.5px;
  line-height: 1.9; color: #1A1A1A;
  word-spacing: 6px;
}
.app-frame .ab-callout {
  background: var(--orange-soft-bg);
  border: 1px solid var(--orange-soft-border);
  border-radius: 10px; padding: 10px 12px;
  font-size: 11px; color: #1A1A1A; margin-top: 12px;
}
.app-frame .ab-cta {
  background: var(--orange); color: var(--on-orange);
  padding: 12px; border-radius: 10px;
  font-size: 13px; font-weight: 600; text-align: center;
  margin-top: 14px;
}

/* ---------- Animations ---------- */
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-soft { animation: float-soft 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .float-soft { animation: none; }
}

/* ---------- Networks grid ---------- */
.net-card {
  background: var(--page-surface);
  border: 1px solid var(--page-border);
  border-radius: 12px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.net-card:hover { border-color: var(--orange-soft-border); transform: translateY(-2px); }
.net-avatar {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 600;
  color: #fff; font-size: 18px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.net-avatar--logo {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--page-border);
  padding: 5px;
  overflow: hidden;
}
.net-avatar--logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.net-card h3 {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 15px; color: var(--page-ink); margin: 0;
}
.net-card p { font-size: 13px; color: var(--page-muted); margin: 0; }
.net-card .net-tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--page-muted);
  letter-spacing: 0.02em;
}

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--page-border);
  padding: 18px 0;
}
.faq details:first-child { border-top: 1px solid var(--page-border); }
.faq summary {
  font-family: var(--font-sans); font-weight: 500; font-size: 16px;
  color: var(--page-ink);
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 18px;
  color: var(--page-muted); transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-body {
  margin-top: 10px;
  color: var(--page-muted);
  font-size: 14.5px; line-height: 1.6;
  max-width: 64ch;
}

/* ---------- CTA band (orange take-it-with-you section) ---------- */
.cta-band {
  background: var(--orange);
  color: var(--on-orange);
  border-radius: 18px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .cta-band { padding: 32px 24px; border-radius: 14px; } }
.cta-band h2 { color: var(--on-orange); }
.cta-band .eyebrow { color: var(--on-orange); opacity: 0.85; }
.cta-band .lede { color: var(--on-orange); opacity: 0.9; }

/* ---------- Footer ---------- */
.footer {
  background: #0E0A06;
  color: #F0E8DC;
  border-top: 1px solid var(--page-border);
}
.footer a { color: rgba(240,232,220,0.75); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .ft-label { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; color: rgba(240,232,220,0.5); }
.footer .ft-divider { border-color: rgba(255,255,255,0.08); }
.footer .logo-mark { filter: brightness(0) invert(1); }

/* Theme chips inside the (always-dark) footer get a footer-scoped palette so
   inactive labels read on the dark surface. The pressed chip flips to the
   light card surface with dark text, matching the chip pattern elsewhere. */
.footer .chip-group { background: rgba(255,255,255,0.08); }
.footer .chip { color: rgba(240,232,220,0.78); }
.footer .chip:hover { color: #fff; }
.footer .chip[aria-pressed="true"] {
  background: #F0E8DC;
  color: #1A1A1A;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ---------- Policy prose ---------- */
.prose-policy h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  letter-spacing: -0.02em; line-height: 1.05;
  color: var(--page-ink);
}
.prose-policy h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem;
  margin-top: 2.5rem; margin-bottom: 0.5rem; color: var(--page-ink);
  letter-spacing: -0.01em;
}
.prose-policy h3 {
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--orange); margin-top: 2rem; margin-bottom: 0.5rem; font-weight: 600;
}
.prose-policy p {
  color: var(--page-ink); margin-bottom: 1rem; max-width: 65ch;
  font-size: 15px; line-height: 1.65;
}
.prose-policy ul { margin: 0.75rem 0 1.25rem 1.25rem; }
.prose-policy ul li { margin-bottom: 0.4rem; color: var(--page-ink); list-style: disc; }
.prose-policy a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose-policy hr { border: 0; border-top: 1px solid var(--page-border); margin: 2.5rem 0; }
.prose-policy .meta { color: var(--page-muted); font-size: 14px; }

/* ---------- Helpers ---------- */
.hair-divider { height: 1px; background: var(--page-border); width: 100%; }
.text-muted { color: var(--page-muted); }
.bg-surface { background: var(--page-surface); }
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.col-body { max-width: 640px; }
