/* ===== RESET & VARS ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --coral: #4aba7a;
    --coral-soft: #5fcf8f;
    --coral-pale: #eef9f2;
    --coral-deep: #3a9660;
    --sand: #f4f8f5;
    --cream: #fafcfb;
    --dark: #111a14;
    --dark-card: #192119;
    --text: #1a2420;
    --text-mid: #4a5e52;
    --text-light: #7a8e82;
    --white: #ffffff;
    --border: rgba(0,0,0,.06);
    --border-dark: rgba(255,255,255,.08);
    --green: #4aba7a;
    --r: 20px;
    --r-lg: 28px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.d3 { transition-delay: .3s; }
.fade-up.d4 { transition-delay: .4s; }
.fade-up.d5 { transition-delay: .5s; }


/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 252, 250, .88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}
nav.nav-dark {
    background: rgba(26, 21, 21, .9);
    border-bottom-color: var(--border-dark);
}
nav.nav-dark a { color: rgba(255,255,255,.6); }
nav.nav-dark a:hover { color: var(--coral-soft); }
nav.nav-dark a.active { color: var(--coral-soft); }
nav.nav-dark .logo .n { color: rgba(255,255,255,.9); }

.logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -.03em;
    text-decoration: none;
    display: inline-block;
}
.logo .r { color: var(--coral); }
.logo .n { color: var(--text); }
nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}
nav a {
    text-decoration: none;
    color: var(--text-mid);
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}
nav a:hover { color: var(--coral); }
nav a.active { color: var(--coral); }
.nav-cta {
    background: var(--coral);
    color: var(--white) !important;
    padding: 9px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: .88rem;
    transition: background .2s, transform .12s;
}
.nav-cta:hover {
    background: var(--coral-deep);
    transform: translateY(-1px);
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s, background .2s, border-color .2s, box-shadow .2s;
    border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-fill {
    background: var(--coral);
    color: var(--white);
}
.btn-fill:hover { background: var(--coral-deep); box-shadow: 0 8px 24px rgba(217,85,80,.25); }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(0,0,0,.13);
}
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }
.btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--coral);
    padding: 14px 36px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .12s, box-shadow .2s;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.15);
}
.btn-dark {
    background: var(--dark);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform .12s, box-shadow .2s;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }


/* ===== PAGE WRAPPER ===== */
.page-wrap {
    padding-top: 64px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.page-content { flex: 1; }


/* ===== MARQUEE ===== */
.marquee-bar {
    background: var(--coral);
    color: var(--white);
    overflow: hidden;
    padding: 14px 0;
    font-weight: 600;
    font-size: .92rem;
    position: relative;
}
.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.marquee-track span {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.marquee-track span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    flex-shrink: 0;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ===== HERO (index) ===== */
.hero-section {
    padding: 60px 48px 80px;
    background: var(--cream);
    position: relative;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-text h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}
.hero-text h1 .accent { color: var(--coral); }
.hero-text .sub {
    font-size: 1.08rem;
    color: var(--text-mid);
    max-width: 460px;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* hero card */
.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}
.h-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.06);
}
.h-card-back {
    position: absolute;
    top: -14px;
    left: 20px;
    right: 20px;
    height: 100%;
    background: var(--coral-pale);
    border-radius: var(--r-lg);
    border: 1px solid rgba(217, 85, 80, .1);
    z-index: -1;
    transform: rotate(-2deg);
}
.h-card-label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
}
.h-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.h-card-row:last-child { border-bottom: none; }
.h-card-row .item { font-size: .92rem; font-weight: 500; }
.h-card-row .val { font-size: .88rem; color: var(--text-light); }
.h-card-row .val.warn { color: #d95550; font-weight: 600; }
.h-card-row .val.good { color: var(--coral); font-weight: 600; }


/* ===== DARK SECTION (story / impact) ===== */
.dark-section {
    background: var(--dark);
    color: var(--white);
    padding: 100px 48px;
}
.dark-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.dark-section .section-sub {
    color: rgba(255,255,255,.55);
    font-size: 1rem;
    max-width: 500px;
    margin-bottom: 48px;
}

/* story grid */
.story-grid {
    max-width: 1060px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.story-text p {
    color: rgba(255,255,255,.7);
    font-size: .97rem;
    margin-bottom: 16px;
    line-height: 1.75;
}
.story-visual {
    background: var(--dark-card);
    border-radius: var(--r-lg);
    padding: 44px 36px;
    border: 1px solid var(--border-dark);
}
.story-visual .big-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255,255,255,.85);
    line-height: 1.65;
    margin-bottom: 20px;
}
.story-visual .quote-attr {
    font-size: .85rem;
    color: var(--coral-soft);
    font-weight: 600;
}

/* impact counters */
.impact-grid {
    max-width: 1060px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.impact-card {
    background: var(--dark-card);
    border-radius: var(--r);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-dark);
    transition: transform .2s;
}
.impact-card:hover { transform: translateY(-4px); }
.impact-card .ic-num {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--coral-soft);
    line-height: 1;
    margin-bottom: 8px;
}
.impact-card .ic-label {
    font-size: .84rem;
    color: rgba(255,255,255,.5);
    line-height: 1.4;
}


/* ===== HOW IT WORKS ===== */
.process-section {
    padding: 100px 48px;
    background: var(--cream);
}
.process-inner {
    max-width: 1060px;
    margin: 0 auto;
}
.process-header {
    margin-bottom: 56px;
}
.process-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}
.process-header p {
    color: var(--text-mid);
    max-width: 480px;
    font-size: 1rem;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}
.process-step {
    padding: 36px 32px;
    position: relative;
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform .2s, box-shadow .2s;
}
.process-step:first-child { border-radius: var(--r) 0 0 var(--r); }
.process-step:last-child { border-radius: 0 var(--r) var(--r) 0; }
.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.06);
    z-index: 2;
    border-radius: var(--r);
}
.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--coral);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 20px;
}
.process-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.process-step p {
    font-size: .9rem;
    color: var(--text-mid);
    line-height: 1.6;
}


/* ===== TOPICS PAGE ===== */
.topics-section {
    padding: 80px 48px 100px;
    background: var(--cream);
}
.topics-inner {
    max-width: 1060px;
    margin: 0 auto;
}
.topics-header {
    margin-bottom: 56px;
}
.topics-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}
.topics-header p {
    color: var(--text-mid);
    max-width: 480px;
    font-size: 1rem;
}
.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.topic-card {
    background: var(--white);
    border-radius: var(--r);
    padding: 34px 28px;
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .25s;
}
.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(217, 85, 80, .08);
}
.topic-num {
    font-size: .75rem;
    font-weight: 700;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}
.topic-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -.01em;
}
.topic-card p {
    font-size: .9rem;
    color: var(--text-mid);
    line-height: 1.6;
}
.topics-cta {
    text-align: center;
    margin-top: 56px;
}


/* ===== PROBLEM PAGE ===== */
.problem-section {
    padding: 80px 48px 100px;
    background: var(--cream);
}
.problem-inner {
    max-width: 960px;
    margin: 0 auto;
}
.problem-inner h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 28px;
    line-height: 1.2;
}
.problem-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.problem-text p {
    color: var(--text-mid);
    font-size: 1rem;
    margin-bottom: 16px;
}
.pull-quote {
    background: var(--sand);
    border-radius: var(--r);
    padding: 28px 26px;
    border-left: 4px solid var(--coral);
    margin-top: 24px;
}
.pull-quote p {
    color: var(--text);
    font-weight: 500;
    font-style: italic;
    font-size: .95rem;
    margin-bottom: 0;
}
.stat-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.stat-block {
    background: var(--sand);
    border-radius: var(--r);
    padding: 28px 26px;
    border: 1px solid var(--border);
}
.stat-block .big {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--coral);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-block .desc {
    font-size: .88rem;
    color: var(--text-mid);
}


/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 100px 48px;
    background: var(--sand);
}
.faq-inner {
    max-width: 720px;
    margin: 0 auto;
}
.faq-header {
    margin-bottom: 48px;
}
.faq-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}
.faq-header p {
    color: var(--text-mid);
    font-size: .97rem;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}
.faq-q:hover { color: var(--coral); }
.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform .3s;
    color: var(--coral);
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 0;
}
.faq-item.open .faq-a {
    max-height: 200px;
    padding-bottom: 22px;
}
.faq-a p {
    color: var(--text-mid);
    font-size: .93rem;
    line-height: 1.65;
}


/* ===== ABOUT PAGE ===== */
.about-section {
    padding: 80px 48px 100px;
    background: var(--cream);
}
.about-inner {
    max-width: 900px;
    margin: 0 auto;
}
.about-header {
    margin-bottom: 56px;
}
.about-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}
.about-header p {
    color: var(--text-mid);
    max-width: 500px;
    font-size: 1rem;
}
.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 620px;
    margin-bottom: 50px;
}
.about-card {
    background: var(--white);
    border-radius: var(--r);
    padding: 38px 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.06);
}
.avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--coral-soft), var(--coral));
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.02em;
}
.about-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.about-card .title {
    font-size: .84rem;
    color: var(--text-light);
    margin-bottom: 14px;
}
.about-card .bio {
    font-size: .88rem;
    color: var(--text-mid);
    line-height: 1.6;
}
.about-story {
    max-width: 620px;
}
.about-story p {
    color: var(--text-mid);
    font-size: .97rem;
    line-height: 1.75;
    margin-bottom: 14px;
}


/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 80px 48px 60px;
    background: var(--dark);
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-grid {
    max-width: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.contact-text h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -.02em;
}
.contact-text p {
    color: rgba(255,255,255,.6);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}
.contact-text .email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--coral-soft);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color .2s;
}
.contact-text .email-link:hover { color: var(--white); }
.contact-card {
    background: var(--dark-card);
    border-radius: var(--r-lg);
    padding: 48px 40px;
    border: 1px solid var(--border-dark);
    text-align: center;
}
.contact-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.contact-card p {
    color: rgba(255,255,255,.5);
    font-size: .9rem;
    margin-bottom: 28px;
    line-height: 1.6;
}


/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 80px 48px;
    background: var(--cream);
}
.cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(150deg, var(--coral), var(--coral-deep));
    border-radius: var(--r-lg);
    padding: 56px 52px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    color: var(--white);
}
.cta-card h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -.02em;
}
.cta-card p {
    font-size: .97rem;
    opacity: .9;
    line-height: 1.65;
}
.cta-card-right {
    text-align: right;
}


/* ===== FOOTER ===== */
footer {
    padding: 40px 48px 28px;
    border-top: 1px solid var(--border);
    background: var(--cream);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}
.footer-brand .logo {
    margin-bottom: 10px;
}
.footer-brand .tagline {
    font-size: .85rem;
    color: var(--text-light);
    max-width: 260px;
}
.footer-links {
    display: flex;
    gap: 32px;
}
.footer-links a {
    text-decoration: none;
    font-size: .88rem;
    color: var(--text-mid);
    font-weight: 500;
    transition: color .2s;
}
.footer-links a:hover { color: var(--coral); }
.footer-newsletter {
    max-width: 300px;
}
.footer-newsletter .nl-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.nl-form {
    display: flex;
    gap: 8px;
}
.nl-form input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,.12);
    font-family: inherit;
    font-size: .88rem;
    background: var(--white);
    outline: none;
    transition: border-color .2s;
}
.nl-form input:focus { border-color: var(--coral); }
.nl-form button {
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--coral);
    color: var(--white);
    border: none;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.nl-form button:hover { background: var(--coral-deep); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    color: var(--text-light);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-text .sub { margin: 0 auto 36px; }
    .hero-btns { justify-content: center; }
    .hero-card-stack { max-width: 380px; }
    .problem-cols { grid-template-columns: 1fr; }
    .topic-grid { grid-template-columns: 1fr 1fr; }
    .story-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .process-step { border-radius: var(--r) !important; }
    .cta-card { grid-template-columns: 1fr; text-align: center; }
    .cta-card-right { text-align: center; }
    .contact-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-text .email-link { justify-content: center; }
    .footer-top { flex-direction: column; gap: 28px; }
}
@media (max-width: 640px) {
    nav { padding: 14px 20px; }
    nav ul { gap: 16px; }
    .hero-section, .problem-section, .topics-section, .about-section,
    .dark-section, .process-section, .faq-section, .cta-banner { padding-left: 20px; padding-right: 20px; }
    .contact-section { padding: 80px 20px 40px; }
    .topic-grid { grid-template-columns: 1fr; }
    .about-cards { grid-template-columns: 1fr; max-width: 320px; }
    .impact-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 36px 24px; }
    footer { padding: 32px 20px 20px; }
}
@media (max-width: 500px) {
    nav > ul { display: none; }
}