:root {
    color-scheme: light dark;
    --background: #f5f1e8;
    --panel: #fffaf0;
    --text: #18211b;
    --muted: #5f6f65;
    --green: #17653f;
    --green-dark: #0c3829;
    --gold: #c88b2c;
    --border: rgba(24, 33, 27, 0.12);
    --shadow: rgba(24, 33, 27, 0.12);
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #101814;
        --panel: #17231d;
        --text: #edf4ef;
        --muted: #a8b8ae;
        --green: #59c98d;
        --green-dark: #132f24;
        --gold: #e0aa54;
        --border: rgba(237, 244, 239, 0.12);
        --shadow: rgba(0, 0, 0, 0.24);
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(23, 101, 63, 0.16), transparent 36rem),
        var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    line-height: 1.55;
}

main {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    min-height: 46vh;
    display: flex;
    align-items: center;
    padding: 56px 0 32px;
}

.hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
}

.app-icon {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    box-shadow: 0 18px 42px var(--shadow);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 10px;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 0.95;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(1.55rem, 3vw, 2rem);
}

h3 {
    margin-bottom: 8px;
    color: var(--green);
    font-size: 1.05rem;
}

.lead {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

.section {
    margin: 24px 0;
    padding: 28px;
    background: color-mix(in srgb, var(--panel) 92%, transparent);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 14px 36px var(--shadow);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.feature-grid article {
    padding: 18px;
    background: color-mix(in srgb, var(--green-dark) 8%, transparent);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.feature-grid p,
.section p:last-child {
    margin-bottom: 0;
}

.notice {
    border-color: color-mix(in srgb, var(--gold) 48%, var(--border));
}

a {
    color: var(--green);
    font-weight: 700;
}

footer {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 40px;
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding-top: 36px;
    }

    .hero-content,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .app-icon {
        width: 104px;
        height: 104px;
        border-radius: 22px;
    }

    .section {
        padding: 22px;
    }
}
