/* Shared by the secondary pages (privacy, thanks, 404). index.html keeps its
   own inline styles — it is a single-file document by design and works. Tokens
   here are copied from it verbatim so the pages can't drift apart visually. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-d4d84d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/fraunces-latin-8f90dc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fbfaff;
  --surface: #ffffff;
  --ink: #1a1726;
  --muted: #5d5872;
  --line: #e6e2f3;
  --violet: #7c3aed;
  --violet-soft: #ede9fe;
  --teal: #0f9488;
  --warm: #c2410c;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12101a; --surface: #1b1826; --ink: #f1eefa; --muted: #a9a3bf; --line: #2e2a3d;
    --violet: #a78bfa; --violet-soft: #2a2140; --teal: #4fd1c1; --warm: #fb923c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12101a; --surface: #1b1826; --ink: #f1eefa; --muted: #a9a3bf; --line: #2e2a3d;
  --violet: #a78bfa; --violet-soft: #2a2140; --teal: #4fd1c1; --warm: #fb923c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
}
.wrap {
  max-width: 720px; margin: 0 auto;
  padding: 48px max(16px, env(safe-area-inset-left, 0px));
}
h1, h2 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(28px, 5vw, 38px); margin: 0 0 8px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
a { color: var(--violet); }
p, li { color: var(--ink); }
.muted { color: var(--muted); }
.lede { font-size: 17px; color: var(--muted); margin: 0 0 28px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; margin-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-bottom: 24px; }
.brand img { width: 34px; height: 34px; }
.brand b { font-family: var(--font-display); font-size: 20px; }
dl { display: grid; gap: 14px; margin: 0; }
dt { font-weight: 700; }
dd { margin: 4px 0 0; color: var(--muted); }
.note {
  background: var(--violet-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; margin: 24px 0; font-size: 15px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  padding: 12px 20px; border-radius: 10px; text-decoration: none;
  background: var(--violet); color: #fff; border: 1px solid transparent;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { color: #12101a; } }
footer { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; font-size: 14px; color: var(--muted); }
.lang-alt { font-size: 14px; color: var(--muted); margin-top: 6px; }
