:root {
    color-scheme: light dark;
    --page: #f6f3ee;
    --surface: #fffdf9;
    --text: #24211e;
    --muted: #716a63;
    --line: #ddd6ce;
    --accent: #8b6752;
    --accent-strong: #654737;
    --success: #406b58;
    --max-width: 760px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --page: #191714;
        --surface: #211e1a;
        --text: #eee9e2;
        --muted: #b4aaa0;
        --line: #403a34;
        --accent: #c19a81;
        --accent-strong: #dfb89d;
        --success: #84b59d;
    }
}

* {
    box-sizing: border-box;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--page);
    color: var(--text);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--page);
    font-size: 16px;
    line-height: 1.75;
}

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

a:hover {
    text-decoration-thickness: 2px;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.site-header__inner,
.page,
.site-footer__inner {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

.site-header__inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: var(--text);
    font-size: 18px;
    font-weight: 650;
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
}

.site-nav a[aria-current="page"] {
    color: var(--text);
    font-weight: 600;
}

.page {
    padding: 64px 0 72px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 650;
}

h1,
h2 {
    line-height: 1.35;
}

h1 {
    margin: 0;
    font-size: clamp(32px, 7vw, 48px);
    font-weight: 720;
}

h2 {
    margin: 40px 0 12px;
    font-size: 21px;
    font-weight: 680;
}

p,
ul {
    margin: 12px 0;
}

ul {
    padding-left: 1.4em;
}

.lead {
    max-width: 640px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 18px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--surface);
    background: var(--accent-strong);
    font-weight: 650;
    text-decoration: none;
}

.button--secondary {
    color: var(--accent-strong);
    background: transparent;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 56px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--line);
}

.feature {
    min-height: 150px;
    padding: 24px 20px;
    background: var(--page);
}

.feature strong {
    display: block;
    margin-bottom: 8px;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.meta {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.notice {
    margin: 28px 0;
    padding: 16px 18px;
    border-left: 3px solid var(--success);
    background: var(--surface);
}

.legal section + section {
    border-top: 1px solid var(--line);
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.site-footer__inner {
    padding: 22px 0 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 640px) {
    .site-header__inner {
        min-height: 58px;
    }

    .site-nav {
        gap: 14px;
    }

    .page {
        padding: 44px 0 56px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature {
        min-height: 0;
    }

    .site-footer__inner {
        display: block;
    }
}
