/* snuzzl — shared styles for the public site.
   Palette matches SnuzzlColors: cream #FFF8F0, espresso #3C2A1E, linen shell. */

:root {
    --cream: #fff8f0;
    --shell: #f2ece3;
    --card: #fffdfa;
    --border: #e8ddd0;
    --espresso: #3c2a1e;
    --espresso-light: #6b5344;
    --text: #2c1d12;
    --text-secondary: #6b5344;
    --text-tertiary: #9a8878;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 44rem;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

header.site {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
}

header.site a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--espresso);
    text-decoration: none;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
}

h2 {
    font-size: 1.15rem;
    margin: 2.5rem 0 0.75rem;
    color: var(--espresso);
}

p, li { color: var(--text-secondary); }
li { margin-bottom: 0.4rem; }

a { color: var(--espresso); }

.lede {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.updated {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 2.5rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.note {
    background: var(--shell);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.note strong { color: var(--text); }

.button {
    display: inline-block;
    background: var(--espresso);
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 14px;
    margin-top: 0.5rem;
}

.button.secondary {
    background: transparent;
    color: var(--espresso);
    border: 1px solid var(--border);
}

footer.site {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

footer.site a {
    color: var(--text-secondary);
    margin-right: 1.25rem;
}

.center { text-align: center; }

@media (prefers-color-scheme: dark) {
    :root {
        --cream: #1a120c;
        --shell: #241a13;
        --card: #221812;
        --border: #3a2c22;
        --espresso: #e8d5c4;
        --text: #f5ede4;
        --text-secondary: #c4b3a3;
        --text-tertiary: #9a8878;
    }
    .button { color: #1a120c; }
}
