:root {
  --green: #2f4a38;
  --green-deep: #22382a;
  --pink: #e7c6cc;
  --charcoal: #2e3133;
  --stone: #d8d1c6;
  --ivory: #f6f4ef;
  --paper: #fffaf4;
  --gold: #c59a4b;
  --water: #5c8691;
  --water-pale: #dfecee;
  --alert: #a84f3e;
  --line: rgba(46, 49, 51, .14);
  --shadow: 0 22px 65px rgba(34, 56, 42, .14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--charcoal); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { width: clamp(156px, 18vw, 226px); }
.header-label { color: var(--green); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: center;
  padding: clamp(64px, 10vw, 140px) clamp(20px, 7vw, 110px);
  color: var(--ivory);
  background:
    radial-gradient(circle at 78% 20%, rgba(92, 134, 145, .35), transparent 25%),
    linear-gradient(125deg, var(--green-deep), var(--green) 60%, #3d6050);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  right: -190px;
  bottom: -250px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 48% 52% 60% 40% / 62% 34% 66% 38%;
  transform: rotate(32deg);
}
.hero-copy { max-width: 800px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: .73rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: .98; }
h1 { max-width: 780px; font-size: clamp(3.2rem, 7.7vw, 7.1rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.lede { max-width: 680px; margin: 26px 0 34px; color: rgba(246,244,239,.84); font-size: clamp(1rem, 1.6vw, 1.24rem); line-height: 1.7; }
.primary-button, .safety-banner a, .email-button, .copy-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  background: var(--pink);
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 900;
}
.time-card { padding: clamp(28px, 4vw, 48px); background: rgba(255,250,244,.94); color: var(--charcoal); box-shadow: var(--shadow); position: relative; z-index: 1; }
.time-card h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
.time-card ul { margin: 28px 0 0; padding: 0; list-style: none; }
.time-card li { padding: 13px 0 13px 28px; border-top: 1px solid var(--line); position: relative; }
.time-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.drop-mark { float: right; width: 38px; height: 48px; display: grid; place-items: center; color: var(--water); font-size: 2rem; border: 1px solid var(--water); border-radius: 55% 55% 65% 35% / 60% 55% 45% 40%; transform: rotate(45deg); }

.safety-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px clamp(20px, 7vw, 110px);
  color: #fff;
  background: var(--alert);
}
.safety-banner p { margin: 2px 0 0; opacity: .88; }
.safety-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-weight: 900; }
.safety-banner a { min-height: 44px; background: #fff; color: var(--alert); }

.test-shell { width: min(1220px, calc(100% - 40px)); margin: 0 auto; padding: clamp(58px, 9vw, 110px) 0; }
.progress-nav { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 46px; border-block: 1px solid var(--line); }
.progress-item { min-height: 76px; padding: 12px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #747776; cursor: pointer; font-size: .75rem; font-weight: 800; text-align: left; }
.progress-item:last-child { border-right: 0; }
.progress-item span { width: 28px; height: 28px; display: inline-grid; place-items: center; margin-right: 8px; border: 1px solid currentColor; border-radius: 50%; }
.progress-item.is-active { color: var(--green); background: rgba(216,209,198,.24); }
.progress-item.is-complete span { color: var(--paper); background: var(--green); border-color: var(--green); }
.step-panel { display: none; }
.step-panel.is-active { display: block; animation: reveal .35s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } }
.step-intro { max-width: 820px; margin-bottom: 42px; }
.step-intro > p:last-child { max-width: 680px; font-size: 1.08rem; }
.instruction-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .6fr); gap: 28px; align-items: start; }
.checklist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.checklist li > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--green); border: 1px solid var(--green); border-radius: 50%; font-family: var(--serif); font-size: 1.2rem; }
.checklist strong { font-size: 1.02rem; }
.checklist p { margin: 4px 0 0; color: #666a69; }
.timer-card { position: sticky; top: 22px; padding: 28px; color: var(--ivory); background: var(--green); box-shadow: var(--shadow); }
.timer { margin: 8px 0 20px; font-family: var(--serif); font-variant-numeric: tabular-nums; font-size: clamp(4rem, 8vw, 6.5rem); line-height: 1; letter-spacing: -.06em; }
.timer-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.timer-actions button { min-height: 48px; border: 1px solid rgba(255,255,255,.3); color: inherit; background: transparent; cursor: pointer; font-weight: 800; }
.timer-actions .timer-start { background: var(--ivory); color: var(--green); }
.quiet { margin: 18px 0 0; color: rgba(255,255,255,.75); font-size: .88rem; }

.question-card { margin: 48px 0 0; padding: clamp(24px, 4vw, 44px); border: 0; background: var(--water-pale); }
.question-card legend { float: left; width: 100%; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.08; }
.question-card > p { clear: both; padding-top: 10px; color: #59696d; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.choice { min-height: 92px; padding: 18px; border: 1px solid rgba(47,74,56,.28); background: rgba(255,255,255,.6); color: var(--charcoal); cursor: pointer; text-align: left; }
.choice span { display: block; color: var(--green); font-family: var(--serif); font-size: 1.7rem; }
.choice small { display: block; margin-top: 3px; }
.choice:hover, .choice:focus-visible, .choice.is-selected { outline: 0; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(47,74,56,.12); }
.answer-note { clear: both; margin-top: 18px; padding: 18px; background: #fff; border-left: 4px solid var(--gold); }

.no-water-strip { margin-bottom: 34px; padding: 22px 24px; color: var(--green-deep); background: var(--pink); }
.no-water-strip strong { font-family: var(--serif); font-size: 1.3rem; }
.no-water-strip div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.no-water-strip span { padding: 7px 10px; background: rgba(255,255,255,.58); font-size: .76rem; font-weight: 850; }
.check-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.check-card { display: block; position: relative; cursor: pointer; }
.check-card > input { position: absolute; opacity: 0; pointer-events: none; }
.check-copy { min-height: 100%; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; padding: 24px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, background .2s, transform .2s; }
.check-icon { grid-row: 1 / span 3; width: 42px; height: 42px; display: grid; place-items: center; color: var(--water); border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); }
.check-copy strong { align-self: center; font-family: var(--serif); font-size: 1.45rem; }
.check-copy small { grid-column: 2; color: #676b69; font-size: .9rem; }
.check-copy em { grid-column: 2; margin-top: 8px; color: var(--alert); font-size: .78rem; font-style: normal; font-weight: 750; }
.check-card input:checked + .check-copy { border-color: var(--green); background: rgba(223,236,238,.55); box-shadow: inset 5px 0 0 var(--green); }
.check-card input:focus-visible + .check-copy { outline: 3px solid rgba(47,74,56,.18); outline-offset: 2px; }
.check-card:hover .check-copy { transform: translateY(-2px); }
.notes-field { display: block; margin-top: 28px; }
.notes-field > span { display: block; margin-bottom: 8px; font-weight: 850; }
.notes-field small { color: #777; font-weight: 500; }
.notes-field textarea { width: 100%; padding: 16px; border: 1px solid var(--line); background: #fff; color: var(--charcoal); resize: vertical; }
.notes-field textarea:focus { outline: 3px solid rgba(92,134,145,.2); border-color: var(--water); }
.next-button, .restart-button { min-height: 52px; margin-top: 20px; padding: 14px 20px; border: 0; color: var(--ivory); background: var(--green); cursor: pointer; font-weight: 900; }
.next-button span { margin-left: 18px; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 22px; align-items: start; }
.report-card { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.report-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.report-status { padding: 7px 10px; color: var(--green); background: var(--water-pale); font-size: .72rem; font-weight: 850; text-transform: uppercase; white-space: nowrap; }
#report-text { min-height: 270px; margin: 0; padding: 26px 0; white-space: pre-wrap; font: inherit; line-height: 1.7; }
.report-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.copy-button, .email-button { cursor: pointer; background: var(--green); color: var(--ivory); }
.email-button { background: var(--pink); color: var(--charcoal); }
.copy-feedback { min-height: 1.4em; margin: 10px 0 0; color: var(--green); font-size: .85rem; font-weight: 800; }
.send-list { padding: 28px; color: var(--ivory); background: var(--charcoal); }
.send-list h3 { font-size: 2rem; }
.send-list ul { margin: 22px 0; padding: 0; list-style: none; }
.send-list li { padding: 12px 0 12px 24px; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.send-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.send-list p:not(.eyebrow) { color: rgba(255,255,255,.68); font-size: .9rem; }
.send-list a { display: inline-block; margin-top: 8px; color: var(--pink); font-weight: 850; }
.restart-button { color: var(--green); background: transparent; border: 1px solid var(--green); }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 34px clamp(20px, 7vw, 110px); color: var(--ivory); background: var(--charcoal); }
.site-footer img { width: 170px; filter: brightness(0) invert(1); }
.site-footer p { margin: 0; color: rgba(255,255,255,.7); }
.site-footer a { color: var(--pink); font-weight: 800; }

@media (max-width: 820px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .time-card { max-width: 560px; }
  .safety-banner { grid-template-columns: auto 1fr; }
  .safety-banner a { grid-column: 2; justify-self: start; }
  .progress-nav { overflow-x: auto; grid-template-columns: repeat(4, minmax(145px, 1fr)); }
  .instruction-grid { grid-template-columns: 1fr; }
  .timer-card { position: static; }
  .report-layout { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { min-height: 68px; }
  .brand { width: 145px; }
  .hero { padding-inline: 20px; }
  h1 { font-size: clamp(3rem, 15vw, 4.9rem); }
  .time-card { padding: 24px; }
  .safety-banner { padding: 22px 20px; }
  .safety-banner p { font-size: .9rem; }
  .test-shell { width: min(100% - 28px, 1220px); }
  .choice-row { grid-template-columns: 1fr; }
  .timer-actions { grid-template-columns: 1fr; }
  .check-cards { grid-template-columns: 1fr; }
  .check-copy { grid-template-columns: 38px 1fr; padding: 20px 17px; gap: 4px 12px; }
  .check-icon { width: 38px; height: 38px; }
  .report-heading { display: block; }
  .report-status { display: inline-block; margin-top: 14px; }
}

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