/* Shared styles for the c.h.o.m.pacsam.com micro-site. Matches
   the in-game brand: Sniglet for headings (mirrors the
   `C.H.O.M.P.` title), Ostrich Sans for body, brand palette
   from `chomp_macroquad::palette`. */

:root {
    --brand-red: #E74C3C;
    --brand-orange: #F39C12;
    --brand-yellow: #F1C40F;
    --brand-green: #2ECC71;
    --brand-blue: #3498DB;

    --text: #f5f5f5;
    --text-muted: #aaa;
    --bg: #0e0e10;
    --bg-elevated: #1a1a1d;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Ostrich Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-weight: 800;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
}

main {
    max-width: 38rem;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

h1, h2, h3 {
    font-family: "Sniglet", "Ostrich Sans", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
}

h1 {
    font-size: 3rem;
    margin: 0 0 0.5rem;
}

h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 0.75rem;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    padding-left: 1.25rem;
    margin: 0 0 1rem;
}

li {
    margin-bottom: 0.25rem;
}

.title {
    display: inline-block;
}

.title .c { color: var(--brand-red); }
.title .h { color: var(--brand-orange); }
.title .o { color: var(--brand-yellow); }
.title .m { color: var(--brand-green); }
.title .p { color: var(--brand-blue); }

.tagline {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 2.5rem;
}

.cta {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    background: var(--brand-blue);
    color: var(--bg);
    margin: 0.4rem 0.4rem 0.4rem 0;
    font-weight: 800;
    text-decoration: none;
}

.cta:hover {
    text-decoration: none;
    filter: brightness(1.15);
}

.cta--secondary {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text);
}

footer {
    border-top: 1px solid #2a2a2d;
    padding-top: 1.5rem;
    margin-top: 4rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
    margin-right: 1rem;
}
