/* ntgl.me: white/black and one action colour, as the app (D9, D17): blue in light, orange in dark. */
@font-face { font-family: "Geist"; font-weight: 100 900; font-display: swap; src: url(fonts/Geist.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url(fonts/GeistMono.woff2) format("woff2"); }
@font-face { font-family: "Geist Pixel"; font-display: swap; src: url(fonts/GeistPixel-Square.woff2) format("woff2"); }

:root { --bg: #FFFFFF; --ink: #000000; --soft: #6B6B6B; --line: #E5E5E5; --accent: #0224F7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #000000; --ink: #FFFFFF; --soft: #9A9A9A; --line: #262626; --accent: #FF7000; } }
:root[data-theme="dark"] { --bg: #000000; --ink: #FFFFFF; --soft: #9A9A9A; --line: #262626; --accent: #FF7000; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 Geist, system-ui, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 72px; }
nav { display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; margin-bottom: 48px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 14px; }
nav .mark { font-family: "Geist Pixel", "Geist Mono", monospace; font-size: 22px; color: var(--ink); text-decoration: none; margin-right: auto; }
nav a { color: var(--soft); text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); }
h1 { font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 21px; line-height: 1.3; font-weight: 600; margin: 40px 0 8px; }
h3 { font-size: 17px; font-weight: 600; margin: 24px 0 4px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--accent); }
.meta { color: var(--soft); font-family: "Geist Mono", ui-monospace, monospace; font-size: 14px; margin-bottom: 28px; }
.short { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 16px 0; margin: 0 0 8px; }
code, kbd { font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.92em; }
footer { margin-top: 64px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; }
.hero { font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; margin: 8px 0 20px; }
.lede { font-size: 20px; color: var(--soft); max-width: 34em; }
