:root {
  --forest: #173e2d;
  --forest-2: #0f2e22;
  --leaf: #8fc640;
  --orange: #f3921d;
  --ink: #15231d;
  --muted: #65736c;
  --line: #d9e0dc;
  --paper: #f4f2eb;
  --white: #fff;
  --soft-green: #e8f0e7;
  --soft-orange: #fff0dc;
  --shadow: 0 28px 70px rgba(16, 45, 33, .13);
}

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px clamp(20px, 5vw, 76px);
  color: var(--white);
  background: rgba(15, 46, 34, .96);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}
.brand { width: 144px; display: block; }
.brand img { display: block; width: 100%; height: auto; }
nav { display: flex; gap: 30px; font-size: 14px; font-weight: 700; }
nav a { text-decoration: none; opacity: .8; transition: opacity .2s; }
nav a:hover, nav a:focus-visible { opacity: 1; }
.private-badge {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.private-badge span { color: var(--leaf); font-size: 10px; }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  background:
    radial-gradient(circle at 12% 85%, rgba(143,198,64,.18), transparent 28%),
    linear-gradient(116deg, var(--forest-2) 0 51%, #f8f6f0 51% 100%);
}
.hero-copy {
  padding: clamp(72px, 8vw, 126px) clamp(30px, 7vw, 110px);
  color: var(--white);
  align-self: center;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  color: var(--orange);
}
h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .97;
}
h1 { max-width: 780px; font-size: clamp(52px, 6vw, 90px); }
h2 { font-size: clamp(40px, 4.6vw, 68px); }
h1 em, h2 em { color: var(--leaf); font-weight: 500; }
.hero-lead { max-width: 660px; margin: 30px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .filter-chip:focus-visible, .model-toggle:focus-visible, input:focus-visible, .option-card:focus-within, .dialog-close:focus-visible {
  outline: 3px solid rgba(243,146,29,.42);
  outline-offset: 3px;
}
.button-primary { color: #152118; background: var(--orange); box-shadow: 0 12px 30px rgba(243,146,29,.22); }
.button-primary:hover { background: #ffa130; box-shadow: 0 15px 34px rgba(243,146,29,.30); }
.button-quiet { color: inherit; border-color: currentColor; background: transparent; }
.button-wide { width: 100%; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  margin-top: 55px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.proof-strip div { display: flex; flex-direction: column; gap: 2px; }
.proof-strip strong { font-family: Georgia, serif; font-size: 30px; font-weight: 500; color: var(--leaf); }
.proof-strip span { max-width: 120px; font-size: 12px; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .06em; }
.source-note { margin: 30px 0 0; font-size: 12px; color: rgba(255,255,255,.46); }

.assessment-shell {
  width: min(650px, calc(100% - 8vw));
  min-height: 600px;
  margin: clamp(50px, 7vw, 100px) auto;
  padding: clamp(26px, 4vw, 48px);
  align-self: center;
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.assessment-topline { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; font-weight: 900; letter-spacing: .12em; color: var(--muted); }
.step-kicker { color: var(--forest); }
.progress-track { height: 3px; margin: 18px 0 42px; overflow: hidden; background: #e6eae7; }
.progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--leaf), var(--orange)); transition: width .35s ease; }
.assessment-intro { padding-top: 18px; }
.model-index { margin: 0 0 22px; color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .18em; }
.assessment-intro h2 { color: var(--forest); font-size: clamp(42px, 4vw, 62px); }
.assessment-intro > p:not(.model-index) { max-width: 500px; margin: 28px 0 32px; color: var(--muted); }
.question-view h2 { margin: 0 0 10px; color: var(--forest); font: 500 clamp(30px, 3vw, 42px)/1.05 Georgia, serif; letter-spacing: -.025em; }
.question-hint { margin: 0 0 26px; color: var(--muted); }
.option-list { display: grid; gap: 10px; }
.option-card {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border .2s, background .2s, transform .2s;
}
.option-card:hover { transform: translateX(3px); border-color: #9cab9f; }
.option-card:has(input:checked) { background: var(--soft-green); border-color: var(--forest); }
.option-card input { margin: 3px 0 0; accent-color: var(--forest); }
.option-card strong { display: block; margin-bottom: 2px; }
.option-card small { display: block; color: var(--muted); line-height: 1.4; }
.question-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 25px; }
.question-actions .button-quiet { color: var(--forest); border-color: var(--line); }
.button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.result-view { animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.result-label { margin: 0 0 8px; font-size: 12px; font-weight: 900; letter-spacing: .14em; color: var(--orange); }
.result-view h2 { color: var(--forest); font-size: clamp(40px, 4vw, 58px); }
.result-tagline { margin: 10px 0 22px; font-weight: 800; color: var(--forest); }
.confidence-line { display: flex; gap: 8px; align-items: center; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.confidence-line span { height: 7px; flex: 1; overflow: hidden; background: #e4e8e5; border-radius: 999px; }
.confidence-line span i { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf), var(--orange)); }
.reason-list { margin: 0 0 23px; padding: 0; list-style: none; display: grid; gap: 8px; }
.reason-list li { padding-left: 22px; position: relative; color: var(--muted); }
.reason-list li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 900; }
.result-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.result-facts div { padding: 14px; background: #f5f7f5; border-radius: 7px; }
.result-facts span { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; font-weight: 900; letter-spacing: .09em; }
.result-facts strong { display: block; margin-top: 4px; font-size: 14px; }
.alternative-note { padding: 14px; border-left: 3px solid var(--orange); background: var(--soft-orange); font-size: 13px; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.result-actions .button-quiet { color: var(--forest); border-color: var(--line); }

.comparison-section { padding: clamp(78px, 9vw, 130px) clamp(20px, 5vw, 76px); background: #fbfaf6; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: end; max-width: 1440px; margin: 0 auto 48px; }
.section-heading h2 { color: var(--forest); }
.section-heading > p { max-width: 570px; justify-self: end; margin: 0 0 5px; color: var(--muted); font-size: 18px; }
.compare-controls { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { padding: 8px 14px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 800; }
.filter-chip.active { color: var(--white); background: var(--forest); border-color: var(--forest); }
.switch { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13px; font-weight: 800; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-track { width: 42px; height: 24px; padding: 3px; border-radius: 999px; background: #c9d0cc; transition: background .2s; }
.switch-track span { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform .2s; }
.switch input:checked + .switch-track { background: var(--forest); }
.switch input:checked + .switch-track span { transform: translateX(18px); }
.model-picker { max-width: 1440px; margin: 25px auto 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.model-toggle { position: relative; padding: 16px; text-align: left; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; }
.model-toggle.active { color: var(--white); background: var(--forest); border-color: var(--forest); }
.model-toggle .number { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 900; letter-spacing: .12em; color: var(--orange); }
.model-toggle strong { font-size: 14px; }
.comparison-wrap { max-width: 1440px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.comparison-grid { min-width: 900px; display: grid; }
.compare-row { display: grid; grid-template-columns: 215px repeat(var(--model-count), minmax(180px, 1fr)); border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { min-height: 72px; padding: 16px; border-left: 1px solid var(--line); display: flex; align-items: center; }
.compare-row > div:first-child { border-left: 0; }
.compare-row.header-row { position: sticky; top: 0; z-index: 2; color: var(--white); background: var(--forest); }
.compare-row.header-row > div { min-height: 118px; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.compare-row.header-row .criterion { color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .1em; font-weight: 900; }
.compare-model-number { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.compare-model-name { display: block; margin-top: 5px; font-family: Georgia, serif; font-size: 21px; line-height: 1.05; }
.criterion { font-size: 13px; font-weight: 850; }
.criterion small { display: block; color: var(--muted); font-weight: 600; margin-top: 3px; }
.compare-value { font-size: 13px; color: #425048; }
.compare-value.highlight { color: var(--forest); background: var(--soft-green); font-weight: 800; }
.compare-value.caution { background: var(--soft-orange); }
.comparison-hint { max-width: 1440px; margin: 12px auto 0; font-size: 12px; color: var(--muted); }

.decision-section { padding: clamp(78px, 9vw, 130px) clamp(20px, 5vw, 76px); color: var(--white); background: var(--forest-2); }
.decision-card { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.decision-card > div > p:not(.eyebrow) { max-width: 650px; margin: 25px 0 0; color: rgba(255,255,255,.68); font-size: 17px; }
.enquiry-builder { padding: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; }
.enquiry-builder label { display: block; margin-bottom: 10px; font-weight: 800; }
.area-row { display: flex; gap: 8px; }
.area-row input { min-width: 0; flex: 1; min-height: 50px; padding: 12px 14px; color: var(--white); background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.28); border-radius: 6px; }
.area-row input::placeholder { color: rgba(255,255,255,.45); }
.form-note { margin: 10px 0 0; font-size: 12px; color: rgba(255,255,255,.55); }
.responsibility-grid { max-width: 1440px; margin: 70px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.responsibility-grid article { padding: 32px; border-left: 1px solid rgba(255,255,255,.15); }
.responsibility-grid article:first-child { border-left: 0; }
.article-number { color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.responsibility-grid h3 { margin: 30px 0 10px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.responsibility-grid p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }
.legal-note { max-width: 1440px; margin: 34px auto 0; display: grid; grid-template-columns: 140px 1fr; gap: 30px; color: rgba(255,255,255,.58); font-size: 12px; }
.legal-note strong { color: var(--white); text-transform: uppercase; letter-spacing: .1em; }
.legal-note p { margin: 0; }

footer { min-height: 120px; padding: 25px clamp(20px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; font-size: 12px; color: var(--muted); background: var(--paper); }
footer img { width: 120px; }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }

dialog { width: min(640px, calc(100% - 32px)); padding: clamp(24px, 4vw, 44px); border: 0; border-radius: 10px; box-shadow: var(--shadow); color: var(--ink); }
dialog::backdrop { background: rgba(8,24,17,.72); backdrop-filter: blur(4px); }
dialog h2 { color: var(--forest); font-size: 46px; }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }
.dialog-summary { margin: 24px 0; padding: 18px; background: #f4f6f4; border-radius: 8px; white-space: pre-line; }
.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; }
dialog .form-note { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto 1fr; }
  nav { display: none; }
  .private-badge { grid-column: 2; }
  .hero { grid-template-columns: 1fr; background: linear-gradient(180deg, var(--forest-2) 0 47%, #f8f6f0 47% 100%); }
  .hero-copy { padding-bottom: 95px; }
  .assessment-shell { margin-top: 0; }
  .section-heading, .decision-card { grid-template-columns: 1fr; gap: 28px; }
  .section-heading > p { justify-self: start; }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding: 10px 16px; }
  .brand { width: 112px; }
  .private-badge { font-size: 9px; padding: 6px 8px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 64px 22px 76px; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-actions .button { width: 100%; }
  .proof-strip { gap: 10px; }
  .assessment-shell { width: calc(100% - 24px); min-height: 560px; padding: 24px 18px; margin-bottom: 34px; }
  .assessment-topline { font-size: 9px; }
  .result-facts { grid-template-columns: 1fr; }
  .section-heading h2, .decision-card h2 { font-size: 44px; }
  .compare-controls { align-items: flex-start; flex-direction: column; }
  .model-picker { grid-template-columns: 1fr 1fr; }
  .model-toggle { padding: 12px; }
  .area-row { flex-direction: column; }
  .responsibility-grid { grid-template-columns: 1fr; }
  .responsibility-grid article { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); padding: 28px 0; }
  .responsibility-grid article:first-child { border-top: 0; }
  .legal-note { grid-template-columns: 1fr; gap: 8px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer img, footer p:last-child { justify-self: center; }
}

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