/* Palette pulled from newcity.life/christmas */
:root {
  --red: #9C3018;
  --red-dark: #7d2613;
  --red-soft: #f6e9e3;
  --sage: #6E7A56;
  --sage-soft: #e9ecdf;
  --cream: #EDE6CF;
  --paper: #F8F5EE;
  --ink: #333746;
  --night: #0d0d0e;
  --muted: #6c6f78;
  --card: #ffffff;
  --line: #e4dcc6;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, .display { font-family: "Anton", Impact, sans-serif; font-weight: 400; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
a { color: var(--red); }

/* Hero */
.hero {
  background: var(--night);
  color: var(--cream);
  padding: 52px 16px 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before { /* soft string-light bokeh */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(156,48,24,.55) 0 3px, transparent 10px),
    radial-gradient(circle at 86% 18%, rgba(237,230,207,.5) 0 2px, transparent 9px),
    radial-gradient(circle at 78% 70%, rgba(110,122,86,.6) 0 3px, transparent 11px),
    radial-gradient(circle at 22% 78%, rgba(237,230,207,.35) 0 2px, transparent 8px),
    radial-gradient(circle at 50% 8%, rgba(156,48,24,.35) 0 2px, transparent 9px),
    radial-gradient(circle at 94% 52%, rgba(156,48,24,.4) 0 2px, transparent 8px),
    radial-gradient(circle at 5% 55%, rgba(110,122,86,.45) 0 2px, transparent 9px);
}
.hero > * { position: relative; }
.eyebrow { text-transform: uppercase; letter-spacing: .32em; font-size: 12px; font-weight: 700; color: rgba(237,230,207,.75); margin: 0 0 14px; }
.hero h1 {
  font-size: clamp(64px, 20vw, 120px);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
}
.hero h1 .w1 { display: block; font-size: .42em; letter-spacing: .14em; color: var(--cream); margin-bottom: .1em; }
.hero h1 .c1 { color: var(--red); }
.hero h1 .c2 { color: var(--sage); }
.hero h1 .c3 { color: var(--cream); }
.hero h1 .c1, .hero h1 .c2 { filter: brightness(1.25); }

.datebadge {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 22px;
  border: 1px solid rgba(237,230,207,.55);
  border-radius: 999px;
  font-size: clamp(18px, 4.6vw, 22px);
  font-weight: 700;
  color: var(--cream);
}
.datebadge small { display: block; font-size: 13px; font-weight: 400; letter-spacing: .04em; color: rgba(237,230,207,.75); }
.hero p.lede { max-width: 520px; margin: 18px auto 0; color: rgba(237,230,207,.85); font-size: 17px; }

/* Progress */
.progress-card {
  max-width: 528px;
  margin: -44px 16px 0;
  background: var(--cream);
  border-radius: 24px;
  padding: 22px 24px 24px;
  box-shadow: 0 12px 30px rgba(13,13,14,.18);
  position: relative;
}
@media (min-width: 560px) { .progress-card { margin: -44px auto 0; } }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.progress-num { font-family: "Anton", Impact, sans-serif; font-size: 46px; line-height: 1; color: var(--red); }
.progress-num .of { color: var(--ink); font-size: 22px; }
.progress-sub { color: var(--ink); font-size: 14px; opacity: .8; }
.bar { height: 12px; background: rgba(51,55,70,.12); border-radius: 99px; overflow: hidden; margin-top: 14px; }
.bar > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--sage), var(--red)); border-radius: 99px; transition: width 1s ease; }

/* Layout */
main { max-width: 560px; margin: 0 auto; padding: 36px 16px 56px; }
section { margin-bottom: 40px; }
section h2 { font-size: 30px; margin: 0 0 14px; }
.h2date { margin: -10px 0 14px; color: var(--sage); font-weight: 700; }

.steps { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.steps li { display: flex; gap: 14px; padding: 18px 18px; border-top: 1px solid var(--line); align-items: flex-start; }
.steps li:first-child { border-top: 0; }
.steps .icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--sage-soft); color: var(--sage);
  display: grid; place-items: center;
}
.steps .icon svg { width: 22px; height: 22px; }
.steps h3 { margin: 0 0 2px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.steps p { margin: 0; color: var(--ink); }
.steps li.rule { background: var(--red-soft); box-shadow: inset 4px 0 0 var(--red); }
.steps li.rule .icon { background: #fff; color: var(--red); }
.steps li.rule h3 { color: var(--red); }

/* Form */
form.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px 20px; }
.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 700; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: 14px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #d7cfb8; border-radius: 12px; background: #fff; color: var(--ink);
}
input:focus, select:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row .field { margin-bottom: 8px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; gap: 0; } .row .field { margin-bottom: 14px; } }

.choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
#dozenChoices { grid-template-columns: repeat(5, 1fr); gap: 6px; }
#dozenChoices .choice span { padding: 12px 2px; font-size: 19px; }
#dozenChoices .choice span small { font-size: 11px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block; text-align: center; padding: 12px 8px; border: 1px solid #d7cfb8; border-radius: 12px; cursor: pointer; background: #fff;
  font-weight: 700;
}
.choice span small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.choice input:checked + span { border-color: var(--sage); background: var(--sage); color: #fff; }
.choice input:checked + span small { color: rgba(255,255,255,.85); }
.choice input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }

.diets { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 16px; border: 1px solid #d7cfb8; border-radius: 999px; cursor: pointer; font-weight: 700; background: #fff; }
.pill input:checked + span { background: var(--sage); border-color: var(--sage); color: #fff; }
.pill input:checked + span::before { content: "✓ "; }
.pill input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 400; }
.field > label.check { font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.check.required { background: var(--red-soft); border: 1px solid var(--red); border-radius: 14px; padding: 14px; }

button, .btn {
  font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer;
  background: var(--red); color: #fff; text-decoration: none; display: inline-block; letter-spacing: .02em;
}
button:hover, .btn:hover { background: var(--red-dark); }
button:disabled { opacity: .6; cursor: default; }
button.wide { width: 100%; font-size: 17px; padding: 16px 22px; }
button.ghost, .btn.ghost { background: transparent; color: var(--ink); border: 1px solid #d7cfb8; }
button.ghost:hover { background: var(--cream); }

.error { color: var(--red); font-size: 14px; margin-top: 10px; font-weight: 700; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.thanks { text-align: center; background: var(--sage); color: #fff; border-radius: 24px; padding: 34px 22px; }
.thanks .big { font-size: 56px; line-height: 1; }
.thanks h2 { font-size: 36px; margin: 12px 0 8px; color: #fff; }
.thanks p { font-size: 17px; }
.recap { text-align: left; background: rgba(255,255,255,.12); border-radius: 16px; padding: 4px 16px; margin: 18px 0; }
.recap div { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); }
.recap div:first-child { border-top: 0; }
.recap span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.contact { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 16px; margin-bottom: 18px; }
.contact p { margin: 0 0 10px; font-size: 16px; font-weight: 600; }
.contact .btn { width: 100%; white-space: nowrap; }
.thanks button.ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.thanks button.ghost:hover { background: rgba(255,255,255,.12); }

footer { text-align: center; background: var(--night); color: rgba(237,230,207,.75); font-size: 14px; padding: 28px 16px 36px; }
footer strong { color: var(--cream); font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 20px; display: block; margin-bottom: 4px; }
[hidden] { display: none !important; }
.steps p.strong-rec { margin-top: 8px; padding: 8px 12px; background: var(--sage-soft); border-radius: 10px; font-size: 15px; }
