/* ============================================================
   Pickled — marketing site
   Palette sampled from the app icon:
     pine   #053827  (logo ground)
     lime   #A8F824  (wordmark)
   Dark-only by commitment: one cinematic world, not a missing
   light theme.

   App-UI mockups use the APP's exact styling, not the site's:
   verdicts are SF-rounded heavy in the system call colors
   (.green/.red/.orange), status banners yellow/gray — matching
   DecisionBanner in ContentView.swift. Site chrome never uses
   those colors.
   ============================================================ */

:root {
  --pine-990: #021510;
  --pine-950: #04231b;
  --pine-900: #053827;
  --pine-850: #07402d;
  --pine-800: #0a4a34;

  --lime: #a8f824;
  --lime-dim: #8fd51e;
  --lime-glow: rgba(168, 248, 36, 0.35);
  --lime-soft: rgba(168, 248, 36, 0.12);

  --cream: #f2f7ee;
  --mist: rgba(242, 247, 238, 0.62);
  --faint: rgba(242, 247, 238, 0.38);
  --line: rgba(242, 247, 238, 0.10);
  --line-strong: rgba(242, 247, 238, 0.18);

  /* the app's verdict colors (SwiftUI .green/.red/.orange, dark) */
  --call-in: #30d158;
  --call-out: #ff453a;
  --call-close: #ff9f0a;
  --status-tracking: #ffd60a; /* SwiftUI .yellow */
  --status-waiting: #98989f;  /* SwiftUI .gray */

  --serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --sans: "Instrument Sans", -apple-system, "Helvetica Neue", sans-serif;
  /* the app's verdict face: SF Rounded on Apple devices */
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system,
             "Arial Rounded MT Bold", var(--sans);

  --maxw: 1180px;
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--pine-950);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--pine-950); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- the actual logo (assets/pickled-wordmark.png: the
   wordmark pixels extracted from the real icon, bg dropped) ---------- */
.logo { width: auto; }
.logo-nav { height: 30px; }
.logo-footer { height: 34px; }
.logo-cta { height: clamp(70px, 13vw, 150px); margin: 0 auto; }
.logo-link { display: inline-flex; align-items: center; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.35s ease, border-color 0.35s ease,
              backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 35, 27, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--mist);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.btn-nav, .btn-nav {
  background: var(--lime); color: var(--pine-950);
  font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 100px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-links a.btn-nav:hover, .btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--lime-glow);
  color: var(--pine-950);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 130px 28px 40px;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, var(--pine-900) 0%, transparent 60%),
    var(--pine-950);
}
.hero-court {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mist);
  border: 1px solid var(--line-strong);
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 30px;
  background: rgba(5, 56, 39, 0.45);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--lime); }
.hero-sub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--mist);
  text-wrap: balance;
}
.hero-cta {
  margin-top: 38px;
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
}
.hero-note { margin-top: 14px; font-size: 13px; color: var(--faint); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--cream);
  padding: 13px 22px; border-radius: 100px;
  border: 1px solid var(--line-strong);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover { border-color: var(--lime); background: var(--lime-soft); }

/* App Store badge */
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 22px 10px 18px; border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.store-badge svg { width: 24px; height: 28px; fill: #fff; }
.sb-text { text-align: left; line-height: 1.15; }
.sb-text small { display: block; font-size: 10.5px; opacity: 0.8; }
.sb-text strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

/* hero phone */
.hero-phone {
  position: relative; z-index: 2;
  margin-top: 64px;
  perspective: 1400px;
  width: min(720px, 92vw);
}
.hero-phone .phone-land {
  transform: rotateX(9deg);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ---------- landscape phone mockup (the app is landscape) ---------- */
.phone-land {
  position: relative;
  aspect-ratio: 2.1 / 1;
  border-radius: clamp(22px, 4vw, 38px);
  background: #060807;
  padding: clamp(8px, 1.2vw, 12px);
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: clamp(16px, 3vw, 28px);
  overflow: hidden;
  background:
    radial-gradient(140% 120% at 50% 0%, #0b5a3e 0%, #07402d 45%, #052e21 100%);
}
.phone-island {
  position: absolute; left: 3.2%; top: 50%;
  transform: translateY(-50%);
  width: 2.4%; height: 22%;
  border-radius: 100px; background: #000; z-index: 5;
}
.screen-court {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
/* score chip — the real UI */
.ui-score {
  position: absolute; top: 7%; left: 7%;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 100px;
  padding: 1.4% 2.6%;
  z-index: 4;
}
.ui-score-row {
  display: flex; align-items: center; gap: 0.55em;
  font-size: clamp(7px, 1.35vw, 13px);
}
.ui-score-row .side {
  font-weight: 700; font-size: 0.72em; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
}
.ui-score-row .pts {
  font-weight: 700; font-variant-numeric: tabular-nums; color: #fff;
}
.ui-score-row .serve {
  width: 0.38em; height: 0.38em; border-radius: 50%; background: #ffd60a;
}
.ui-score-hint {
  font-size: clamp(4.5px, 0.72vw, 7px);
  font-weight: 700; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

/* verdict — EXACTLY the app's DecisionBanner: SF-rounded heavy 40pt in
   callColor, caption-bold margin ("by 2 in ± 1 in"), black 55% capsule */
.ui-verdict {
  position: absolute; top: 30%; left: 7%;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 16px;
  padding: 1.6% 3.2%;
  text-align: center; z-index: 4;
}
.ui-verdict .call, .honesty-card .call {
  font-family: var(--rounded);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.ui-verdict .call { font-size: clamp(15px, 2.6vw, 32px); }
.call-in { color: var(--call-in); }
.call-out { color: var(--call-out); }
.call-close { color: var(--call-close); }
.ui-verdict .margin {
  margin-top: 3px;
  font-size: clamp(5px, 0.95vw, 10px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* status banner — the app's TRACKING / WAITING FOR BALL states */
.ui-status {
  position: absolute; top: 30%; left: 7%;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 16px;
  padding: 1.6% 3.2%;
  z-index: 4;
  font-weight: 800;
  font-size: clamp(8px, 1.4vw, 15px);
  letter-spacing: 0.02em;
}
.ui-status span { display: none; }
.ui-status .st-waiting { color: var(--status-waiting); }
.ui-status .st-tracking { color: var(--status-tracking); }
[data-stage="0"] .ui-status .st-waiting { display: inline; }
[data-stage="1"] .ui-status .st-tracking,
[data-stage="2"] .ui-status .st-tracking,
[data-stage="3"] .ui-status .st-tracking { display: inline; }

/* control bar */
.ui-bar {
  position: absolute; left: 50%; bottom: 6%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 4%;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 14px;
  padding: 1.6% 3%;
  width: 62%;
  z-index: 4;
}
.ui-seg {
  display: flex; background: rgba(255, 255, 255, 0.16);
  border-radius: 7px; overflow: hidden;
  font-size: clamp(5px, 0.95vw, 9px); font-weight: 600;
}
.ui-seg span { padding: 0.35em 1em; color: #fff; }
.ui-seg .on { background: #fff; color: #000; }
.ui-ico {
  width: clamp(7px, 1.3vw, 13px); height: clamp(7px, 1.3vw, 13px);
  opacity: 0.9;
}
.ui-ico.rec { margin-left: auto; }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto; }
.sec-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--lime);
  margin-bottom: 18px;
}
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.sec-head p {
  margin: 20px auto 0; max-width: 560px;
  color: var(--mist); font-size: 18px;
  text-wrap: balance;
}
/* headers that precede a pinned scrolly: normal flow, generous air,
   then they scroll away and the phone owns the screen */
.scrolly-head { padding: 120px 28px 40px; }

/* reveal-on-scroll */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- scrollytelling: highlights ---------- */
.scrolly { height: 420vh; }
.scrolly-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  padding: 84px 28px 32px;
}
.scrolly-stage-copy {
  position: relative; height: 66px; width: 100%; max-width: 640px;
  text-align: center; margin-bottom: 24px;
}
.stage-line {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stage-line strong {
  font-family: var(--serif); font-weight: 800; font-size: 25px;
  letter-spacing: -0.01em;
}
.stage-line span { color: var(--mist); font-size: 15px; }
[data-stage="0"] .stage-line.s0,
[data-stage="1"] .stage-line.s1,
[data-stage="2"] .stage-line.s2,
[data-stage="3"] .stage-line.s3 { opacity: 1; transform: none; }

/* the phone, bounded by BOTH width and viewport height */
.footage-wrap {
  position: relative;
  width: min(780px, 92vw, calc((100vh - 330px) * 2.1));
}
.footage-wrap .phone-land {
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s ease;
}
[data-stage="3"] .footage-wrap .phone-land {
  transform: scale(0.94); opacity: 0.35;
}

/* analysis overlay (quad + trail): the app's own tracking view, stage 1+ */
.overlay-analysis { opacity: 0; transition: opacity 0.7s ease; }
[data-stage="1"] .overlay-analysis,
[data-stage="2"] .overlay-analysis { opacity: 1; }

/* timeline (stage 2+) */
.timeline {
  width: min(780px, 92vw, calc((100vh - 330px) * 2.1));
  margin-top: 20px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-stage="2"] .timeline, [data-stage="3"] .timeline {
  opacity: 1; transform: none;
}
.timeline-track {
  position: relative; height: 42px;
  background: var(--pine-900);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.timeline-fill {
  position: absolute; inset: 0;
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, transparent, var(--lime-soft));
}
.tl-marker {
  position: absolute; top: 8px; bottom: 8px; width: 3px;
  border-radius: 2px; background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  opacity: 0; transform: scaleY(0.3);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-stage="2"] .tl-marker, [data-stage="3"] .tl-marker {
  opacity: 1; transform: none;
}
[data-stage="2"] .tl-marker:nth-child(2) { transition-delay: 0.15s; }
[data-stage="2"] .tl-marker:nth-child(3) { transition-delay: 0.3s; }
.timeline-caption {
  margin-top: 10px; text-align: center;
  font-size: 13px; color: var(--faint);
}

/* clip row lands over the dimmed phone (stage 3) — the app's own row */
.clipdrop {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.clip-card {
  width: min(420px, 78vw);
  background: var(--pine-900);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 14px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(60px) scale(0.9);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-stage="3"] .clip-card { opacity: 1; transform: none; }
.clip-thumb {
  width: 104px; aspect-ratio: 16/10; border-radius: 10px; flex: none;
  background:
    radial-gradient(100% 100% at 50% 0%, #0b5a3e, #063723);
  position: relative; overflow: hidden;
}
.clip-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.clip-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  display: flex; align-items: center; justify-content: center;
}
.clip-play::after {
  content: ""; border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--lime);
  margin-left: 2px;
}
.clip-meta strong { display: block; font-size: 16px; font-weight: 600; }
.clip-meta span { font-size: 13px; color: var(--mist); }
.clip-star { margin-left: auto; color: var(--lime); font-size: 18px; }

/* ---------- close moments: the app reviewing real footage ---------- */
.closecall { background: var(--pine-990); height: 340vh; }
.closecall .scrolly-head { padding-top: 130px; }
.closecall .scrolly-sticky { padding: 84px 28px 32px; }
.cc-layout {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 48px; align-items: center;
  width: min(1080px, 92vw);
}
.cc-phone {
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.06);
}
.cc-flash {
  position: absolute; inset: 0; background: var(--cream);
  opacity: 0; pointer-events: none; z-index: 6;
}
.closecall [data-stage="1"] .cc-flash { animation: flash 0.7s ease-out; }
@keyframes flash { 0% { opacity: 0.3; } 100% { opacity: 0; } }

.cc-bounce { transition: opacity 0.4s ease; }
.cc-ring {
  transform-origin: 545px 148px;
  animation: ccring 2.2s ease-out infinite;
}
@keyframes ccring {
  0% { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}

/* the in-app verdict appears at the final step, where the app puts it */
.cc-verdict-app {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.closecall [data-stage="2"] .cc-verdict-app { opacity: 1; transform: none; }

/* verdict rail */
.cc-rail { display: flex; flex-direction: column; gap: 16px; }
.cc-step {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: rgba(5, 56, 39, 0.35);
  opacity: 0.35; transform: translateX(14px);
  transition: opacity 0.6s ease, transform 0.6s ease,
              border-color 0.6s ease, background 0.6s ease;
}
.cc-step strong {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: 18px; margin-bottom: 4px;
}
.cc-step span { font-size: 14px; color: var(--mist); }
.closecall [data-stage="0"] .cc-step.k0,
.closecall [data-stage="1"] .cc-step.k1,
.closecall [data-stage="2"] .cc-step.k2 {
  opacity: 1; transform: none;
  border-color: rgba(168, 248, 36, 0.4);
  background: var(--lime-soft);
}

/* honesty strip — the app's outcomes, in the app's own style */
.honesty {
  background: var(--pine-990);
  padding: 40px 28px 130px;
}
.honesty-cards {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.honesty-card {
  border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 22px;
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
}
.honesty-card .call { font-size: 30px; }
.honesty-card p { margin-top: 10px; font-size: 14px; color: var(--mist); }
.honesty-note {
  max-width: 620px; margin: 34px auto 0; text-align: center;
  color: var(--faint); font-size: 15px;
  font-style: italic;
  font-family: var(--serif); font-weight: 500;
}

/* ---------- memories ---------- */
.memories { padding: 150px 28px; overflow: hidden; }
.mem-grid {
  position: relative;
  max-width: 1060px; margin: 70px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; align-items: start;
}
.mem-col { display: flex; flex-direction: column; gap: 22px; }
.mem-col:nth-child(2) { margin-top: 54px; }
.mem-col:nth-child(3) { margin-top: 26px; }
.mem-card {
  background: var(--pine-900);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  will-change: transform;
}
.mem-thumb {
  aspect-ratio: 16/10; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 110% at 50% 0%, #0b5a3e, #052e21);
  position: relative; margin-bottom: 14px;
}
.mem-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mem-card strong { display: block; font-size: 16px; font-weight: 600; }
.mem-card span { font-size: 13px; color: var(--mist); }
.mem-stat {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
}
.mem-stat .num {
  font-family: var(--serif); font-weight: 800;
  font-size: 42px; line-height: 1; color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.mem-stat .lbl { margin-top: 6px; font-size: 14px; color: var(--mist); }

/* ---------- final CTA ---------- */
.cta {
  position: relative;
  padding: 170px 28px 150px;
  text-align: center;
  background:
    radial-gradient(900px 500px at 50% 110%, var(--pine-900) 0%, transparent 65%),
    var(--pine-990);
  overflow: hidden;
}
.cta h2 {
  margin-top: 34px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.01em;
  color: var(--cream);
}
.cta p { margin: 14px auto 0; max-width: 460px; color: var(--mist); }
.cta .hero-cta { margin-top: 40px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--pine-990);
  padding: 56px 28px 44px;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
}
.footer-tag { margin-top: 14px; font-size: 14px; color: var(--faint); max-width: 260px; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14.5px; color: var(--mist);
  padding: 5px 0; transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--cream); }
.footer-base {
  max-width: var(--maxw); margin: 44px auto 0;
  padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--faint);
}

/* ---------- legal pages ---------- */
.legal { padding: 160px 28px 120px; }
.legal-inner { max-width: 720px; margin: 0 auto; }
.legal h1 {
  font-family: var(--serif); font-weight: 800;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.02em;
  line-height: 1.05;
}
.legal .legal-updated { margin-top: 16px; color: var(--faint); font-size: 14px; }
.legal h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: 24px; margin: 46px 0 12px; letter-spacing: -0.01em;
}
.legal p, .legal li { color: var(--mist); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--lime); }
.legal-note {
  margin-top: 26px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--lime);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px; color: var(--mist);
  background: rgba(5, 56, 39, 0.35);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cc-layout { grid-template-columns: 1fr; gap: 28px; }
  .cc-rail { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .cc-step { flex: 0 0 240px; }
  .honesty-cards { grid-template-columns: 1fr; max-width: 420px; }
  .mem-grid { grid-template-columns: 1fr 1fr; }
  .mem-col:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .logo-nav { height: 24px; }
  .mem-grid { grid-template-columns: 1fr; }
  .mem-col { margin-top: 0 !important; }
  .mem-col:nth-child(2) { display: flex; }
  .scrolly { height: 340vh; }
  .closecall { height: 280vh; }
  .footer-inner { flex-direction: column; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
