:root {
  --navy: #223260;
  --navy-soft: #3a4a78;
  --red: #cd3c28;
  --gold: #f6c644;
  --gold-deep: #e9b22a;
  --green: #8bb840;
  --green-deep: #5e8f2c;
  --sky: #b0def8;
  --sky-pale: #eaf6fd;
  --cream: #fff8ea;
  --paper: #fffdf8;
  --line: #eadfc8;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(34, 50, 96, 0.10);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Bitter", Georgia, serif;
  font-weight: 400;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- wordmark ---------- */
.wordmark {
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.wordmark .dot {
  width: 0.36em; height: 0.36em; border-radius: 50%;
  background: var(--red); display: inline-block;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(234, 246, 253, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34, 50, 96, 0.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand .wordmark { font-size: 1.02rem; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 0.98rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: 0.85em 1.4em; border-radius: 999px;
  text-decoration: none; text-align: center;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--navy); color: var(--cream); box-shadow: 0 6px 16px rgba(34, 50, 96, .22); }
.btn-primary:hover { background: #1a274d; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 16px rgba(233, 178, 42, .30); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-1px); }
.btn-small { padding: 0.55em 1.05em; font-size: 0.92rem; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-pale) 45%, var(--cream) 100%);
  position: relative; overflow: hidden;
  padding: 64px 0 0;
  text-align: center;
}
.hero .cloud {
  position: absolute; background: #fff; border-radius: 999px; opacity: .85;
  filter: drop-shadow(0 6px 10px rgba(34, 50, 96, .05));
}
.hero .cloud::before, .hero .cloud::after {
  content: ""; position: absolute; background: #fff; border-radius: 50%;
}
.cloud.c1 { width: 150px; height: 40px; top: 70px; left: 6%; }
.cloud.c1::before { width: 70px; height: 70px; top: -38px; left: 26px; }
.cloud.c1::after { width: 50px; height: 50px; top: -24px; left: 80px; }
.cloud.c2 { width: 120px; height: 34px; top: 120px; right: 8%; }
.cloud.c2::before { width: 56px; height: 56px; top: -30px; left: 22px; }
.cloud.c2::after { width: 40px; height: 40px; top: -18px; left: 66px; }

.eyebrow { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; color: var(--navy-soft); }
.hero h1 {
  font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  line-height: 1.08; margin: 10px auto 14px; max-width: 14ch;
}
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 40ch; margin: 0 auto 28px; color: var(--navy-soft); }

.signup {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow);
  max-width: 620px; margin: 0 auto; padding: 18px; text-align: left;
  position: relative; z-index: 2;
}
.signup .row { display: grid; grid-template-columns: 1fr 120px auto; gap: 10px; }
.signup label.vh, .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
input, select, textarea {
  font: inherit; color: var(--navy); width: 100%;
  border: 1.5px solid var(--line); background: #fff;
  border-radius: 12px; padding: 0.8em 0.9em;
}
input::placeholder, textarea::placeholder { color: #8a93ad; }
.signup .note { font-size: .88rem; color: var(--navy-soft); margin: 10px 4px 0; }
.form-status { font-weight: 600; margin: 10px 4px 0; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: var(--red); }

.hero-scene { width: min(760px, 96%); margin: 26px auto -6px; position: relative; z-index: 1; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-title { text-align: center; font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 10px; }
.section-sub { text-align: center; color: var(--navy-soft); max-width: 54ch; margin: 0 auto 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 4px 14px rgba(34, 50, 96, .05);
}
.step .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 700; }
.step p { margin: 0; color: var(--navy-soft); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin: 0 auto; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0.55em 1.1em; font-weight: 600;
}
.chip i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.i-green { background: var(--green); } .i-gold { background: var(--gold); }
.i-sky { background: #6fb9e6; } .i-red { background: var(--red); }

.band {
  background: linear-gradient(135deg, #eef6df 0%, #fdf3d4 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.band h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; line-height: 1.15; }
.band p { color: var(--navy-soft); margin: 0 0 22px; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.band li { background: rgba(255, 255, 255, .75); border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line); }
.band li strong { display: block; }

/* ---------- partner page ---------- */
.hero.small { padding: 56px 0 48px; }
.hero.small h1 { max-width: 18ch; }
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.perk { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.perk h3 { margin: 0 0 6px; font-size: 1.15rem; }
.perk p { margin: 0; color: var(--navy-soft); }
.perk .tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 8px; }

.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 30px; max-width: 760px; margin: 0 auto;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field.full { grid-column: 1 / -1; }
textarea { min-height: 120px; resize: vertical; }

/* ---------- prose ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-weight: 800; font-size: 2.2rem; margin: 0 0 6px; }
.prose h2 { font-weight: 700; font-size: 1.3rem; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--navy-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer .wordmark { color: var(--cream); font-size: .95rem; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--cream); text-decoration: none; opacity: .9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer small { opacity: .75; }

.hp { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav .hide-sm { display: none; }
  .brand .wordmark { display: none; }
  .signup .row { grid-template-columns: 1fr 1fr; }
  .signup .row .btn { grid-column: 1 / -1; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  section { padding: 56px 0; }
  .cloud { display: none; }
}

/* ---------- ZIP-first search + optional email ---------- */
.signup .row.row-zip { grid-template-columns: 1fr auto; }
.optin { margin-top: 16px; }
.optin-title { font-weight: 700; font-size: 1.1rem; margin: 2px 4px 2px; }
.freq { border: 0; padding: 0; margin: 12px 0 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.freq label { cursor: pointer; }
.freq input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.freq span {
  display: inline-block; padding: 0.5em 1em; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .95rem;
}
.freq input:checked + span { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.freq input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 620px) {
  .signup .row.row-zip { grid-template-columns: 1fr; }
  .signup .row.row-zip .btn { grid-column: auto; }
}
.freq-hint { margin: -4px 4px 12px; font-size: .92rem; color: var(--navy-soft); }
.days { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.days legend { font-weight: 600; font-size: .92rem; margin: 0 0 8px 4px; padding: 0; width: 100%; }
.days label { cursor: pointer; }
.days input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.days span { display: inline-block; min-width: 3.2em; text-align: center; padding: .4em .7em; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; }
.days input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.days input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.days[hidden] { display: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--red); }
.field-solo { margin-bottom: 10px; }

/* ---------- mission page ---------- */
.motto { display: inline-flex; align-items: center; gap: .45em; letter-spacing: .06em; max-width: none !important; }
.motto .dot { width: .2em; height: .2em; border-radius: 50%; background: var(--red); display: inline-block; }
.mission-h { font-weight: 800 !important; font-size: 1.8rem !important; margin-top: 0 !important; text-align: center; }
.prose p { font-size: 1.08rem; }
.mission-close { font-weight: 700; color: var(--navy) !important; }
.belief { margin-top: 36px; background: linear-gradient(135deg, #eef6df 0%, #fdf3d4 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; text-align: center; }
.belief p { font-size: 1.3rem; font-weight: 700; color: var(--navy) !important; margin: 6px 0 0; }
@media (max-width: 620px) { .motto { font-size: 2rem !important; } }
