:root {
  color-scheme: light;
  --ink: #203125;
  --canvas: #faf8ee;
  --leaf: #20583c;
  --line: #dedfd1;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.8; }
header { background: #fffef9; border-bottom: 1px solid var(--line); }
nav, main, footer { max-width: 70rem; margin-inline: auto; padding: 1rem clamp(1rem, 4vw, 2rem); }
header nav, .ages { display: flex; align-items: center; gap: .75rem 1.5rem; flex-wrap: wrap; }
.brand { font-size: 1.8rem; font-weight: bold; text-decoration: none; margin-inline-end: auto; }
a { color: #18492e; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .16em; }
:focus-visible { outline: 3px solid #6b3db5; outline-offset: 4px; }
.skip { position: absolute; inset-block-start: -10rem; background: white; padding: .5rem; }
.skip:focus { inset-block-start: .5rem; z-index: 1; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 1rem; padding: clamp(1.3rem, 5vw, 4rem); background: #e1edce; border-radius: 2rem; }
h1 { margin: .25em 0; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.35; }
h2, h3 { line-height: 1.45; }
.illustration { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; width: min(100%, 16rem); margin-inline: auto; }
.illustration span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 35%; background: #ffce75; color: #703b17; font-size: clamp(1.4rem, 5vw, 3rem); }
.illustration span:nth-child(2) { background: #ccb8ee; color: #45206f; }
.illustration span:nth-child(3) { background: #f7a999; color: #7d332c; }
.illustration span:nth-child(4) { background: #a4c4a0; color: #244e34; }
.button, button { display: inline-block; font: inherit; padding: .55rem 1rem; border: 0; border-radius: .7rem; background: var(--leaf); color: white; text-decoration: none; cursor: pointer; min-height: 2.75rem; }
button:disabled { opacity: .7; cursor: default; }
.plain { background: transparent; color: var(--leaf); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; margin-block: 1rem; }
.card { background: #fffef9; border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.3rem; }
.lavender { background: #f2eafb; }
.game-link { font-weight: bold; }
.ages { padding-inline: 0; }
.ages a { padding: .35rem .7rem; border-radius: .6rem; }
.ages [aria-current] { background: #e1edce; font-weight: bold; }
.choices { display: flex; flex-wrap: wrap; gap: .7rem; }
.choices button { min-width: 4rem; }
.auth, .reading { max-width: 44rem; margin: 1rem auto; }
.auth label { display: block; font-weight: bold; }
.auth input:not([type=hidden]) { display: block; max-width: 100%; width: 25rem; font: inherit; padding: .5rem; border: 1px solid #809485; border-radius: .45rem; direction: ltr; }
.auth form { margin-block-end: 1rem; }
.helptext, footer { color: #46564a; }
.errorlist { color: #942a24; }
blockquote { border-inline-start: .25rem solid #a4c4a0; padding-inline-start: 1rem; margin-inline-start: 0; }
footer { border-top: 1px solid var(--line); margin-block-start: 2rem; }
@media (max-width: 36rem) { .hero { grid-template-columns: 1fr; } .illustration { width: 8rem; margin-inline: 0; } }
