/* The website (GitHub Pages): the mirror's own palette and type from DESIGN.md, shared by index.html and guide.html */
@font-face { font-family: "Inter"; src: url("inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --void: #000000;
  --white: #ffffff;
  --gray: #999999;
  --charcoal: #666666;
  --line: #2a2a2a;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--void); color: var(--gray); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--white); text-underline-offset: 3px; text-decoration-color: var(--charcoal); }
a:hover { text-decoration-color: var(--white); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { color: var(--white); text-wrap: balance; margin: 0; }
p { margin: 0; }
code, pre { font-family: var(--mono); font-size: .85em; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1100px; margin: 0 auto; }
.label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); padding-bottom: 6px; border-bottom: 1px solid var(--charcoal); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 4px; font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid var(--white); }
.btn.primary { background: var(--white); color: var(--void); }
.btn.ghost { color: var(--white); border-color: var(--charcoal); }
.btn.ghost:hover { border-color: var(--white); }
.mark { width: 44px; height: 44px; display: block; }
pre.cmd { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px; color: var(--white); overflow-x: auto; min-width: 0; }
pre.cmd span { color: var(--gray); user-select: none; }
.site-footer { border-top: 1px solid var(--line); padding-block: 28px 48px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; justify-content: center; }
