@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #09212e;
    --muted: #60717a;
    --deep: #12333f;
    --green: #01a887;
    --green-dark: #027864;
    --mint: #e8f8f3;
    --cream: #fff7ee;
    --amber: #f4b740;
    --coral: #e66f51;
    --line: #d9e5e1;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(12, 38, 48, 0.13);
}

* {
    border: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    min-width: 320px;
    background: #fbfffd;
    color: var(--ink);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 72px;
    padding: 0 6vw;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(217, 229, 225, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.15rem;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand strong {
    color: var(--green);
    font-weight: 800;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-nav a {
    min-height: 42px;
    padding: 0.7rem 1rem;
    color: var(--deep);
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.site-nav a:hover {
    color: var(--green-dark);
}

.site-nav .nav-cta {
    background: var(--green);
    color: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(1, 168, 135, 0.24);
}

.site-nav .nav-cta:hover {
    color: var(--white);
    background: var(--green-dark);
}

.hero {
    position: relative;
    min-height: 84svh;
    padding: 7rem 6vw 8rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(5, 24, 31, 0.88) 0%, rgba(5, 24, 31, 0.72) 45%, rgba(5, 24, 31, 0.18) 100%),
        linear-gradient(0deg, rgba(5, 24, 31, 0.5), rgba(5, 24, 31, 0.08));
    z-index: -2;
}

.hero-content {
    width: min(680px, 100%);
    color: var(--white);
}

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

.hero .eyebrow {
    color: #9dffda;
}

.hero h1 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: clamp(4.2rem, 11vw, 8.4rem);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.55;
}

.hero-actions {
    margin-top: 2.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.button {
    min-height: 50px;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
}

.button-primary {
    background: var(--green);
    box-shadow: 0 18px 32px rgba(1, 168, 135, 0.26);
}

.button-primary:hover {
    background: var(--green-dark);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.24);
}

.section {
    padding: 6rem 6vw;
}

.section-copy {
    max-width: 720px;
}

.section-copy h2,
.waitlist-copy h2 {
    margin-bottom: 1rem;
    color: var(--ink);
    font-size: clamp(2.1rem, 4vw, 4.1rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
}

.section-copy p,
.waitlist-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.section-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 3rem;
    align-items: start;
    background: var(--white);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card,
.impact-list article {
    min-height: 240px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(12, 38, 48, 0.06);
}

.feature-number {
    width: 44px;
    height: 44px;
    margin-bottom: 1.25rem;
    border-radius: 8px;
    background: var(--cream);
    color: var(--coral);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.feature-card:nth-child(2) .feature-number {
    background: var(--mint);
    color: var(--green-dark);
}

.feature-card:nth-child(3) .feature-number {
    background: #fff4cf;
    color: #8d6500;
}

.feature-card h3,
.impact-list h3 {
    margin-bottom: 0.75rem;
    color: var(--deep);
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 800;
}

.feature-card p,
.impact-list p {
    color: var(--muted);
    line-height: 1.65;
}

.media-section {
    background: #f3fbf7;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 4rem;
    align-items: center;
}

.media-panel {
    min-height: 520px;
    padding: 2rem;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(1, 168, 135, 0.12), rgba(244, 183, 64, 0.12)),
        var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-panel img {
    width: min(440px, 100%);
    max-height: 460px;
}

.metric-row {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.metric-row div {
    min-height: 96px;
    padding: 1rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--line);
}

.metric-row strong,
.metric-row span {
    display: block;
}

.metric-row strong {
    color: var(--green-dark);
    font-size: 1.35rem;
    line-height: 1.15;
}

.metric-row span {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.impact-section {
    background: var(--deep);
    color: var(--white);
}

.impact-section .section-copy h2 {
    color: var(--white);
}

.impact-section .section-copy p {
    color: rgba(255, 255, 255, 0.78);
}

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

.impact-list article {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.impact-list h3 {
    color: var(--white);
}

.impact-list p {
    color: rgba(255, 255, 255, 0.75);
}

.sdg-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 3rem;
    align-items: center;
    background: var(--cream);
}

.sdg-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sdg-images img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 16px 32px rgba(91, 57, 20, 0.12);
}

.waitlist-section {
    padding: 6rem 6vw;
    background: var(--white);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    gap: 3rem;
    align-items: center;
}

.subscription-form {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfffd;
    box-shadow: var(--shadow);
}

.form-group {
    width: 100%;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--deep);
    font-size: 0.92rem;
    font-weight: 800;
}

.form-group p {
    min-height: 1.1rem;
    margin-top: 0.35rem;
    color: #c53030;
    font-size: 0.85rem;
}

.form-group input {
    width: 100%;
    min-height: 52px;
    padding: 0.95rem 1rem;
    border: 1px solid #bbcbc6;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font-size: 1rem;
    outline: none;
}

.form-group input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(1, 168, 135, 0.14);
}

.form-group button {
    width: 100%;
    min-height: 54px;
    padding: 0.95rem 1rem;
    border-radius: 8px;
    background: var(--green);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.form-group button:hover {
    background: var(--green-dark);
}

.site-footer {
    min-height: 88px;
    padding: 1.5rem 6vw;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.76);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.site-footer span {
    color: var(--white);
    font-weight: 800;
}

.site-footer a {
    color: #9dffda;
    font-weight: 800;
}

.loading-indicator {
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 49, 74, 0.8);
    z-index: 1000;
}

.loading-indicator > div {
    display: flex;
}

.loading-indicator > div > div {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: var(--green);
    transform: translate(-50%, -50%);
    margin: 0 0.5rem;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 1.6s;
    animation-name: loading-animation;
}

.loading-indicator > div > div:nth-child(2) {
    animation-delay: 0.18s;
}

.loading-indicator > div > div:last-child {
    animation-delay: 0.36s;
}

@keyframes loading-animation {
    0%,
    100% {
        top: 0;
        background-color: var(--green);
    }

    50% {
        top: 34px;
        background-color: var(--amber);
    }
}

@media screen and (max-width: 1120px) {
    .section-intro,
    .media-section,
    .sdg-section,
    .waitlist-section {
        grid-template-columns: 1fr;
    }

    .platform-grid,
    .impact-list {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .impact-list article {
        min-height: auto;
    }

    .media-panel {
        min-height: auto;
    }
}

@media screen and (max-width: 760px) {
    .site-header {
        min-height: 66px;
        padding: 0 1rem;
    }

    .site-nav a:not(.nav-cta) {
        display: none;
    }

    .brand {
        font-size: 1rem;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .hero {
        min-height: 82svh;
        padding: 5rem 1.25rem 5.5rem;
    }

    .hero-copy {
        font-size: 1.08rem;
    }

    .button {
        width: 100%;
    }

    .section,
    .waitlist-section {
        padding: 4rem 1.25rem;
    }

    .metric-row,
    .sdg-images {
        grid-template-columns: 1fr;
    }

    .media-panel,
    .subscription-form {
        padding: 1rem;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1.25rem;
    }
}
