/* ============================================================
   Ryser — landing page
   Warm dawn aesthetic: white paper, deep navy ink, burnt-amber
   accent, hot-air balloon mascot. Face: Nunito in two weights —
   600 (quiet) and 900 (loud) — echoing the app's SF Pro Rounded
   medium/heavy system.
   ============================================================ */

:root {
  --paper: #ffffff;
  --paper-warm: #fafaf8;
  --ink: #0a2540;
  --ink-2: #5a6b7c;
  --ink-3: #93a0ac;
  --amber: #e07a2f;
  --rust: #c2571b;
  --amber-soft: #f6d3ae;
  --muted: #f4f2ee;
  --line: #e8e4dd;
  --night: #071c2f;
  --night-surface: #0f2b44;
  --night-text: #9fb3c4;
  --success: #2e9e6b;
  --cloud: #edeff2;
  --accent-grad: linear-gradient(135deg, #e07a2f 0%, #c2571b 100%);
  --radius: 22px;
  --radius-lg: 28px;
  --shadow-card: 0 6px 24px rgba(10, 37, 64, 0.08);
  --shadow-modal: 0 10px 40px rgba(10, 37, 64, 0.16);
  --shadow-cta: 0 6px 24px rgba(194, 87, 27, 0.28);
  --font: "Nunito", -apple-system, "SF Pro Rounded", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--amber-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber-soft); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-weight: 900; line-height: 1.06; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.7rem, 6.4vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.16rem; }

.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }
.section { padding: 104px 0; }
.section-tint { background: linear-gradient(180deg, var(--paper-warm) 0%, #f6f4f0 100%); }
.section-dark {
  position: relative;
  background: radial-gradient(130% 130% at 50% 0%, var(--night-surface) 0%, var(--night) 58%);
  color: var(--night-text);
  overflow: hidden;
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { color: var(--ink); }
.section-dark .section-head h2 { color: #f4f8fb; }
.on-dark { color: #f4f8fb; }
.section-sub { color: var(--ink-2); margin-top: 14px; font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust);
  background: rgba(246, 211, 174, 0.45);
  border: 1px solid rgba(224, 122, 47, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow-dark {
  color: var(--amber-soft);
  background: rgba(224, 122, 47, 0.16);
  border-color: rgba(246, 211, 174, 0.3);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 900;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(194, 87, 27, 0.38); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--rust); transform: translateY(-2px); }
.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(2, 12, 24, 0.4);
}
.btn-white:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.92rem; }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(10, 37, 64, 0.06);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-balloon { width: 30px; height: auto; }
.brand-wordmark { height: 22px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-weight: 900; font-size: 0.94rem; color: var(--ink-2); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--rust); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 96px;
  background: linear-gradient(180deg, #fff8f0 0%, var(--paper) 72%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.sun-glow {
  position: absolute;
  top: -220px; right: -160px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 211, 174, 0.55) 0%, rgba(246, 211, 174, 0) 68%);
}
.cloud {
  position: absolute;
  background: var(--cloud);
  border-radius: 999px;
  opacity: 0.75;
  animation: drift 26s ease-in-out infinite alternate;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud-1 { width: 180px; height: 44px; top: 22%; left: 4%; }
.cloud-1::before { width: 70px; height: 70px; top: -32px; left: 30px; }
.cloud-1::after { width: 50px; height: 50px; top: -20px; left: 92px; }
.cloud-2 { width: 130px; height: 34px; top: 62%; left: 12%; animation-delay: -9s; opacity: 0.5; }
.cloud-2::before { width: 52px; height: 52px; top: -24px; left: 22px; }
.cloud-2::after { width: 38px; height: 38px; top: -15px; left: 66px; }
.cloud-3 { width: 150px; height: 38px; top: 14%; right: 30%; animation-delay: -17s; opacity: 0.6; }
.cloud-3::before { width: 58px; height: 58px; top: -26px; left: 26px; }
.cloud-3::after { width: 42px; height: 42px; top: -17px; left: 76px; }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(46px); }
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--rust);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.pill-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 122, 47, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(224, 122, 47, 0); }
}
.hero h1 { color: var(--ink); margin-bottom: 22px; }
.lede { font-size: 1.14rem; color: var(--ink-2); max-width: 34rem; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-proof { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 0.93rem; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1rem; }

/* Phone mockups (hand-built, no screenshots) */
.hero-phone { position: relative; display: flex; justify-content: center; }
.phone-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%);
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 211, 174, 0.6) 0%, rgba(246, 211, 174, 0) 66%);
}
.phone {
  position: relative;
  width: 306px;
  background: #061524;
  border-radius: 52px;
  padding: 11px;
  box-shadow: var(--shadow-modal), 0 42px 90px rgba(10, 37, 64, 0.28);
}
.phone-md { width: 292px; }
.phone-screen {
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  display: flex;
  flex-direction: column;
  padding: 58px 20px 24px;
}
.island {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 27px;
  border-radius: 999px;
  background: #000;
}

/* Ring screen — the one dark screen in the app */
.scr-ring {
  background: radial-gradient(140% 90% at 50% 0%, #0e2b46 0%, var(--night) 60%);
  color: #fff;
  align-items: center;
  text-align: center;
  gap: 0;
}
.ring-top { margin-top: 8px; }
.ring-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 6px;
}
.ring-clock {
  font-size: 4.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ring-ampm { font-size: 1.3rem; margin-left: 6px; color: var(--night-text); }
.ring-date { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--night-text); }
.ring-waves {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin: 26px 0;
}
.ring-waves i {
  width: 7px;
  border-radius: 999px;
  background: var(--amber);
  animation: wave 1.05s ease-in-out infinite;
}
.ring-waves i:nth-child(1) { height: 16px; }
.ring-waves i:nth-child(2) { height: 32px; animation-delay: 0.14s; }
.ring-waves i:nth-child(3) { height: 20px; animation-delay: 0.28s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.6); opacity: 0.7; }
  50% { transform: scaleY(1.25); opacity: 1; }
}
.ring-card {
  width: 100%;
  background: var(--night-surface);
  border: 1px solid rgba(159, 179, 196, 0.18);
  border-radius: 20px;
  padding: 14px 16px;
  text-align: left;
}
.ring-card-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--night-text);
  margin-bottom: 8px;
}
.ring-card-mission { display: flex; align-items: center; gap: 12px; }
.ring-card-emoji { font-size: 1.7rem; }
.ring-card-mission strong { display: block; font-weight: 900; font-size: 1.02rem; color: #fff; }
.ring-card-mission small { color: var(--night-text); font-size: 0.75rem; }
.ring-btn {
  margin-top: 16px;
  width: 100%;
  text-align: center;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  border-radius: 999px;
  padding: 15px 0;
  box-shadow: var(--shadow-cta);
}
.ring-note { margin-top: 14px; font-size: 0.76rem; color: var(--night-text); }

.hero-mascot {
  position: absolute;
  bottom: -34px;
  left: -52px;
  width: 168px;
  filter: drop-shadow(0 18px 26px rgba(10, 37, 64, 0.22));
  animation: bob 5.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-modal);
  padding: 11px 16px;
  animation: hover-float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.9rem; font-weight: 900; color: var(--ink); line-height: 1.25; }
.float-card small { color: var(--ink-2); font-size: 0.76rem; }
.float-emoji { font-size: 1.4rem; }
.float-card-1 { top: 12%; right: -26px; animation-delay: -2s; }
.float-card-2 { bottom: 16%; right: -40px; animation-delay: -4s; }
.float-card-3 { bottom: 8%; left: -30px; animation-delay: -3s; }
@keyframes hover-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--night);
  overflow: hidden;
  padding: 15px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  color: #f4f8fb;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.mq-balloon { height: 20px; width: auto; opacity: 0.9; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 20px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-modal); }
.step-num {
  position: absolute;
  top: -13px; left: 20px;
  width: 27px; height: 27px;
  display: grid;
  place-items: center;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
  border-radius: 50%;
  box-shadow: var(--shadow-cta);
}
.step-icon { font-size: 1.9rem; margin-bottom: 12px; }
.step h3 { margin-bottom: 8px; font-size: 1.04rem; color: var(--ink); }
.step p { font-size: 0.88rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- Missions ---------- */
.missions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mission-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 26px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-modal); }
.mission-emoji {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  background: var(--muted);
  border-radius: 18px;
  margin-bottom: 18px;
}
.mission-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--rust);
  background: rgba(246, 211, 174, 0.45);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.mission-card h3 { color: var(--ink); margin-bottom: 8px; }
.mission-card p { color: var(--ink-2); font-size: 0.94rem; line-height: 1.55; }

.mission-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.chip {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.chip:hover { transform: translateY(-3px); border-color: var(--amber); }

/* ---------- Reliability (night) ---------- */
.night-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 64%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 42%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 71% 18%, rgba(255,255,255,0.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 56%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 92% 30%, rgba(255,255,255,0.65) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 78%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 82%, rgba(255,255,255,0.4) 50%, transparent 51%);
}
.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: rgba(15, 43, 68, 0.75);
  border: 1px solid rgba(159, 179, 196, 0.16);
  border-radius: var(--radius);
  padding: 26px 24px;
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(246, 211, 174, 0.4); }
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature h3 { color: #f4f8fb; margin-bottom: 8px; font-size: 1.05rem; }
.feature p { font-size: 0.92rem; color: var(--night-text); line-height: 1.55; }
.night-mascot {
  position: absolute;
  bottom: -18px;
  right: -8px;
  width: 130px;
  opacity: 0.9;
  transform: rotate(6deg);
}

/* ---------- Altitude & streaks split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.split-copy h2 { margin-bottom: 18px; }
.lede-sm { color: var(--ink-2); font-size: 1.04rem; margin-bottom: 26px; }

.altitude-ladder {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 26px;
}
.altitude-ladder li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-left: 3px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.altitude-ladder li:hover { border-left-color: var(--amber); background: var(--paper-warm); }
.altitude-ladder li:first-child { border-left-color: var(--amber); }
.alt-icon { font-size: 1.3rem; width: 32px; text-align: center; }
.altitude-ladder strong { display: block; font-weight: 900; font-size: 0.98rem; color: var(--ink); line-height: 1.3; }
.altitude-ladder small { color: var(--ink-2); font-size: 0.8rem; }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 600;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
}

.split-phone { position: relative; display: flex; justify-content: center; }
.split-mascot {
  position: absolute;
  top: -44px;
  right: -22px;
  width: 130px;
  filter: drop-shadow(0 14px 22px rgba(10, 37, 64, 0.2));
  animation: bob 6s ease-in-out infinite;
}

/* Insights screen mockup */
.scr-insights {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
  color: var(--ink);
  gap: 14px;
}
.island-dark { background: #000; }
.ins-title { font-size: 1.55rem; font-weight: 900; letter-spacing: -0.01em; }
.ins-altitude {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 14px;
}
.ins-balloon { width: 40px; height: auto; }
.ins-alt-copy { flex: 1; }
.ins-alt-copy small { display: block; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.ins-alt-copy strong { display: block; font-weight: 900; font-size: 1.02rem; margin: 1px 0 7px; }
.ins-progress {
  height: 7px;
  background: var(--muted);
  border-radius: 999px;
  overflow: hidden;
}
.ins-progress i {
  display: block;
  height: 100%;
  background: var(--accent-grad);
  border-radius: 999px;
}
.ins-next { margin-top: 6px; color: var(--ink-2) !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 600 !important; font-size: 0.72rem !important; }
.ins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ins-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 11px 13px;
}
.ins-stat small { display: block; font-size: 0.68rem; color: var(--ink-2); margin-bottom: 3px; }
.ins-stat strong { font-size: 1.05rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.ins-receipt {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px dashed var(--amber);
  border-radius: 18px;
  padding: 12px 14px;
}
.ins-receipt-art {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: linear-gradient(160deg, #fde7cf 0%, #f6d3ae 100%);
  border-radius: 12px;
}
.ins-receipt strong { display: block; font-size: 0.9rem; font-weight: 900; }
.ins-receipt small { font-size: 0.72rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ins-receipt-check {
  margin-left: auto;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  background: var(--success);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  border-radius: 50%;
}

/* ---------- Quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote p { color: var(--ink); font-size: 0.98rem; line-height: 1.6; }
.quote footer { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 0.88rem; margin-top: auto; }
.avatar {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: 50%;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 900;
  font-size: 1rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { color: var(--amber); font-size: 1.1rem; transition: transform 0.25s ease; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item p { padding: 0 22px 20px; color: var(--ink-2); font-size: 0.96rem; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  background: radial-gradient(130% 120% at 50% 100%, var(--night-surface) 0%, var(--night) 62%);
  padding: 120px 0 110px;
  overflow: hidden;
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-dawn {
  position: absolute;
  bottom: -180px; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 380px;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(224, 122, 47, 0.4) 0%, rgba(224, 122, 47, 0) 70%);
}
.cta-inner { position: relative; max-width: 640px; margin: 0 auto; padding: 0 24px; }
.cta-mascot {
  width: 130px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.35));
  animation: bob 5s ease-in-out infinite;
}
.cta h2 { color: #f4f8fb; margin-bottom: 16px; }
.cta p { color: var(--night-text); font-size: 1.08rem; margin-bottom: 32px; }
.cta-note { display: block; margin-top: 18px; color: rgba(159, 179, 196, 0.75); font-size: 0.86rem; }

/* ---------- Footer ---------- */
.footer { background: var(--paper-warm); border-top: 1px solid var(--line); padding: 52px 0 40px; }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-wordmark { height: 20px; width: auto; margin-bottom: 4px; }
.footer-brand p { color: var(--ink-2); font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--ink-2); font-size: 0.92rem; font-weight: 900; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--rust); }
.footer-copy { color: var(--ink-3); font-size: 0.85rem; }

/* ---------- Legal & support pages ---------- */
.legal { padding: 150px 0 90px; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin-bottom: 8px; }
.legal-date { color: var(--ink-3); font-size: 0.92rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.32rem; margin: 34px 0 10px; }
.legal p { color: var(--ink-2); margin-bottom: 14px; }
.legal a { color: var(--rust); font-weight: 900; }
.legal a:hover { text-decoration: underline; }

.support-group { margin: 40px 0 14px; }
.contact { margin-top: 30px; }
.contact-lede { margin-bottom: 20px; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-weight: 900; font-size: 0.9rem; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper-warm);
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(246, 211, 174, 0.45);
}
.form-field textarea { resize: vertical; }
.hidden-field { display: none; }
.contact-alt { margin-top: 20px; color: var(--ink-2); font-size: 0.94rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .missions { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .float-card-1 { right: -8px; }
  .float-card-2 { right: -12px; }
}

@media (max-width: 920px) {
  .hero { padding-top: 140px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-proof { justify-content: center; }
  .hero-mascot { left: -8px; width: 130px; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split-mascot { right: 0; width: 104px; }
  .night-mascot { width: 100px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .section { padding: 76px 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .missions { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .phone { width: 272px; }
  .phone-md { width: 264px; }
  .ring-clock { font-size: 3.6rem; }
}

@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-ctas { flex-direction: column; }
}
