/* The site's tokens follow the app's lamp-and-ink palette (apps/ios/Nox/Design/Theme.swift). */
:root { --bg: #f3efe6; --ink: #15171e; --muted: #565c69; --line: #d9d3c5; --lamp: #8f5000; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #0b0d13; --ink: #f1f2f6; --muted: #a7afc1; --line: #262a35; --lamp: #ffb84d; } }

body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--lamp); text-underline-offset: .15em; }
.lamp { color: var(--lamp); font-weight: 600; }

/* Landing page: one centred block. */
.hero { min-height: 100vh; display: grid; place-items: center; }
.hero main { max-width: 32rem; padding: 2rem 1rem; text-align: center; }
.hero h1 { margin: 0 0 .5rem; font-size: clamp(2.5rem, 9vw, 4rem); letter-spacing: .02em; text-transform: uppercase; }
.hero p { margin: 0 0 1rem; color: var(--muted); }
.store { display: inline-block; margin-top: .5rem; padding: .7rem 1.4rem; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }

/* Policy and support pages: a readable column. */
.doc main { max-width: 40rem; margin: 0 auto; padding: 2.5rem 1rem 3rem; }
.doc header a { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.doc h1 { margin: 1.5rem 0 .25rem; font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1.15; }
.doc h2 { margin: 2.25rem 0 .5rem; font-size: 1.25rem; }
.doc h3 { margin: 1.5rem 0 .25rem; font-size: 1.05rem; }
.doc p, .doc li { color: var(--ink); }
.doc .meta { margin: 0 0 1.5rem; color: var(--muted); }
.doc ul { padding-left: 1.25rem; }
.doc li + li { margin-top: .35rem; }
.doc .summary { border: 1px solid var(--line); border-radius: 12px; padding: .25rem 1.25rem; }

footer { max-width: 40rem; margin: 0 auto; padding: 0 1rem 2.5rem; color: var(--muted); font-size: .95rem; }
footer a { color: var(--muted); }
.hero footer { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; }
