:root {
    color-scheme: light dark;
    --bg: #fbf8f5;
    --text: #2b2321;
    --muted: #6a5e59;
    --accent: #7a4a33;
    --accent-text: #ffffff;
    --line: #e6ded8;
    --code-bg: #f0e9e4;
    --shadow: rgba(60, 35, 20, 0.18);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1b1817;
        --text: #f1ebe7;
        --muted: #b3a7a1;
        --accent: #c98a64;
        --accent-text: #1b1817;
        --line: #37302d;
        --code-bg: #2c2624;
        --shadow: rgba(0, 0, 0, 0.5);
    }
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.55;
}

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

kbd,
code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.88em;
    background: var(--code-bg);
    border-radius: 5px;
    padding: 0.1em 0.35em;
}

kbd {
    border: 1px solid var(--line);
    border-bottom-width: 2px;
}

.hero,
main,
footer {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero {
    text-align: center;
    padding-top: 64px;
    padding-bottom: 48px;
}

.hero-icon {
    width: 128px;
    height: 128px;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin: 12px 0 8px;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.hero p {
    margin: 0 0 8px;
    color: var(--muted);
}

.hero .tagline {
    color: var(--text);
}

.actions {
    margin-top: 24px;
}

.button {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-text);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 10px;
}

.actions .button {
    margin: 4px 6px;
}

.button:hover,
.button:focus-visible {
    filter: brightness(1.08);
}

h2 {
    font-size: 1.6rem;
    margin: 0 0 16px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

h3 {
    font-size: 1.25rem;
    margin: 0 0 8px;
}

section {
    margin-bottom: 40px;
}

.feature {
    margin: 0 0 56px;
}

.feature p {
    margin: 0 0 20px;
}

figure {
    margin: 0;
}

figure img {
    display: block;
    width: 100%;
    max-width: 750px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px var(--shadow));
}

footer {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    padding-bottom: 48px;
    color: var(--muted);
    font-size: 0.95rem;
}

footer p {
    margin: 0 0 8px;
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    h1 {
        font-size: 2.4rem;
    }

    .tagline {
        font-size: 1.15rem;
    }

    .feature {
        margin-bottom: 40px;
    }
}
