:root {
    color-scheme: dark;
    --canvas: #0a0d0b;
    --surface: #121613;
    --surface-2: #171c18;
    --ink: #f2f3ed;
    --muted: #a5aaa5;
    --quiet: #737a74;
    --line: #2e352f;
    --line-strong: #454e46;
    --green: #9be29b;
    --green-deep: #17351e;
    --warning: #e6bd73;
    --warning-deep: #342916;
    --danger: #f1a9a1;
    --danger-deep: #351d1b;
    --max: 1060px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 280px;
    background:
        linear-gradient(rgba(255,255,255,.017) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.017) 1px, transparent 1px),
        radial-gradient(circle at 75% 0%, rgba(89,145,95,.12), transparent 32rem),
        var(--canvas);
    background-size: 44px 44px, 44px 44px, auto, auto;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

.crisis-bar {
    border-bottom: 1px solid rgba(155,226,155,.18);
    background: #111a13;
    color: #dcebdc;
}

.crisis-bar__inner {
    width: min(calc(100% - 2rem), var(--max));
    min-height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem 1.2rem;
    font-size: .76rem;
}

.crisis-bar__inner strong { color: var(--green); }
.crisis-bar__inner a { font-weight: 760; }

a { color: inherit; }
a:hover { color: var(--green); }

:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 4px;
    border-radius: 4px;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: .75rem;
    left: .75rem;
    padding: .7rem 1rem;
    background: var(--ink);
    color: var(--canvas);
    transform: translateY(-180%);
}

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

.site-bar {
    border-bottom: 1px solid var(--line);
    background: rgba(10,13,11,.9);
    backdrop-filter: blur(16px);
}

.site-bar__inner {
    width: min(calc(100% - 2rem), var(--max));
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand,
.site-nav a {
    font-size: .72rem;
    font-weight: 780;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand::before { content: ""; width: .62rem; height: .62rem; border: 2px solid var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(155,226,155,.08); }
.site-nav { display: flex; gap: 1.25rem; }
.site-nav a { color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--green); }

main {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
    padding: clamp(4rem, 9vw, 7rem) 0;
}

.landing-hero {
    min-height: 72vh;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: center;
}

.landing-hero h1 {
    max-width: 10ch;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.hero-record {
    min-height: 300px;
    padding: 2rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54,96,59,.26), rgba(18,22,19,.84) 62%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-record__mark { width: 1rem; height: 1rem; margin-bottom: 1rem; border: 4px solid rgba(155,226,155,.14); border-radius: 50%; background: var(--green); background-clip: padding-box; }
.hero-record strong { margin-top: .5rem; color: var(--green); font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.06em; line-height: 1; }
.hero-record p { margin: .3rem 0 1.2rem; color: var(--muted); font-size: .78rem; }
.hero-record a { font-size: .72rem; font-weight: 760; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }

.truth-panel {
    margin: 0 calc(50% - 50vw);
    padding: clamp(3rem, 7vw, 6rem) max(1rem, calc((100vw - var(--max)) / 2));
    border-block: 1px solid var(--line);
    background: rgba(18,22,19,.72);
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2rem, 6vw, 6rem);
}

.truth-panel h2,
.section-heading-inline h2,
.content-header h1 {
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    letter-spacing: -.055em;
    line-height: .98;
}

.truth-panel p { margin-top: 0; color: var(--muted); font-size: 1.02rem; }
.truth-panel strong { color: var(--ink); }

.section-block { padding: clamp(4rem, 9vw, 8rem) 0; border-bottom: 1px solid var(--line); }
.section-heading-inline { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading-inline > p:last-child { color: var(--muted); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps-grid li { min-height: 230px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,22,19,.8); }
.steps-grid span { color: var(--green); font: 760 .72rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.steps-grid h3 { margin: 3rem 0 .5rem; font-size: 1.35rem; }
.steps-grid p { margin: 0; color: var(--muted); font-size: .88rem; }

.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.resource-card { min-height: 260px; padding: 1.6rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,22,19,.82); display: flex; flex-direction: column; }
.resource-card--urgent { border-color: rgba(155,226,155,.36); background: rgba(23,53,30,.4); }
.card-kicker { color: var(--green); font-size: .66rem; font-weight: 780; letter-spacing: .11em; text-transform: uppercase; }
.resource-card h3 { margin: 1.2rem 0 .55rem; font-size: 1.5rem; letter-spacing: -.025em; }
.resource-card p { margin: 0 0 1rem; color: var(--muted); }
.resource-card a { margin-top: auto; font-size: .75rem; font-weight: 760; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }

.source-note { padding: clamp(3rem, 6vw, 5rem) 0; }
.source-note h2 { margin: 0 0 .75rem; font-size: 1.45rem; }
.source-note p { max-width: 760px; color: var(--muted); }
.source-links { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; }
.source-links a { color: var(--green); font-size: .76rem; font-weight: 700; }

.content-main { max-width: 900px; }
.content-header { padding-bottom: clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.content-header .lede { max-width: 800px; }

.urgent-panel { margin-top: 2rem; padding: clamp(1.5rem, 4vw, 2.4rem); border: 1px solid rgba(155,226,155,.4); border-radius: 16px; background: rgba(23,53,30,.55); }
.urgent-panel h2 { margin: 0 0 .55rem; font-size: 1.4rem; }
.urgent-panel p { margin: 0 0 1rem; }
.urgent-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.article-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.article-section h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.04em; line-height: 1.05; }
.article-section h3 { margin: 2rem 0 .55rem; font-size: 1.25rem; }
.article-section p, .article-section li { color: #c3c8c3; }
.article-section a { color: var(--green); }
.article-section ul, .article-section ol { padding-left: 1.25rem; }
.article-section li { margin: .65rem 0; padding-left: .35rem; }

.action-list { margin: 1.5rem 0 0; padding: 0 !important; list-style: none; counter-reset: action; }
.action-list li { counter-increment: action; position: relative; margin: .75rem 0; padding: 1.1rem 1.1rem 1.1rem 4rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(18,22,19,.72); }
.action-list li::before { content: counter(action, decimal-leading-zero); position: absolute; left: 1.15rem; top: 1.15rem; color: var(--green); font: 760 .74rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }

.language-card { margin-top: 1rem; padding: 1.2rem; border-left: 3px solid var(--green); background: rgba(155,226,155,.04); }
.language-card p { margin: 0; color: var(--ink); font-size: 1.08rem; }

.medical-note { padding: 1.1rem 1.25rem; border: 1px solid rgba(230,189,115,.3); border-radius: 12px; background: rgba(52,41,22,.38); color: #e7d5b4; }

.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: start; }
.site-footer__grid p { margin: .5rem 0 0; color: var(--quiet); }
.site-footer__grid nav { display: grid; gap: .45rem; }
.site-footer__grid nav a { color: var(--muted); text-decoration: none; }
.site-footer__bottom { width: min(calc(100% - 2rem), var(--max)); margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--quiet); font-size: .7rem; }
.affirmative-page .site-footer__grid { grid-template-columns: 1.3fr 1fr; }

.eyebrow {
    margin: 0 0 1rem;
    color: var(--green);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

h1 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(3.3rem, 9vw, 7rem);
    font-weight: 770;
    letter-spacing: -.065em;
    line-height: .9;
}

.lede {
    max-width: 720px;
    margin: 1.8rem 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.page-grid {
    margin-top: clamp(3rem, 7vw, 5rem);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    gap: 1rem;
    align-items: start;
}

.panel {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(23,28,24,.97), rgba(16,20,17,.98));
}

.panel h2 { margin: 0 0 .75rem; font-size: 1.45rem; letter-spacing: -.025em; }
.panel > p { margin: 0; color: var(--muted); }

.pledge-words {
    margin: 1.5rem 0;
    padding: 1.4rem;
    border-left: 3px solid var(--green);
    background: rgba(155,226,155,.045);
    color: #e5e8e2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    line-height: 1.6;
}

.field { margin-top: 1.5rem; }
.field label { display: block; margin-bottom: .5rem; font-size: .84rem; font-weight: 720; }
.field-note { display: block; margin-top: .45rem; color: var(--quiet); font-size: .74rem; }

input[type="text"] {
    width: 100%;
    min-height: 52px;
    padding: .8rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: #0d110e;
    color: var(--ink);
    font: inherit;
}

textarea {
    width: 100%;
    min-height: 132px;
    padding: .9rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: #0d110e;
    color: var(--ink);
    font: inherit;
    line-height: 1.55;
    resize: vertical;
}

input[type="text"]:focus,
textarea:focus { border-color: var(--green); }

.pledge-options { margin: 1.8rem 0 0; padding: 0; border: 0; }
.pledge-options legend { margin-bottom: .85rem; font-size: .84rem; font-weight: 720; }

.pledge-option {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    gap: .8rem;
    align-items: start;
    margin-top: .65rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255,255,255,.018);
    cursor: pointer;
}

.pledge-option:hover,
.pledge-option:has(input:checked) {
    border-color: rgba(155,226,155,.62);
    background: rgba(155,226,155,.06);
}

.pledge-option input { width: 1.15rem; height: 1.15rem; margin: .22rem 0 0; accent-color: var(--green); }
.pledge-option span { color: #e1e5df; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: 1.55; }
.pledge-option--custom span { font-family: inherit; font-size: .9rem; }
.pledge-option--custom strong { color: var(--green); }
.custom-pledge-field { padding-top: 1rem; border-top: 1px solid var(--line); }
.confirmation-pledge { margin: 1rem 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }

.checks { margin: 1.7rem 0 0; padding: 0; border: 0; }
.checks legend { margin-bottom: .85rem; font-size: .84rem; font-weight: 720; }

.check-row {
    position: relative;
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    gap: .8rem;
    align-items: start;
    margin-top: .65rem;
    padding: .95rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255,255,255,.018);
    cursor: pointer;
}

.check-row input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--green); }
.check-row span { color: #d5d9d4; font-size: .86rem; }

.button-row { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.button {
    display: inline-flex;
    min-height: 48px;
    padding: .78rem 1.15rem;
    border: 1px solid var(--green);
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #0b120c;
    font-family: inherit;
    font-size: .76rem;
    font-weight: 760;
    line-height: 1;
    letter-spacing: .07em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.button:hover { background: #b2efb2; color: #071008; }
.button--secondary { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.button--secondary:hover { border-color: var(--green); background: rgba(155,226,155,.05); color: var(--green); }

.privacy-list { margin: 1.4rem 0 0; padding: 0; list-style: none; }
.privacy-list li { padding: .85rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.privacy-list strong { display: block; margin-bottom: .2rem; color: var(--ink); }

.notice,
.error-box,
.success-box {
    margin-bottom: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
}

.notice { border-color: rgba(230,189,115,.3); background: rgba(52,41,22,.42); color: #e5d2af; }
.affirmative-page .notice { border-color: rgba(155,226,155,.3); background: rgba(23,53,30,.42); color: #d9f3d9; }
.error-box { border-color: rgba(241,169,161,.35); background: rgba(53,29,27,.62); color: #f0c3bd; }
.error-box h2, .success-box h2 { margin: 0 0 .45rem; font-size: 1rem; }
.error-box ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.success-box { border-color: rgba(155,226,155,.4); background: rgba(23,53,30,.72); color: #d9f3d9; }
.success-id { display: block; margin-top: .9rem; font: 740 .86rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }

.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }

.wall-header {
    margin-top: 3rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.wall-count { color: var(--green); font-size: .78rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }

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

.pledge-card {
    min-height: 210px;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(18,22,19,.86);
    display: flex;
    flex-direction: column;
}

.pledge-card__badge { color: var(--green); font-size: .66rem; font-weight: 790; letter-spacing: .1em; text-transform: uppercase; }
.pledge-card h2 { margin: 1rem 0 .4rem; font-size: 1.4rem; line-height: 1.2; overflow-wrap: anywhere; }
.pledge-card__location { margin: -.15rem 0 .65rem; color: var(--green); font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.pledge-card p { margin: 0; color: var(--muted); font-size: .83rem; }
.pledge-card__meta { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--quiet); font: .69rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }

.empty-state { margin-top: 1rem; padding: 3rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); text-align: center; }

.removal-note { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--quiet); font-size: .76rem; }

.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); background: #080a09; }
.site-footer__inner { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; color: var(--quiet); font-size: .72rem; }
.site-footer strong { color: var(--muted); letter-spacing: .08em; }

@media (max-width: 760px) {
    .page-grid, .pledge-list, .landing-hero, .truth-panel, .steps-grid, .resource-grid, .site-footer__grid { grid-template-columns: 1fr; }
    .affirmative-page .site-footer__grid { grid-template-columns: 1fr; }
    .landing-hero { min-height: auto; }
    .hero-record { min-height: 260px; max-width: 320px; }
    .crisis-bar__inner { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
    .site-bar__inner { display: block; padding: 1rem 0; }
    .site-nav { margin-top: .7rem; gap: .9rem; overflow-x: auto; }
    .site-nav a { white-space: nowrap; }
    .wall-header { display: block; }
    .wall-count { display: block; margin-top: .8rem; }
    .site-footer__inner { display: block; }
    .site-footer__grid { display: grid; }
    .site-footer__inner span { display: block; margin-top: .4rem; }
}

@media (max-width: 460px) {
    main, .site-bar__inner, .site-footer__inner { width: min(calc(100% - 1.25rem), var(--max)); }
    .panel { padding: 1.25rem; }
    .button { width: 100%; }
}

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

@media print {
    :root { color-scheme: light; }
    body { background: #fff; color: #111; }
    .site-bar, .button-row, .site-footer { display: none; }
    main { width: 100%; padding: 0; }
    .panel, .pledge-card { background: #fff; border-color: #999; break-inside: avoid; }
}
