/* Word Storm's web pages (launch-hosting, 2026-10-04): the privacy policy and
   the account-deletion page, served by Caddy from server/site/. Plain and
   readable on a phone: system fonts, one column, no scripts, nothing loaded
   from elsewhere (the Caddyfile's Content-Security-Policy allows this file
   only). The colours are the game's desert palette (design.md §1). */

:root {
    --ground: #FFF8EE;
    --paper: #FFFDF7;
    --ink: #2C2C2A;
    --slate: #5F5E5A;
    --accent: #D85A30;
    --link: #185FA5;
    --hairline: rgba(44, 44, 42, 0.12);
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --ground: #1E1D1B;
        --paper: #262523;
        --ink: #F1EDE4;
        --slate: #B4B0A6;
        --accent: #EF9F27;
        --link: #8DB8E6;
        --hairline: rgba(241, 237, 228, 0.16);
    }
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

main {
    max-width: 40rem;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 15px;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

h1 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 8px;
}

h2 {
    font-size: 20px;
    font-weight: 500;
    margin: 36px 0 8px;
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
}

h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 24px 0 4px;
}

p,
ul,
ol {
    margin: 0 0 14px;
}

ul,
ol {
    padding-left: 1.4em;
}

li {
    margin-bottom: 6px;
}

a {
    color: var(--link);
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.meta {
    color: var(--slate);
    font-size: 15px;
    margin-bottom: 24px;
}

.box {
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    padding: 14px 16px;
    margin: 0 0 18px;
}

.box p:last-child,
.box ol:last-child,
.box ul:last-child {
    margin-bottom: 0;
}

code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.95em;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: 4px;
    padding: 1px 5px;
    white-space: nowrap;
}

footer {
    margin-top: 48px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
    color: var(--slate);
    font-size: 14px;
}
