:root {
    --ink: #172019;
    --muted: #667067;
    --line: #deded8;
    --lime: #c8f77c;
    --green: #204d32;
    --purple: #8e44ad;
    --paper: #fffefb;
    --wash: #f6f7f2;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}
body.modal-open {
    overflow: hidden;
}

.site-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: block;
    height: 56px;
    max-height: 56px;
    padding: 6px clamp(16px, 4vw, 32px);
    background: rgba(255, 254, 251, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.site-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(58vw, 172px);
    max-height: 40px;
    transform: translate(-50%, -50%);
}
.site-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}
.header-actions {
    position: absolute;
    top: 50%;
    right: clamp(16px, 4vw, 32px);
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateY(-50%);
}
.header-icon,
.menu-button,
.site-menu-close {
    width: 44px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid #d7ddd4;
    border-radius: 15px;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
}
.menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: white;
}
.menu-button span {
    width: 23px;
    height: 2px;
    display: block;
    background: var(--ink);
    border-radius: 99px;
}
.site-menu-toggle {
    position: fixed;
    opacity: 0;
    pointer-events: none;
}
.site-menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, .42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.site-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: clamp(0px, 3.5vw, 34px);
    z-index: 90;
    width: auto;
    height: 100vh;
    height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 34px clamp(34px, 6vw, 74px) 38px;
    background: white;
    box-shadow: -18px 0 46px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity .12s ease, visibility .12s ease;
}
.site-menu-toggle:checked ~ .site-menu-scrim {
    opacity: 1;
    pointer-events: auto;
}
.site-menu-toggle:checked ~ .site-menu {
    opacity: 1;
    visibility: visible;
}
.site-menu-close {
    justify-self: end;
    position: relative;
    background: white;
}
.site-menu-close span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 99px;
    transform-origin: center;
}
.site-menu-close span:first-child { transform: rotate(45deg); }
.site-menu-close span:last-child { transform: rotate(-45deg); }
.site-menu-links {
    display: grid;
    align-content: start;
    padding-top: 38px;
}
.site-menu-link {
    min-height: 96px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    color: var(--ink);
    text-decoration: none;
    border-radius: 8px;
}
.site-menu-link strong,
.site-menu-link small {
    display: block;
}
.site-menu-link strong {
    font-size: 27px;
    line-height: 1.1;
    font-weight: 500;
}
.site-menu-link small {
    margin-top: 6px;
    color: #707070;
    font-size: 19px;
    line-height: 1.25;
}
.site-menu-link b {
    font-size: 36px;
    font-weight: 300;
}
.site-menu-actions {
    display: grid;
    gap: 16px;
    width: min(100%, 470px);
    justify-self: center;
    padding-top: 28px;
}
.menu-primary,
.menu-secondary {
    min-height: 60px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 900;
}
.menu-primary {
    background: var(--green);
    color: var(--lime);
}
.menu-secondary {
    border: 1px solid #bfc4bd;
    color: var(--ink);
    background: white;
}

.logo-home {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(24px, 6vw, 72px);
    background: var(--paper);
}
.logo-home img {
    width: min(72vw, 420px);
    max-height: 78svh;
    height: auto;
    display: block;
    object-fit: contain;
}

.home-page {
    background: #f4f4f4;
}
.home-hero {
    width: min(100%, 1220px);
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    margin: 0 auto;
    padding: clamp(34px, 5vw, 64px) 28px 42px;
}
.home-copy h1 {
    margin: 10px 0 18px;
    max-width: 700px;
    font-size: clamp(48px, 6.6vw, 78px);
    line-height: .96;
}
.home-copy p:not(.eyebrow) {
    max-width: 620px;
    margin: 0;
    color: #4f5a52;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.32;
}
.home-actions {
    width: min(100%, 520px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}
.home-feature {
    display: grid;
    align-self: center;
    color: var(--ink);
    text-decoration: none;
    border-radius: 26px;
    overflow: hidden;
    background: white;
    box-shadow: 0 20px 50px rgba(23, 32, 25, .12);
}
.home-feature img {
    width: 100%;
    aspect-ratio: 16 / 11;
    display: block;
    object-fit: cover;
    background: var(--paper);
}
.home-feature div {
    display: grid;
    gap: 8px;
    padding: 22px;
}
.home-feature span {
    color: var(--muted);
    font-weight: 850;
}
.home-feature strong {
    font-size: 28px;
    line-height: 1.08;
}
.home-feature small {
    color: #4f5a52;
    font-size: 16px;
    font-weight: 800;
}
.home-feature em {
    height: 9px;
    margin-top: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: #eceee8;
}
.home-feature i {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: #7bd657;
}
.home-trust,
.home-steps,
.home-current {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 30px 28px;
}
.home-trust p {
    margin: 0;
    padding: 28px;
    border-radius: 20px;
    background: #e5ffc0;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.18;
    font-weight: 900;
    text-align: center;
}
.home-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.home-steps article {
    min-height: 260px;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 28px;
    border-radius: 22px;
    background: white;
}
.home-steps span {
    width: 46px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--lime);
    font-weight: 950;
}
.home-steps h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.08;
}
.home-steps p {
    margin: 0;
    color: #4f5a52;
    font-size: 18px;
    line-height: 1.42;
}
.home-current {
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 24px;
    padding-bottom: 72px;
}
.home-current h2 {
    margin: 8px 0 12px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
}
.home-current p:not(.eyebrow) {
    max-width: 680px;
    margin: 0;
    color: #4f5a52;
    font-size: 20px;
    line-height: 1.42;
}

.page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 36px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px;
}

.campaign { min-width: 0; }
.media {
    aspect-ratio: 16 / 9;
    background: var(--wash);
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: clamp(30px, 5vw, 64px);
    font-weight: 800;
    color: var(--green);
}

.story { padding: 26px 2px; }
.eyebrow, .organizer { color: var(--muted); font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1; margin: 10px 0 16px; letter-spacing: 0; }
.summary { font-size: 21px; line-height: 1.45; }
.story-copy { margin-top: 28px; font-size: 18px; line-height: 1.65; }

.donation-panel {
    position: sticky;
    top: 78px;
    align-self: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(31, 45, 35, .08);
}
.meter-row { display: flex; gap: 18px; align-items: center; }
.meter-row strong { display: block; font-size: 28px; }
.meter-row span, .meter-row small { display: block; color: var(--muted); font-size: 20px; }
.ring {
    --p: 0;
    width: 84px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#7bd657 calc(var(--p) * 1%), #f0f0ef 0);
    font-weight: 850;
}
.ring::before {
    content: "";
    position: absolute;
}
.ring span {
    width: 62px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: white;
    color: var(--ink);
    font-size: 16px;
}
.bar { height: 10px; background: #eceee8; border-radius: 99px; margin: 24px 0; overflow: hidden; }
.bar span { display: block; height: 100%; background: #7bd657; }
.mode-badge {
    margin: 0 0 12px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #fff4d6;
    color: #6c4a00;
    font-weight: 850;
    text-align: center;
}
.button {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    text-decoration: none;
    font-weight: 850;
    font-size: 20px;
    color: var(--ink);
    cursor: pointer;
}
.donate { background: var(--lime); }
.share { margin-top: 12px; background: var(--green); color: white; }
.donor-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0 20px;
    font-size: 20px;
}
.trend {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--purple);
    background: #f5eaf9;
}
.donors { display: grid; gap: 20px; }
.donor { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; }
.avatar {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f2f2;
    color: #3368d8;
    font-weight: 850;
}
.donor strong, .donor span { display: block; }
.donor span { color: var(--muted); font-weight: 700; }
.donor p { margin: 6px 0 0; color: var(--muted); }
.panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.panel-actions a {
    min-height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid #bfc4bd;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 850;
}
.panel-actions a[data-panel-action="impact"] {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--ink);
}
.panel-actions a.is-active {
    box-shadow: inset 0 0 0 2px rgba(23, 32, 25, .18);
}
.panel-actions a:last-child {
    grid-column: 1 / -1;
}
.impact-invite {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 8px;
    background: #f6ffe9;
}
.impact-invite p {
    margin: 0;
    color: #4f5a52;
    line-height: 1.4;
    font-weight: 750;
}
.impact-invite button {
    min-height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: white;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}
.panel-list.is-loading {
    opacity: .55;
    pointer-events: none;
}
.impact-list {
    display: grid;
    gap: 14px;
}
.impact-list > p {
    margin: 0;
    color: var(--muted);
}
.impact-row {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 8px;
    background: white;
}
.impact-row:nth-of-type(even) {
    background: #f7f8f4;
}
.impact-row strong,
.impact-row span {
    display: block;
}
.impact-row span {
    color: var(--muted);
    font-weight: 700;
}
.impact-row dl {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}
.impact-row dl div {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    padding: 10px;
    border-radius: 8px;
    background: #f6f7f2;
    text-align: center;
}
.impact-row dl div.total-impact,
.impact-stats span.total-impact {
    background: var(--lime);
    color: var(--ink);
}
.impact-row dl div.total-impact dt,
.impact-row dl div.total-impact dd,
.impact-stats span.total-impact,
.impact-stats span.total-impact strong {
    color: var(--ink);
}
.impact-row dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}
.impact-row dd {
    margin: 0;
    font-weight: 900;
}
.impact-tree-action {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 34px;
    display: grid;
    place-items: center;
    margin-top: 2px;
    padding: 7px 14px;
    border: 1px solid #bfd8b7;
    border-radius: 999px;
    background: white;
    color: var(--green);
    font: inherit;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}
.impact-row:nth-of-type(even) .impact-tree-action {
    background: #fff;
}

.list-modal[hidden] {
    display: none;
}
.list-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 34px);
    background: rgba(23, 32, 25, .64);
}
.list-modal-card {
    width: min(100%, 560px);
    max-height: min(90svh, 820px);
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    border-radius: 8px;
    background: white;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}
.list-modal-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px 14px;
}
.list-modal-head h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    line-height: 1.1;
}
.list-modal-head h2 span {
    min-width: 30px;
    min-height: 24px;
    display: inline-grid;
    place-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    background: #eef0ef;
    color: var(--ink);
    font-size: 13px;
    font-weight: 950;
}
.list-modal-close {
    width: 42px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid #d7ddd4;
    border-radius: 50%;
    background: white;
    color: var(--ink);
    font: inherit;
    font-size: 24px;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
}
.list-modal-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}
.list-modal-tabs button {
    min-height: 38px;
    display: grid;
    place-items: center;
    padding: 8px 15px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 950;
    cursor: pointer;
}
.list-modal-tabs button.is-active {
    background: var(--ink);
    color: white;
}
.list-modal-top-prompt {
    margin: 14px 0 0;
    color: var(--ink);
    line-height: 1.4;
}
.list-modal-body {
    overflow: auto;
    padding: 0 0 22px;
}
.donation-modal-list {
    display: grid;
}
.donation-modal-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding: 11px 22px;
}
.donation-modal-row .avatar {
    width: 40px;
    color: var(--ink);
}
.donation-modal-row strong,
.donation-modal-row span {
    display: block;
}
.donation-modal-row span {
    color: var(--ink);
    font-size: 14px;
}
.donation-modal-row span b {
    font-weight: 950;
}
.donation-modal-row em {
    display: inline-grid;
    place-items: center;
    min-height: 17px;
    margin-left: 5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #c8f77c;
    color: var(--green);
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    text-transform: uppercase;
}
.donation-modal-row p {
    margin: 5px 0 0;
    color: var(--muted);
    line-height: 1.35;
}
.donation-modal-cta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin: 8px 0;
    padding: 12px 22px;
    background: var(--lime);
}
.donation-modal-cta img {
    width: 46px;
    aspect-ratio: 1;
    display: block;
    object-fit: cover;
    border-radius: 4px;
    background: white;
}
.donation-modal-cta-mark {
    width: 46px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: white;
    color: var(--green);
    font-size: 14px;
    font-weight: 950;
}
.donation-modal-cta strong {
    font-size: 16px;
    line-height: 1.2;
}
.donation-modal-cta a {
    min-height: 32px;
    display: grid;
    place-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--green);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 950;
}
.list-modal-status {
    margin: 22px 22px 0;
    color: var(--muted);
    font-weight: 800;
}
.list-modal-status button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 850;
    text-decoration: underline;
    cursor: pointer;
}
.list-modal-sentinel {
    height: 1px;
}
.list-modal-foot {
    padding: 14px 22px 22px;
    border-top: 1px solid #ecece7;
    background: white;
}
.list-modal-foot .button {
    min-height: 56px;
    font-size: 16px;
}

.impact-signup-modal[hidden] {
    display: none;
}
.impact-signup-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 34px);
    background: rgba(23, 32, 25, .64);
}
.impact-signup-card {
    position: relative;
    width: min(100%, 520px);
    max-height: min(88svh, 760px);
    overflow: auto;
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}
.impact-signup-card h2 {
    margin: 4px 46px 10px 0;
    font-size: 32px;
    line-height: 1.05;
}
.impact-signup-card p:not(.eyebrow):not(.impact-signup-error) {
    margin: 0 0 18px;
    color: #4f5a52;
    line-height: 1.45;
}
.impact-signup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid #d7ddd4;
    border-radius: 50%;
    background: white;
    color: var(--ink);
    font: inherit;
    font-size: 24px;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
}
.impact-signup-card form,
.impact-signup-result {
    display: grid;
    gap: 14px;
}
.impact-signup-card label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}
.impact-signup-card input:not([type="checkbox"]) {
    width: 100%;
    border: 1px solid #bdc5bb;
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
    color: var(--ink);
    background: white;
}
.impact-anonymous-choice {
    grid-template-columns: 22px 1fr;
    align-items: start;
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid #ecece7;
    border-bottom: 1px solid #ecece7;
    color: #4f5a52;
    line-height: 1.35;
}
.impact-anonymous-choice input {
    width: 18px;
}
.impact-signup-error {
    margin: 0;
    padding: 11px 12px;
    border-radius: 8px;
    background: #ffe8e8;
    color: #8a1c1c;
    font-weight: 800;
}
.impact-signup-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.impact-signup-actions .button {
    min-height: 52px;
    font-size: 16px;
}

.giving-tree-modal[hidden] {
    display: none;
}
.giving-tree-modal {
    position: fixed;
    inset: 0;
    z-index: 180;
    display: grid;
    background: rgba(23, 32, 25, .72);
}
.giving-tree-shell {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    background: #f9faf7;
}
.giving-tree-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px clamp(18px, 3vw, 32px) 12px;
    background: white;
    border-bottom: 1px solid #e2e6de;
}
.giving-tree-head h2 {
    margin: 2px 0 6px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
}
.giving-tree-head p:not(.eyebrow) {
    margin: 0;
    color: #4f5a52;
    font-weight: 800;
}
.giving-tree-close {
    width: 44px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid #d7ddd4;
    border-radius: 50%;
    background: white;
    color: var(--ink);
    font: inherit;
    font-size: 25px;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
}
.giving-tree-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px clamp(18px, 3vw, 32px);
    background: white;
    border-bottom: 1px solid #e2e6de;
}
.giving-tree-toolbar button {
    min-width: 42px;
    min-height: 38px;
    display: grid;
    place-items: center;
    padding: 8px 13px;
    border: 1px solid #c9d0c6;
    border-radius: 999px;
    background: white;
    color: var(--ink);
    font: inherit;
    font-weight: 950;
    cursor: pointer;
}
.giving-tree-toolbar button:hover,
.impact-tree-action:hover {
    border-color: var(--green);
}
.giving-tree-stage {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background:
        linear-gradient(rgba(23, 32, 25, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 32, 25, .045) 1px, transparent 1px),
        #f9faf7;
    background-size: 36px 36px;
    cursor: grab;
    touch-action: none;
    user-select: none;
}
.giving-tree-stage:active {
    cursor: grabbing;
}
.giving-tree-status {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 28px;
    color: #4f5a52;
    font-size: 18px;
    font-weight: 850;
    text-align: center;
}
.giving-tree-status[hidden] {
    display: none;
}
.giving-tree-canvas {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: 0 0;
}
.giving-tree-canvas svg,
.giving-tree-canvas [data-giving-tree-nodes] {
    position: absolute;
    inset: 0;
}
.giving-tree-canvas path {
    fill: none;
    stroke: #98a293;
    stroke-width: 2.5;
}
.giving-tree-node {
    position: absolute;
    width: 224px;
    height: 214px;
    display: grid;
    grid-template-rows: auto auto auto auto;
    align-content: start;
    gap: 8px;
    padding: 12px;
    border: 1px solid #d8ded4;
    border-radius: 8px;
    background: white;
    box-shadow: 0 10px 24px rgba(23, 32, 25, .1);
}
.giving-tree-node.is-root {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(200, 247, 124, .8), 0 12px 26px rgba(23, 32, 25, .12);
}
.giving-tree-node > strong {
    min-height: 32px;
    overflow: hidden;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.16;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.giving-tree-total {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 9px 10px;
    border-radius: 8px;
    background: var(--lime);
    color: var(--ink);
    text-align: center;
}
.giving-tree-total span,
.giving-tree-splits span {
    color: #5a665d;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}
.giving-tree-total strong {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.05;
    font-weight: 950;
}
.giving-tree-splits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.giving-tree-splits div {
    display: grid;
    justify-items: center;
    gap: 3px;
    min-width: 0;
    padding: 8px 6px;
    border-radius: 8px;
    background: #f6f7f2;
    text-align: center;
}
.giving-tree-splits strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--green);
    font-size: 16px;
    line-height: 1.05;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.giving-tree-gave {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 10px;
    border-radius: 8px;
    background: var(--green);
    color: white;
    line-height: 1;
    text-align: center;
}
.giving-tree-gave strong {
    color: white;
    font-size: 24px;
    font-weight: 950;
}
.giving-tree-foot {
    padding: 12px clamp(18px, 3vw, 32px) 18px;
    background: white;
    border-top: 1px solid #e2e6de;
}
.giving-tree-foot .button {
    width: min(100%, 320px);
    margin: 0 auto;
    min-height: 50px;
    font-size: 16px;
}

.share-booster {
    max-width: 1180px;
    margin: 0 auto 52px;
    padding: 0 28px;
}
.share-booster > div {
    padding: 28px clamp(18px, 4vw, 64px) 34px;
    border-radius: 22px;
    background: #f1f1ef;
}
.share-booster h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
}
.share-booster p {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.45;
}
.share-booster > div > img {
    width: min(100%, 960px);
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    background: white;
    box-shadow: 0 16px 32px rgba(31, 45, 35, .08);
}
.share-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.share-icons a,
.share-icons button {
    width: 44px;
    aspect-ratio: 1;
    min-height: 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    transition: transform .16s ease, outline-color .16s ease;
}
.share-icons a:hover,
.share-icons button:hover {
    transform: translateY(-1px);
}
.share-icons img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 50%;
}
.share-icons [data-copy-share].copied {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
}

.form-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--wash); }
.checkout-bar {
    background: rgba(255, 255, 255, .96);
}
.checkout-back,
.checkout-secure {
    color: var(--ink);
    font-weight: 650;
    font-size: 14px;
}
.checkout-back {
    position: absolute;
    left: clamp(16px, 4vw, 32px);
    top: 50%;
    text-decoration: none;
    transform: translateY(-50%);
}
.checkout-secure { color: #4f5a52; }
.donate-checkout {
    align-items: start;
    min-height: calc(100vh - 56px);
    padding: 20px 24px 56px;
    background: #f4f4f4;
}
.empty-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--wash);
}
.empty-page section {
    width: min(100%, 640px);
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 32px;
}
.campaign-unavailable {
    min-height: calc(100vh - 72px);
}
.campaign-unavailable section {
    display: grid;
    justify-items: center;
    gap: 20px;
    text-align: center;
}
.campaign-unavailable img {
    width: min(260px, 72vw);
    height: auto;
}
.campaign-unavailable h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.04;
}
.donate-form {
    width: min(100%, 880px);
    background: white;
    border: 0;
    border-radius: 0;
    padding: 28px 30px 40px;
    box-shadow: 0 1px 0 rgba(23, 32, 25, .04);
}
.contact-consent-modal[hidden] {
    display: none;
}
.contact-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 48px);
    background: rgba(23, 32, 25, .68);
}
.contact-consent-modal section {
    width: min(100%, 820px);
    min-height: min(78svh, 720px);
    display: grid;
    align-content: center;
    gap: 24px;
    padding: clamp(28px, 6vw, 72px);
    border-radius: 18px;
    background: white;
    text-align: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}
.contact-consent-modal h2 {
    margin: 0;
    font-size: clamp(40px, 7vw, 76px);
    line-height: .98;
    letter-spacing: 0;
}
.contact-consent-modal p:not(.eyebrow) {
    max-width: 620px;
    margin: 0 auto;
    color: #4f5a52;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.3;
    font-weight: 850;
}
.contact-consent-modal div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 10px;
}
.contact-consent-modal .button {
    min-height: 86px;
    font-size: clamp(26px, 4vw, 40px);
}
.checkout-summary {
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    gap: 16px;
    align-items: start;
    margin: 0 auto 28px;
    text-align: center;
    max-width: 760px;
}
.checkout-summary h1 {
    margin: 4px 0 6px;
    font-size: clamp(34px, 4vw, 42px);
    line-height: 1.02;
}
.checkout-summary .eyebrow { display: none; }
.checkout-remaining {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 850;
}
.checkout-ring {
    width: 64px;
    margin-top: 2px;
}
.checkout-ring span {
    width: 48px;
    font-size: 13px;
}
.donate-form label { display: grid; gap: 8px; margin: 16px 0; font-weight: 750; }
.donate-form input,
.donate-form textarea,
.donate-form select {
    width: 100%;
    border: 1px solid #bdc5bb;
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
    color: var(--ink);
    background: white;
}
.donate-form select {
    min-height: 54px;
    appearance: none;
    padding-right: 44px;
    background-image:
        linear-gradient(45deg, transparent 50%, #172019 50%),
        linear-gradient(135deg, #172019 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 50%,
        calc(100% - 15px) 50%;
    background-size: 7px 7px, 7px 7px;
    background-repeat: no-repeat;
}
.give-mode {
    display: grid;
    margin: 0 0 20px;
    min-height: 60px;
    border-radius: 999px;
    background: #efefef;
}
.give-mode span {
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 900;
}
.give-mode .active {
    background: var(--green);
    color: white;
}
.amount-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 10px;
}
.amount-choice { margin: 0; }
.amount-choice input { position: absolute; opacity: 0; pointer-events: none; }
.amount-choice span {
    min-height: 70px;
    display: grid;
    place-items: center;
    border: 1px solid #e8e8e3;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 850;
    background: #fafafa;
}
.custom-amount-field {
    position: relative;
    min-height: 114px;
    margin: 0 0 20px;
    border: 1px solid #bfc4bd;
    border-radius: 12px;
    background: #fff;
}
.custom-amount-field .currency-mark {
    position: absolute;
    left: 16px;
    top: 24px;
    display: grid;
    gap: 8px;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}
.custom-amount-field .currency-mark small {
    font-size: 14px;
    font-weight: 900;
}
.custom-amount-field .custom-amount {
    height: 112px;
    padding: 20px 16px 18px 116px;
    border: 0;
    text-align: right;
    font-size: clamp(40px, 7vw, 62px);
    font-weight: 950;
    line-height: 1;
    appearance: textfield;
}
.custom-amount-field .custom-amount::-webkit-outer-spin-button,
.custom-amount-field .custom-amount::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}
.tip-section {
    padding: 22px 0 16px;
}
.tip-section h2 {
    margin: 0 0 22px;
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: 0;
}
.tip-section p {
    margin: -10px 0 18px;
    color: #4f5a52;
    font-size: 18px;
    line-height: 1.35;
}
.tip-section label {
    margin: 0;
}
.amount-choice input:checked + span {
    border-color: var(--green);
    box-shadow: inset 0 0 0 1px var(--green);
    background: #fff;
}
.check {
    grid-template-columns: 22px 1fr;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid #ecece7;
    border-bottom: 1px solid #ecece7;
    line-height: 1.35;
}
.check input { width: 18px; }
.consent-field {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0;
    padding: 18px;
    border: 2px solid var(--green);
    border-radius: 12px;
    background: #f6ffe9;
}
.consent-field legend {
    grid-column: 1 / -1;
    padding: 0 8px;
    font-size: 20px;
    font-weight: 950;
}
.donate-form .consent-field label {
    margin: 0;
}
.consent-choice {
    position: relative;
}
.consent-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.consent-choice span {
    min-height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid #bfc4bd;
    border-radius: 999px;
    background: white;
    font-size: 20px;
    font-weight: 950;
}
.consent-choice input:checked + span {
    border-color: var(--green);
    background: var(--green);
    color: white;
}
.tip-label { color: var(--green); font-weight: 900; }
.tip-slider { padding: 0; accent-color: var(--green); }
.payment-summary {
    display: grid;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid #ecece7;
    border-bottom: 1px solid #ecece7;
    background: #fff;
}
.payment-summary span { display: flex; justify-content: space-between; gap: 16px; }
.error { background: #ffe8e8; color: #8a1c1c; padding: 12px; border-radius: 8px; }
.back { color: var(--green); font-weight: 800; text-decoration: none; }
.outline {
    background: white;
    border: 1px solid #bfc4bd;
}
.organizer-page {
    align-items: start;
}
.organizer-form {
    width: min(100%, 760px);
}
.connect-preview {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid #cfe6c7;
    border-radius: 8px;
    background: #f2ffe4;
}
.connect-preview strong {
    font-size: 20px;
}
.connect-preview span {
    color: #4f5a52;
    line-height: 1.4;
}
.form-note {
    margin: 0;
    color: #5f6b62;
    font-weight: 750;
    line-height: 1.4;
}
.impact-link-box {
    display: grid;
    gap: 12px;
    margin: 26px 0 6px;
    padding: 20px;
    border: 1px solid #d8e5d4;
    border-radius: 8px;
    background: #f6ffe9;
}
.impact-link-box h2 {
    margin: 0;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.1;
}
.impact-link-box p {
    margin: 0;
    color: #4f5a52;
    line-height: 1.4;
}
.impact-link-box input {
    width: 100%;
    border: 1px solid #bdc5bb;
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
    font-size: 15px;
}
.thank-share-kit {
    gap: 18px;
}
.thank-share-card {
    width: min(100%, 960px);
    display: block;
    margin: 4px auto 0;
    border-radius: 12px;
    background: white;
    box-shadow: 0 16px 32px rgba(31, 45, 35, .08);
}
.thank-share-kit .share-icons {
    margin-top: 4px;
}
.thank-share-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.impact-stats span {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 3px;
    padding: 12px;
    border-radius: 8px;
    background: white;
    color: #4f5a52;
    font-weight: 750;
    text-align: center;
}
.impact-stats strong {
    color: var(--ink);
    font-size: 22px;
}
.image-picker {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #bdc5bb;
    border-radius: 8px;
    background: white;
}
.image-picker-preview {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 28px;
    border-radius: 8px;
    background: white;
    color: #4f5a52;
    text-align: center;
}
.image-picker-preview[hidden],
.image-picker > [data-image-preview][hidden] {
    display: none;
}
.image-picker-preview img {
    width: min(260px, 70%);
    height: auto;
    display: block;
}
.image-picker-preview strong {
    color: var(--ink);
    font-size: 26px;
    line-height: 1.1;
}
.image-picker-preview span {
    max-width: 420px;
    font-size: 16px;
}
.image-picker > [data-image-preview] {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    background: var(--wash);
}
.image-picker-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #4f5a52;
    font-weight: 800;
}
.image-picker-button {
    min-height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--green);
    color: var(--lime);
    padding: 9px 16px;
    white-space: nowrap;
}
.image-picker input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.fundraiser-form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.fundraiser-preview-modal[hidden] {
    display: none;
}
.fundraiser-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(23, 32, 25, .62);
}
.fundraiser-preview-card {
    width: min(1180px, 100%);
    max-height: min(86vh, 820px);
    overflow: auto;
    border-radius: 14px;
    background: white;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}
.fundraiser-preview-body {
    padding: 28px;
}
.fundraiser-preview-story-card h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
}
.fundraiser-public-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 24px;
}
.fundraiser-preview-main {
    min-width: 0;
}
.fundraiser-preview-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background: var(--wash);
    object-fit: cover;
}
.fundraiser-preview-story-card {
    padding-top: 24px;
}
.fundraiser-preview-story-card .eyebrow {
    margin: 0 0 10px;
}
.fundraiser-preview-story-card .summary {
    margin-bottom: 14px;
}
.fundraiser-preview-story-card .story-copy {
    white-space: pre-wrap;
    line-height: 1.45;
}
.fundraiser-preview-category {
    margin: 10px 0 18px;
    color: var(--muted);
    font-weight: 850;
}
.fundraiser-preview-panel {
    align-self: start;
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}
.fundraiser-preview-panel .bar {
    margin: 0;
}
.fundraiser-preview-suggested {
    padding: 14px;
    border-radius: 8px;
    background: var(--wash);
    color: #4f5a52;
    font-weight: 850;
}
.fundraiser-preview-suggested strong,
.fundraiser-preview-suggested span {
    display: block;
}
.fundraiser-preview-suggested strong {
    margin-bottom: 6px;
    color: var(--ink);
}
.fundraiser-preview-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    gap: 12px;
    padding: 16px 28px;
    border-top: 1px solid #dde2da;
    background: rgba(255, 255, 255, .96);
}
.fundraiser-preview-actions .button {
    flex: 1;
}
@media (max-width: 720px) {
    .fundraiser-form-actions {
        grid-template-columns: 1fr;
    }
    .fundraiser-public-preview {
        grid-template-columns: 1fr;
    }
    .fundraiser-preview-body,
    .fundraiser-preview-actions {
        padding: 18px;
    }
}

.how-page {
    background: #f4f4f4;
}
.how-hero,
.how-steps,
.how-trust {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: clamp(40px, 7vw, 88px) 28px;
}
.how-hero {
    min-height: 520px;
    display: grid;
    place-items: center;
    text-align: center;
}
.how-hero > div {
    max-width: 860px;
}
.how-hero h1 {
    margin: 10px 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: .98;
}
.how-hero p:not(.eyebrow) {
    margin: 0 auto;
    max-width: 720px;
    color: #4f5a52;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.35;
}
.how-actions {
    width: min(100%, 520px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 34px auto 0;
}
.how-steps {
    display: grid;
    gap: 18px;
}
.how-steps h2,
.how-trust h2 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1;
    text-align: center;
}
.how-steps article {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 28px;
    border-radius: 18px;
    background: white;
}
.how-steps article span {
    width: 58px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--lime);
    font-size: 24px;
    font-weight: 950;
}
.how-steps h3 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.15;
}
.how-steps p,
.how-trust p {
    margin: 0;
    color: #4f5a52;
    font-size: 19px;
    line-height: 1.5;
}
.how-trust {
    text-align: center;
}
.how-trust h2 {
    text-transform: uppercase;
    letter-spacing: 0;
}
.how-trust p {
    max-width: 780px;
    margin: 0 auto 28px;
}
.how-trust a:not(.button) {
    color: var(--green);
    font-weight: 800;
}
.how-trust .button {
    max-width: 360px;
    margin: 0 auto;
}

.pricing-page {
    background: #f4f4f4;
}
.pricing-hero,
.pricing-card,
.pricing-trust {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: clamp(40px, 7vw, 88px) 28px;
}
.pricing-hero {
    min-height: 500px;
    display: grid;
    place-items: center;
    text-align: center;
}
.pricing-hero > div {
    max-width: 820px;
}
.pricing-hero h1 {
    margin: 10px 0 18px;
    font-size: clamp(46px, 8vw, 86px);
    line-height: .95;
}
.pricing-hero p:not(.eyebrow) {
    margin: 0 auto;
    max-width: 720px;
    color: #4f5a52;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.35;
}
.pricing-actions {
    width: min(100%, 520px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 34px auto 0;
}
.pricing-card {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 18px;
    align-items: stretch;
}
.pricing-main,
.pricing-details article {
    border-radius: 22px;
    background: white;
}
.pricing-main {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 360px;
    padding: 34px;
    text-align: center;
}
.pricing-main strong {
    color: var(--green);
    font-size: clamp(82px, 10vw, 132px);
    line-height: .85;
    font-weight: 950;
}
.pricing-main span {
    margin-top: 14px;
    color: #4f5a52;
    font-size: 22px;
    font-weight: 850;
}
.pricing-details {
    display: grid;
    gap: 18px;
}
.pricing-details article {
    padding: 28px;
}
.pricing-details h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.08;
}
.pricing-details p,
.pricing-trust p {
    margin: 0;
    color: #4f5a52;
    font-size: 19px;
    line-height: 1.5;
}
.pricing-trust {
    text-align: center;
}
.pricing-trust h2 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
}
.pricing-trust p {
    max-width: 780px;
    margin: 0 auto;
}
.pricing-trust a {
    color: var(--green);
    font-weight: 800;
}

.discover-page {
    background: #f7f7f3;
    min-height: 100vh;
}
.discover-hero,
.discover-categories,
.discover-results {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding-inline: 28px;
}
.discover-hero {
    padding-top: clamp(48px, 7vw, 90px);
    padding-bottom: clamp(26px, 5vw, 58px);
    text-align: center;
}
.discover-hero h1 {
    margin: 10px 0 16px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: .98;
}
.discover-hero p:not(.eyebrow) {
    max-width: 640px;
    margin: 0 auto;
    color: #4f5a52;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.4;
}
.discover-categories {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    padding-bottom: clamp(42px, 6vw, 74px);
}
.discover-categories a {
    min-height: 142px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 14px;
    padding: 18px 10px;
    border: 1px solid #dfe4dc;
    border-radius: 8px;
    background: white;
    color: var(--ink);
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    font-weight: 850;
}
.discover-categories a.active,
.discover-categories a:hover {
    border-color: var(--green);
    box-shadow: inset 0 0 0 1px var(--green);
}
.discover-icon {
    width: 38px;
    height: 38px;
    color: var(--green);
}
.discover-results {
    padding-bottom: clamp(52px, 7vw, 90px);
}
.discover-results-head {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
    text-align: center;
}
.discover-results-head h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1;
}
.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.discover-card {
    overflow: hidden;
    border: 1px solid #dfe4dc;
    border-radius: 8px;
    background: white;
    color: var(--ink);
    text-decoration: none;
}
.discover-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    background: #e8ece5;
}
.discover-card div {
    display: grid;
    gap: 8px;
    padding: 18px;
}
.discover-card small {
    margin: 0;
    color: var(--green);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}
.discover-card strong {
    font-size: 22px;
    line-height: 1.12;
}
.discover-card span {
    color: #4f5a52;
    line-height: 1.4;
}
.discover-card em {
    overflow: hidden;
    height: 8px;
    display: block;
    border-radius: 999px;
    background: #e8ece5;
}
.discover-card i {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--green);
}
.discover-card b {
    font-size: 15px;
}
.discover-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 34px;
    border: 1px solid #dfe4dc;
    border-radius: 8px;
    background: white;
    text-align: center;
}
.discover-empty h3 {
    margin: 0 0 8px;
    font-size: 30px;
}
.discover-empty p {
    margin: 0;
    color: #4f5a52;
    font-size: 18px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .home-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .home-steps {
        grid-template-columns: 1fr;
    }
    .home-steps article {
        min-height: 0;
    }
    .home-current {
        grid-template-columns: 1fr;
    }
    .pricing-card {
        grid-template-columns: 1fr;
    }
    .discover-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .discover-grid {
        grid-template-columns: 1fr;
    }
    .home-current .button {
        max-width: 320px;
    }
    .page { grid-template-columns: 1fr; padding: 14px; }
    .donation-panel { position: static; }
    .amount-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .site-bar { height: 48px; max-height: 48px; padding-block: 5px; }
    .site-logo { width: min(64vw, 148px); max-height: 34px; }
    .site-logo img { max-height: 34px; }
    .checkout-logo { width: min(42vw, 132px); }
    .header-actions { gap: 0; }
    .checkout-secure { display: none; }
    .menu-button,
    .header-icon {
        width: 42px;
    }
    .site-menu {
        left: 0;
        padding: 18px 22px 24px;
    }
    .site-menu-link { min-height: 86px; }
    .site-menu-link strong { font-size: 24px; }
    .site-menu-link small { font-size: 17px; }
    .home-hero,
    .home-trust,
    .home-steps,
    .home-current {
        padding-inline: 18px;
    }
    .home-copy h1 {
        font-size: 50px;
    }
    .home-actions {
        grid-template-columns: 1fr;
    }
    .home-feature {
        border-radius: 20px;
    }
    .home-trust p {
        text-align: left;
    }
    .donate-checkout { padding: 20px 12px; }
    .donate-form {
        border-radius: 22px;
        padding: 26px 20px 28px;
    }
    .contact-consent-modal section {
        min-height: 86svh;
        border-radius: 16px;
    }
    .contact-consent-modal div {
        grid-template-columns: 1fr;
    }
    .impact-row dl,
    .impact-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .list-modal {
        align-items: end;
        padding: 0;
    }
    .list-modal-card {
        width: 100%;
        max-height: 88svh;
        border-radius: 8px 8px 0 0;
    }
    .list-modal-head,
    .list-modal-foot {
        padding-inline: 18px;
    }
    .list-modal-head h2 {
        font-size: 26px;
    }
    .donation-modal-row {
        padding-inline: 18px;
    }
    .donation-modal-cta {
        grid-template-columns: auto 1fr;
        padding-inline: 18px;
    }
    .donation-modal-cta a {
        grid-column: 2;
        justify-self: start;
    }
    .impact-signup-modal {
        align-items: end;
        padding: 0;
    }
    .impact-signup-card {
        width: 100%;
        max-height: 88svh;
        padding: 24px 18px;
        border-radius: 8px 8px 0 0;
    }
    .impact-signup-card h2 {
        font-size: 28px;
    }
    .impact-signup-actions {
        grid-template-columns: 1fr;
    }
    .giving-tree-head {
        padding: 14px 16px 10px;
    }
    .giving-tree-head h2 {
        font-size: 26px;
    }
    .giving-tree-head p:not(.eyebrow) {
        font-size: 14px;
        line-height: 1.3;
    }
    .giving-tree-toolbar {
        padding: 10px 16px;
    }
    .giving-tree-foot {
        padding: 10px 16px 14px;
    }
    .thank-share-actions {
        grid-template-columns: 1fr;
    }
    .checkout-summary {
        grid-template-columns: 56px 1fr;
        gap: 12px;
        text-align: left;
    }
    .checkout-summary h1 { font-size: 27px; }
    .checkout-ring { width: 52px; }
    .checkout-ring span { width: 38px; font-size: 12px; }
    .amount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .give-mode { min-height: 52px; }
    .custom-amount-field .custom-amount {
        height: 94px;
        padding-left: 86px;
        font-size: 46px;
    }
    .custom-amount-field {
        min-height: 96px;
    }
    .custom-amount-field .currency-mark {
        top: 20px;
        font-size: 28px;
    }
    .how-hero,
    .how-steps,
    .how-trust,
    .pricing-hero,
    .pricing-card,
    .pricing-trust,
    .discover-hero,
    .discover-categories,
    .discover-results {
        padding-inline: 18px;
    }
    .how-actions,
    .pricing-actions {
        grid-template-columns: 1fr;
    }
    .how-steps article {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px;
    }
    .how-steps h2,
    .how-trust h2,
    .pricing-trust h2 {
        text-align: left;
    }
    .pricing-hero {
        min-height: auto;
        text-align: left;
    }
    .pricing-main {
        min-height: 260px;
    }
    .discover-hero,
    .discover-results-head {
        text-align: left;
    }
    .discover-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .discover-categories a {
        min-height: 118px;
    }
}
