:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: var(--bg, #111c19);
  color: var(--text, #eff3e9);
  --soft: var(--muted, #bbc9c0);
  --accent: var(--mint-strong, #a5e5c7);
  --line: var(--divider, #394b43);
}
* { box-sizing: border-box; }
body { max-width: 72rem; margin: auto; padding: 0 clamp(1rem, 5vw, 4rem); }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--gold, #ffd28e); outline-offset: 3px; }
.skip { position: absolute; transform: translateY(-150%); background: var(--bg, #111c19); padding: .6rem; }
.skip:focus { transform: translateY(0); }
.topbar, footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.15rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: inherit; font-weight: 700; text-decoration: none; }
.brand img { border-radius: .55rem; }
.topbar { border-bottom: 1px solid var(--line); }
.intro, main > section { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(15rem, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.intro { align-items: center; padding-block: clamp(2.5rem, 7vw, 5.75rem); }
h1, h2, h3, p, figure { margin: 0; }
h1, main > section h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); letter-spacing: -.045em; }
.intro p { color: var(--soft); max-width: 33rem; font-size: 1.15rem; line-height: 1.55; margin-block: 1rem 1.45rem; }
.start { display: inline-flex; align-items: center; gap: 1rem; min-height: 2.8rem; padding: .55rem 1rem; color: var(--on-primary, #10261c); background: var(--mint, var(--accent)); border-radius: .55rem; font-weight: 650; text-decoration: none; }
nav { border-left: 2px solid var(--line); padding-left: 1.35rem; }
nav h2 { font-size: 1rem; margin-bottom: .35rem; }
nav a { display: flex; justify-content: space-between; align-items: center; min-height: 2.75rem; gap: .7rem; text-decoration: none; }
nav a:hover, .brand:hover { text-decoration: underline; }
main > section { border-top: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 4rem); scroll-margin-top: .75rem; align-items: start; }
main > section h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.025em; }
ol { padding-left: 1.65rem; margin: 1.5rem 0; }
li, aside p { line-height: 1.6; }
li { padding-left: .35rem; margin-bottom: .8rem; }
li::marker { color: var(--accent); font-weight: 650; }
aside { border-left: 3px solid var(--gold, #d1b781); background: var(--bg-elevated, #1b2a24); padding: .9rem 1rem; border-radius: 0 .5rem .5rem 0; }
aside h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: .4rem; }
figure { background: var(--bg-elevated, #182622); padding: .75rem; border: 1px solid var(--line); border-radius: .8rem; }
figure img { display: block; width: 100%; height: auto; border-radius: .35rem; }
figcaption { font-size: .93rem; line-height: 1.45; color: var(--soft); margin: .8rem .25rem .25rem; }
footer { border-top: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 48rem) {
  .intro, main > section { grid-template-columns: 1fr; gap: 1.5rem; }
  nav { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  figure { width: min(100%, 26rem); }
}
