:root {
  --bg: #000;
  --surface: #0b0b0c;
  --text: #f2f2f0;
  --muted: #9a9a9f;
  --faint: #5f5f66;
  --line: #222225;
  --max: 1040px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--text); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 3px; }
::selection { background: #fff; color: #000; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 10; }

/* header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* hero */
.hero { padding-top: clamp(72px, 14vh, 150px); padding-bottom: clamp(56px, 10vh, 110px); }
.kicker { margin: 0 0 22px; color: var(--muted); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 7.4vw, 84px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 28px; max-width: 13ch; }
.hero .lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 52ch; margin: 0 0 40px; }
.btn { display: inline-block; background: #fff; color: #000; text-decoration: none; font-weight: 600; padding: 13px 24px; border-radius: 999px; }
.btn:hover { background: #d9d9d6; }

/* focus areas */
.focus { border-top: 1px solid var(--line); }
.focus ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.focus li { padding: 34px 28px 38px 0; border-bottom: 1px solid var(--line); }
.focus .n { display: block; color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.focus h2 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 10px; }
.focus p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* contact */
.contact { padding: clamp(64px, 11vh, 120px) 0; }
.contact h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 14px; }
.contact p { color: var(--muted); margin: 0 0 28px; max-width: 50ch; }
.contact .mail { font-size: clamp(22px, 3.4vw, 34px); font-weight: 600; letter-spacing: -0.01em; }

/* legal pages */
.doc { padding: 48px 0 80px; max-width: 740px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; }
.doc .updated { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.doc h2 { font-size: 20px; letter-spacing: -0.01em; margin: 44px 0 10px; }
.doc p, .doc li { color: #d6d6d3; }
.doc ul { padding-left: 22px; }
.doc code { font-size: 0.92em; background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
.facts { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); font-size: 16px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts th { width: 38%; padding-right: 20px; color: var(--muted); font-weight: 400; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 38px; color: var(--faint); font-size: 13.5px; }
.site-footer .wrap { display: grid; gap: 12px; }
.site-footer .legal-line { margin: 0; max-width: 92ch; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .focus li { padding-right: 0; }
  .facts th, .facts td { display: block; width: 100%; }
  .facts th { padding-bottom: 0; border-bottom: 0; }
}
@media print {
  :root { --bg: #fff; --text: #000; --muted: #333; --faint: #555; --line: #ccc; }
  .nav, .btn { display: none; }
}
