:root {
    --forest-900: #173d2f;
    --forest-800: #1f5f46;
    --forest-700: #2f7c5b;
    --forest-100: #eaf5ef;
    --earth-700: #6a4a2e;
    --earth-500: #8f6847;
    --sand-100: #f8f4ec;
    --ink-900: #17211d;
    --ink-700: #34443e;
    --ink-500: #5e7169;
    --line: #d6e1da;
    --white: #ffffff;
    --shadow-soft: 0 8px 30px rgba(20, 41, 32, 0.08);
    --shadow-card: 0 12px 28px rgba(13, 33, 25, 0.12);
    --radius: 14px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink-900);
    line-height: 1.65;
    background: linear-gradient(180deg, #f7faf8 0%, #ffffff 140px);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--forest-900);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    z-index: 1000;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* Nav */
.top-nav {
    background: rgba(23, 61, 47, 0.95);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 14px rgba(5, 22, 15, 0.2);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
}

.logo {
    color: #f4fbe8;
    font-size: 1.55rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.4px;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-links a {
    color: rgba(248, 255, 250, 0.9);
    text-decoration: none;
    font-size: 0.96rem;
}

.nav-links a:hover {
    color: #ffffff;
}

.btn-support {
    background: var(--earth-700);
    color: #fff;
    padding: 7px 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 0.95rem;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    color: #fff;
    padding: 96px 0 84px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(18, 56, 42, 0.92), rgba(37, 102, 74, 0.82));
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/static/images/hero-family.jpg') center 35% / cover no-repeat;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero p {
    max-width: 700px;
    font-size: 1.1rem;
    color: rgba(248, 255, 252, 0.92);
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero .cta {
    display: inline-block;
    background: #f6f2e8;
    color: var(--forest-900);
    padding: 11px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.hero .cta.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.health-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.health-item {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.health-item strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1.15;
}

.health-item span {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.9);
}

section {
    padding: 64px 0;
}

section.alt {
    background: linear-gradient(180deg, #f4f7f5 0%, #eef5f1 100%);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--forest-900);
    text-align: center;
    margin-bottom: 10px;
}

.section-sub {
    text-align: center;
    color: var(--ink-500);
    max-width: 740px;
    margin: 0 auto 28px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.card-media {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

.card-body h3 a {
    color: var(--ink-900);
    text-decoration: none;
}

.card-body h3 a:hover {
    color: var(--forest-700);
}

.card-body p {
    color: var(--ink-700);
    font-size: 0.96rem;
}

.card-meta {
    margin-top: 10px;
    color: var(--ink-500);
    font-size: 0.82rem;
}

.tag {
    display: inline-block;
    background: var(--forest-100);
    color: var(--forest-800);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    margin-bottom: 8px;
}

.mission {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center;
}

.mission-copy p {
    margin-bottom: 12px;
    color: var(--ink-700);
}

.mission-image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.quick-link {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-decoration: none;
    color: var(--ink-900);
    font-weight: 700;
}

.quick-link small {
    display: block;
    color: var(--ink-500);
    font-weight: 400;
    margin-top: 4px;
}

.quick-link:hover {
    border-color: #adc7ba;
    transform: translateY(-2px);
}

.tool-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 28px;
    margin-bottom: 20px;
}

.tool-card h2 {
    color: var(--forest-900);
    margin-bottom: 12px;
}

.tool-card label {
    display: block;
    margin: 10px 0 4px;
    font-weight: 700;
}

.tool-card input,
.tool-card select {
    width: 100%;
    border: 1px solid #c9d7d0;
    border-radius: 10px;
    padding: 10px 11px;
    font-size: 1rem;
}

.tool-card input:focus,
.tool-card select:focus {
    outline: 2px solid #b8d9ca;
    border-color: var(--forest-700);
}

.tool-card button {
    border: none;
    background: var(--forest-800);
    color: #fff;
    border-radius: 10px;
    padding: 11px 18px;
    margin-top: 14px;
    cursor: pointer;
}

.result-box {
    background: #eef8f2;
    border: 1px solid #cde5d8;
    border-radius: 10px;
    padding: 16px;
    margin-top: 14px;
}

.article-header {
    padding: 56px 0 20px;
    text-align: center;
}

.article-header h1 {
    max-width: 820px;
    margin: 8px auto 10px;
    font-size: clamp(1.8rem, 3.7vw, 2.6rem);
    line-height: 1.2;
}

.article-header .meta {
    color: var(--ink-500);
}

.article-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 14px 20px 26px;
}

.article-content p,
.article-content li {
    color: var(--ink-700);
}

.article-content h2 {
    color: var(--forest-900);
    margin: 24px 0 10px;
}

.article-content h3 {
    color: var(--forest-800);
    margin: 20px 0 8px;
}

.article-content img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.convo-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 12px 20px 30px;
}

.convo-header {
    text-align: center;
    padding: 48px 0 18px;
}

.convo-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-top: 6px;
}

.message {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.message.speaker-a {
    background: #e9f6ef;
}

.message.speaker-b {
    background: #fff4e8;
}

.message .avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.speaker-a .avatar {
    background: var(--forest-700);
}

.speaker-b .avatar {
    background: var(--earth-700);
}

.support-section {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.paypal-btn {
    display: inline-block;
    margin-top: 14px;
    background: #0a66c2;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    padding: 12px 26px;
}

.ad-container {
    max-width: 1140px;
    margin: 18px auto;
    padding: 0 20px;
    text-align: center;
    min-height: 90px;
}

.ad-inline {
    margin-top: 8px;
}

footer {
    margin-top: 20px;
    background: var(--ink-900);
    color: rgba(238, 249, 242, 0.8);
    padding: 42px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 26px;
}

.footer-grid h3,
.footer-grid h4 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-grid a {
    color: rgba(233, 250, 239, 0.82);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 16px;
    text-align: center;
    color: rgba(228, 244, 236, 0.75);
    font-size: 0.87rem;
}

.page-hero {
    padding: 56px 0 18px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

.page-hero p {
    color: var(--ink-500);
    max-width: 720px;
    margin: 10px auto 0;
}

.inline-photo {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    margin: 10px 0 16px;
}

@media (max-width: 920px) {
    .mission {
        grid-template-columns: 1fr;
    }

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

    .quick-links {
        grid-template-columns: 1fr;
    }
}

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

    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 66px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 20px 18px;
        background: var(--forest-900);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-links.open {
        display: flex;
    }

    .hero {
        padding: 78px 0 64px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 20px;
    }
}
