:root {
  color-scheme: light;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: #172f29;
  background: #f9f7f0;
  --forest: #133b35;
  --light: #e6eee6;
  --line: #d8ded4;
  --accent: #e9bf70;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2 { line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.025em; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #367a91; outline-offset: 4px; }
[id] { scroll-margin-top: 1rem; }
.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.brand, nav { display: flex; align-items: center; gap: .6rem; }
.brand { font-size: 1.08rem; font-weight: 800; white-space: nowrap; }
.header a { text-decoration: none; }
.header a:hover, .hero-link:hover { text-decoration: underline; }
nav { gap: clamp(.65rem, 3vw, 1.8rem); font-size: .9rem; }
.hero {
  color: #f7f8ee;
  background-color: var(--forest);
  background-image: radial-gradient(ellipse at 0% 10%, #29574a 0%, transparent 65%),
    repeating-linear-gradient(0deg, transparent 0 39px, #fff1 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, #fff1 39px 40px);
}
.hero-grid { display: grid; gap: 2rem; padding-block: clamp(2.4rem, 6vw, 5rem); align-items: start; }
.eyebrow { color: #f2ce8a; font-weight: 700; margin-bottom: .7rem; }
h1 { font-size: clamp(2.65rem, 5.9vw, 5.1rem); letter-spacing: -.055em; }
.lead { max-width: 31rem; margin-block: 1.15rem 1.45rem; color: #e2ede5; font-size: clamp(1.04rem, 2vw, 1.25rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; border: 1px solid transparent; padding: .5rem 1rem; border-radius: 8px; text-decoration: none; font-weight: 700; cursor: pointer; }
.accent { background: var(--accent); color: #223127; }
.primary { background: var(--forest); color: white; }
.outline { background: transparent; border-color: #aabdb2; color: var(--forest); }
.button:hover:not(:disabled) { box-shadow: inset 0 0 0 2px currentColor; }
.button:disabled { opacity: .55; cursor: default; }
.hero-link { margin-inline-start: .85rem; text-underline-offset: .25em; }
.stats { display: flex; gap: 1.5rem; margin-top: 1.6rem; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: #d9e8df; font-size: .9rem; }
.stats dd { color: #f2ce8a; font-size: 2.45rem; font-weight: 800; line-height: 1.2; }
.quiz { min-width: 0; overflow: hidden; background: white; color: #172f29; border-radius: 14px; box-shadow: 0 15px 45px #10211940; }
.quiz-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; background: var(--light); padding: .95rem clamp(1rem, 2.5vw, 1.7rem); }
.quiz-header h2 { font-size: 1.2rem; }
#sample-progress, .quiz-topic { color: #345b4e; font-size: .9rem; font-weight: 700; }
#quiz-form { padding: 1rem clamp(1rem, 2.5vw, 1.7rem) 1.3rem; }
fieldset { padding: 0; margin: 0; min-inline-size: 0; border: 0; }
legend { padding: 0; margin-block: .35rem .7rem; font-size: 1.2rem; font-weight: 800; line-height: 1.4; }
#options { display: grid; gap: .45rem; }
#options label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .55rem; position: relative; min-height: 44px; padding: .45rem .55rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; line-height: 1.45; }
#options input { position: absolute; opacity: 0; }
#options label:hover, #options label:has(input:checked) { background: #edf4ec; border-color: #568372; }
#options label:has(input:focus-visible) { outline: 3px solid #367a91; outline-offset: 2px; }
.letter { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 5px; background: var(--light); font-weight: 700; }
input:checked + .letter { background: var(--forest); color: white; }
.quiz-actions { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .95rem; }
.feedback { margin-top: .9rem; padding: .75rem; background: var(--light); border-radius: 8px; }
.feedback p { margin-bottom: .3rem; }
.section { padding-block: clamp(2.5rem, 5.5vw, 4.5rem); }
.section h2 + p { margin-top: .65rem; }
.section-intro { margin-bottom: 1.35rem; }
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.topic-list li { display: flex; justify-content: space-between; align-items: center; gap: .7rem; min-height: 58px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .6rem .85rem; line-height: 1.35; }
.topic-list strong { color: #345b4e; white-space: nowrap; font-size: .86rem; }
.band { background: #e8eee4; }
.info-grid { display: grid; gap: 2.4rem; }
.install { margin-top: .8rem; }
.install div, details { padding-block: .65rem; border-bottom: 1px solid #bdcdc1; }
.install dt, summary { font-weight: 700; }
summary { cursor: pointer; }
details p { margin-top: .4rem; }
#faq h2 { margin-bottom: .8rem; }
.purchase { display: grid; gap: 1.15rem; align-items: center; padding: clamp(1rem, 4vw, 2.5rem); background: #f5e6c9; border-radius: 14px; }
.price { font-size: 2.2rem; font-weight: 800; line-height: 1.15; }
.draft, #checkout-note { font-size: .9rem; }
#checkout-note { margin-top: .35rem; }
footer { padding-block: 1.6rem; background: var(--forest); color: #eff4ed; }
footer p { max-width: 55rem; margin-top: .35rem; }
@media (min-width: 660px) {
  .topic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purchase { grid-template-columns: 1fr auto auto; gap: 1.6rem; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
  .intro { padding-top: .85rem; }
  .topic-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
