:root {
  --ink: #1b3027;
  --muted: #51635b;
  --dark: #152c24;
  --paper: #fbfaf5;
  --white: #fffefa;
  --line: #d9e1d5;
  --lime: #e5fb89;
  --mint: #e8f2dc;
  --blue: #e2edfa;
  --peach: #fae6d7;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #597b26; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.055em; line-height: .99; }
h3 { line-height: 1.25; letter-spacing: -.025em; }
p { color: var(--muted); }
.shell { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: -100px; left: 12px; background: white; padding: 10px; }
.skip:focus { top: 12px; }
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; font-weight: 800; font-size: .98rem; line-height: 1; letter-spacing: .04em; }
.brand small { display: block; margin-top: 6px; font-size: .58rem; letter-spacing: .14em; }
.brand b { color: #4d682a; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; background: var(--dark); color: var(--lime); font-size: 1.4rem; }
nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
nav a { font-size: .88rem; font-weight: 650; text-decoration: none; }
nav a:hover, .text-link:hover, .state-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { padding: 9px 14px; border-radius: 10px; background: var(--dark); color: white; }
.hero { background: var(--dark); color: var(--paper); }
.hero-inner { display: grid; grid-template-columns: 1fr .9fr; gap: 55px; align-items: center; padding-block: 71px 73px; }
.hero h1 { font-size: clamp(3.5rem, 7.4vw, 7.1rem); margin-block: 23px; }
.hero h1 em { color: var(--lime); font-weight: inherit; }
.kicker { display: flex; gap: 10px; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .13em; line-height: 1.4; }
.hero-kicker { color: #dcf1ad; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #608039; flex-shrink: 0; }
.hero .dot { background: var(--lime); }
.hero-copy { max-width: 420px; color: #d8e6db; font-size: 1.09rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
.button { display: inline-flex; gap: 14px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 10px; padding: 12px 17px; text-decoration: none; font-weight: 750; font-size: .93rem; min-height: 46px; }
.button:hover { filter: brightness(.94); }
.lime { background: var(--lime); color: var(--dark); }
.outline { border-color: #789182; color: var(--paper); background: transparent; }
.solid { background: var(--dark); color: white; }
.hero-graphic img { width: 100%; height: auto; display: block; }
.hero-graphic figcaption { display: flex; justify-content: space-between; padding: 9px 6px 0; font: 700 .71rem/1.4 ui-monospace, monospace; letter-spacing: .11em; color: #b3cbb5; }
.date-strip { background: #eff3dd; border-bottom: 1px solid #dfe5cb; }
.date-inner { min-height: 64px; display: flex; gap: 22px; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: .89rem; }
.date-inner strong { font-size: .73rem; letter-spacing: .12em; }
.date-inner .dot { margin-right: 5px; }
.date-inner b { margin-left: 5px; }
.date-inner a { font-weight: 700; text-underline-offset: 3px; }
.section { padding-block: 74px; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.index { display: inline-grid; place-items: center; min-width: 27px; min-height: 26px; padding-inline: 4px; border: 1px solid #bac8b5; border-radius: 6px; letter-spacing: 0; }
.section-head h2 { font-size: clamp(2.6rem, 5.3vw, 4.5rem); margin-block: 13px 14px; }
.section-head > p:last-child { font-size: 1.05rem; }
.grid { display: grid; gap: 15px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 15px; padding: 23px; background: var(--white); }
.card h3 { font-size: 1.18rem; }
.card h3 + p { margin-top: 8px; }
.tile { display: inline-grid; width: 43px; height: 43px; place-items: center; flex-shrink: 0; border-radius: 10px; font-weight: 750; font-size: 1.25rem; }
.mint { background: var(--mint); }
.blue { background: var(--blue); }
.peach { background: var(--peach); }
.fact .tile { margin-bottom: 14px; }
.info-pair { margin-top: 15px; }
.fine { font-size: .86rem; }
.date-list { margin: 12px 0; font-size: .88rem; }
.date-list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.date-list dt { font-weight: 650; }
.date-list dd { text-align: right; margin: 0; }
.state-links { padding-left: 19px; margin: 10px 0; font-size: .9rem; }
.state-links a { text-decoration: none; }
.text-link { display: inline-block; font-weight: 750; font-size: .9rem; text-decoration: none; color: #31592f; }
.tint { background: #f0f3e9; border-block: 1px solid var(--line); }
.source { display: flex; flex-direction: column; align-items: flex-start; }
.source h3 { margin-top: 9px; }
.source p { margin-bottom: 15px; }
.source .text-link { margin-top: auto; }
.source-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.feature { background: #e8f1d9; border-color: #cbdabc; }
.label { display: inline-block; background: #edf1e6; padding: 4px 8px; border-radius: 6px; font-size: .67rem; font-weight: 800; letter-spacing: .09em; }
.feature .label { background: var(--white); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filter button { border: 1px solid var(--line); border-radius: 100px; background: var(--white); padding: 7px 14px; color: var(--ink); font-weight: 650; }
.filter button[aria-pressed=true] { border-color: var(--dark); background: var(--dark); color: white; }
#pdf-count { margin-bottom: 12px; }
.pdf-card { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-content: start; }
.pdf-card .tile { font-size: .74rem; }
.pdf-card .pdf-meta { margin: 4px 0 8px; font-size: .83rem; }
.pdf-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.training { background: #e9f1e3; border-top: 1px solid var(--line); }
.practice-grid { display: grid; grid-template-columns: minmax(210px, .42fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.practice-side { padding: 20px; background: #f5f8ee; border: 1px solid var(--line); border-radius: 15px; }
.practice-side h3 { margin: 8px 0 14px; }
.subjects { display: grid; gap: 8px; }
.subjects button { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 10px; padding: 8px; text-align: left; font-weight: 750; }
.subjects button[aria-pressed=true] { border-color: #5d7c4d; box-shadow: 0 0 0 1px #5d7c4d; }
.subjects small { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.practice-note { margin-top: 15px; font-size: .84rem; }
.quiz { padding: 26px; min-height: 310px; }
.quiz-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.quiz progress { display: block; width: 100%; height: 7px; margin: 12px 0 20px; accent-color: #597b26; }
.quiz h3 { font-size: 1.38rem; margin-bottom: 13px; }
.quiz form { margin-top: 12px; }
.quiz fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices { display: grid; gap: 8px; margin-bottom: 16px; }
.choice { display: flex; gap: 9px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.choice:has(input:checked) { background: #e9f1dd; border-color: #5d7c4d; }
.choice input { accent-color: #476632; }
.number-label { display: grid; gap: 6px; font-weight: 650; margin-bottom: 16px; }
.number-label input { width: min(100%, 245px); border: 1px solid #7c8c81; border-radius: 8px; padding: 8px 10px; background: var(--white); color: var(--ink); }
.passage { margin: 8px 0 13px; padding: 12px 14px; border-left: 3px solid #83a362; background: #f0f4e9; }
.feedback { margin-top: 14px; padding: 12px 14px; border-radius: 8px; color: var(--ink); background: #f9edda; }
.feedback.good { background: #e6f1db; }
.quiz-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.result-copy { margin-bottom: 16px; }
footer { background: #f6f5ec; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: flex-start; gap: 32px; justify-content: space-between; padding-block: 27px; }
.footer-inner p { font-size: .83rem; margin-top: 8px; }
.footer-inner details { max-width: 435px; font-size: .89rem; }
summary { cursor: pointer; font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .shell { width: min(100% - 42px, 1140px); }
  nav { gap: 14px; }
  .hero-inner { gap: 25px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .top-inner { display: grid; gap: 14px; padding-block: 12px; }
  nav { gap: 8px 15px; }
  nav a { font-size: .8rem; }
  .nav-cta { padding: 6px 9px; }
  .hero-inner { grid-template-columns: 1fr; gap: 27px; padding-block: 43px 32px; }
  .hero-graphic { width: min(100%, 410px); }
  .hero h1 { margin-block: 18px; }
  .date-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; padding-block: 11px; font-size: .78rem; }
  .date-inner b { display: block; margin-left: 0; }
  .date-inner strong { grid-column: 1 / -1; }
  .section { padding-block: 49px; }
  .two, .three, .practice-grid { grid-template-columns: 1fr; }
  .card { padding: 17px; }
  .footer-inner { display: grid; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
