:root {
    --bg: #fffaf3;
    --fg: #1a1410;
    --muted: #5b5048;
    --accent: #c2410c;
    --accent-deep: #7c2d12;
    --accent-soft: #fef3c7;
    --border: #ead9c2;
    --max-width: 720px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f0a07;
        --fg: #ece1d3;
        --muted: #9b8c7a;
        --accent: #f97316;
        --accent-deep: #fb923c;
        --accent-soft: rgba(249, 115, 22, 0.12);
        --border: #2a1d12;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--fg);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--accent-deep);
}

/* ---------- Header ---------- */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--fg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
}

.brand .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    background: var(--accent);
    color: white;
    border-radius: 6px;
    font-weight: 700;
}

.site-header nav {
    display: flex;
    gap: 1.5rem;
}

.site-header nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
    color: var(--fg);
}

/* ---------- Main ---------- */

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

main > section + section {
    margin-top: 4rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.lede {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 1.75rem;
}

.status {
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.25rem;
    border-radius: 0 6px 6px 0;
}

.status strong {
    color: var(--accent-deep);
}

.features {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.features article h2 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.features article p {
    color: var(--muted);
    font-size: 0.95rem;
}

.games h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.games ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.games li {
    background: var(--accent-soft);
    color: var(--accent-deep);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
}

.games .muted {
    color: var(--muted);
    font-size: 0.92rem;
}

.disclosure {
    background: var(--accent-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.disclosure h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    color: var(--accent-deep);
}

.disclosure p {
    font-size: 0.95rem;
}

/* ---------- Legal pages ---------- */

.legal h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 0.5rem;
}

.legal .last-updated {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal h2 {
    font-size: 1.2rem;
    margin: 2.25rem 0 0.75rem;
}

.legal p,
.legal li {
    margin-bottom: 0.75rem;
}

.legal ul,
.legal ol {
    margin: 0 0 1rem 1.5rem;
}

/* ---------- Footer ---------- */

footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.875rem;
}

footer p {
    margin-bottom: 0.75rem;
}

footer .trademark {
    font-size: 0.825rem;
    line-height: 1.5;
}

footer .links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

footer .links a {
    color: var(--muted);
    text-decoration: underline;
}

footer .links a:hover {
    color: var(--fg);
}

/* ---------- Focus rings ---------- */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}
