:root {
    --forest-950: #082c20;
    --forest-900: #0b3d2a;
    --forest-800: #125436;
    --forest-700: #1d7244;
    --lime: #d7ff77;
    --lime-soft: #e8ffac;
    --yellow: #ffd95a;
    --cream: #fff9e9;
    --ink: #123426;
    --muted: #b8d5c6;
    --line: rgba(255, 255, 255, .14);
    --shadow: 0 28px 70px rgba(2, 22, 14, .34);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--cream);
    background: var(--forest-900);
    font-family: "Space Grotesk", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 64px));
    height: 92px;
    margin-inline: auto;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: "Fredoka", system-ui, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.brand__mark { width: 42px; height: 42px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 26px; }

.nav-link {
    color: rgba(255, 249, 233, .78);
    font-size: .9rem;
    font-weight: 600;
    transition: color .2s ease;
}

.nav-link:hover { color: var(--cream); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.button--small {
    min-height: 42px;
    padding-inline: 19px;
    color: var(--ink);
    background: var(--lime);
}

.button--primary {
    color: var(--ink);
    background: var(--lime);
    box-shadow: 0 12px 30px rgba(215, 255, 119, .16);
}

.button--primary:hover,
.button--small:hover { background: var(--lime-soft); }

.button--secondary {
    color: var(--cream);
    border-color: rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .06);
}

.button--secondary:hover {
    border-color: rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .1);
}

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 148px 32px 86px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 115%, rgba(215, 255, 119, .12), transparent 34%),
        linear-gradient(132deg, var(--forest-800) 0%, var(--forest-900) 48%, var(--forest-950) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -120px;
    bottom: -240px;
    width: 720px;
    aspect-ratio: 1;
    border: 120px solid rgba(215, 255, 119, .035);
    border-radius: 50%;
}

.hero__glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.hero__glow--one {
    top: 13%;
    left: -10%;
    width: 340px;
    height: 340px;
    background: rgba(62, 172, 91, .18);
}

.hero__glow--two {
    top: 18%;
    right: 4%;
    width: 300px;
    height: 300px;
    background: rgba(215, 255, 119, .08);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, .85fr);
    align-items: center;
    gap: clamp(54px, 8vw, 108px);
    width: min(1180px, 100%);
    margin-inline: auto;
}

.hero__copy { position: relative; z-index: 2; max-width: 650px; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 9px 14px;
    border: 1px solid rgba(215, 255, 119, .28);
    border-radius: 999px;
    color: var(--lime-soft);
    background: rgba(215, 255, 119, .08);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.status-pill__signal {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(215, 255, 119, .12);
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 24px;
    font-family: "Fredoka", system-ui, sans-serif;
    font-size: clamp(3.5rem, 6.6vw, 6.4rem);
    font-weight: 700;
    line-height: .91;
    letter-spacing: -.055em;
}

.hero h1 span { color: var(--lime); }

.hero__lead {
    max-width: 590px;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.hero__facts {
    display: flex;
    gap: clamp(30px, 5vw, 62px);
    margin-top: 46px;
}

.hero__facts div { display: flex; flex-direction: column-reverse; gap: 2px; }

.hero__facts dt {
    color: rgba(184, 213, 198, .7);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero__facts dd {
    font-family: "Fredoka", system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.hero__visual {
    position: relative;
    min-height: 630px;
    outline: none;
    touch-action: pan-y;
}

.hero__tag {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 0;
    padding: 12px 18px;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 12px;
    box-shadow: 5px 5px 0 var(--forest-950);
    font-family: "Fredoka", system-ui, sans-serif;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(4deg);
}

.chimp-card { position: absolute; border-radius: 28px; overflow: hidden; }

.chimp-card--back {
    top: 74px;
    left: -24px;
    width: 72%;
    aspect-ratio: .82;
    background: #6bbf64;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: var(--shadow);
    transform: rotate(-9deg);
}

.chimp-card--back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.chimp-card--front {
    right: 8px;
    bottom: 54px;
    z-index: 2;
    width: 78%;
    padding: 15px;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: var(--shadow);
    transform: rotate(3deg);
    appearance: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .24s ease, box-shadow .24s ease;
}

.chimp-card--front:hover {
    transform: rotate(1deg) translateY(-7px);
    box-shadow: 0 36px 80px rgba(2, 22, 14, .42);
}

.chimp-card--front:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 6px;
}

.chimp-card--front.is-changing { animation: card-change .34s ease; }

@keyframes card-change {
    0% { opacity: .45; transform: rotate(6deg) translateX(18px) scale(.97); }
    100% { opacity: 1; transform: rotate(3deg) translateX(0) scale(1); }
}

.chimp-card__topline,
.chimp-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.chimp-card__topline {
    padding: 2px 5px 13px;
    color: rgba(18, 52, 38, .68);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.chimp-card__art {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 370px;
    overflow: hidden;
    border-radius: 19px;
    background: linear-gradient(155deg, #9bdc71, #4fa75d);
}

.chimp-card__art img {
    width: 100%;
    height: 100%;
    min-height: 370px;
    object-fit: cover;
    object-position: center bottom;
}

.chimp-card__footer { padding: 14px 5px 3px; font-size: .75rem; }

.chimp-card__footer strong {
    font-family: "Fredoka", system-ui, sans-serif;
    font-size: .92rem;
}

.chimp-card__footer span { color: var(--forest-700); font-weight: 700; }

.banana-note {
    position: absolute;
    z-index: 6;
    bottom: 108px;
    left: -2px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--ink);
    background: var(--lime);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(4, 33, 21, .24);
    font-size: .78rem;
    font-weight: 700;
    transform: rotate(-5deg);
}

.banana-note span { font-size: 1rem; }

.carousel-controls {
    position: absolute;
    z-index: 8;
    right: 8px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(8, 44, 32, .76);
    box-shadow: 0 12px 28px rgba(3, 27, 17, .2);
    backdrop-filter: blur(10px);
}

.carousel-arrow {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: var(--lime);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.carousel-arrow:hover { background: var(--lime-soft); transform: scale(1.06); }

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.carousel-dot {
    width: 13px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: width .18s ease, background .18s ease;
}

.carousel-dot.is-active { width: 23px; background: var(--yellow); }

.carousel-count {
    min-width: 34px;
    color: rgba(255, 249, 233, .72);
    font-family: "Fredoka", system-ui, sans-serif;
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 18px max(32px, calc((100% - 1180px) / 2));
    color: rgba(255, 249, 233, .58);
    background: var(--forest-950);
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .78rem;
}

@media (max-width: 960px) {
    .site-header { width: min(100% - 40px, 740px); }
    .hero { min-height: auto; padding: 144px 20px 80px; }
    .hero__inner { grid-template-columns: 1fr; width: min(740px, 100%); gap: 68px; }
    .hero__copy { max-width: 680px; text-align: center; margin-inline: auto; }
    .hero__lead { margin-inline: auto; }
    .hero__actions, .hero__facts { justify-content: center; }
    .hero__visual { width: min(520px, 92%); margin-inline: auto; }
}

@media (max-width: 620px) {
    .site-header { width: calc(100% - 32px); height: 78px; }
    .brand { font-size: 1rem; }
    .brand__mark { width: 36px; height: 36px; }
    .nav-link { display: none; }
    .button--small { min-height: 38px; padding-inline: 15px; font-size: .76rem; }
    .hero { padding-top: 118px; }
    .hero h1 { font-size: clamp(3.15rem, 17vw, 4.4rem); }
    .hero__lead { font-size: .96rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .button { width: 100%; }
    .hero__facts { justify-content: space-between; gap: 15px; }
    .hero__visual { min-height: 520px; width: 100%; }
    .hero__tag { top: 4px; right: 3px; padding: 10px 13px; font-size: .72rem; }
    .chimp-card--back { top: 65px; left: 2px; width: 69%; }
    .chimp-card--front { right: 1px; bottom: 52px; width: 78%; }
    .chimp-card__art, .chimp-card__art img { min-height: 285px; }
    .banana-note { bottom: 99px; left: -5px; }
    .carousel-controls { right: 1px; }
    .carousel-dots { display: none; }
    .site-footer {
        flex-direction: column;
        justify-content: center;
        min-height: 96px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
