:root {
    color-scheme: light;
    --ink: #111111;
    --muted: #5b5b5b;
    --paper: #ffffff;
    --wash: #f4f4f4;
    --line: #d8d8d8;
    --green: #1fbf75;
    --yellow: #ffd84d;
    --red: #ff4f4f;
    --blue: #2f6df6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: inherit;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

code {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.65rem 0.75rem;
    background: var(--wash);
    color: var(--ink);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.9rem;
}

.site-header,
.pay-section,
.story-section,
.math-section,
.contact-section,
.faq-section,
.money-section,
.site-footer {
    padding: 4rem max(1.25rem, calc((100% - 1120px) / 2));
}

.site-header {
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, rgba(255, 216, 77, 0.78), rgba(255, 255, 255, 0.94));
    border-bottom: 1px solid var(--line);
}

.kicker {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote,
.faq-list {
    margin-top: 0;
}

h1 {
    max-width: 13ch;
    margin-bottom: 1rem;
    font-size: 4rem;
    line-height: 0.95;
}

h2 {
    margin-bottom: 1rem;
    font-size: 2.4rem;
    line-height: 1.05;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: 1.45rem;
    line-height: 1.15;
}

.lede {
    max-width: 38rem;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
}

.mission {
    margin-bottom: 0.25rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.mission a {
    text-decoration: none;
}

.footnote {
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.header-actions,
.payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border: 2px solid var(--ink);
    border-radius: 6px;
    padding: 0.55rem 0.9rem;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    background: var(--green);
}

.button.secondary {
    background: var(--paper);
}

.button:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.section-heading {
    max-width: 48rem;
    margin-bottom: 2rem;
}

.money-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--wash);
}

.wealth-trajectory {
    max-width: 48rem;
}

.wealth-trajectory h2 {
    margin-bottom: 1rem;
}

.wealth-trajectory p {
    margin: 2.4rem 0 0;
    color: var(--muted);
    font-weight: 700;
}

.trajectory-bar {
    position: relative;
    height: 2.25rem;
    border: 2px solid var(--ink);
    border-radius: 6px;
    background: var(--paper);
}

.trajectory-bar::before {
    content: "";
    display: block;
    width: 3%;
    height: 100%;
    background: var(--green);
}

.trajectory-marker {
    position: absolute;
    top: calc(100% + 0.35rem);
    transform: translateX(-50%);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.trajectory-marker::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 0.25rem);
    left: 50%;
    width: 2px;
    height: 2.25rem;
    background: var(--ink);
}

.trajectory-marker.millionaire {
    left: 25%;
}

.trajectory-marker.billionaire {
    left: 100%;
    transform: translateX(-50%);
}

.trajectory-marker.billionaire::before {
    display: none;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.payment-card {
    position: relative;
    min-height: 26rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border: 2px solid var(--ink);
    border-radius: 8px;
    padding: 1rem;
    background: var(--paper);
    box-shadow: 6px 6px 0 var(--yellow);
}

.payment-flag {
    position: absolute;
    top: -0.7rem;
    right: 0.9rem;
    z-index: 1;
    display: inline-block;
    transform: rotate(3deg);
    border: 2px solid var(--ink);
    border-radius: 6px;
    padding: 0.35rem 0.7rem;
    background: var(--red);
    color: var(--paper);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 var(--ink);
}

.payment-card:nth-child(2n) {
    box-shadow: 6px 6px 0 var(--green);
}

.payment-card:nth-child(3n) {
    box-shadow: 6px 6px 0 var(--red);
}

.payment-card p {
    margin-bottom: 0;
}

.payment-filler {
    color: var(--muted);
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.4;
}

.payment-note {
    margin-top: -0.45rem;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.35;
}

.payment-type {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.payment-actions {
    margin-top: auto;
}

.payment-qr {
    align-self: start;
    width: 8rem;
    height: auto;
    border: 2px solid var(--ink);
    border-radius: 6px;
    background: var(--paper);
}

.safety-note {
    width: fit-content;
    max-width: 100%;
    margin: 2rem 0 0;
    color: var(--muted);
}

.contact-card {
    max-width: 42rem;
    margin-top: 1.5rem;
    border: 2px solid var(--ink);
    border-radius: 8px;
    padding: 1rem;
    background: var(--yellow);
}

.contact-section .contact-card {
    margin-top: 0;
}

.contact-card p {
    margin-bottom: 0.9rem;
}

.contact-email {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
    margin-bottom: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.65rem 0.75rem;
    background: var(--paper);
    color: var(--ink);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.9rem;
    font-weight: 700;
}

.story-section {
    background: var(--wash);
}

.story-copy {
    max-width: 48rem;
}

.math-section {
    background: var(--yellow);
}

.math-section p,
.math-section blockquote {
    max-width: 48rem;
}

blockquote {
    border-left: 0.5rem solid var(--ink);
    padding-left: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.faq-item {
    border-top: 2px solid var(--ink);
    padding-top: 1rem;
}

.faq-item h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--ink);
    color: var(--paper);
}

.footer-hero {
    max-width: 50rem;
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.12;
}

.footer-hero em {
    color: var(--yellow);
    font-style: italic;
}

.footer-hero a {
    text-decoration-style: dashed;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 255, 255, 0.6);
    text-underline-offset: 0.22em;
}

.footer-hero a:hover,
.footer-hero a:focus-visible {
    text-decoration-color: var(--paper);
}

.site-footer .footnote {
    max-width: 18rem;
    margin: 2.5rem 0 0 auto;
    color: var(--line);
    font-size: 0.82rem;
    text-align: right;
}

@media (min-width: 1024px) {
    h1 {
        max-width: none;
        margin-bottom: 1.35rem;
        font-size: 5.2rem;
        line-height: 0.92;
    }

    .lede {
        font-size: 1.42rem;
    }
}

@media (max-width: 860px) {
    .site-header {
        min-height: 76vh;
        padding-top: 3rem;
        padding-bottom: 3rem;
        background: linear-gradient(90deg, rgba(255, 216, 77, 0.92), rgba(255, 255, 255, 0.92));
    }

    h1 {
        max-width: 13ch;
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .lede {
        font-size: 1.2rem;
    }

    .payment-grid,
    .faq-list {
        grid-template-columns: 1fr;
    }

    .payment-card {
        min-height: 0;
    }

}

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

    .site-header,
    .pay-section,
    .story-section,
    .math-section,
    .contact-section,
    .faq-section,
    .money-section,
    .site-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-header {
        min-height: 76vh;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        background: linear-gradient(180deg, rgba(255, 216, 77, 0.98), rgba(255, 255, 255, 0.86));
    }

    h1 {
        max-width: 12ch;
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .footer-hero {
        font-size: 1.55rem;
    }

    .site-footer .footnote {
        margin-left: 0;
        text-align: left;
    }

    .trajectory-marker.millionaire {
        left: 32%;
    }

    .trajectory-marker.billionaire {
        transform: translateX(-100%);
    }

    .payment-actions .button,
    .contact-card .button {
        width: 100%;
    }
}
