:root {
    --forest: #214e38;
    --forest-deep: #123727;
    --moss: #6f9857;
    --leaf: #b6cf63;
    --sky: #7dcbd2;
    --pond: #2f8ea0;
    --sun: #f5c85d;
    --berry: #cf5e58;
    --soil: #7b5439;
    --cream: #fff8e9;
    --parchment: #f5ead4;
    --ink: #23342b;
    --muted: #637369;
    --line: rgba(35, 52, 43, 0.16);
    --shadow: 0 18px 55px rgba(31, 51, 40, 0.14);
    --radius: 8px;
    --container: min(1120px, calc(100vw - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: ui-rounded, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.6;
}

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

a {
    color: var(--pond);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    color: #fff;
    background: var(--forest);
    border-radius: var(--radius);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 248, 233, 0.9);
    border-bottom: 1px solid rgba(33, 78, 56, 0.14);
    backdrop-filter: blur(14px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(33, 78, 56, 0.18);
}

.brand-kicker,
.eyebrow,
.panel-kicker {
    display: block;
    color: var(--berry);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.brand-title {
    display: block;
    color: var(--forest-deep);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.1;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    color: var(--forest-deep);
    font-weight: 800;
    text-decoration: none;
    border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: rgba(111, 152, 87, 0.16);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--forest);
    border: 0;
    border-radius: var(--radius);
}

.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 2px;
}

.hero {
    position: relative;
    min-height: calc(78vh - 76px);
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("/assets/images/splash-bg.png");
    background-position: center;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(16, 51, 35, 0.84) 0%, rgba(16, 51, 35, 0.62) 42%, rgba(16, 51, 35, 0.16) 100%),
        linear-gradient(0deg, rgba(16, 51, 35, 0.18), rgba(16, 51, 35, 0.02));
}

.hero-content {
    padding: 60px 0 48px;
}

.hero .eyebrow {
    color: var(--sun);
}

.hero h1,
.subhero h1 {
    max-width: 780px;
    margin: 12px 0 18px;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.92;
    letter-spacing: 0;
}

.hero-lede {
    max-width: 690px;
    margin: 0 0 26px;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.92);
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
}

.app-store-badge img {
    height: 54px;
    width: auto;
}

.availability-chip {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 16px;
    color: var(--forest-deep);
    background: var(--sun);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: var(--radius);
    font-weight: 900;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    color: #fff;
    background: var(--berry);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 24px rgba(207, 94, 88, 0.24);
}

.button-primary:hover {
    background: #b94f4a;
}

.button-secondary {
    color: var(--forest-deep);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(33, 78, 56, 0.2);
}

.button-secondary:hover {
    background: #fff;
}

.button-full {
    width: 100%;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 150px));
    gap: 14px;
    max-width: 520px;
    margin: 34px 0 0;
}

.hero-facts div {
    padding: 15px 14px;
    background: rgba(255, 248, 233, 0.16);
    border: 1px solid rgba(255, 248, 233, 0.22);
    border-radius: var(--radius);
}

.hero-facts dt {
    margin: 0;
    font-size: 2rem;
    font-weight: 950;
    line-height: 1;
}

.hero-facts dd {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.section {
    padding: 68px 0;
}

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

.section-heading h2,
.availability h2,
.art-band h2,
.panel h2 {
    margin: 8px 0 14px;
    color: var(--forest-deep);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.section-heading p,
.availability p,
.art-band p {
    color: var(--muted);
    font-size: 1.05rem;
}

.intro-section {
    background: linear-gradient(180deg, var(--cream), #f3ead7);
}

.intro-grid,
.critter-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.feature-list,
.card-grid,
.support-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.support-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.legal-panel,
.screenshot-card {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel {
    padding: 24px;
}

.panel h3,
.panel h2,
.legal-panel h2 {
    margin: 0 0 10px;
    color: var(--forest-deep);
    line-height: 1.12;
    letter-spacing: 0;
}

.panel h3 {
    font-size: 1.28rem;
}

.panel p:last-child,
.legal-panel p:last-child {
    margin-bottom: 0;
}

.art-strip {
    background: #dbeac9;
}

.art-band {
    display: grid;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 36px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 248, 233, 0.92), rgba(255, 248, 233, 0.68)),
        url("/assets/screenshots/camp-map.png") center/cover;
    border: 1px solid rgba(33, 78, 56, 0.16);
    border-radius: var(--radius);
}

.hero-group {
    width: min(100%, 340px);
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(18, 55, 39, 0.28));
    mix-blend-mode: multiply;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    margin-top: 26px;
}

.screenshot-card {
    overflow: hidden;
    background: #fff;
    align-self: start;
}

.screenshot-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.screenshot-wide {
    grid-column: span 2;
}

.screenshot-card figcaption {
    min-height: 58px;
    margin: 0;
    padding: 14px 16px 16px;
    color: var(--muted);
    font-weight: 800;
}

.critter-section {
    background: #e7f1d9;
}

.critter-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
}

.critter-row img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(33, 78, 56, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 14px 32px rgba(33, 78, 56, 0.12);
}

.availability {
    background:
        linear-gradient(90deg, rgba(18, 55, 39, 0.94), rgba(18, 55, 39, 0.78)),
        url("/assets/screenshots/winter-preview.png") center/cover;
    color: #fff;
}

.availability h2,
.availability .eyebrow {
    color: #fff;
}

.availability p {
    color: rgba(255, 255, 255, 0.82);
}

.availability-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: 28px 42px;
    align-items: center;
}

.availability-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.availability-list li {
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
}

.availability .button-row {
    grid-column: 1 / -1;
}

.subhero {
    padding: 86px 0 54px;
    background:
        linear-gradient(90deg, rgba(245, 234, 212, 0.95), rgba(245, 234, 212, 0.78)),
        url("/assets/images/splash-bg.png") center/cover;
}

.subhero h1 {
    color: var(--forest-deep);
    font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.subhero p {
    max-width: 720px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.8fr);
    gap: 22px;
    align-items: start;
}

.stacked-panels {
    display: grid;
    gap: 16px;
}

.bullet-list {
    margin: 14px 0 0;
    padding-left: 1.2rem;
}

.bullet-list li + li {
    margin-top: 8px;
}

.support-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.form-row {
    display: grid;
    gap: 7px;
}

.form-row-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    color: var(--forest-deep);
    font-weight: 900;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 13px;
    color: var(--ink);
    background: #fffdf7;
    border: 1px solid rgba(33, 78, 56, 0.24);
    border-radius: var(--radius);
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(47, 142, 160, 0.22);
    border-color: var(--pond);
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.turnstile-widget {
    min-height: 66px;
}

.form-status {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    font-weight: 800;
}

.form-status.is-info {
    color: #294c5a;
    background: #dff1f4;
    border-color: rgba(47, 142, 160, 0.24);
}

.form-status.is-error {
    color: #6f2722;
    background: #ffe2df;
    border-color: rgba(207, 94, 88, 0.32);
}

.faq-list {
    display: grid;
    gap: 10px;
}

details {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

details:first-child {
    border-top: 0;
}

summary {
    cursor: pointer;
    color: var(--forest-deep);
    font-weight: 900;
}

details p {
    margin: 10px 0 0;
}

.legal-shell {
    display: grid;
    gap: 16px;
    max-width: 900px;
}

.legal-panel {
    padding: 28px;
}

.centered-panel {
    display: grid;
    place-items: center;
    min-height: 46vh;
}

.thanks-panel {
    max-width: 640px;
    text-align: center;
}

.button-row-centered {
    justify-content: center;
}

.site-footer {
    padding: 58px 0 24px;
    color: rgba(255, 255, 255, 0.78);
    background: var(--forest-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1fr;
    gap: 34px;
}

.footer-heading {
    margin: 0 0 8px;
    color: #fff;
    font-weight: 950;
}

.footer-links {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: #f9d875;
}

.footer-small,
.footer-bottom {
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
}

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 76px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: var(--cream);
        border: 1px solid rgba(33, 78, 56, 0.16);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        justify-content: center;
    }

    .intro-grid,
    .critter-grid,
    .split-layout,
    .availability-layout,
    .art-band {
        grid-template-columns: 1fr;
    }

    .support-summary,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-wide {
        grid-column: auto;
    }

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

@media (max-width: 640px) {
    :root {
        --container: min(100vw - 28px, 1120px);
    }

    .brand-kicker {
        display: none;
    }

    .brand-title {
        font-size: 0.95rem;
    }

    .hero {
        min-height: calc(68vh - 76px);
    }

    .hero::before {
        background: linear-gradient(90deg, rgba(16, 51, 35, 0.88), rgba(16, 51, 35, 0.48));
    }

    .hero-content {
        padding: 48px 0 36px;
    }

    .hero h1,
    .subhero h1 {
        font-size: clamp(2.8rem, 16vw, 4.4rem);
    }

    .hero-facts,
    .feature-list,
    .card-grid,
    .critter-row {
        grid-template-columns: 1fr;
    }

    .hero-facts {
        display: none;
    }

    .section {
        padding: 58px 0;
    }

    .art-band {
        padding: 24px;
    }

    .form-row-split {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }
}
