.theme-hero,
.release-section,
#features,
#advantages,
#reviews,
#download {
    scroll-margin-top: 68px;
}

.theme-hero {
    --hero-ink: #f6fbf9;
    --hero-muted: rgba(238, 248, 245, 0.82);
    --hero-accent: #7bddbe;
    --hero-panel: rgba(8, 21, 29, 0.78);
    --hero-line: rgba(255, 255, 255, 0.24);
    position: relative;
    isolation: isolate;
    min-height: min(860px, 92svh);
    overflow: hidden;
    color: var(--hero-ink);
    background: #07151d;
}

.theme-hero[data-theme="morning"] {
    --hero-ink: #173037;
    --hero-muted: rgba(23, 48, 55, 0.78);
    --hero-accent: #9b5d1d;
    --hero-panel: rgba(247, 250, 246, 0.82);
    --hero-line: rgba(23, 48, 55, 0.2);
    background: #d9edf0;
}

.theme-hero-scenes,
.theme-hero-scene,
.theme-hero-scene img,
.theme-hero-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.theme-hero-scenes {
    z-index: -3;
}

.theme-hero-scene {
    margin: 0;
    opacity: 0;
    transition: opacity 900ms ease;
}

.theme-hero-scene.is-active {
    opacity: 1;
}

.theme-hero-scene img {
    object-fit: cover;
    object-position: center;
    transform: scale(1.025);
    animation: theme-scene-drift 18s ease-in-out infinite alternate;
}

.theme-hero-scrim {
    z-index: -2;
    background: rgba(3, 12, 17, 0.46);
    transition: background-color 600ms ease;
}

.theme-hero[data-theme="morning"] .theme-hero-scrim {
    background: rgba(245, 249, 244, 0.18);
}

@keyframes theme-scene-drift {
    to { transform: scale(1.065); }
}

.theme-hero-inner {
    position: relative;
    width: min(1180px, calc(100% - 2rem));
    min-height: min(860px, 92svh);
    margin: 0 auto;
    padding: 8.5rem 0 5.5rem;
}

.theme-switcher {
    position: absolute;
    top: 6.25rem;
    right: 0;
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--hero-line);
    border-radius: 8px;
    background: rgba(6, 16, 22, 0.48);
    backdrop-filter: blur(14px);
}

.theme-hero[data-theme="morning"] .theme-switcher {
    background: rgba(255, 255, 255, 0.52);
}

.theme-switcher button {
    min-height: 38px;
    border: 0;
    border-radius: 5px;
    padding: 0.45rem 0.85rem;
    color: var(--hero-muted);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 750;
}

.theme-switcher button[aria-pressed="true"] {
    color: #132127;
    background: #ffffff;
}

.theme-switcher button:focus-visible,
.theme-hero a:focus-visible {
    outline: 3px solid var(--hero-accent);
    outline-offset: 3px;
}

.theme-hero-copy {
    position: absolute;
    top: 50%;
    left: 0;
    width: min(620px, 58%);
    transform: translateY(-46%);
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.28);
}

.theme-hero[data-theme="morning"] .theme-hero-copy {
    text-shadow: 0 2px 22px rgba(255, 255, 255, 0.68);
}

.theme-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid var(--hero-accent);
    color: var(--hero-ink);
    font-size: 0.84rem;
    font-weight: 800;
}

.theme-hero h1 {
    max-width: 610px;
    margin: 0 0 1.25rem;
    font-size: 5.75rem;
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: 0;
}

.theme-hero-lede {
    max-width: 570px;
    margin: 0;
    color: var(--hero-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.theme-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.theme-hero-actions a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hero-line);
    border-radius: 6px;
    padding: 0.75rem 1.1rem;
    color: var(--hero-ink);
    background: rgba(5, 16, 22, 0.36);
    text-decoration: none;
    backdrop-filter: blur(12px);
    font-size: 0.94rem;
    font-weight: 780;
}

.theme-hero-actions .theme-hero-primary {
    border-color: var(--hero-accent);
    color: #09241b;
    background: var(--hero-accent);
    backdrop-filter: none;
}

.theme-hero[data-theme="morning"] .theme-hero-actions a {
    background: rgba(255, 255, 255, 0.55);
}

.theme-hero[data-theme="morning"] .theme-hero-actions .theme-hero-primary {
    color: #ffffff;
    background: #173037;
    border-color: #173037;
}

.theme-focus-panel {
    position: absolute;
    right: 0;
    top: 31%;
    width: min(340px, 30vw);
    border: 1px solid var(--hero-line);
    border-radius: 8px;
    padding: 1.25rem 1.35rem;
    background: var(--hero-panel);
    box-shadow: 0 24px 60px rgba(2, 10, 14, 0.28);
    backdrop-filter: blur(18px);
}

.theme-focus-label,
.theme-focus-plan,
.theme-member-copy span,
.release-eyebrow,
.release-date {
    font-size: 0.78rem;
    font-weight: 750;
}

.theme-focus-label {
    color: var(--hero-muted);
}

.theme-focus-time {
    margin: 0.45rem 0 0.5rem;
    color: var(--hero-ink);
    font-variant-numeric: tabular-nums;
    font-size: 3rem;
    font-weight: 780;
    line-height: 1;
}

.theme-focus-plan {
    color: var(--hero-accent);
}

.theme-member-strip {
    position: absolute;
    right: 0;
    bottom: 5rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--hero-ink);
}

.theme-member-avatars {
    display: flex;
    padding-left: 10px;
}

.theme-member-avatars span {
    display: grid;
    width: 38px;
    height: 38px;
    margin-left: -10px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    color: #173037;
    background: #d9f0e7;
    font-size: 0.76rem;
    font-weight: 800;
}

.theme-member-avatars span:nth-child(2) { background: #f6dcae; }
.theme-member-avatars span:nth-child(3) { background: #d4d9f5; }

.theme-member-copy {
    display: grid;
}

.theme-member-copy strong {
    font-size: 0.92rem;
}

.theme-member-copy span {
    color: var(--hero-muted);
}

.release-section {
    padding: 2.25rem 0 6.5rem;
    color: #edf7f4;
    background: #0a1b22;
}

.release-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
    gap: 4rem;
    align-items: center;
}

.release-eyebrow {
    margin: 0 0 0.8rem;
    color: #7bddbe;
}

.release-copy h2 {
    max-width: 560px;
    margin: 0;
    font-size: 3.25rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.release-intro {
    max-width: 560px;
    margin: 1.2rem 0 0;
    color: rgba(237, 247, 244, 0.72);
    font-size: 1.05rem;
}

.release-list {
    margin: 2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.release-item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.release-item dt {
    color: #7bddbe;
    font-size: 0.86rem;
    font-weight: 800;
}

.release-item dd {
    margin: 0;
    color: rgba(237, 247, 244, 0.78);
}

.release-date {
    display: inline-block;
    margin-top: 1.2rem;
    color: rgba(237, 247, 244, 0.52);
}

.release-log-link {
    display: inline-block;
    margin: 1.2rem 0 0 1rem;
    color: #7bddbe;
    font-size: 0.82rem;
    font-weight: 780;
    text-underline-offset: 0.2rem;
}

.release-media .site-video-shell {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

.release-media .site-video figcaption {
    color: rgba(237, 247, 244, 0.62);
}

@media (max-width: 900px) {
    .theme-hero h1 {
        font-size: 4.5rem;
    }

    .theme-hero-copy {
        width: min(620px, 68%);
    }

    .theme-focus-panel {
        top: auto;
        bottom: 7.5rem;
        width: 250px;
    }

    .theme-member-strip {
        display: none;
    }

    .release-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .release-copy h2 {
        font-size: 2.75rem;
    }
}

@media (max-width: 680px) {
    .theme-hero {
        min-height: min(820px, 94svh);
    }

    .theme-hero-inner {
        width: min(100% - 1.5rem, 1180px);
        min-height: min(820px, 94svh);
        padding: 7.6rem 0 2.5rem;
    }

    .theme-switcher {
        top: 5.2rem;
        right: auto;
        left: 0;
    }

    .theme-hero-copy {
        top: 46%;
        width: 100%;
        transform: translateY(-50%);
    }

    .theme-kicker {
        margin-bottom: 0.9rem;
    }

    .theme-hero h1 {
        max-width: 360px;
        margin-bottom: 1rem;
        font-size: 3.5rem;
    }

    .theme-hero-lede {
        max-width: 390px;
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .theme-hero-actions {
        gap: 0.6rem;
        margin-top: 1.35rem;
    }

    .theme-hero-actions a {
        min-height: 44px;
        padding: 0.65rem 0.85rem;
        font-size: 0.86rem;
    }

    .theme-focus-panel {
        right: auto;
        bottom: 2rem;
        left: 0;
        width: min(280px, 78vw);
        padding: 0.95rem 1rem;
    }

    .theme-focus-time {
        font-size: 2.15rem;
    }

    .release-section {
        padding: 1.15rem 0 4.75rem;
    }

    .release-item {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .release-copy h2 {
        font-size: 2.15rem;
    }
}

@media (max-width: 370px) {
    .theme-hero h1 {
        font-size: 3rem;
    }

    .theme-hero-lede {
        line-height: 1.55;
    }

    .theme-hero-actions {
        margin-top: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .theme-hero-scene,
    .theme-hero-scene img {
        transition: none;
        animation: none;
    }
}
