:root {
    color-scheme: light dark;
    --background: #fffaf4;
    --surface: #ffffff;
    --text: #2c2926;
    --secondary: #6f6861;
    --accent: #a95f3d;
    --border: #eadfd4;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #171513;
        --surface: #24211e;
        --text: #f7f1eb;
        --secondary: #c4bbb2;
        --accent: #e6a17f;
        --border: #403a35;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family:
        -apple-system, BlinkMacSystemFont, "Helvetica Neue",
        "Hiragino Sans", "Yu Gothic", sans-serif;
    line-height: 1.75;
}

.container {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
}

header {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--border);
}

header h1 {
    margin: 4px 0 8px;
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.2;
}

.eyebrow {
    margin: 0;
    color: var(--accent);
    font-weight: 700;
}

main {
    padding: 24px 0 56px;
}

section {
    margin: 24px 0;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}

h2 {
    margin-top: 0;
}

h3 {
    margin-top: 28px;
    margin-bottom: 4px;
}

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

.button {
    display: inline-block;
    padding: 10px 16px;
    color: white;
    background: var(--accent);
    border-radius: 10px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.note {
    color: var(--secondary);
    font-size: 0.9rem;
}

footer {
    padding: 24px 0;
    color: var(--secondary);
    border-top: 1px solid var(--border);
}
