/* emily — shared style for the support and privacy pages, matching the app's paper and ink. */

:root {
    color-scheme: light dark;
    --paper: #faf7f0;
    --ink: #2b2722;
    --secondary: #7a7268;
    --rule: #e6e0d4;
    --accent: #2f4a73;
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #1b1916;
        --ink: #e9e3d8;
        --secondary: #9a9286;
        --rule: #36322c;
        --accent: #a7bcdb;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: ui-serif, "New York", Georgia, "Times New Roman", serif;
    font-size: 1.125rem;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

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

header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

header img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
}

header a {
    color: inherit;
    text-decoration: none;
}

.app-name {
    font-size: 1.6rem;
    font-style: italic;
    margin: 0;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.4rem;
}

h2 {
    font-size: 0.85rem;
    font-weight: 600;
    font-variant: small-caps;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    color: var(--secondary);
    margin: 2.5rem 0 0.5rem;
}

p, ul { margin: 0 0 1rem; }

ul { padding-left: 1.2rem; }

li { margin-bottom: 0.3rem; }

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

.updated {
    color: var(--secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.lede {
    font-size: 1.25rem;
    margin-top: 1rem;
}

footer {
    margin-top: 3.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
    color: var(--secondary);
    font-size: 0.95rem;
}

footer a { color: inherit; }
