/* Savvy Santa landing page — navy foundation, warm gold accents (blueprint §8.2). */
:root {
  --navy: #07172f;
  --blue: #10294b;
  --gold: #f5b83d;
  --gold-dark: #9a6a0e;
  --cream: #fff8e8;
  --bg: #f4f6fa;
  --card: #ffffff;
  --text: #0f1b2d;
  --muted: #5b6578;
  --border: #dde2ea;
  --on-navy: #c9d3e3;
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0 0 12px; }
h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); color: var(--navy); }
h3 { font-size: 19px; color: var(--navy); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 700; color: var(--gold-dark); margin: 0 0 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(245, 184, 61, 0.35); }
.btn:hover { filter: brightness(1.05); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; box-shadow: none; }
.btn-secondary { background: transparent; color: inherit; border: 2px solid var(--gold); box-shadow: none; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: var(--navy); padding-top: env(safe-area-inset-top); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 20px; }
.brand em { font-style: normal; color: var(--gold); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 70% 0%, var(--blue), var(--navy)); color: #fff; padding: 32px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }
.wordmark { width: min(520px, 100%); border-radius: 14px; margin-bottom: 20px; }
.hero h1 { font-family: var(--display); font-size: clamp(34px, 5.5vw, 56px); color: #fff; }
.hero h1 span { color: var(--gold); }
.lead { font-size: 19px; color: var(--on-navy); max-width: 60ch; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; color: #fff; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--navy); background: var(--gold); width: 20px; height: 20px; border-radius: 50%; font-size: 13px; font-weight: 900; display: grid; place-items: center; margin-top: 3px; }
.hero-phone { display: flex; justify-content: center; }
.phone { margin: 0; background: #0b0f18; padding: 10px; border-radius: 38px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); max-width: 340px; }
.phone img { border-radius: 28px; }
.phone.small { max-width: 220px; padding: 7px; border-radius: 28px; box-shadow: 0 16px 34px rgba(7, 23, 47, 0.25); }
.phone.small img { border-radius: 21px; }

/* Stats */
.stats { background: var(--cream); padding: 28px 0 18px; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stats strong { display: block; font-family: var(--display); font-size: clamp(30px, 5vw, 44px); color: var(--navy); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 15px; }
.source { font-size: 13px; color: var(--muted); text-align: center; margin: 14px auto 0; }

/* How it works */
.how, .features, .faq { padding: 64px 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; min-width: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); }

/* Features */
.features { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 28px; }
.feature { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; background: var(--bg); border-radius: var(--radius); padding: 20px; min-width: 0; }
.feature p { color: var(--muted); margin: 0; }
.more-features { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.more-features li { color: var(--muted); }
.more-features strong { display: block; color: var(--navy); }

/* Seasons */
.seasons { background: var(--navy); color: #fff; padding: 56px 0; }
.seasons h2 { color: #fff; }
.seasons .eyebrow { color: var(--gold); }
.season-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 20px; }
.season-row div { background: var(--blue); border: 1px solid rgba(245, 184, 61, 0.35); border-radius: 14px; padding: 16px; color: var(--on-navy); font-size: 15px; min-width: 0; }
.season-row span { display: block; color: var(--gold); font-weight: 800; margin-bottom: 4px; }

/* Waitlist */
.waitlist { padding: 64px 0; background: linear-gradient(180deg, var(--cream), var(--bg)); scroll-margin-top: 72px; }
.waitlist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.waitlist-grid > * { min-width: 0; }
.mark-large { width: 96px; height: 96px; margin-bottom: 12px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px rgba(7, 23, 47, 0.08); }
.form { display: grid; gap: 8px; }
.form label { font-weight: 600; font-size: 15px; }
.form input[type="email"], .form input[type="text"] { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 12px; padding: 0 14px; font-size: 17px; font-family: inherit; margin-bottom: 8px; }
.form fieldset { border: 0; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; }
.form legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.consent { margin: 4px 0 10px; }
.optional { font-weight: 400; color: var(--muted); }
.hidden-field { position: absolute; left: -9999px; }
.fineprint { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-top: 10px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--navy); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.footer { background: var(--navy); color: var(--on-navy); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; gap: 6px; justify-items: start; }
.footer p { margin: 0; }
.footer .small { font-size: 14px; }
.footer a { color: var(--gold); }

/* Phone and tablet layouts */
@media (max-width: 900px) {
  .hero-grid, .waitlist-grid { grid-template-columns: 1fr; }
  .hero-phone .phone { max-width: 280px; }
  .feature-grid, .more-features { grid-template-columns: 1fr; }
  .season-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature { grid-template-columns: 120px 1fr; gap: 14px; padding: 14px; }
  .phone.small { max-width: 120px; padding: 4px; border-radius: 18px; }
  .phone.small img { border-radius: 14px; }
  .season-row { grid-template-columns: 1fr; }
  .brand span { font-size: 18px; }
}
