:root {
  color-scheme: light;
  --paper: #f5f5ec;
  --ink: #243329;
  --muted: #506151;
  --line: #d7dfd0;
  --forest: #203c30;
  --lime: #ddedad;
  --white: #fefff9;
  font: 100%/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .21em; }
a:focus-visible { outline: 2px solid #769345; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(1110px, calc(100% - 44px)); margin-inline: auto; }
.header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.65rem; line-height: 1; letter-spacing: -.08em; font-weight: 850; text-decoration: none; }
.logo img { width: 37px; height: 37px; border-radius: 12px; background: var(--forest); }
.nav, .footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; }
.nav a { font-size: .94rem; font-weight: 700; }
.hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); padding: clamp(25px, 5vw, 65px); border-radius: 30px; background: radial-gradient(ellipse at 86% 32%, #3b5940 0%, var(--forest) 64%); color: var(--white); }
.eyebrow { color: #536747; font-size: .875rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); }
h1, h2, h3 { margin: 0; line-height: 1.03; letter-spacing: -.055em; }
h1 { margin-top: .65rem; font-size: clamp(2.4rem, 5.2vw, 4.5rem); max-width: 14ch; text-wrap: balance; }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); text-wrap: balance; }
h3 { font-size: 1.3rem; }
p { margin: .85rem 0 0; }
.hero-copy { color: #e8eee1; font-size: 1.03rem; max-width: 42ch; }
.button { display: inline-block; margin-top: 1.5rem; border-radius: 11px; background: var(--lime); color: #233726; padding: .68rem 1.05rem; font-weight: 820; text-decoration: none; }
.button:hover { background: #edf5cb; }
.motion { margin: 0; min-width: 0; display: grid; gap: .75rem; }
.motion img { width: 100%; border: 1px solid #789075; border-radius: 19px; background: #dfdfd1; aspect-ratio: 760 / 505; object-fit: cover; }
.legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1rem; color: #e8eee1; }
.legend span { font-size: .91rem; font-weight: 650; }
.demo-controls { display: inline-flex; align-items: center; padding: 3px; border: 1px solid #82957c; border-radius: 12px; }
.demo-controls button { border: 0; border-radius: 8px; padding: .4rem .67rem; font: inherit; font-size: .9rem; font-weight: 750; background: transparent; color: var(--white); cursor: pointer; }
.demo-controls button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.demo-controls button:focus-visible { outline: 2px solid var(--white); }
.section { margin-block: clamp(2.8rem, 7vw, 6rem); }
.section > p { max-width: 62ch; color: var(--muted); }
.levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.levels li { min-height: 122px; border: 1px solid var(--line); background: var(--white); padding: 1.15rem; border-radius: 16px; }
.levels li p { color: var(--muted); font-size: .96rem; margin-top: .5rem; }
.levels li:last-child { background: #e7efcf; border-color: #cedbb9; }
.answer { border-top: 1px solid var(--line); padding-block: 1rem; }
.answer h3 { letter-spacing: -.02em; }
.answer p { color: var(--muted); max-width: 66ch; }
.answer:first-of-type { margin-top: 1.25rem; }
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; padding-block: 1.4rem 1.8rem; color: var(--muted); }
.footer strong { color: var(--ink); }
.article { width: min(735px, calc(100% - 44px)); margin: 3rem auto 5rem; }
.article h1 { max-width: 18ch; margin-bottom: 1.3rem; }
.article h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 2.4rem; }
.article aside { margin-top: 1.55rem; padding: 1rem; border-radius: 14px; border: 1px solid var(--line); background: #e7edda; }
.article aside p { margin: 0; }
.article li + li { margin-top: .5rem; }
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .shell { width: calc(100% - 28px); }
  .header { min-height: 65px; }
  .nav { gap: .6rem; }
  .nav a { font-size: .85rem; }
  .hero { padding: 20px; border-radius: 22px; }
  .levels li { padding: .88rem; }
}
