:root {
  color-scheme: light;
  font: 100%/1.55 "Source Sans 3", system-ui, sans-serif;
  color: #173e36;
  background: #f7faf7;
}

* { box-sizing: border-box; }
body { margin: auto; max-width: 57rem; padding: 0 clamp(1rem, 4vw, 3rem) 2rem; }
a { color: #105b46; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #a54c12; outline-offset: 3px; }
.skip { position: absolute; left: .5rem; top: -8rem; background: white; padding: .6rem; }
.skip:focus { top: .5rem; z-index: 2; }

.site-head, .language { display: flex; align-items: center; flex-wrap: wrap; }
.site-head { justify-content: space-between; gap: .4rem 1rem; padding: .8rem 0; border-bottom: 1px solid #c2d3c9; }
.brand { color: #173e36; font-size: 1.14rem; font-weight: 730; text-decoration: none; }
.language { gap: .1rem; }
.language a, .share, .groups a, footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.language a { border-radius: .4rem; padding: .45rem .65rem; }
.language a[aria-current] { background: #dcebe1; text-decoration: none; font-weight: 650; }

main { min-width: 0; }
section { padding: clamp(1.55rem, 5vw, 2.65rem) 0; }
main section + section, footer { border-top: 1px solid #c2d3c9; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; line-height: 1.16; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); margin: .35rem 0; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.6rem, 4vw, 2.15rem); }
h3 { margin-top: 1.25rem; font-size: 1.12rem; }
.status { color: #315b47; font-weight: 700; }
.case-id, .hint, .task span { color: #3f5d52; }
.case-id { overflow-wrap: anywhere; }
.case-id bdi { font-variant-numeric: tabular-nums; }
.ride { display: flex; flex-wrap: wrap; gap: .1rem .65rem; border-left: 3px solid #528464; background: #e9f1ea; padding: .55rem .85rem; margin-top: 1rem; }
.hint { margin-top: .3rem; }
.tasks { display: grid; gap: .6rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.task { display: flex; flex-direction: column; justify-content: center; gap: .15rem; height: 100%; padding: .85rem 1rem; border: 1px solid #a1b8a9; border-radius: .5rem; background: white; text-decoration: none; }
.task strong { color: #14513f; font-size: 1.08rem; text-decoration: underline; text-underline-offset: .2em; }
.task:hover, .task:focus-visible { border-color: #1b6849; background: #eef6ee; }
.share { border: 1px solid #1b5743; background: #164d3c; color: white; border-radius: .45rem; font-weight: 650; padding: .5rem .95rem; text-decoration: none; margin-top: .8rem; }
.share:hover { background: #0e3b2c; }
.groups { padding-left: 1.2rem; margin: .25rem 0 0; }
.case-outcome { font-size: 1.12rem; margin-bottom: 1.8rem; }
footer { padding-top: .6rem; }
footer a { font-weight: 650; }
@media (min-width: 43rem) { .tasks { grid-template-columns: 1fr 1fr; } }
@media (forced-colors: active) { .task, .share { border: 1px solid ButtonText; } }
