:root {
  color-scheme: dark;
  --bg: #0c111b;
  --panel: #151e2e;
  --line: #29364c;
  --text: #f0f4ff;
  --muted: #bac6da;
  --link: #a3d5ff;
  --accent: #91caff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { color: #fff; }
a:focus-visible { outline: 3px solid #ffdc91; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.top nav, .footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.top nav a { text-decoration: none; padding: .35rem 0; }
.top nav a[aria-current="page"] { text-decoration: underline; color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .08em; }
.brand span { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #4d81b2; border-radius: .5rem; color: var(--accent); background: #13243a; }
.skip { position: absolute; left: 1rem; top: .5rem; z-index: 1; background: var(--bg); padding: .55rem; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.hero { padding: clamp(2.8rem, 8vw, 6.5rem) 0 clamp(1.75rem, 5vw, 3.5rem); }
.hero h1 { max-width: 19ch; margin: 0; font-size: clamp(2.35rem, 7.1vw, 5.5rem); line-height: 1.02; letter-spacing: -.06em; }
.guide-hero h1 { font-size: clamp(2.35rem, 6vw, 4.5rem); }
.eyebrow { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: .81rem; font-weight: 750; margin: 0 0 1rem; }
.lead { max-width: 57ch; font-size: clamp(1.05rem, 2.4vw, 1.27rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .9rem; margin-top: 1.5rem; }
.actions a { padding: .65rem 1rem; border-radius: .5rem; font-weight: 690; }
.primary { background: var(--accent); color: #071421; text-decoration: none; }
.primary:hover { background: #c8e6ff; color: #071421; }
.secondary { border: 1px solid #49647e; text-decoration: none; }
.actions .manual { padding-inline: .2rem; }
.command, figcaption, .footer { color: var(--muted); font-size: .93rem; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); line-height: 1.2; margin: 0 0 .75rem; letter-spacing: -.025em; }
main > section:not(.hero), article > section { margin: 0 0 2.65rem; }
main p { max-width: 72ch; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: .85rem; }
.guide { display: grid; gap: .15rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--panel); padding: 1rem 1.15rem; text-decoration: none; }
.guide:hover { border-color: var(--accent); }
.guide span:first-child { color: var(--accent); font-size: .84rem; }
.guide strong { font-size: 1.25rem; color: var(--text); }
.guide span:last-child { color: var(--muted); }
.example { margin: 0 0 2.7rem; max-width: 58rem; }
.example img { border: 1px solid var(--line); border-radius: .65rem; }
.example figcaption { margin: .65rem 0 0; }
.reading { max-width: 75ch; }
.reading li + li { margin-top: .55rem; }
code { background: var(--panel); color: var(--text); border-radius: .25rem; padding: .12em .28em; overflow-wrap: anywhere; }
.next { margin: 0 0 2.65rem; }
.footer { border-top: 1px solid var(--line); padding: 1.3rem 0 2rem; }
.footer p { margin: 0 0 .65rem; }
@media (max-width: 34rem) {
  .top nav { flex-basis: 100%; }
  .actions .manual { flex-basis: 100%; }
}
