:root {
  --navy: #172c3b;
  --navy-soft: #2d4654;
  --green: #708676;
  --green-deep: #4e6858;
  --rose: #d9b9ad;
  --rose-light: #f1e5df;
  --paper: #fbf8f4;
  --white: #ffffff;
  --ink: #1c2a31;
  --muted: #667278;
  --line: rgba(23, 44, 59, 0.13);
  --shadow: 0 24px 70px rgba(40, 50, 47, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(217, 185, 173, 0.25), transparent 28rem),
    radial-gradient(circle at 92% 76%, rgba(112, 134, 118, 0.16), transparent 32rem),
    var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.24;
  pointer-events: none;
}
.ambient-one { top: 8rem; left: -9rem; background: var(--rose); }
.ambient-two { right: -10rem; bottom: 4rem; background: var(--green); }

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  width: 92px;
  height: 92px;
  display: block;
  border: 1px solid rgba(23, 44, 59, 0.1);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(38, 48, 44, 0.13);
}

.brand strong, .brand small { display: block; }
.brand strong { font-family: "Playfair Display", Georgia, serif; font-size: 18px; letter-spacing: 0.01em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.location-pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 9px 13px;
  color: var(--navy-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 600;
}
.location-pill svg { width: 14px; fill: var(--green-deep); }

main {
  width: min(1120px, calc(100% - 40px));
  margin: 54px auto 80px;
  display: grid;
  grid-template-columns: minmax(260px, 0.73fr) minmax(570px, 1.27fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.hero { padding-top: 42px; position: sticky; top: 20px; }
.eyebrow {
  display: inline-flex;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; margin: 8px 10px 0 0; background: var(--green); }

h1, h2 { font-family: "Playfair Display", Georgia, serif; color: var(--navy); }
h1 { margin: 20px 0 20px; font-size: clamp(42px, 5.2vw, 68px); line-height: 0.99; letter-spacing: -0.035em; }
h1 em { color: var(--green-deep); font-weight: 500; }
.hero > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

.reassurance { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.reassurance li { color: var(--navy-soft); font-size: 12px; font-weight: 600; }
.reassurance span { margin-right: 5px; color: var(--green-deep); }

.quiz-shell {
  min-height: 590px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.quiz-panel, .result-panel { padding: clamp(28px, 5vw, 48px); }

.progress-meta { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.progress-track { height: 4px; border-radius: 999px; background: #e9ebe7; overflow: hidden; }
.progress-bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), #93a895); transition: width 350ms ease; }

form { margin-top: 40px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { width: 100%; padding: 0; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: clamp(25px, 3vw, 33px); font-weight: 600; line-height: 1.18; }
.question-help { margin: 8px 0 26px; color: var(--muted); font-size: 13px; }

.step { display: none; }
.step.is-active { display: block; animation: stepIn 300ms ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.choice-grid { display: grid; gap: 11px; }
.goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.goal-grid .choice-card:last-child { grid-column: 1 / -1; }
.pressure-grid, .duration-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.choice-card {
  position: relative;
  min-height: 82px;
  padding: 16px;
  display: flex;
  gap: 13px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(251, 248, 244, 0.5);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.choice-card:hover { transform: translateY(-2px); border-color: rgba(112,134,118,.55); box-shadow: 0 10px 24px rgba(65,83,69,.08); }
.choice-card:has(input:focus-visible) { outline: 3px solid rgba(112,134,118,.25); outline-offset: 2px; }
.choice-card:has(input:checked) { border-color: var(--green); background: rgba(112,134,118,.09); box-shadow: inset 0 0 0 1px rgba(112,134,118,.22); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { color: var(--navy); font-size: 14px; }
.choice-card small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.choice-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; color: var(--green-deep); border-radius: 50%; background: var(--rose-light); font-family: Georgia, serif; font-size: 20px; }

.choice-card-tall { min-height: 165px; padding: 22px 14px; flex-direction: column; justify-content: center; text-align: center; }
.pressure-dots { height: 35px; display: flex; gap: 5px; align-items: end; }
.pressure-dots i { display: block; width: 7px; height: 10px; border-radius: 999px; background: var(--green); opacity: .28; }
.pressure-dots i:first-child { opacity: 1; }
.pressure-dots.medium i:nth-child(2), .pressure-dots.strong i { opacity: 1; }
.pressure-dots.strong i:nth-child(2) { height: 18px; }
.pressure-dots.strong i:nth-child(3) { height: 26px; }

.duration-card { min-height: 167px; padding: 24px 10px; display: grid; text-align: center; }
.duration-card > span:not(.popular) { display: grid; }
.duration-card strong { font-family: "Playfair Display", Georgia, serif; font-size: 34px; }
.duration-card strong small { display: inline; font-family: "DM Sans", sans-serif; font-size: 12px; font-weight: 600; }
.duration-card em { margin: 4px 0 9px; color: var(--green-deep); font-size: 16px; font-style: normal; font-weight: 700; }
.duration-card.featured { border-color: rgba(112,134,118,.42); }
.popular { position: absolute; top: 0; left: 50%; padding: 5px 10px; transform: translate(-50%, -50%); white-space: nowrap; border-radius: 999px; color: white; background: var(--green-deep); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.form-error { min-height: 17px; margin: 14px 0 0; color: #9e4f4a; font-size: 12px; }
.quiz-actions { margin-top: 8px; display: flex; justify-content: space-between; gap: 12px; }
.button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:focus-visible, .copy-button:focus-visible, .restart-button:focus-visible { outline: 3px solid rgba(112,134,118,.28); outline-offset: 3px; }
.button-primary { margin-left: auto; color: white; background: var(--navy); box-shadow: 0 8px 20px rgba(23,44,59,.18); }
.button-primary:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.button-ghost { color: var(--muted); background: transparent; }

.result-panel { text-align: center; animation: resultIn 450ms ease both; }
@keyframes resultIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.result-kicker { color: var(--green-deep); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.result-kicker span { margin-right: 5px; }
.result-panel h2 { margin: 13px auto 8px; max-width: 540px; font-size: clamp(31px, 4vw, 43px); line-height: 1.08; }
.result-description { max-width: 520px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.65; }

.result-facts { margin: 27px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.result-facts div { padding: 16px 10px; background: var(--paper); }
.result-facts div + div { border-left: 1px solid var(--line); }
.result-facts small, .result-facts strong { display: block; }
.result-facts small { margin-bottom: 4px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.result-facts strong { color: var(--navy); font-size: 15px; }

.why-card { padding: 15px 17px; display: flex; gap: 13px; align-items: flex-start; border-radius: 14px; background: rgba(217,185,173,.2); text-align: left; }
.why-icon { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green-deep); font-family: Georgia, serif; font-style: italic; font-size: 13px; }
.why-card strong { color: var(--navy); font-size: 12px; }
.why-card p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.summary-card { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; text-align: left; }
.summary-heading { padding-bottom: 13px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.summary-heading span, .summary-heading small { display: block; }
.summary-heading span { color: var(--navy); font-size: 13px; font-weight: 700; }
.summary-heading small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.copy-button { padding: 7px 10px; display: inline-flex; gap: 5px; align-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--green-deep); background: white; cursor: pointer; font-size: 10px; font-weight: 700; }
.copy-button svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.summary-card dl { margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 24px; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 10px; }
.summary-card dt { color: var(--muted); font-size: 10px; }
.summary-card dd { margin: 0; color: var(--navy); font-size: 10px; font-weight: 700; text-align: right; }

.button-book { width: 100%; margin-top: 20px; }
.restart-button { margin: 12px auto 0; padding: 5px; border: 0; color: var(--green-deep); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.safety-note { margin: 19px auto 0; max-width: 540px; color: #7d8688; font-size: 9px; line-height: 1.55; }

footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0 34px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
footer p { margin: 0; }
footer strong { color: var(--navy); }

[hidden] { display: none !important; }

@media (max-width: 850px) {
  main { margin-top: 25px; grid-template-columns: 1fr; gap: 36px; }
  .hero { position: static; padding-top: 20px; text-align: center; }
  .hero > p { margin-inline: auto; }
  .eyebrow { justify-content: center; }
  .reassurance { justify-content: center; }
  .quiz-shell { min-height: auto; }
}

@media (max-width: 580px) {
  .site-header { width: min(100% - 28px, 1120px); padding-top: 17px; }
  .brand { gap: 10px; }
  .brand-logo { width: 68px; height: 68px; border-radius: 17px; }
  .brand strong { font-size: 14px; }
  .brand small { max-width: 126px; font-size: 8px; }
  .location-pill { padding: 8px; font-size: 0; }
  .location-pill svg { width: 17px; }
  main { width: min(100% - 24px, 1120px); margin-bottom: 54px; }
  h1 { font-size: 44px; }
  .hero { padding-inline: 8px; }
  .hero > p { font-size: 14px; line-height: 1.65; }
  .quiz-shell { border-radius: 22px; }
  .quiz-panel, .result-panel { padding: 27px 20px; }
  form { margin-top: 30px; }
  legend { font-size: 27px; }
  .goal-grid, .pressure-grid, .duration-grid { grid-template-columns: 1fr; }
  .goal-grid .choice-card:last-child { grid-column: auto; }
  .choice-card, .choice-card-tall { min-height: 74px; padding: 14px; flex-direction: row; justify-content: flex-start; text-align: left; }
  .pressure-dots { width: 34px; height: 28px; flex: 0 0 34px; justify-content: center; }
  .duration-card { min-height: 90px; display: flex; text-align: left; }
  .duration-card > span:not(.popular) { width: 100%; grid-template-columns: auto auto; align-items: center; }
  .duration-card strong { font-size: 29px; }
  .duration-card em { margin: 0; text-align: right; }
  .duration-card small { grid-column: 1 / -1; }
  .popular { top: 50%; left: auto; right: 12px; transform: translateY(-50%) rotate(-2deg); }
  .duration-card.featured em { margin-right: 84px; }
  .summary-card dl { grid-template-columns: 1fr; }
  footer { width: min(100% - 28px, 1120px); flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
