:root {
  --pine: #267c72;
  --pine-deep: #222a2d;
  --sage: #43a78f;
  --sage-light: #dff3ea;
  --cream: #f3f7f4;
  --paper: #ffffff;
  --sand: #cce2da;
  --terracotta: #47ad91;
  --ink: #20292b;
  --muted: #61706d;
  --line: rgba(38, 124, 114, 0.15);
  --shadow: 0 24px 70px rgba(27, 52, 49, 0.13);
  --radius-lg: 30px;
  --radius-md: 20px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--pine);
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 36px), var(--max-width));
  margin: 16px auto 0;
  padding: 10px 12px 10px 16px;
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(35, 68, 61, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(26, 54, 48, 0.07);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1.12;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--pine-deep);
  border-radius: 50% 50% 46% 54%;
  overflow: hidden;
}
.brand-mark svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.logo-symbol { position: relative; border-radius: 50%; }
.logo-symbol img { position: absolute; top: 0; left: 50%; width: 110px; max-width: none; transform: translateX(-50%); }
.brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.03em; }
.site-header nav { display: flex; gap: 26px; }
.site-header nav a { color: #40534e; font-size: 0.86rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover { color: var(--terracotta); }
.header-cta {
  padding: 10px 16px;
  color: white;
  background: var(--pine);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

section { scroll-margin-top: 100px; }
.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(38px, 7vw, 88px);
  align-items: center;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: min(780px, calc(100svh - 76px));
  margin: 0 auto;
  padding: 80px 0 70px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; color: var(--pine-deep); font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.04; letter-spacing: -0.035em; }
h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(3rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.25rem, 4.2vw, 4rem); }
h3 { font-size: 1.5rem; }
.hero-lead { max-width: 650px; margin: 0; color: #4d5f5a; font-size: clamp(1.04rem, 1.45vw, 1.19rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 21px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, .option-card:has(input:focus-visible), a:focus-visible { outline: 3px solid rgba(71, 173, 145, 0.48); outline-offset: 3px; }
.button-primary { color: white; background: var(--pine); box-shadow: 0 12px 28px rgba(35, 68, 61, 0.2); }
.button-primary:hover { background: #2e564d; }
.text-link { color: var(--pine); font-weight: 750; text-decoration: none; border-bottom: 1px solid rgba(35, 68, 61, 0.28); }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.82rem; font-weight: 650; }
.trust-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 0; background: var(--terracotta); border-radius: 50%; }

.hero-visual {
  position: relative;
  min-height: 550px;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(155deg, #2e383b 0%, #20272a 72%);
  border: 1px solid rgba(35, 68, 61, 0.08);
  border-radius: 42% 42% 28px 28px;
  box-shadow: var(--shadow);
}
.visual-brand-symbol { position: absolute; top: -10px; right: -36px; width: 235px; opacity: .12; mix-blend-mode: screen; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; border-radius: 50%; }
.hero-visual::before { width: 210px; height: 210px; right: -70px; top: -50px; background: rgba(255,255,255,.65); }
.hero-visual::after { width: 150px; height: 150px; left: -60px; bottom: 30px; border: 1px solid rgba(35,68,61,.12); }
.visual-label { position: relative; z-index: 2; display: flex; align-items: flex-start; flex-direction: column; width: 100%; margin: 0; padding: 0; text-align: left; }
.visual-label span { display: block; color: #8ce2c1; font-size: 0.68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.visual-label strong { display: block; width: 100%; max-width: 250px; margin: 6px 0 0; padding: 0; color: white; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.12; text-align: left; }
.body-map { position: relative; width: min(100%, 370px); margin: -15px auto -35px; }
.body-map svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 18px rgba(35,68,61,.10)); }
.callout { position: absolute; padding: 6px 10px; color: var(--pine-deep); background: rgba(235,255,247,.9); border: 1px solid rgba(117,226,190,.3); border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.16); font-size: .7rem; font-weight: 750; }
.callout-one { top: 25%; right: 2%; }
.callout-two { top: 45%; left: 0; }
.callout-three { bottom: 14%; right: 5%; }
.hero-visual > p { position: relative; z-index: 2; width: 85%; margin: 0 auto; padding: 18px; color: #d8eae4; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; font-size: .86rem; text-align: center; backdrop-filter: blur(8px); }

.assessment { padding: 110px 20px; background: linear-gradient(145deg, #256f67 0%, #1f4d49 100%); }
.section-intro { width: min(100%, 760px); margin: 0 auto 42px; text-align: center; }
.section-intro .eyebrow { color: #8ce2c1; }
.section-intro h2 { margin-bottom: 18px; color: white; }
.section-intro > p:last-child { width: min(100%, 650px); margin: 0 auto; color: #cbd9d4; }
.assessment-shell { width: min(100%, 960px); margin: 0 auto; padding: clamp(24px, 4vw, 48px); background: var(--paper); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(7, 27, 23, .24); }
.assessment-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.progress-label { flex: none; color: var(--muted); font-size: .76rem; }
.progress-track { width: 100%; height: 5px; overflow: hidden; background: #e7ece9; border-radius: 999px; }
.progress-track span { display: block; width: 33.333%; height: 100%; background: var(--terracotta); border-radius: inherit; transition: width 260ms ease; }
.question { display: none; margin: 0; padding: 0; border: 0; }
.question.active { display: block; animation: questionIn 280ms ease both; }
.question legend { width: 100%; color: var(--pine-deep); font-family: Georgia, serif; font-size: clamp(1.85rem, 3vw, 2.7rem); line-height: 1.1; letter-spacing: -.025em; }
.question-help { margin: 9px 0 24px; color: var(--muted); }
.option-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.option-card { position: relative; display: flex; flex-direction: column; min-height: 160px; padding: 20px 16px; background: #f8faf8; border: 1px solid var(--line); border-radius: 18px; cursor: pointer; transition: border 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.option-card:hover { transform: translateY(-2px); border-color: rgba(35,68,61,.3); box-shadow: 0 10px 24px rgba(35,68,61,.08); }
.option-card:has(input:checked) { color: var(--pine-deep); background: var(--sage-light); border-color: var(--sage); box-shadow: inset 0 0 0 1px var(--sage); }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 24px; color: var(--terracotta); background: white; border-radius: 50%; font-size: 1.25rem; }
.option-card strong { display: block; font-family: Georgia, serif; font-size: 1.02rem; line-height: 1.2; }
.option-card small { display: block; margin-top: 7px; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.compact-grid { grid-template-columns: repeat(3, 1fr); }
.compact-grid.triggers { grid-template-columns: repeat(2, 1fr); }
.option-card.compact { justify-content: center; min-height: 145px; }
.option-card.compact strong { font-size: 1.2rem; }
.form-actions { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-top: 25px; }
.button-ghost { min-height: 44px; padding: 10px 16px; color: var(--pine); background: transparent; border: 1px solid var(--line); }
.form-note { margin: 0 auto; padding: 0 12px; color: var(--muted); font-size: .76rem; }
.button-next { min-height: 44px; padding: 10px 18px; }
.button-next:disabled { cursor: not-allowed; opacity: .42; transform: none; box-shadow: none; }
.result-card { padding: clamp(4px, 2vw, 18px); }
.result-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--sage); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.result-kicker span { display: grid; place-items: center; width: 25px; height: 25px; color: white; background: var(--sage); border-radius: 50%; }
.result-card h3 { max-width: 700px; margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.6rem); }
.result-card > p { max-width: 720px; color: var(--muted); }
.result-path { margin: 28px 0 18px; padding: 22px; background: var(--sage-light); border-left: 4px solid var(--terracotta); border-radius: 4px 16px 16px 4px; }
.result-path small { display: block; color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.result-path strong { display: block; margin: 5px 0 3px; color: var(--pine); font-family: Georgia, serif; font-size: 1.35rem; }
.result-path p { margin: 0; color: #4e625c; font-size: .9rem; }
.safety-note { padding-top: 13px; border-top: 1px solid var(--line); font-size: .74rem; line-height: 1.5; }
.result-actions { display: flex; align-items: center; gap: 22px; margin-top: 25px; }
.text-button { padding: 8px; color: var(--pine); background: transparent; border: 0; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.approach { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 120px 0 40px; }
.approach-heading { display: grid; grid-template-columns: .92fr 1.08fr; column-gap: 70px; align-items: end; }
.approach-heading .eyebrow { grid-column: 1 / -1; }
.approach-heading h2 { margin-bottom: 0; }
.approach-heading > p:last-child { margin: 0 0 4px; color: var(--muted); font-size: 1.04rem; }
.comparison { display: grid; grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr); gap: 22px; align-items: center; margin: 60px 0 24px; }
.comparison-card { min-height: 250px; padding: clamp(26px, 4vw, 42px); border-radius: var(--radius-md); }
.comparison-card > span { display: block; margin-bottom: 38px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.comparison-card h3 { margin-bottom: 10px; font-size: 2rem; }
.comparison-card p { margin: 0; }
.comparison-card.reference { min-height: 0; padding: 28px; color: #53635f; background: #ecefeb; border-left: 4px solid #a9b8b3; border-radius: 4px 18px 18px 4px; }
.comparison-card.reference > span { margin-bottom: 18px; }
.comparison-card.reference h3 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; }
.comparison-card.reference p { font-size: .86rem; }
.comparison-card.featured { min-height: 350px; color: #d9e4df; background: var(--pine); box-shadow: var(--shadow); }
.comparison-card.featured > span { color: #8ce2c1; }
.comparison-card.featured h3 { margin-bottom: 6px; color: white; font-size: clamp(2.35rem, 4vw, 3.55rem); }
.comparison-card .featured-subtitle { color: #bde7d8; font-size: 1rem; font-weight: 750; }
.comparison-card.featured ul { display: grid; gap: 11px; margin: 28px 0 0; padding: 0; list-style: none; }
.comparison-card.featured li { position: relative; padding-left: 26px; }
.comparison-card.featured li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #8ce2c1; font-weight: 900; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid article { padding: 38px 34px 40px 0; }
.method-grid article + article { padding-left: 34px; border-left: 1px solid var(--line); }
.method-grid span { color: var(--terracotta); font-size: .7rem; font-weight: 850; letter-spacing: .14em; }
.method-grid h3 { margin: 16px 0 9px; }
.method-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.closing-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: clamp(34px, 5vw, 66px); color: #d9e4df; background: linear-gradient(145deg, #2c3639 0%, #1f2629 100%); border-radius: var(--radius-lg); }
.closing-card .eyebrow { color: #7edab9; }
.closing-card h2 { max-width: 780px; margin-bottom: 14px; color: white; font-size: clamp(2rem, 3.6vw, 3.4rem); }
.closing-card p:not(.eyebrow) { max-width: 650px; margin: 0; }
.button-light { flex: none; color: var(--pine); background: white; box-shadow: 0 14px 32px rgba(0,0,0,.2); }
.closing-action { display: flex; flex: 0 0 225px; align-items: stretch; flex-direction: column; gap: 14px; }
.closing-logo { display: block; width: 100%; border-radius: 14px; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; width: min(calc(100% - 40px), var(--max-width)); margin: 34px auto 0; padding: 35px 0 45px; color: var(--muted); border-top: 1px solid var(--line); font-size: .72rem; }
.footer-brand strong { font-size: 1rem; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
footer p { margin: 0; }

dialog { width: min(calc(100% - 32px), 610px); padding: clamp(28px, 5vw, 48px); color: var(--ink); background: var(--paper); border: 0; border-radius: 24px; box-shadow: 0 30px 100px rgba(7,27,23,.35); }
dialog::backdrop { background: rgba(15,37,32,.66); backdrop-filter: blur(5px); }
dialog h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3rem); }
dialog > p:not(.eyebrow) { color: var(--muted); }
.dialog-close { position: absolute; top: 16px; right: 18px; width: 36px; height: 36px; color: var(--muted); background: #f0f1ed; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.45rem; }
.summary-box { margin: 22px 0; padding: 18px; color: #3f554f; background: var(--sage-light); border-radius: 14px; font-size: .88rem; white-space: pre-line; }
.copy-status { min-height: 1.4em; margin: 8px 0 0; color: var(--sage) !important; font-size: .76rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes questionIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 940px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 600px); min-height: 510px; margin: 0 auto; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .region-grid .option-card:last-child { grid-column: 1 / -1; }
  .compact-grid { grid-template-columns: 1fr; }
  .approach-heading { grid-template-columns: 1fr; gap: 20px; }
  .comparison { grid-template-columns: 1fr; }
  .closing-card { align-items: flex-start; flex-direction: column; }
  .closing-action { flex-basis: auto; width: min(100%, 270px); }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p:first-of-type { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 24px); margin-top: 10px; padding: 8px 9px 8px 12px; border-radius: 15px; }
  .brand small { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .header-cta { padding: 9px 11px; font-size: .74rem; }
  .hero { width: calc(100% - 32px); gap: 48px; padding: 58px 0 70px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.15rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 17px; }
  .text-link { align-self: center; text-align: center; }
  .trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .trust-list li:last-child { grid-column: 1 / -1; }
  .hero-visual { min-height: 470px; padding: 34px 24px 24px; border-radius: 110px 110px 24px 24px; }
  .visual-label { padding-left: 32px; }
  .visual-label span, .visual-label strong { width: 100%; margin-left: 0; text-align: left; }
  .visual-brand-symbol { top: 10px; right: 4px; width: 150px; opacity: .1; }
  .body-map { margin-top: -6px; }
  .hero-visual > p { width: 100%; }
  .assessment { padding: 78px 14px; }
  .assessment-shell { padding: 22px 16px; border-radius: 22px; }
  .assessment-progress { margin-bottom: 26px; }
  .question legend { font-size: 1.75rem; }
  .option-grid, .compact-grid.triggers { grid-template-columns: 1fr; }
  .region-grid .option-card:last-child { grid-column: auto; }
  .option-card { min-height: 0; padding: 17px 17px 17px 66px; }
  .option-card.compact { min-height: 0; padding: 18px; }
  .option-icon { position: absolute; left: 16px; top: 18px; margin: 0; }
  .form-actions { flex-wrap: wrap; gap: 10px; }
  .form-note { order: -1; width: 100%; padding: 0; text-align: center; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .approach { width: calc(100% - 32px); padding-top: 85px; }
  .comparison { margin-top: 38px; }
  .comparison-card { min-height: 0; }
  .comparison-card > span { margin-bottom: 24px; }
  .comparison-card.reference { padding: 22px; }
  .comparison-card.featured { min-height: 0; padding: 34px 25px; }
  .method-grid { grid-template-columns: 1fr; margin-bottom: 55px; }
  .method-grid article { padding: 26px 0; }
  .method-grid article + article { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .closing-card { padding: 34px 25px; }
  .button-light { width: 100%; }
  footer { grid-template-columns: 1fr; gap: 17px; }
  footer > p:first-of-type { grid-column: auto; grid-row: auto; }
}

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