:root {
  --teal: #3a9690;
  --teal-deep: #2b7a75;
  --teal-soft: #dcefec;
  --teal-wash: #eef7f5;
  --ink: #163a48;
  --text: #2c4550;
  --muted: #5f7680;
  --bg: #fbfcfb;
  --surface: #ffffff;
  --border: #d5e6e3;
  --error: #b3261e;
  --radius: 16px;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --caps: "Montserrat", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: 36px 0 110px;
  background:
    radial-gradient(ellipse 45% 55% at 92% 30%, rgba(255, 226, 170, .55), transparent 70%),
    radial-gradient(ellipse 70% 40% at 20% 100%, rgba(150, 205, 210, .35), transparent 75%),
    linear-gradient(180deg, #e9f2f6 0%, #f6f5ef 55%, #e5f1f0 100%);
  overflow: hidden;
}

.logo {
  display: block;
  width: 300px;
  max-width: 80%;
  height: auto;
  margin: 0 auto;
}

.hero h1 {
  margin: 18px 0 0;
  color: var(--teal);
  font-weight: 400;
  line-height: 1;
}
.hero .script {
  display: block;
  font-family: var(--script);
  font-size: clamp(64px, 16vw, 128px);
  line-height: 1.05;
  transform: rotate(-4deg);
  text-shadow: 0 2px 18px rgba(255, 255, 255, .6);
}
.hero .caps {
  display: block;
  margin-top: 4px;
  font-family: var(--caps);
  font-weight: 600;
  font-size: clamp(36px, 9vw, 64px);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-left: .12em;
}
.swoosh {
  display: block;
  width: min(440px, 80%);
  height: 22px;
  margin: 6px auto 18px;
  fill: var(--teal);
}

.kicker {
  margin: 0 0 6px;
  font-family: var(--caps);
  font-weight: 700;
  font-size: clamp(20px, 4.5vw, 28px);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.tagline {
  margin: 0 0 26px;
  font-size: clamp(18px, 4vw, 22px);
  color: var(--ink);
}

.hero-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 70px;
  fill: var(--bg);
}

/* ---------- Pill button ---------- */

.pill {
  position: relative;
  display: inline-block;
  font-family: var(--caps);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--teal);
  border: 0;
  border-radius: 999px;
  padding: 15px 34px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(43, 122, 117, .28);
  transition: background-color .15s, transform .15s;
}
.pill:hover { background: var(--teal-deep); transform: translateY(-1px); }
.pill:focus-visible { outline: 3px solid rgba(58, 150, 144, .45); outline-offset: 3px; }
.pill-lg { font-size: 18px; padding: 18px 44px; width: min(100%, 380px); }

/* sparkle strokes on either side, like the flyer */
.pill::before,
.pill::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px;
  height: 30px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--teal), var(--teal)) 0 3px / 16px 3px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 0 13.5px / 22px 3px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 0 24px / 16px 3px no-repeat;
  border-radius: 2px;
}
.pill::before { right: calc(100% + 10px); transform: translateY(-50%) scaleX(-1); }
.pill::after { left: calc(100% + 10px); }

/* ---------- Explore / topics ---------- */

.explore { padding-top: 8px; text-align: center; }

.brush-band {
  position: relative;
  padding: 26px 28px 30px;
  margin: 0 -8px 28px;
}
.brush-band > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--teal-soft);
  z-index: -1;
}
.brush-band h2 {
  margin: 0 0 8px;
  font-family: var(--caps);
  font-weight: 600;
  font-size: clamp(19px, 4.4vw, 26px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.brush-band p { margin: 0 auto; max-width: 560px; color: var(--ink); }
.explore { position: relative; z-index: 0; }

.topics {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px 10px;
}
.topics li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--caps);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ink);
}
.topic-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #54aba4, var(--teal) 60%, var(--teal-deep));
  box-shadow: 0 4px 12px rgba(43, 122, 117, .2);
}
.topic-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slogan {
  margin: 0 0 30px;
}
.slogan span {
  position: relative;
  display: inline-block;
  padding: 10px 40px 14px;
  font-family: var(--script);
  font-size: clamp(26px, 6.5vw, 40px);
  color: #fff;
  background: var(--teal);
  border-radius: 6px 22px 8px 18px / 18px 8px 22px 6px;
  transform: rotate(-2deg);
  box-shadow: 0 6px 18px rgba(43, 122, 117, .22);
}

.facts {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
}
.facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 16px;
  font-size: 15px;
  color: var(--muted);
}
.facts li + li { border-left: 1px solid var(--border); }
.facts svg {
  flex: none;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.facts strong {
  display: block;
  font-family: var(--caps);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Sign-up ---------- */

.signup { padding: 40px 16px 56px; }

.section-title {
  margin: 0 0 20px;
  text-align: center;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(40px, 9vw, 56px);
  color: var(--teal);
  line-height: 1.1;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--teal-wash);
  color: var(--ink);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.notice svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.notice p { margin: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(22, 58, 72, .05);
}
.card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  font-family: var(--caps);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.step {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0;
  flex: none;
}
.hint { margin: 0 0 14px; color: var(--muted); font-size: 15px; }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--muted);
}

.link-btn {
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--teal-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.link-btn:hover { text-decoration: underline; }

.date-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.date-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 26px;
  grid-template-areas: "date time check";
  align-items: center;
  column-gap: 16px;
  min-height: 54px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.date-option:hover { border-color: var(--teal); }
.date-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.date-text { grid-area: date; font-weight: 600; color: var(--ink); }
.date-time {
  grid-area: time;
  color: var(--muted);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.date-check {
  grid-area: check;
  width: 26px;
  height: 26px;
  border: 2px solid #a9cbc7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .15s, border-color .15s;
}
.date-option.is-checked {
  border-color: var(--teal);
  background: var(--teal-wash);
}
.date-option.is-checked .date-time { color: var(--teal-deep); }
.date-option.is-checked .date-check {
  background: var(--teal);
  border-color: var(--teal);
}
.date-option.is-checked .date-check::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: translateY(-1px) rotate(45deg);
}
.date-option:focus-within {
  outline: 3px solid rgba(58, 150, 144, .35);
  outline-offset: 2px;
}
.date-option.is-past {
  cursor: not-allowed;
  opacity: .5;
  background: #f2f5f4;
}
.date-option.is-past:hover { border-color: var(--border); }
.date-option.is-past .date-text::after {
  content: " — past";
  font-weight: 400;
  color: var(--muted);
}

.field { margin-bottom: 14px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field input {
  width: 100%;
  font: inherit;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(58, 150, 144, .2);
}
.field input[aria-invalid="true"] { border-color: var(--error); }

.optins { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.optin {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.optin:has(input:checked) { border-color: var(--teal); background: var(--teal-wash); }
.optin input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--teal);
  flex: none;
}

.error {
  color: var(--error);
  font-size: 14px;
  font-weight: 700;
  margin: 8px 0 0;
}

.submit-row { text-align: center; padding: 8px 0; }

/* ---------- Footer ---------- */

.footer { position: relative; margin-top: 20px; }
.footer-wave { display: block; width: 100%; height: 70px; }
.footer-wave .w1 { fill: var(--teal-soft); }
.footer-wave .w2 { fill: #c6e4e0; }
.footer-inner {
  background: #c6e4e0;
  padding: 4px 16px 28px;
  text-align: center;
  font-size: 14px;
  color: var(--ink);
}
.footer-inner p { margin: 0; }
.footer-brand {
  font-family: var(--caps);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 4px !important;
}

/* ---------- Thank-you page ---------- */

.hero-compact { padding-bottom: 90px; }
.hero-compact .script { font-size: clamp(52px, 13vw, 96px); }
.thanks { text-align: center; }
.thanks .notice { text-align: left; }
.thanks > p { margin: 0 0 18px; }

/* ---------- Utilities ---------- */

.hidden, [hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Small screens ---------- */

@media (max-width: 680px) {
  .topics { grid-template-columns: repeat(3, 1fr); }
  .topics li:last-child { grid-column: 2; }
  .facts { grid-template-columns: 1fr; gap: 12px; max-width: 360px; margin: 0 auto 12px; }
  .facts li + li { border-left: 0; }
}

@media (max-width: 560px) {
  .hero { padding-top: 28px; }
  .logo { width: 240px; }
  .field-row { display: block; }
  .card { padding: 18px 16px; }
  .brush-band { padding: 22px 22px 26px; }
  .topic-icon { width: 66px; height: 66px; }
  .topic-icon svg { width: 32px; height: 32px; }
  .topics li { font-size: 11.5px; }
  .date-option {
    grid-template-columns: minmax(0, 1fr) 26px;
    grid-template-areas: "date check" "time check";
    row-gap: 2px;
  }
  .pill::before, .pill::after { display: none; }
  .slogan span { padding: 10px 22px 12px; font-size: 25px; white-space: nowrap; }
}
