/* The website look follows the app (app/src/styles.css, design 13 and 14): black, one red accent,
   Geist (bundled, OFL). Hierarchy comes from size, weight and color only: no letter spacing and
   no monospace for words (AGENTS.md, UI text and typography). */
@font-face { font-family: "Geist Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2-variations"); }

:root {
  --bg: #000; --tile: #111; --line: #232323; --text: #f2f2f2; --dim: #8c8c8c; --faint: #5c5c5c; --red: #e6261f;
  --sans: "Geist Variable", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 16px/1.6 var(--sans); color: var(--text); background: var(--bg); }
a { color: inherit; }
code { font-family: inherit; }

.top, .home, .doc, .foot { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.top { padding-top: 28px; padding-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 18px; text-decoration: none; }
.logo { width: 44px; height: 24px; background: currentColor; mask: url("/logo.svg") center/contain no-repeat; -webkit-mask: url("/logo.svg") center/contain no-repeat; }

.home { flex: 1; padding-top: 48px; padding-bottom: 64px; }
.home h1 { margin: 0 0 16px; font-size: clamp(32px, 7vw, 52px); line-height: 1.1; font-weight: 700; }
.lead { margin: 0 0 40px; max-width: 600px; font-size: 19px; color: var(--dim); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.points li { background: var(--tile); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; gap: 4px; }
.points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-bottom: 6px; }
.points span { color: var(--dim); }

.doc { flex: 1; padding-bottom: 64px; }
.doc h1 { font-size: 34px; line-height: 1.2; margin: 8px 0 20px; }
.doc h2 { font-size: 22px; margin: 40px 0 8px; }
.doc h3 { font-size: 17px; margin: 28px 0 6px; }
.doc p, .doc li { color: #d6d6d6; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-variant-numeric: tabular-nums; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--dim); font-weight: 500; }

.foot { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot small { flex-basis: 100%; color: var(--faint); font-size: 12.5px; }
