.landing-body {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 12%, rgba(31, 107, 79, 0.14), transparent 30%),
        radial-gradient(circle at 90% 6%, rgba(47, 138, 102, 0.1), transparent 26%),
        linear-gradient(180deg, #f3f7f4 0%, var(--bg) 38%, #e6efe9 100%);
}

[data-theme="dark"] .landing-body {
    background:
        radial-gradient(circle at 12% 12%, rgba(63, 154, 114, 0.16), transparent 30%),
        radial-gradient(circle at 90% 6%, rgba(47, 138, 102, 0.1), transparent 26%),
        linear-gradient(180deg, #101a16 0%, var(--bg) 42%, #0e1512 100%);
}

.landing-glow {
    position: fixed;
    inset: auto -12% 18% auto;
    width: 44vw;
    height: 44vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 154, 114, 0.18), transparent 68%);
    filter: blur(12px);
    pointer-events: none;
    animation: landing-drift 12s ease-in-out infinite alternate;
}

.landing-glow-b {
    inset: 10% auto auto -18%;
    width: 36vw;
    height: 36vw;
    opacity: 0.7;
    animation-duration: 15s;
    animation-direction: alternate-reverse;
}

.landing-nav {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.1rem 0 0.4rem;
    animation: landing-rise 0.55s ease both;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.landing-brand img {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
}

.landing-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.landing-links a {
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
}

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

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

.landing-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 1.5rem;
    width: min(1120px, calc(100% - 2rem));
    min-height: calc(100dvh - 5.5rem);
    margin: 0 auto;
    padding: 1rem 0 2.5rem;
}

.landing-hero-copy {
    max-width: 34rem;
    animation: landing-rise 0.7s ease both;
}

.landing-kicker {
    margin: 0 0 0.85rem;
    font-family: var(--display);
    font-size: clamp(2.9rem, 7vw, 4.8rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.92;
    color: var(--accent);
}

.landing-hero h1 {
    margin: 0 0 0.9rem;
    font-family: var(--display);
    font-size: clamp(1.75rem, 3.8vw, 2.55rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.14;
}

.landing-lead {
    margin: 0 0 1.45rem;
    max-width: 31rem;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.landing-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.landing-cta-primary {
    padding: 0.85rem 1.25rem;
    box-shadow: 0 12px 28px rgba(31, 107, 79, 0.22);
}

.landing-hero-visual {
    position: relative;
    min-height: min(64vh, 580px);
    animation: landing-rise 0.85s ease both;
}

.nest-stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.nest-art {
    width: min(100%, 560px);
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(19, 37, 30, 0.12));
}

.nest-glow {
    transform-origin: center;
    animation: landing-pulse 7s ease-in-out infinite;
}

.nest-arc {
    transform-origin: 320px 420px;
}

.nest-arc-a { animation: landing-sway 8s ease-in-out infinite; }
.nest-arc-b { animation: landing-sway 9.5s ease-in-out infinite reverse; }
.nest-arc-c { animation: landing-sway 7s ease-in-out infinite; }

.nest-seed,
.nest-seed-core {
    transform-origin: 320px 235px;
    animation: landing-float 4.8s ease-in-out infinite;
}

.landing-section,
.landing-preview-band {
    position: relative;
    z-index: 1;
    padding: 4.8rem 0 4rem;
    border-top: 1px solid var(--line);
}

.landing-section {
    background: color-mix(in srgb, var(--panel) 70%, transparent);
}

.landing-section-alt {
    background: transparent;
}

.landing-preview-band {
    background:
        linear-gradient(180deg, rgba(31, 107, 79, 0.06), transparent 40%),
        color-mix(in srgb, var(--panel-2) 80%, transparent);
}

.landing-section-inner,
.landing-finale-inner {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.landing-section h2,
.landing-preview-band h2,
.landing-finale h2 {
    margin: 0 0 0.75rem;
    font-family: var(--display);
    font-size: clamp(1.75rem, 3.4vw, 2.45rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.landing-section-lead {
    margin: 0 0 2.1rem;
    max-width: 40rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.landing-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}

.landing-feature-list article {
    padding: 1.35rem 1.2rem 1.35rem 0;
    border-bottom: 1px solid var(--line);
}

.landing-feature-list article:nth-child(odd) {
    padding-right: 1.8rem;
    border-right: 1px solid var(--line);
}

.landing-feature-list article:nth-child(even) {
    padding-left: 1.8rem;
}

.landing-feature-list h3 {
    margin: 0 0 0.45rem;
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 600;
}

.landing-feature-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.landing-preview {
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--panel) 92%, #fff), var(--panel-2));
    box-shadow: var(--shadow);
    animation: landing-rise 0.8s ease both;
}

.preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
}

.preview-brand {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 600;
}

.preview-month {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.preview-stats span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.preview-stats strong {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.preview-stats .good {
    color: var(--good);
}

.preview-bars {
    display: grid;
    gap: 0.7rem;
}

.preview-bars > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0.7rem;
    align-items: center;
}

.preview-bars span {
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 600;
}

.preview-bars i {
    display: block;
    height: 9px;
    border-radius: 999px;
    background: var(--track);
    position: relative;
    overflow: hidden;
}

.preview-bars i::after {
    content: "";
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f8a66, var(--accent));
}

.landing-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.2rem;
}

.landing-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

.landing-steps li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.step-num {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.03em;
}

.landing-steps h3 {
    margin: 0 0 0.35rem;
    font-family: var(--display);
    font-size: 1.2rem;
}

.landing-steps p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.landing-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: start;
}

.landing-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.landing-checklist li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.landing-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--accent);
}

.landing-about {
    max-width: 44rem;
}

.landing-about p {
    margin: 0 0 0.9rem;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.landing-finale {
    position: relative;
    z-index: 1;
    padding: 5rem 0 4.2rem;
    text-align: center;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 0%, rgba(31, 107, 79, 0.12), transparent 46%),
        color-mix(in srgb, var(--panel) 65%, transparent);
}

.finale-brand {
    margin: 0 0 0.55rem;
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--accent);
}

.landing-finale p {
    margin: 0 auto 1.35rem;
    max-width: 30rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.finale-cta {
    justify-content: center;
}

.landing-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.1rem 0 1.6rem;
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--line);
}

.landing-creator {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.landing-creator:hover {
    text-decoration: underline;
}

@keyframes landing-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes landing-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-4%, 6%, 0); }
}

@keyframes landing-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes landing-sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(1.6deg); }
}

@keyframes landing-pulse {
    0%, 100% { opacity: 0.45; transform: scale(0.98); }
    50% { opacity: 0.7; transform: scale(1.03); }
}

@media (max-width: 980px) {
    .landing-links {
        display: none;
    }
}

@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 0.4rem;
        gap: 0.35rem;
    }

    .landing-hero-copy {
        order: 1;
    }

    .landing-hero-visual {
        order: 0;
        min-height: 40vh;
    }

    .nest-art {
        width: min(100%, 380px);
    }

    .landing-kicker {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .landing-feature-list,
    .landing-split,
    .preview-stats {
        grid-template-columns: 1fr;
    }

    .landing-feature-list article,
    .landing-feature-list article:nth-child(odd),
    .landing-feature-list article:nth-child(even) {
        padding: 1.1rem 0;
        border-right: 0;
    }

    .landing-section,
    .landing-preview-band,
    .landing-finale {
        padding: 3.2rem 0;
    }
}

@media (max-width: 640px) {
    .landing-nav,
    .landing-hero,
    .landing-section-inner,
    .landing-finale-inner,
    .landing-footer {
        width: calc(100% - 1.2rem);
    }

    .landing-cta .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .preview-stats {
        grid-template-columns: 1fr 1fr;
    }

    .landing-footer {
        flex-direction: column;
        padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
    }
}
