:root {
    --bg-top: #e7f4ea;
    --bg-mid: #f4faf5;
    --bg-bottom: #eef6f1;
    --ink: #16301c;
    --ink-soft: #3d5a44;
    --accent: #2f9e44;
    --accent-deep: #1f7a32;
    --line: rgba(22, 48, 28, 0.12);
    --surface: rgba(255, 255, 255, 0.55);
    --font-display: "Bricolage Grotesque", Georgia, serif;
    --font-body: "Figtree", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg-mid);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(67, 160, 71, 0.28), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 30%, rgba(165, 214, 167, 0.35), transparent 50%),
        radial-gradient(ellipse 45% 35% at 0% 70%, rgba(200, 230, 201, 0.4), transparent 45%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
}

main {
    width: min(40rem, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 0 0 4.5rem;
}

.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 0 4rem;
    gap: 0;
}

.logo {
    width: clamp(10rem, 34vw, 15rem);
    height: auto;
    aspect-ratio: 1;
    border-radius: 22.5%;
    object-fit: cover;
    margin-bottom: 1.75rem;
    box-shadow:
        0 1.25rem 2.5rem rgba(22, 48, 28, 0.14),
        0 0.25rem 0.75rem rgba(22, 48, 28, 0.08);
    animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 9vw, 4.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
    animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.lede {
    margin: 0 auto 3rem;
    max-width: 26rem;
    font-size: clamp(1.05rem, 2.8vw, 1.2rem);
    font-weight: 400;
    color: var(--ink-soft);
    animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.cta-row {
    margin: 0;
    animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.scroll-cue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
    animation: bounce-soft 2.2s ease-in-out 1.1s infinite;
}

.scroll-cue svg {
    width: 2.4rem;
    height: 2.4rem;
}

.scroll-cue:hover {
    color: var(--accent-deep);
    transform: translateY(3px);
}

.block {
    padding: 2.75rem 0;
    border-top: 1px solid var(--line);
}

.block h2 {
    margin: 0 0 0.9rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.block p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.block ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.block li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.block li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--accent);
}

.block a {
    color: var(--accent-deep);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.block a:hover {
    color: var(--accent);
}

.site-footer {
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
    text-align: center;
}

.site-footer p {
    margin: 0 0 0.65rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.site-footer a {
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.site-footer a:hover {
    color: var(--accent-deep);
}

.copy {
    opacity: 0.75;
}

.reveal {
    opacity: 0;
    transform: translateY(1.1rem);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#join-the-beta-cta { 
    margin: 0;
    text-align: center;
    width: 100%;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(1.25rem) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bounce-soft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(0.35rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo,
    h1,
    .lede,
    .cta-row,
    .scroll-cue,
    .reveal {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 520px) {
    main {
        width: min(100%, calc(100% - 1.75rem));
    }

    .hero {
        padding-top: 2.5rem;
    }

    .block {
        padding: 2.25rem 0;
    }
}
