/* Layout: one centered column on black, a film-strip rail at the top edge, blue light as the only accent */
:root {
  --bg: #06080c;
  --panel: #0e131c;
  --line: #1c2536;
  --text: #eef2f8;
  --muted: #8c97ab;
  --blue: #1e6bff;
  --blue-2: #5aa8ff;
  --font-display: "Archivo", "Arial Black", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-2); text-underline-offset: 3px; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

.strip {
  height: 22px;
  background:
    radial-gradient(circle at 50% 50%, var(--bg) 0 4px, transparent 4.5px) 0 0 / 22px 22px repeat-x,
    linear-gradient(90deg, #0b3fa8, var(--blue), #0b3fa8);
  border-bottom: 1px solid #0a2e78;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.nav .brand { display: flex; align-items: center; }
.nav .brand img { height: 44px; width: auto; display: block; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav ul a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--text); }

h1, h2, h3 { font-family: var(--font-display); font-stretch: 112%; line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; font-style: italic; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
.eyebrow { font: 600 12px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-2); }
.lede { font-size: 1.15rem; color: #c9d2e1; max-width: 60ch; }
.muted { color: var(--muted); }

.site-foot { border-top: 1px solid var(--line); margin-top: 72px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: 14px; color: var(--muted); }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

/* Legal pages */
.legal { max-width: 720px; padding-block: 40px 0; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-block: 10px 6px; }
.legal h2 { font-size: 1.25rem; margin-top: 40px; margin-bottom: 8px; font-style: normal; }
.legal p, .legal li { color: #cfd6e3; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal .updated { font: 500 13px var(--font-mono); color: var(--muted); }
.legal .box { border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 16px 18px; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
