:root {
  color-scheme: light;
  font: 100%/1.6 "Avenir Next", Avenir, system-ui, sans-serif;
  color: #17273a;
  background: #f5f8fc;
  --accent: #244bc4;
  --muted: #4b5c72;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, label:focus-within { outline: 3px solid #4769e4; outline-offset: 4px; }
.shell { width: min(70rem, calc(100% - 2.5rem)); margin-inline: auto; }
.top { display: flex; justify-content: space-between; align-items: center; padding-block: 1.35rem; border-bottom: 1px solid #d5deeb; }
.brand { color: inherit; text-decoration: none; font-size: 1.5rem; font-weight: 850; letter-spacing: -.06em; }
.brand span, h1 span { color: var(--accent); }
.nav { font-weight: 700; text-underline-offset: .25em; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(3rem, 8vw, 7rem); }
.label { color: var(--accent); font-weight: 800; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .75rem; }
h1, h2 { line-height: 1.06; letter-spacing: -.05em; margin: 0; }
h1 { font-size: clamp(2.6rem, 7.5vw, 6.3rem); overflow-wrap: break-word; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
.intro { color: var(--muted); font-size: 1.2rem; max-width: 39ch; margin-block: 1.25rem 1.75rem; }
.hint { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
.button, button { display: inline-block; font: inherit; text-decoration: none; cursor: pointer; border: 0; border-radius: .65rem; background: var(--accent); color: white; font-weight: 750; padding: .8rem 1.25rem; }
.button:hover, button:hover { background: #193aa4; }
.art { display: grid; place-items: center; min-height: 18rem; aspect-ratio: 1.12; background: #dde6ff; border: 1px solid #cfdbfa; border-radius: 2rem; }
.art img { width: 76%; height: auto; }
.details { border-top: 1px solid #d5deeb; padding-block: 2.5rem; }
.details p { max-width: 62ch; }
.footer { padding-block: 1.25rem; border-top: 1px solid #d5deeb; font-weight: 750; }
.practice { max-width: 50rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.practice h1 { font-size: clamp(2.35rem, 6vw, 4.75rem); }
.card { background: white; border: 1px solid #d5deeb; border-radius: 1.4rem; padding: clamp(1.15rem, 4vw, 2.5rem); }
#status:empty, #feedback:empty { display: none; }
#status { font-weight: 750; color: var(--muted); margin: 0 0 1rem; }
#start + #status:not(:empty) { margin-top: 1rem; }
fieldset { padding: 0; border: 0; min-width: 0; margin: 0 0 1.35rem; }
legend { font-size: 1.16rem; font-weight: 700; white-space: pre-line; padding: 0 0 1rem; }
#options { display: grid; gap: .6rem; }
#options label { display: flex; align-items: baseline; gap: .65rem; border: 1px solid #d5deeb; border-radius: .65rem; padding: .65rem .85rem; }
#options label:has(input:checked) { border-color: var(--accent); background: #edf2ff; }
#options input { accent-color: var(--accent); margin: 0; }
#feedback { padding: .85rem 1rem; background: #eef4fa; border-radius: .65rem; }
@media (max-width: 45rem) {
  .hero { grid-template-columns: 1fr; }
  .art { min-height: 0; max-height: 21rem; }
  .art img { max-width: 16rem; }
}
