/* ============================================================
   Bribe — marketing site
   Brand source of truth: docs/brand/BRAND_GUIDELINES.md
   Identity: The Exchange — Wine + Champagne + Warm Cream + Ink.
   ------------------------------------------------------------
   - Wine is structural; Champagne is the metal accent, never a fill.
   - Ink for body. Never pure black on Cream.
   - Numbers use tabular-nums. Money lines up.
   - The Exchange mark appears once per screen as the brand signature.
   - Token names retained (--emerald, --gold) so existing class rules keep
     working — only the *values* changed. The names describe role, not hue.
   ============================================================ */

:root {
  /* primary — Wine + Champagne (was Emerald + Reward Gold) */
  --emerald: #5E1F26;       /* Wine */
  --emerald-700: #4a181e;   /* Wine darker */
  --emerald-800: #3F1218;   /* Wine Deep — the lens/overlap */
  --gold: #D4B284;          /* Champagne */
  --gold-soft: rgba(212, 178, 132, 0.18);

  /* neutrals — warmer than before */
  --cream: #F4ECDE;
  --cream-2: #EAE0CD;
  --ink: #1B1614;
  --ink-2: #2A2220;
  --slate: #6E625A;
  --mist: #E3DCD0;

  /* semantic */
  --info: #5F7785;
  --warning: #C97A1F;

  /* layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --border: 1px solid var(--mist);

  /* type */
  --font-sans: "Inter", "Inter Display", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", system-ui, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@supports (font-variation-settings: normal) {
  :root { --font-sans: "Inter var", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
}

/* ──────────── reset ──────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0 0 0.4em; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0 0 1em; }
a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
code, pre { font-family: var(--font-mono); font-feature-settings: "calt" 0; }
em { font-style: normal; color: var(--emerald); }
strong { font-weight: 600; }

.num { font-feature-settings: "tnum" 1; font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: -9999px;
  padding: 8px 14px; background: var(--ink); color: var(--cream);
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 12px; top: 12px; z-index: 99; }

/* ──────────── container ──────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ──────────── type scale ──────────── */
/* Display headlines use Fraunces italic — the Exchange brand voice.
   Italic at display size carries warmth without resorting to ornament. */
.display-xxl {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.6rem, 5.4vw + 1rem, 5rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}
.display-lg {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(1.85rem, 2.4vw + 1rem, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.lede { font-size: 1.15rem; color: var(--slate); }
.caption { font-size: 0.85rem; color: var(--slate); }

/* ──────────── eyebrow ──────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold); }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 178, 132, 0.12);
}

/* ──────────── buttons ──────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  font: inherit; font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer; transition: 180ms var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--lg { padding: 14px 24px; font-size: 1rem; border-radius: 8px; }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #f0bf4a; }

.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(244, 236, 222, 0.28); }
.btn--ghost-light:hover { background: rgba(244, 236, 222, 0.08); border-color: rgba(244, 236, 222, 0.5); }

.btn--primary { background: var(--emerald); color: var(--cream); }
.btn--primary:hover { background: var(--emerald-700); }

/* ════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(63, 18, 24, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(244, 236, 222, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: rgba(244, 236, 222, 0.78);
  font-size: 0.92rem; font-weight: 500;
  transition: color 160ms var(--ease);
}
.site-nav a:hover { color: var(--cream); text-decoration: none; }

.header-cta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 880px) {
  .site-nav { display: none; }
}
@media (max-width: 540px) {
  .header-cta .btn--ghost-light { display: none; }
}

/* ──────────── brand lockup ──────────── */
.brand-lockup {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.55rem; letter-spacing: -0.035em;
  text-decoration: none;
}
.brand-lockup:hover { text-decoration: none; }
.brand-lockup__mark svg { display: block; }
.brand-lockup__word { line-height: 1; }
.brand-lockup__i { position: relative; }
.spark {
  transform-origin: center;
  opacity: 0;
  transform: scale(0.4);
}
.ready .spark {
  animation: spark-in 600ms var(--ease) 120ms forwards;
}
@keyframes spark-in {
  0%   { opacity: 0; transform: scale(0.4); }
  60%  { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 25% 0%, #7a2c34 0%, var(--emerald) 35%, var(--emerald-800) 100%);
  color: var(--cream);
  padding: 96px 0 120px;
  isolation: isolate;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 236, 222, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 236, 222, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  z-index: -1;
}
.hero__glow {
  position: absolute;
  top: -180px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 65%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}
.hero__inner { max-width: 920px; }
.hero__lede {
  font-size: clamp(1.05rem, 0.7vw + 1rem, 1.3rem);
  color: rgba(244, 236, 222, 0.82);
  max-width: 720px;
  margin: 0 0 36px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }

/* The "wink" — gold dot floating above the dotless ı in "trying".
   The ı is wrapped in .wink__i so the dot is positioned relative to its letter,
   not the whole word — robust across font sizes, weights, and renderers. */
.wink { position: relative; white-space: nowrap; }
.wink__i {
  position: relative;
  display: inline-block;
}
.wink__dot {
  position: absolute;
  left: 50%;
  top: -0.08em;
  width: 0.18em; height: 0.18em;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0.1em rgba(212, 178, 132, 0.22);
  transform: translateX(-50%) scale(0.3);
  opacity: 0;
}
.ready .wink__dot {
  animation: spark-in-x 700ms var(--ease) 300ms forwards;
}
@keyframes spark-in-x {
  0%   { opacity: 0; transform: translateX(-50%) scale(0.3); }
  60%  { opacity: 1; transform: translateX(-50%) scale(1.2); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid rgba(244, 236, 222, 0.12);
}
.hero__proof li { display: flex; flex-direction: column; gap: 6px; }
.hero__proof strong {
  font-size: clamp(1.8rem, 2.2vw + 0.5rem, 2.6rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1;
}
.hero__proof .unit {
  font-size: 0.55em; font-weight: 600; color: var(--gold); margin-left: 2px;
}
.hero__proof span {
  font-size: 0.88rem; color: rgba(244, 236, 222, 0.7);
  line-height: 1.45;
}
@media (max-width: 760px) {
  .hero { padding: 64px 0 80px; }
  .hero__proof { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ════════════════════════════════════════════════════════════════
   SECTIONS — generic
   ════════════════════════════════════════════════════════════════ */
.section { padding: 104px 0; }
.section--cream { background: var(--cream-2); }
.section--ink {
  background: var(--ink);
  color: var(--cream);
}
.section--ink p { color: rgba(244, 236, 222, 0.78); }
.section--ink em { color: var(--gold); }
.section--ink code {
  background: rgba(244, 236, 222, 0.08);
  color: var(--gold);
  padding: 1px 6px; border-radius: 4px;
  font-size: 0.92em;
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
}

.section__head { max-width: 740px; margin-bottom: 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__sub {
  font-size: 1.1rem;
  color: var(--slate);
  margin-top: 8px;
}
.section__sub--light { color: rgba(244, 236, 222, 0.7); }

.two-up {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) {
  .two-up { grid-template-columns: 1fr; gap: 32px; }
}

/* ════════════════════════════════════════════════════════════════
   STEPS — how it works
   ════════════════════════════════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: ""; position: absolute;
  top: 38px; left: 8%; right: 8%; height: 1px;
  background: repeating-linear-gradient(to right, var(--mist) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step {
  background: var(--cream);
  border: var(--border); border-radius: var(--radius);
  padding: 28px 26px;
  position: relative; z-index: 1;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--emerald); color: var(--cream);
  font-weight: 600; font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0;
  position: relative;
}
.step:first-child .step__num::after {
  /* the gold spark on step 1 — it's where the brand promise lives */
  content: ""; position: absolute;
  top: -2px; right: -2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 178, 132, 0.18);
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--slate); margin: 0; }
.step p strong { color: var(--ink); }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   FEATURE GRID
   ════════════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--cream);
  border: var(--border); border-radius: var(--radius);
  padding: 30px 26px;
  transition: 220ms var(--ease);
  position: relative;
}
.feature:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -28px rgba(27, 22, 20, 0.32);
}
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(94, 31, 38, 0.08);
  color: var(--emerald);
  border-radius: 10px;
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.13rem; margin-bottom: 8px; }
.feature p { color: var(--slate); font-size: 0.96rem; margin: 0; line-height: 1.55; }
.feature p code {
  background: rgba(27, 22, 20, 0.06);
  padding: 1px 5px; border-radius: 4px; font-size: 0.86em;
}

@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   TRUST GRID — "Built like a bank, simple like a tip jar"
   ════════════════════════════════════════════════════════════════ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.trust {
  background: rgba(244, 236, 222, 0.035);
  border: 1px solid rgba(244, 236, 222, 0.09);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: 220ms var(--ease);
}
.trust:hover {
  border-color: rgba(212, 178, 132, 0.4);
  transform: translateY(-2px);
}
.trust__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: rgba(212, 178, 132, 0.12);
  color: var(--gold);
  border-radius: 12px;
  margin-bottom: 20px;
}
.trust h3 {
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 10px;
}
.trust p {
  color: rgba(244, 236, 222, 0.74);
  font-size: 1rem; line-height: 1.6;
  margin: 0;
}

@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust { padding: 26px 22px; }
}

/* ════════════════════════════════════════════════════════════════
   PHONE MOCK — "your name here" notification preview
   Drops into the white-label section in place of the swatch row.
   ════════════════════════════════════════════════════════════════ */
.phone-mock {
  margin: 32px 0 14px;
  padding: 26px 22px;
  background: linear-gradient(160deg, #14322a 0%, var(--ink) 100%);
  border-radius: 26px;
  position: relative;
  box-shadow: 0 22px 50px -28px rgba(27, 22, 20, 0.45);
}
.phone-mock__notch {
  width: 90px; height: 6px; border-radius: 3px;
  background: rgba(244, 236, 222, 0.18);
  margin: 0 auto 22px;
}
.phone-mock__notif {
  background: rgba(244, 236, 222, 0.97);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--ink);
  backdrop-filter: blur(20px);
}
.phone-mock__notif-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.phone-mock__app-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--emerald);
  color: var(--cream);
  border-radius: 6px;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0;
}
.phone-mock__app-name {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--slate);
  flex: 1;
}
.phone-mock__time {
  font-size: 0.72rem; color: var(--slate);
}
.phone-mock__title {
  font-size: 0.98rem; font-weight: 600;
  margin: 0 0 2px;
  color: var(--ink);
}
.phone-mock__body {
  font-size: 0.92rem; color: var(--slate);
  margin: 0; line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════════
   PERKS — customer-side "why you'd sign up"
   ════════════════════════════════════════════════════════════════ */
.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.perk {
  text-align: center;
  padding: 8px 18px 12px;
}
.perk__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: var(--cream-2);
  border: 1px solid var(--mist);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: 1.6rem; font-weight: 600;
  color: var(--emerald);
  margin: 0 auto 18px;
  position: relative;
}
.perk__num::after {
  content: ""; position: absolute;
  top: 4px; right: 4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
}
.perk h3 {
  font-size: 1.18rem; font-weight: 600;
  margin-bottom: 8px;
}
.perk p {
  color: var(--slate);
  font-size: 0.98rem; line-height: 1.55;
  margin: 0;
}

@media (max-width: 880px) {
  .perks { grid-template-columns: 1fr; gap: 16px; }
  .perk { padding: 0 12px; }
}

/* ════════════════════════════════════════════════════════════════
   "Strikes" — what you don't have to do anymore
   ════════════════════════════════════════════════════════════════ */
.strikes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.strikes li {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 1.18rem;
  padding: 18px 22px;
  background: var(--cream-2);
  border: var(--border);
  border-radius: var(--radius);
}
.strikes .strike {
  color: var(--slate);
  text-decoration: line-through;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  flex-shrink: 0;
}
.strikes em { color: var(--ink); font-weight: 500; }

@media (max-width: 620px) {
  .strikes li { flex-direction: column; gap: 4px; align-items: flex-start; font-size: 1.02rem; padding: 16px 18px; }
}

/* ════════════════════════════════════════════════════════════════
   RESOURCES
   ════════════════════════════════════════════════════════════════ */
.resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.resource {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px;
  background: var(--cream);
  border: 1px solid rgba(63, 18, 24, 0.12);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.resource:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 31, 38, 0.4);
  box-shadow: 0 12px 32px -16px rgba(63, 18, 24, 0.32);
}
.resource__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(94, 31, 38, 0.06);
  border-radius: 10px;
  color: var(--emerald);
}
.resource__body h3 {
  margin: 0 0 6px;
  font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
}
.resource__meta {
  display: inline-block;
  margin-left: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  color: rgba(63, 18, 24, 0.6);
  letter-spacing: 0.02em;
}
.resource__body p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(63, 18, 24, 0.78);
}

/* ════════════════════════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════════════════════════ */
.cta {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-800) 100%);
  color: var(--cream);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.cta__inner { text-align: center; position: relative; max-width: 760px; margin: 0 auto; }
.cta__title { color: var(--cream); }
.cta__sub {
  font-size: 1.1rem;
  color: rgba(244, 236, 222, 0.78);
  margin: 8px auto 32px;
  max-width: 560px;
}
.cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: rgba(244, 236, 222, 0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(244, 236, 222, 0.08);
}
.footer-brand .brand-lockup { font-size: 1.2rem; margin-bottom: 12px; }
.footer-tag { color: rgba(244, 236, 222, 0.6); font-size: 0.92rem; max-width: 280px; }

.site-footer h4 {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a {
  color: rgba(244, 236, 222, 0.7);
  font-size: 0.94rem;
}
.site-footer nav a:hover { color: var(--cream); text-decoration: none; }

.footer-fine {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem; color: rgba(244, 236, 222, 0.45);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   Motion safety
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .spark, .wink__dot { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   LEGAL PAGES — privacy / terms / security
   Shared chrome with the marketing site (header + footer), single-column
   content body for readability.
   ════════════════════════════════════════════════════════════════ */
.legal-page {
  padding: 80px 0 120px;
  background: var(--cream);
}
.legal-page__kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}
.legal-page__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.4rem, 4.2vw + 1rem, 4rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 22px;
}
.legal-page__lede {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--slate);
  max-width: 680px;
  margin: 0 0 56px;
}
.legal-page__lede strong { color: var(--ink); font-weight: 500; }
.legal-page section {
  max-width: 680px;
  margin: 0 0 40px;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--emerald);
  margin: 0 0 14px;
}
.legal-page p {
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.65;
  margin: 0 0 14px;
}
.legal-page p strong { font-weight: 600; }
.legal-page p code {
  background: rgba(94, 31, 38, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.legal-page ul {
  list-style: none; padding: 0; margin: 0 0 18px;
}
.legal-page li {
  padding: 14px 0;
  border-bottom: 1px solid var(--mist);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
.legal-page li:last-child { border-bottom: none; }
.legal-page li strong { color: var(--emerald); font-weight: 600; margin-right: 4px; }
.legal-page a {
  color: var(--emerald);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-page a:hover { color: var(--emerald-700); }

.legal-page__contact {
  margin-top: 56px;
  padding: 22px 28px;
  background: var(--cream-2);
  border-left: 3px solid var(--emerald);
  border-radius: 0 10px 10px 0;
  max-width: 680px;
}
.legal-page__contact p { margin: 0; }

