:root {
    color-scheme: dark;
    --background: #151515;
    --surface: #202020;
    --surface-raised: #262626;
    --border: #363636;
    --text: #f4f4f4;
    --muted: #b8b8b8;
    --red: #c62828;
    --red-light: #e05252;
    --red-dark: #8e1b1b;
    --success: #4eaa72;
    --radius: 16px;
    --shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 15% 0, rgba(198, 40, 40, .13), transparent 28rem),
        linear-gradient(rgba(255, 255, 255, .016) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .016) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
    content: "";
    pointer-events: none;
}

a {
    color: #ef7777;
    text-underline-offset: .18em;
}

a:hover {
    color: #ff9c9c;
}

a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
    border-radius: 3px;
}

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

h1,
h2,
h3 {
    line-height: 1.16;
    letter-spacing: -.025em;
}

h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.35rem, 10vw, 4.7rem);
}

h2 {
    margin-bottom: .9rem;
    font-size: clamp(1.7rem, 6vw, 2.5rem);
}

h3 {
    margin-bottom: .6rem;
    font-size: 1.5rem;
}

.container {
    width: min(100% - 2rem, 900px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 1rem;
    left: 1rem;
    padding: .65rem 1rem;
    transform: translateY(-200%);
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(21, 21, 21, .92);
}

.header-inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
}

.brand:hover {
    color: var(--text);
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: var(--red);
    box-shadow: 0 6px 18px rgba(198, 40, 40, .3);
    color: #fff;
    line-height: 1;
}

.site-header nav,
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
}

.site-header nav a {
    color: var(--muted);
    font-size: .93rem;
    font-weight: 650;
    text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
    color: var(--text);
}

.main-content {
    padding-block: 3.5rem 5rem;
}

.test-mode-banner {
    margin-bottom: 1.5rem;
    padding: .7rem 1rem;
    border: 1px solid #b88922;
    border-radius: 9px;
    background: rgba(184, 137, 34, .14);
    color: #f2d58c;
    font-size: .9rem;
    font-weight: 750;
    text-align: center;
}

.hero {
    max-width: 810px;
    padding-block: 2.5rem 4.5rem;
}

.hero h1 {
    max-width: 750px;
}

.hero-copy {
    max-width: 760px;
    color: #d0d0d0;
    font-size: clamp(1.08rem, 3vw, 1.27rem);
}

.eyebrow,
.card-label {
    margin-bottom: .65rem;
    color: var(--red-light);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.impact-list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.8rem;
}

.impact-list span {
    padding: .38rem .75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(32, 32, 32, .65);
    color: #d8d8d8;
    font-size: .84rem;
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.supporter-note {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 4.5rem;
    padding: 1.5rem;
    border-color: rgba(198, 40, 40, .55);
}

.personalized-title {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 6vw, 3rem);
    overflow-wrap: anywhere;
}

.section-icon,
.status-icon {
    display: grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(224, 82, 82, .25);
    border-radius: 13px;
    background: rgba(198, 40, 40, .12);
    color: var(--red-light);
}

.section-icon svg,
.status-icon svg {
    width: 24px;
    fill: currentColor;
}

.benefit-list {
    display: grid;
    gap: .5rem;
    padding-left: 1.25rem;
    columns: 1;
}

.benefit-list li::marker {
    color: var(--red-light);
}

.fine-print,
.policy-date {
    color: var(--muted);
    font-size: .9rem;
}

.support-section {
    padding-bottom: 4.5rem;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 1.8rem;
}

.section-heading > p:last-child {
    color: var(--muted);
}

.support-grid {
    display: grid;
    gap: 1rem;
}

.support-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1.5rem;
    overflow: hidden;
}

.support-card.featured {
    border-color: rgba(198, 40, 40, .7);
}

.support-card.featured::after {
    position: absolute;
    top: -55px;
    right: -55px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(198, 40, 40, .12);
    content: "";
}

.support-card .section-icon {
    margin-bottom: 1.4rem;
}

.support-card > p:not(.card-label, .price) {
    color: var(--muted);
}

.price {
    display: flex;
    min-height: 3.2rem;
    align-items: baseline;
    gap: .45rem;
    margin-bottom: 1rem;
}

.price strong {
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
}

.price span {
    color: var(--muted);
}

.stripe-button-wrap {
    display: grid;
    min-height: 54px;
    margin-top: auto;
    padding-top: 1rem;
    align-items: center;
}

stripe-buy-button {
    width: 100%;
}

.button-preview,
.primary-link {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.1rem;
    border-radius: 9px;
    background: var(--red);
    color: #fff;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

.primary-link:hover {
    background: var(--red-light);
    color: #fff;
}

.text-link {
    margin-top: .9rem;
    font-size: .87rem;
    text-align: center;
}

.trust-card {
    padding: 1.5rem;
}

.trust-card h2 {
    font-size: 1.45rem;
}

.trust-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.trust-grid div {
    display: grid;
    gap: .25rem;
}

.trust-grid span {
    color: var(--muted);
    font-size: .91rem;
}

.status-card,
.contact-card,
.policy-page {
    max-width: 760px;
    margin: 2rem auto;
    padding: clamp(1.5rem, 6vw, 3.5rem);
}

.status-card {
    text-align: center;
}

.status-card .status-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 1.5rem;
}

.status-icon.success {
    border-color: rgba(78, 170, 114, .3);
    background: rgba(78, 170, 114, .13);
    color: var(--success);
}

.status-card .primary-link {
    margin-top: .75rem;
}

.policy-page h1,
.contact-card h1,
.status-card h1 {
    font-size: clamp(2rem, 8vw, 3.3rem);
}

.policy-page h2 {
    margin-top: 2.2rem;
    font-size: 1.25rem;
    letter-spacing: -.01em;
}

.policy-page p,
.contact-card > p:not(.eyebrow) {
    color: #d0d0d0;
}

.policy-page code {
    padding: .08rem .32rem;
    border-radius: 4px;
    background: #111;
    color: #eee;
}

.email-link {
    display: inline-block;
    max-width: 100%;
    font-size: clamp(1.05rem, 5vw, 1.45rem);
    font-weight: 750;
    overflow-wrap: anywhere;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #111;
}

.footer-inner {
    display: grid;
    gap: 1rem;
    padding-block: 2rem;
}

.site-footer p {
    margin: 0;
    color: #949494;
    font-size: .84rem;
}

.site-footer a {
    color: #bcbcbc;
    font-size: .84rem;
}

@media (min-width: 620px) {
    .container {
        width: min(100% - 3rem, 900px);
    }

    .supporter-note {
        grid-template-columns: auto 1fr;
        padding: 2rem;
    }

    .benefit-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-card,
    .trust-card {
        padding: 2rem;
    }

    .trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
