:root {
  color-scheme: light;
  --paper: #f4f6fe;
  --ink: #16162e;
  --line: #c9cde1;
  --cobalt: #3557ff;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.65 Manrope, system-ui, sans-serif; }
.wrap { max-width: 780px; margin: auto; padding: 30px max(20px, env(safe-area-inset-left)) 50px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
a { color: inherit; overflow-wrap: anywhere; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; border-radius: 2px; }
.back { font-weight: 800; }
main { margin-block: 28px; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: 14px; background: white; }
h1 { margin: 0 0 16px; font: 800 clamp(1.65rem, 4.5vw, 2.7rem)/1.15 Unbounded, system-ui, sans-serif; letter-spacing: -.03em; overflow-wrap: anywhere; }
h2 { font-size: 1.15rem; line-height: 1.35; margin: 28px 0 8px; scroll-margin-top: 20px; }
h3 { font-size: 1rem; margin-bottom: 8px; }
p, ul { margin: 0 0 12px; }
main > :last-child { margin-bottom: 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a[aria-current] { font-weight: 800; }
