:root {
  --ink: #17352c;
  --muted: #64726d;
  --paper: #fffef9;
  --canvas: #f3f7f1;
  --line: #dce5de;
  --leaf: #176b4b;
  --leaf-dark: #0d4f37;
  --lime: #d9ef72;
  --coral: #f06449;
  --success: #18794e;
  --error: #b42318;
  --shadow: 0 24px 70px rgba(34, 67, 54, .12);
  --font: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 10%, rgba(217, 239, 114, .24), transparent 28rem),
    linear-gradient(180deg, #fbfcf6 0, var(--canvas) 100%);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }

.wm-top-banner {
  padding: 9px 20px;
  color: #fff;
  background: var(--leaf-dark);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.wm-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 249, .9);
  backdrop-filter: blur(12px);
}
.wm-header-inner {
  width: min(1120px, calc(100% - 36px));
  min-height: 68px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wm-header-left { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--lime);
  color: var(--leaf-dark);
  font-size: 18px;
}
.wm-title-main { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 20px; }
.wm-title-sub { margin-top: 1px; color: var(--muted); font-size: 11px; font-weight: 700; }
.header-status { color: var(--leaf); font-size: 12px; font-weight: 800; }

.wm-main { width: min(1120px, calc(100% - 32px)); margin: 34px auto 0; }
.wm-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.wm-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding: 30px 52px 38px;
}
.wm-hero-copy {
  width: min(100%, 860px);
  min-width: 0;
  margin: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--coral); }
.wm-hero h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.wm-hero h1 span { color: var(--leaf); }
.hero-sub {
  max-width: 590px;
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.wm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wm-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #40564e;
  font-size: 12px;
  font-weight: 800;
}
.wm-tags i { color: var(--leaf); }
.hero-cta {
  width: min(100%, 390px);
  min-height: 58px;
  margin-top: 20px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--leaf);
  box-shadow: 0 12px 26px rgba(23, 107, 75, .24);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.hero-cta:hover {
  background: var(--leaf-dark);
  box-shadow: 0 16px 30px rgba(23, 107, 75, .28);
  transform: translateY(-2px);
}
.hero-cta i { margin-left: 8px; }
.hero-art {
  position: relative;
  order: -1;
  width: min(100%, 360px);
  min-height: 0;
  margin: auto;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f5f8ec;
  box-shadow: 0 14px 34px rgba(32, 67, 54, .08);
}
.hero-art::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 82%;
  right: 7%;
  top: 3%;
  border-radius: 52% 48% 36% 64% / 58% 42% 58% 42%;
  background: #e6f1c5;
  transform: rotate(-4deg);
}
.hero-art::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  right: 1%;
  bottom: 5%;
  border-radius: 50%;
  background: var(--coral);
  opacity: .18;
}
.hero-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(24, 69, 50, .18);
  transform: rotate(1.5deg);
}
.image-note {
  position: absolute;
  z-index: 2;
  right: -8%;
  top: 8%;
  padding: 8px 11px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 53, 44, .12);
  font-size: 11px;
  font-weight: 800;
}

.straight-answers {
  display: grid;
  grid-template-columns: .72fr 1fr 1fr 1fr;
  gap: 12px;
  margin: 0 52px 42px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8faf5;
}
.answers-intro { padding: 15px 8px 0 0; }
.answers-intro strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 22px; }
.answers-intro span { color: var(--muted); font-size: 12px; }
.qa {
  position: relative;
  overflow: hidden;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(32, 67, 54, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.qa::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--lime);
}
.qa:nth-child(3)::after { background: #9edbc0; }
.qa:nth-child(4)::after { background: #ffc1a9; }
.qa:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(32, 67, 54, .1); }
.qa .q {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 900;
}
.qa .q::before {
  content: "Q";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--leaf-dark);
  background: #edf5d2;
  font-size: 10px;
}
.qa .a { color: var(--muted); font-size: 12px; line-height: 1.5; }

.wm-home-quiz, .wm-checking, .wm-email-screen {
  padding: 34px 52px 42px;
  border-top: 1px solid var(--line);
  background: #fff;
}
#homeQuiz {
  min-height: 460px;
  padding-top: 78px;
}
#homeQuiz .wm-question-area {
  max-width: 900px;
  margin: auto;
}
#homeQuiz .section-kicker {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.wm-hero-copy .wm-home-quiz {
  margin-top: 18px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.wm-hero-copy .wm-q-text { font-size: clamp(22px, 2.2vw, 29px); }
.wm-hero-copy .wm-option-btn {
  min-height: 62px;
  padding: 12px;
  font-size: 12px;
}
.wm-hero-copy .wm-opt-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}
.section-kicker { margin: 0 0 8px; color: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.wm-question-slide { display: none; }
.wm-question-slide.active { display: block; animation: rise .25s ease both; }
.wm-q-text { max-width: 680px; margin: 0 0 8px; font-family: "Fraunces", Georgia, serif; font-size: clamp(25px, 3vw, 34px); font-weight: 800; line-height: 1.15; }
.wm-q-helper { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.wm-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wm-option-btn {
  min-height: 76px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: .18s ease;
}
.wm-option-btn:hover { border-color: var(--leaf); background: #f4f9f2; transform: translateY(-2px); }
.wm-option-btn.selected { border-color: var(--success); background: #edf8f1; }
.wm-opt-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--leaf); background: #e8f2dc; }
.opt-arrow { margin-left: auto; color: #aab7b1; }

.wm-checking { text-align: center; }
.wm-spinner { color: var(--leaf); font-size: 34px; }
.wm-checking h3, .wm-email-screen h3 { margin: 13px 0 8px; font-family: "Fraunces", Georgia, serif; font-size: 30px; }
.wm-check-list { max-width: 430px; margin: 24px auto 0; padding: 0; list-style: none; text-align: left; }
.wm-check-list li { display: flex; gap: 10px; margin: 10px 0; color: var(--muted); font-size: 14px; }

.wm-email-screen { max-width: 720px; margin: auto; border: 0; }
.qualify-pill { display: inline-flex; gap: 7px; align-items: center; padding: 7px 11px; border-radius: 999px; background: #e8f7ec; color: var(--success); font-size: 12px; font-weight: 900; }
.email-sub { margin: 0 0 20px; color: var(--muted); line-height: 1.55; }
.reward-summary { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 14px; border-radius: 16px; background: #f2f7e5; }
.reward-summary i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--lime); color: var(--leaf-dark); }
.reward-summary small { display: block; color: var(--muted); font-weight: 700; }
.reward-summary strong { font-family: "Fraunces", Georgia, serif; font-size: 19px; }
.wm-form-group { margin: 0 0 14px; }
.wm-email-field-label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 900; }
.wm-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
.wm-input:focus { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(23, 107, 75, .1); }
.wm-input.error { border-color: var(--error); }
.wm-error-msg { display: none; margin-top: 7px; color: var(--error); font-size: 12px; font-weight: 700; }
.wm-error-msg.show { display: block; }
.wm-btn {
  width: 100%;
  min-height: 55px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--leaf);
  box-shadow: 0 10px 22px rgba(23, 107, 75, .2);
  cursor: pointer;
  font-weight: 900;
  transition: .18s ease;
}
.wm-btn:hover { background: var(--leaf-dark); transform: translateY(-1px); }
.wm-btn:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.wm-email-footnote { margin-top: 11px; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.45; }

.wm-toast {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -10px);
  pointer-events: none;
  transition: .2s ease;
  font-size: 13px;
  font-weight: 800;
}
.wm-toast.show { opacity: 1; transform: translate(-50%, 0); }

.consent-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(13, 35, 28, .68);
  backdrop-filter: blur(5px);
}
.consent-modal.open { display: grid; }
.consent-dialog {
  width: min(520px, 100%);
  padding: 26px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
  animation: rise .22s ease;
}
.warning-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #fff0dc; color: #a94e13; font-size: 20px; }
.consent-dialog h2 { margin: 14px 0 7px; font-family: "Fraunces", Georgia, serif; font-size: 27px; }
.consent-dialog > p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.warning-list { margin: 0 0 20px; padding: 0; list-style: none; }
.warning-list li { position: relative; padding: 10px 0 10px 27px; border-top: 1px solid var(--line); color: #485d55; font-size: 13px; line-height: 1.45; }
.warning-list li::before { content: "•"; position: absolute; left: 8px; color: var(--coral); font-weight: 900; }
.modal-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; }
.modal-cancel { border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; font-weight: 800; }
.modal-agree { min-height: 50px; border: 0; border-radius: 12px; background: var(--leaf); color: #fff; cursor: pointer; font-weight: 900; }

.wm-footer { width: min(900px, calc(100% - 36px)); margin: 0 auto; padding: 28px 0 42px; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.65; }
.wm-footer-links { display: flex; justify-content: center; gap: 18px; margin-bottom: 8px; }
.wm-footer a { color: var(--ink); font-weight: 800; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (max-width: 820px) {
  .wm-main { margin-top: 18px; }
  .wm-card { border-radius: 20px; }
  .wm-hero { grid-template-columns: 1fr; gap: 18px; padding: 22px 24px 28px; }
  .wm-hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-art { width: min(88%, 330px); min-height: 0; justify-self: center; }
  .hero-art img { width: min(100%, 260px); }
  .straight-answers { grid-template-columns: 1fr; margin: 0 24px 32px; padding: 16px; }
  .answers-intro { padding-top: 0; }
  .wm-home-quiz, .wm-checking, .wm-email-screen { padding: 27px 24px 32px; }
  .wm-options { grid-template-columns: 1fr; }
  .wm-hero-copy .wm-home-quiz { padding: 20px 0 0; }
  .wm-hero-copy .wm-option-btn { min-height: 54px; }
  #homeQuiz { min-height: 520px; padding-top: 52px; }
}
@media (max-width: 480px) {
  .header-status { display: none; }
  .wm-header-inner { width: calc(100% - 28px); }
  .wm-main { width: calc(100% - 20px); }
  .wm-hero { padding: 26px 18px 22px; }
  .wm-hero h1 { font-size: 34px; }
  .hero-sub { font-size: 14px; }
  .straight-answers { margin-left: 18px; margin-right: 18px; }
  .wm-home-quiz, .wm-checking, .wm-email-screen { padding-left: 18px; padding-right: 18px; }
  .image-note { display: none; }
  .modal-actions { grid-template-columns: 1fr; }
  .modal-cancel { min-height: 46px; order: 2; }
}
