:root {
  --bg: #0e0e0e;
  --fg: #f2f0ec;
  --muted: #a39f98;
  --line: #2a2a2a;
  --accent: #b48cff;   /* the Halloween flyer purple, used sparingly */
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f7f5f1; --fg: #121212; --muted: #5d5a55; --line: #dedad3; --accent: #6b3fd1; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-wrap: anywhere;
  background: var(--bg);
  color: var(--fg);
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 48px 20px 64px; }

/* home */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 18px; }
.logo { width: 132px; height: 132px; color: var(--fg); }
h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); letter-spacing: 0.06em; margin: 0; font-weight: 700; }
.tag { color: var(--muted); margin: 0; font-size: 1.05rem; }
.tag span { display: block; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; margin-top: 10px; }
.btn { display: inline-block; max-width: 100%; text-align: center; padding: 12px 22px; border: 1px solid var(--fg); border-radius: 28px; line-height: 1.35; text-decoration: none; font-weight: 500; }
.btn.primary { background: var(--fg); color: var(--bg); }
.btn:hover { border-color: var(--accent); }
.btn.primary:hover { background: var(--accent); color: var(--bg); }
.addr { color: var(--muted); font-size: 0.95rem; }
footer { color: var(--muted); font-size: 0.85rem; text-align: center; padding: 24px 20px 40px; }
footer a { color: var(--muted); }

/* policy */
.doc header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.doc header .logo { width: 44px; height: 44px; }
.doc header a { text-decoration: none; font-weight: 700; letter-spacing: 0.05em; }
.doc h1 { font-size: 1.9rem; letter-spacing: 0; margin-bottom: 4px; }
.doc h2 { font-size: 1.15rem; margin: 30px 0 6px; }
.doc p, .doc li { color: var(--fg); }
.doc .meta { color: var(--muted); margin-top: 0; }
.doc ul { padding-inline-start: 22px; }
.lang-switch { margin: 0 0 8px; font-size: 0.95rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
[lang="en"] { direction: ltr; text-align: left; }
