/* The app's paper and ink (src/styles.css). */
:root { --night: #0b0d0f; --paper: #f3f0e8; --surface: #fffdf8; --ink: #16181b; --muted: #5d6166; --rule: #d6d0c5; --link: #13783f; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #151719; --surface: #1d2023; --ink: #f4f1e8; --muted: #b3b8bd; --rule: #3f454b; --link: #7ee2a1; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #151719; --surface: #1d2023; --ink: #f4f1e8; --muted: #b3b8bd; --rule: #3f454b; --link: #7ee2a1; color-scheme: dark; }
* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 "Archivo", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); font-weight: 600; text-decoration: none; text-underline-offset: 3px; }
a:not([class]):hover { text-decoration: underline; }
.bar { background: var(--night); color: #fff; }
.bar-inner, .foot-inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: flex; align-items: center; gap: 16px; }
.bar-inner { height: 64px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: 0.08em; font-size: 15px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.back { color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.back:hover { background: rgba(255, 255, 255, 0.08); }
main { max-width: 720px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 24px) 88px; }
h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 8px; font-weight: 800; }
h3 { font-size: 22px; letter-spacing: -0.015em; margin: 32px 0 6px; }
h4 { font-size: 17px; margin: 24px 0 4px; }
.table { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
th { font-weight: 700; }
h2 { font-size: clamp(24px, 3.4vw, 28px); letter-spacing: -0.025em; margin: 40px 0 8px; padding-top: 24px; border-top: 1px solid var(--rule); }
.muted { color: var(--muted); font-size: 15px; }
.summary { margin: 24px 0 0; padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); }
.summary ul { margin: 0; }
ul { padding-left: 22px; }
li + li { margin-top: 6px; }
code { font-size: 0.88em; padding: 1px 5px; border-radius: 5px; background: var(--surface); border: 1px solid var(--rule); }
.foot { background: var(--night); color: #9aa1a8; padding: 28px 0 36px; font-size: 14px; }
.foot-inner { flex-wrap: wrap; }
.foot a { color: #9aa1a8; }

/* Guides */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--night); color: #fff; }
.btn.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.lede { font-size: 20px; line-height: 1.5; margin: 18px 0 0; }
.related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); }
.related h2 { border: 0; padding: 0; margin: 0 0 8px; font-size: 18px; }
