:root {
    --ink: #14213d;
    --text: #344054;
    --muted: #667085;
    --line: #d9e3dc;
    --paper: #fffdf7;
    --soft: #eef5ef;
    --accent: #2f6b4f;
    --accent-dark: #214e3a;
    --gold: #d79a2b;
    --coral: #c96f4a;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    left: 1rem;
    padding: 0.7rem 1rem;
    position: absolute;
    top: -5rem;
    z-index: 100;
    background: var(--ink);
    color: var(--white);
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    background: rgba(255, 253, 247, 0.92);
    border-bottom: 1px solid rgba(217, 227, 220, 0.8);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
}

.nav-wrap {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1180px;
    min-height: 76px;
    padding: 0 1.25rem;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 0.8rem;
}

.brand-logo {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    height: 50px;
    object-fit: contain;
    padding: 0.18rem;
    width: 50px;
}

.brand-mark {
    align-items: center;
    background: var(--accent);
    border-radius: 8px;
    color: var(--white);
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    letter-spacing: 0;
    width: 42px;
}

.brand strong {
    color: var(--ink);
    display: block;
    font-size: 1rem;
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
    display: block;
    font-weight: 700;
    letter-spacing: 0;
}

.site-menu {
    align-items: center;
    display: flex;
    gap: 0.35rem;
}

.site-menu a {
    border-radius: 8px;
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 700;
    padding: 0.55rem 0.75rem;
}

.site-menu a:hover,
.site-menu a.active {
    background: var(--soft);
    color: var(--accent-dark);
}

.menu-toggle {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.menu-toggle span {
    background: var(--ink);
    display: block;
    height: 2px;
    width: 18px;
}

.hero,
.page-hero,
.section,
.cta-band,
.stats-band,
.footer-grid,
.footer-bottom {
    margin: 0 auto;
    max-width: 1180px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.hero {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    min-height: calc(100vh - 76px);
    padding-bottom: 4rem;
    padding-top: 4rem;
}

.hero h1,
.page-hero h1 {
    color: var(--ink);
    font-size: clamp(2.6rem, 7vw, 5.7rem);
    letter-spacing: 0;
    line-height: 0.96;
    margin: 0;
}

.lead,
.page-hero p {
    color: var(--text);
    font-size: 1.15rem;
    max-width: 690px;
}

.eyebrow {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.hero-actions,
.cta-band {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.button {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.05rem;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--accent);
    box-shadow: 0 12px 26px rgba(47, 107, 79, 0.22);
    color: var(--white);
}

.button.secondary {
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
}

.hero-media,
.donation-console {
    background: linear-gradient(145deg, #e6f1e7 0%, #fff1d8 100%);
    border: 1px solid rgba(217, 227, 220, 0.9);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-media img {
    height: auto;
    width: 100%;
}

.donation-console {
    padding: 1rem;
}

.console-top {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(217, 227, 220, 0.9);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.console-top span,
.console-grid small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.console-top strong,
.console-grid strong {
    color: var(--ink);
}

.impact-meter {
    background: rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    height: 14px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.impact-meter span {
    background: linear-gradient(90deg, var(--accent), var(--gold));
    display: block;
    height: 100%;
}

.console-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1rem;
}

.console-grid article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.console-grid strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
    margin-top: 0.25rem;
}

.route-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.stats-band {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: 1.5rem;
}

.stats-band div {
    background: var(--white);
    border: 1px solid var(--line);
    min-height: 110px;
    padding: 1.2rem;
}

.stats-band strong {
    color: var(--accent-dark);
    display: block;
    font-size: 1.65rem;
    line-height: 1;
}

.stats-band span {
    color: var(--muted);
    display: block;
    font-weight: 700;
    margin-top: 0.4rem;
}

.page-hero {
    padding-bottom: 3.5rem;
    padding-top: 5rem;
}

.page-hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    max-width: 1000px;
}

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

.section.muted {
    background: var(--soft);
    max-width: none;
}

.section.muted > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.two-column {
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1fr);
}

h2,
h3 {
    color: var(--ink);
    letter-spacing: 0;
    line-height: 1.12;
}

h2 {
    font-size: clamp(1.85rem, 3vw, 3rem);
    margin: 0 0 1rem;
}

h3 {
    font-size: 1.2rem;
    margin: 0 0 0.45rem;
}

.feature-list {
    display: grid;
    gap: 1rem;
}

.feature-list article,
.rich-panel,
.value-grid article,
.review-grid article,
.plan-card,
.product-grid article,
.inquiry-panel,
.workflow-grid article,
.trust-card,
.identity-card,
.operations-grid article,
.source-card,
.reference-flow article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(20, 33, 61, 0.06);
}

.feature-list article,
.rich-panel,
.value-grid article,
.review-grid article,
.plan-card,
.inquiry-panel,
.workflow-grid article,
.trust-card,
.identity-card,
.operations-grid article,
.source-card,
.reference-flow article {
    padding: 1.35rem;
}

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

.product-grid,
.value-grid,
.review-grid,
.plans-grid {
    display: grid;
    gap: 1rem;
}

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

.product-grid.compact article {
    min-height: 270px;
}

.product-grid article {
    overflow: hidden;
    padding: 1rem;
}

.product-grid img {
    background: #f7fbf5;
    border-radius: 8px;
    height: 150px;
    margin-bottom: 1rem;
    object-fit: cover;
    width: 100%;
}

.product-grid h2,
.product-grid h3 {
    font-size: 1.15rem;
    margin: 0 0 0.45rem;
}

.value-grid,
.review-grid,
.plans-grid,
.workflow-grid,
.trust-grid,
.operations-grid {
    grid-template-columns: repeat(3, 1fr);
}

.software-band {
    padding-top: 2rem;
}

.workflow-grid,
.operations-grid,
.trust-grid {
    display: grid;
    gap: 1rem;
}

.workflow-grid {
    grid-template-columns: repeat(4, 1fr);
}

.workflow-grid span,
.operations-grid span {
    align-items: center;
    background: var(--soft);
    border-radius: 8px;
    color: var(--accent-dark);
    display: inline-flex;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    margin-bottom: 1rem;
    width: 38px;
}

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

.trust-card {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.trust-card h2,
.trust-card h3 {
    margin-bottom: 0.35rem;
}

.trust-card p {
    color: var(--muted);
    margin: 0;
}

.trust-logo {
    align-items: center;
    border-radius: 8px;
    color: var(--white);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 900;
    height: 66px;
    justify-content: center;
    width: 66px;
}

.facebook-logo {
    background: #1877f2;
    font-family: Arial, sans-serif;
    font-size: 2.7rem;
}

.wfp-logo {
    background: #007dbc;
    font-size: 1.05rem;
}

.trust-logo-img {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    flex: 0 0 auto;
    height: 74px;
    object-fit: cover;
    padding: 0.25rem;
    width: 74px;
}

.trust-logo-img.wide {
    object-fit: contain;
    padding: 0.55rem;
    width: 118px;
}

.trust-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 1rem auto 0;
    max-width: 980px;
}

.partner-showcase {
    display: grid;
    gap: 1rem;
}

.source-grid,
.reference-flow {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

.source-card {
    color: inherit;
    display: grid;
    gap: 1.4rem;
    grid-template-columns: 160px minmax(0, 1fr);
}

.source-logo-wrap {
    align-items: center;
    background: #f7fbf5;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    min-height: 160px;
    padding: 0.65rem;
}

.source-logo-wrap img {
    border-radius: 8px;
    max-height: 140px;
    object-fit: contain;
    width: 100%;
}

.source-logo-wrap.wfp img {
    background: var(--white);
    padding: 0.75rem;
}

.detail-list {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
}

.detail-list div {
    background: var(--soft);
    border-radius: 8px;
    padding: 0.75rem;
}

.detail-list dt {
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.detail-list dd {
    color: var(--text);
    margin: 0.15rem 0 0;
}

.source-strip {
    padding-top: 0;
}

.source-strip h2 {
    max-width: 720px;
}

.reference-flow {
    grid-template-columns: repeat(3, 1fr);
}

.reference-flow img {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    height: 92px;
    margin-bottom: 1rem;
    object-fit: contain;
    padding: 0.45rem;
    width: 120px;
}

.identity-card {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: 220px minmax(0, 1fr);
}

.identity-card img {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    width: 100%;
}

.operations-grid {
    grid-template-columns: repeat(5, 1fr);
}

.review-grid p {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 600;
}

.review-grid h2 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.review-grid span,
.plan-card p,
.feature-list p,
.value-grid p,
.product-grid p,
.rich-panel p {
    color: var(--muted);
}

.stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 0;
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.plan-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.plan-card h2 {
    font-size: 1.6rem;
    margin: 0;
}

.plan-card strong {
    color: var(--accent-dark);
    font-size: 1.1rem;
}

.plan-card ul,
.check-list {
    color: var(--text);
    margin: 0;
    padding-left: 1.2rem;
}

.plan-card .button {
    margin-top: auto;
}

.plan-tag {
    align-self: flex-start;
    background: #fff4dc;
    border-radius: 8px;
    color: #9a620a;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.55rem;
}

.cta-band {
    background: var(--ink);
    border-radius: 8px;
    color: var(--white);
    justify-content: space-between;
    margin-bottom: 4.5rem;
    margin-top: 1rem;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.cta-band h2 {
    color: var(--white);
    margin-bottom: 0;
    max-width: 720px;
}

.cta-band .eyebrow {
    color: #ffd07a;
}

.inquiry-panel {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.site-footer {
    background: #101828;
    color: #d0d5dd;
    padding-top: 3.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.4fr 0.8fr 1fr;
}

.footer-grid h2 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.footer-grid a {
    display: block;
    margin-bottom: 0.55rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand strong,
.footer-brand small {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #98a2b3;
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-bottom: 1.4rem;
    padding-top: 1.4rem;
}

@media (max-width: 880px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-menu {
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        display: none;
        flex-direction: column;
        left: 0;
        padding: 0.8rem 1.25rem 1.2rem;
        position: absolute;
        right: 0;
        top: 76px;
    }

    .site-menu.open {
        display: flex;
    }

    .site-menu a {
        width: 100%;
    }

    .hero,
    .two-column,
    .footer-grid,
    .inquiry-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .stats-band,
    .product-grid,
    .value-grid,
    .review-grid,
    .plans-grid,
    .workflow-grid,
    .operations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid,
    .identity-card,
    .source-grid,
    .source-card,
    .reference-flow {
        grid-template-columns: 1fr;
    }

    .inquiry-panel {
        align-items: flex-start;
        display: grid;
    }
}

@media (max-width: 580px) {
    .brand strong {
        font-size: 0.92rem;
    }

    .hero,
    .page-hero,
    .section {
        padding-bottom: 3rem;
        padding-top: 3rem;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.55rem;
        line-height: 1;
    }

    .hero-actions,
    .cta-band,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .stats-band,
    .product-grid,
    .value-grid,
    .review-grid,
    .plans-grid,
    .workflow-grid,
    .trust-grid,
    .operations-grid,
    .console-grid {
        grid-template-columns: 1fr;
    }

    .trust-card {
        align-items: flex-start;
    }

    .stats-band div {
        min-height: auto;
    }

    .cta-band {
        border-radius: 0;
        margin-bottom: 0;
    }
}
