:root {
    color-scheme: light;
    --ink: #17211e;
    --muted: #62706b;
    --paper: #f5f2ea;
    --panel: #fffdf8;
    --line: #d9ddd5;
    --green: #176b55;
    --green-dark: #0d4a3a;
    --lime: #d8f067;
    --danger: #9f2f2f;
    --success: #236c4a;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 90% 6%, rgba(216, 240, 103, .34), transparent 24rem),
        var(--paper);
}

a { color: inherit; }

.site-header,
.site-footer,
main {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    width: 2.3rem;
    height: 2.3rem;
    display: grid;
    place-items: center;
    border-radius: .65rem;
    color: white;
    background: var(--green);
}

.privacy-badge {
    padding: .4rem .75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: .8rem;
}

main { padding: 5rem 0; }

.hero { max-width: 880px; padding: 2rem 0 6rem; }

.eyebrow {
    margin: 0 0 1rem;
    font-size: .74rem;
    font-weight: 850;
    letter-spacing: .18em;
    color: var(--green);
}

h1 {
    margin: 0 0 1.5rem;
    font-size: clamp(2.5rem, 7vw, 5.7rem);
    line-height: .98;
    letter-spacing: -.065em;
}

.panel h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { margin: 0 0 .75rem; font-size: 1.2rem; }

.lede {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.15rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.button-primary { color: white; background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.5); }

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.promise-grid article { padding: 2rem; border-right: 1px solid var(--line); }
.promise-grid article:last-child { border-right: 0; }
.promise-grid p { color: var(--muted); line-height: 1.55; }
.card-number { display: block; margin-bottom: 3rem; color: var(--green); font-size: .8rem; font-weight: 800; }

.panel {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 24px 70px rgba(23, 33, 30, .08);
}

.panel.narrow { max-width: 590px; }
.panel-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.stack { display: grid; gap: 1.1rem; margin-top: 1.5rem; }

label { display: grid; gap: .45rem; font-weight: 700; }

input {
    width: 100%;
    min-height: 48px;
    padding: .7rem .8rem;
    border: 1px solid #afb8b2;
    border-radius: .55rem;
    background: #fefefc;
    color: var(--ink);
    font: inherit;
}

input:focus, button:focus, a:focus { outline: 3px solid rgba(23, 107, 85, .28); outline-offset: 2px; }
.checkbox-row { display: flex; align-items: center; gap: .75rem; }
.checkbox-row input { width: 1.2rem; min-height: 1.2rem; }

.notice { margin: 1rem 0; padding: .9rem 1rem; border-radius: .55rem; border: 1px solid currentColor; }
.notice.error { color: var(--danger); background: #fff4f3; }
.notice.success { color: var(--success); background: #f0faf4; }
.text-button { padding: .5rem; border: 0; background: transparent; text-decoration: underline; cursor: pointer; }

.site-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem;
}

code { overflow-wrap: anywhere; }

@media (max-width: 720px) {
    .site-header, .site-footer, main { width: min(100% - 28px, 1160px); }
    .privacy-badge { display: none; }
    main { padding: 3rem 0; }
    .hero { padding-bottom: 3rem; }
    .promise-grid { grid-template-columns: 1fr; }
    .promise-grid article { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .card-number { margin-bottom: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #e8eee9;
        --muted: #a9b7b1;
        --paper: #111816;
        --panel: #18231f;
        --line: #34443e;
        --green: #77c8a7;
        --green-dark: #9bd8bd;
        --lime: #cbe45e;
    }

    body {
        background:
            radial-gradient(circle at 90% 6%, rgba(155, 188, 71, .13), transparent 24rem),
            var(--paper);
    }

    input {
        border-color: #60716a;
        color: var(--ink);
        background: #111a17;
    }

    .button-primary { color: #102019; background: #91d8b9; }
    .button-secondary { background: rgba(255,255,255,.04); }
    .notice.error { color: #ffc2bd; background: #3c201f; }
    .notice.success { color: #bfe8d3; background: #183729; }
}
