/* UnDem — landing (proposed design, adapted) */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    background: var(--ink);
    color: var(--cream);
    font-family: var(--f);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    position: relative;
    touch-action: pan-y;
}

body.is-loading {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad);
    position: relative;
    z-index: 1;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 3px;
}

.en {
    font-family: var(--f-mono);
    font-weight: 500;
    font-size: 0.92em;
}

.kicker {
    font-family: var(--f-mono);
    font-size: 1.15rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.kicker .dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--coral);
    flex-shrink: 0;
    box-shadow: 0 0 0 0 var(--glow);
    animation: dotPulse 2.8s var(--ease-out) infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(217, 119, 78, 0.35);
    }

    50% {
        box-shadow: 0 0 0 0.55rem rgba(217, 119, 78, 0);
    }
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.lead {
    color: var(--cream-dim);
    font-size: clamp(1.65rem, 1.4vw, 1.95rem);
    line-height: 1.85;
    max-width: 50rem;
    font-weight: 400;
}

/* preloader */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background: var(--ink);
    transition: opacity 0.55s var(--ease-premium), visibility 0.55s;
}

.preloader.is-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: preloaderIn 0.7s var(--ease-premium) both;
}

.preloader-logo {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 1.2rem;
    animation: logoBreath 1.6s var(--ease-out) infinite;
}

.preloader-bar {
    width: 14rem;
    height: 2px;
    background: var(--line-2);
    border-radius: 999px;
    overflow: hidden;
}

.preloader-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--coral-2), var(--coral));
    border-radius: inherit;
    animation: preloaderBar 1.1s var(--ease-premium) forwards;
}

.preloader-label {
    font-family: var(--f-mono);
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0;
    animation: fadeUp 0.6s var(--ease-out) 0.2s forwards;
}

@keyframes preloaderIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes preloaderBar {
    to {
        width: 100%;
    }
}

@keyframes logoBreath {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 transparent);
    }

    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 1.2rem var(--glow));
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes floatSoft {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes checkIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes navDrop {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* scroll progress */
#prog {
    position: fixed;
    top: 0;
    inset-inline: 0;
    height: 2px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: right;
    z-index: 80;
}

/* nav */
nav {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(12, 10, 8, 0.78);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s ease, box-shadow 0.25s ease;
    max-width: 100%;
}

body:not(.is-loading) nav {
    animation: navDrop 0.7s var(--ease-premium) 0.05s both;
}

nav.is-scrolled {
    background: rgba(12, 10, 8, 0.8);
    box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.nav-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    height: 7.2rem;
    min-width: 0;
    transition: height 0.25s ease;
}

.nav-in .btn {
    flex-shrink: 0;
    max-width: 100%;
}

nav.is-scrolled .nav-in {
    height: 6.4rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-weight: 700;
    font-size: 1.55rem;
    min-width: 0;
    flex-shrink: 1;
}

.brand img {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.7rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
    padding-inline: 0.8rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--cream-dim);
    padding: 0.55rem 1rem;
    border-radius: 0.7rem;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.is-active {
    color: var(--cream);
    background: rgba(217, 119, 78, 0.12);
}

.nav-link.is-active:hover {
    background: rgba(217, 119, 78, 0.16);
}

.hero,
#features,
#how {
    scroll-margin-top: 8.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--f);
    font-weight: 600;
    font-size: 1.45rem;
    padding: 0.95rem 1.8rem;
    border-radius: 0.9rem;
    border: 0;
    cursor: pointer;
    transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, box-shadow 0.25s;
    text-decoration: none;
}

.btn-primary {
    background: var(--coral);
    color: #fff;
    box-shadow: 0 0.4rem 1.6rem rgba(217, 119, 78, 0.22);
}

.btn-primary:hover {
    background: #e1845b;
    transform: translateY(-2px);
    box-shadow: 0 0.8rem 2.4rem rgba(217, 119, 78, 0.32);
}

.btn .tag {
    font-family: var(--f-mono);
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.btn-ghost {
    border: 1px solid var(--line-2);
    color: var(--cream);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--coral);
}

/* product shot frame */
.shot {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 1.4rem;
    background: var(--ink-2);
    border: 1px solid var(--line-2);
    box-shadow: 0 2.6rem 6rem rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), border-color 0.35s;
}

.shot:hover {
    transform: translateY(-4px);
    box-shadow: 0 3.2rem 7rem rgba(0, 0, 0, 0.32);
    border-color: rgba(217, 119, 78, 0.22);
}

[data-shot].in .shot {
    animation: floatSoft 7s var(--ease-out) 1.2s infinite;
}

.hero.is-live .hero-shot .shot {
    animation: floatSoft 7s var(--ease-out) 2.4s infinite;
}

[data-shot].in .shot:hover,
.hero.is-live .hero-shot .shot:hover {
    animation-play-state: paused;
}

.shot .bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--line);
}

.shot .bar i {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #564e41;
}

.shot .bar i:nth-child(1) {
    background: #d96b5d;
}

.shot .bar i:nth-child(2) {
    background: #d9ad53;
}

.shot .bar i:nth-child(3) {
    background: #6aa866;
}

.shot .bar span {
    margin-inline-start: auto;
    font-family: var(--f-mono);
    font-size: 1.05rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.shot .body {
    padding: 2.2rem;
}

.bubble {
    border-inline-start: 3px solid var(--coral);
    background: var(--surface);
    border-radius: 1rem;
    padding: 1.7rem 1.9rem;
}

.bubble-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    color: var(--coral);
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.bubble-head .d {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--coral);
}

.bubble-head .sp {
    flex: 1;
}

.bubble-head svg {
    width: 1.7rem;
    height: 1.7rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

.bubble-ic {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border: none;
    background: transparent;
    color: var(--muted);
    border-radius: 0.8rem;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.bubble-ic:hover {
    background: rgba(243, 238, 226, 0.06);
    color: var(--cream);
}

.bubble-ic--play:hover,
.bubble-ic--play.is-speaking {
    color: var(--coral);
}

.bubble-ic:active {
    transform: scale(0.94);
}

.bubble-ic svg {
    width: 1.7rem;
    height: 1.7rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    grid-area: 1 / 1;
}

.bubble-ic--play .icon-pause {
    display: none;
}

.bubble-ic--play.is-speaking .icon-play {
    display: none;
}

.bubble-ic--play.is-speaking .icon-pause {
    display: block;
}

.bubble-ic--copy .icon-check {
    display: none;
}

.bubble-ic--copy.is-copied {
    color: var(--coral);
    background: rgba(217, 119, 78, 0.12);
    animation: copyPop 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.bubble-ic--copy.is-copied .icon-copy {
    display: none;
}

.bubble-ic--copy.is-copied .icon-check {
    display: block;
}

@keyframes copyPop {
    0% {
        transform: scale(0.88);
    }

    55% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.hero-bubble {
    position: relative;
}

.bubble .w.on {
    background: rgba(217, 119, 78, 0.28);
    color: var(--cream);
    border-radius: 0.3rem;
    box-shadow: 0 0 0 1px rgba(217, 119, 78, 0.16);
}

.bubble-toast {
    position: absolute;
    bottom: 1.2rem;
    inset-inline: 0;
    margin-inline: auto;
    width: max-content;
    max-width: calc(100% - 2rem);
    padding: 0.5rem 1.2rem;
    border-radius: 0.8rem;
    background: rgba(12, 10, 8, 0.88);
    color: var(--cream);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.bubble-toast.is-visible {
    opacity: 1;
    transform: none;
}

.bubble p {
    font-size: 1.65rem;
    line-height: 2;
    overflow-wrap: anywhere;
}

.bubble .code {
    font-family: var(--f-mono);
    direction: ltr;
    display: inline-block;
    background: var(--ink);
    padding: 0.05rem 0.55rem;
    border-radius: 0.45rem;
    color: var(--coral);
    font-size: 1.35rem;
}

.bubble mark {
    background: rgba(217, 119, 78, 0.3);
    color: var(--cream);
    border-radius: 0.3rem;
    padding: 0 0.3rem;
}

.broken {
    direction: ltr;
    text-align: left;
    color: var(--cream-dim);
    font-size: 1.55rem;
    line-height: 1.95;
    opacity: 0.85;
}

.broken .code {
    font-family: var(--f-mono);
    color: #bca;
}

/* hero */
.hero {
    padding-block: clamp(2.4rem, 3.5vw, 3.6rem) clamp(4.5rem, 6.5vw, 7rem);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 1.1s var(--ease-out);
}

.hero-bg::before {
    content: "";
    position: absolute;
    top: 8%;
    inset-inline-end: 0;
    width: min(46rem, 100%);
    height: min(46rem, 70vh);
    background: radial-gradient(closest-side, rgba(217, 119, 78, 0.22), transparent 72%);
    filter: blur(36px);
    pointer-events: none;
}

.hero-bg::after {
    content: "";
    position: absolute;
    top: -2%;
    inset-inline-start: 0;
    width: min(30rem, 85%);
    height: min(24rem, 36vh);
    background: radial-gradient(closest-side, rgba(217, 119, 78, 0.07), transparent 74%);
    filter: blur(44px);
    pointer-events: none;
}

.hero.is-live .hero-bg {
    opacity: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* hero copy — staged reveal */
.hero-copy .kicker,
.hero-copy .lead,
.hero-copy .hero-cta,
.hero-copy .meta {
    opacity: 0;
    transform: translateY(22px);
}

.hero-copy .hero-line {
    display: block;
    overflow: hidden;
    opacity: 0;
    transform: translateY(110%);
}

.hero.is-live .hero-copy .kicker {
    animation: heroFadeUp 0.75s var(--ease-premium) 0.08s forwards;
}

.hero.is-live .hero-copy .hero-line:nth-child(1) {
    animation: heroLineIn 0.95s var(--ease-premium) 0.2s forwards;
}

.hero.is-live .hero-copy .hero-line:nth-child(2) {
    animation: heroLineIn 0.95s var(--ease-premium) 0.34s forwards;
}

.hero.is-live .hero-copy .lead {
    animation: heroFadeUp 0.8s var(--ease-out) 0.52s forwards;
}

.hero.is-live .hero-copy .hero-cta {
    animation: heroFadeUp 0.75s var(--ease-out) 0.68s forwards;
}

.hero.is-live .hero-copy .meta {
    animation: heroFadeUp 0.7s var(--ease-out) 0.82s forwards;
}

.hero.is-live .hero-copy .accent {
    animation: accentShine 3s ease 0.55s infinite;
}

.hero.is-live .hero-cta .btn {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
}

.hero.is-live .hero-cta .btn:nth-child(1) {
    animation: heroBtnIn 0.65s var(--ease-premium) 0.78s forwards;
}

.hero.is-live .hero-cta .btn:nth-child(2) {
    animation: heroBtnIn 0.65s var(--ease-premium) 0.9s forwards;
}

/* hero mockup — staged reveal */
.hero-shot {
    opacity: 0;
    transform: translateY(32px) scale(0.94);
    filter: blur(8px);
    overflow: visible;
}

.hero-panel--before,
.hero-panel--after .tagline,
.hero-bubble {
    opacity: 0;
}

.hero-panel--before {
    transform: translateX(12px);
}

.hero-bubble {
    transform: translateY(16px) scale(0.97);
}

.hero.is-live .hero-shot {
    animation: heroShotIn 1.05s var(--ease-premium) 0.28s forwards;
}

.hero.is-live .hero-panel--before {
    animation: heroBeforeIn 0.65s var(--ease-out) 0.72s forwards;
}

.hero.is-live .hero-panel--after .tagline {
    animation: heroFadeUp 0.55s var(--ease-out) 0.95s forwards;
}

.hero.is-live .hero-bubble {
    animation: heroBubbleIn 0.8s var(--ease-premium) 1.15s forwards;
}

.hero.is-live .hero-panel--after .v {
    animation: heroCheckPop 0.5s var(--ease-premium) 1.05s forwards;
}

.hero.is-live .hero-shot .bar i:nth-child(1) {
    animation: dotPop 0.35s var(--ease-out) 0.55s both;
}

.hero.is-live .hero-shot .bar i:nth-child(2) {
    animation: dotPop 0.35s var(--ease-out) 0.62s both;
}

.hero.is-live .hero-shot .bar i:nth-child(3) {
    animation: dotPop 0.35s var(--ease-out) 0.69s both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroLineIn {
    from {
        opacity: 0;
        transform: translateY(110%);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroBtnIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroShotIn {
    from {
        opacity: 0;
        transform: translateY(32px) scale(0.94);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

@keyframes heroBeforeIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroBubbleIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
        box-shadow: 0 0 0 rgba(217, 119, 78, 0);
    }

    to {
        opacity: 1;
        transform: none;
        box-shadow: 0 0 0 1px rgba(217, 119, 78, 0.12);
    }
}

@keyframes heroCheckPop {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    70% {
        transform: scale(1.12);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes accentShine {

    0%,
    100% {
        color: var(--coral);
        text-shadow: none;
    }

    50% {
        color: #e8946f;
        text-shadow: 0 0 1.8rem rgba(217, 119, 78, 0.35);
    }
}

@keyframes dotPop {
    from {
        opacity: 0;
        transform: scale(0.4);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

[data-shot] {
    position: relative;
}

[data-shot]:not(.hero-shot) {
    overflow: hidden;
    border-radius: 1.4rem;
}

[data-shot]:not(.hero-shot)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(closest-side, var(--glow), transparent 72%);
    filter: blur(28px);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s var(--ease-out) 0.4s;
}

[data-shot]:not(.hero-shot).in::before {
    opacity: 1;
}

[data-shot] .shot {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 4.3vw, 5.2rem);
    margin: 1.6rem 0 1.9rem;
    font-weight: 700;
}

.hero h1 .accent {
    color: var(--coral);
}

.hero .lead {
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.meta {
    font-family: var(--f-mono);
    font-size: 1.1rem;
    letter-spacing: 0.13em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 2rem;
    line-height: 1.65;
    white-space: normal;
    overflow-wrap: anywhere;
}

.tagline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-family: var(--f-mono);
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.tagline .x {
    color: #c9685e;
}

.tagline .v {
    color: var(--coral);
}

.ba {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

/* capability marquee */
.caps {
    border-block: 1px solid var(--line);
    padding-block: 1.8rem;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    isolation: isolate;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.caps-track {
    overflow: hidden;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: none;
}

.js-ready .caps.post-hero {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.65s var(--ease-out),
        transform 0.65s var(--ease-premium);
}

.hero-done .caps.post-hero {
    opacity: 1;
    transform: none;
}

.js-ready .caps.post-hero .row {
    animation-play-state: paused;
}

.hero-done .caps.post-hero .row {
    animation-play-state: running;
}

.caps .row {
    display: inline-flex;
    gap: 3rem;
    will-change: transform;
}

@media (min-width: 901px) {
    .caps .row {
        animation: marq 34s linear infinite;
    }
}

@keyframes marq {
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.caps:hover .row {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .caps .row {
        animation: none !important;
        transform: none !important;
    }
}

.caps .row span {
    font-family: var(--f-mono);
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    color: var(--cream-dim);
}

.caps .row b {
    color: var(--coral);
    opacity: 0.65;
    font-weight: 400;
}

/* feature rows */
.rows {
    padding-block: clamp(2.6rem, 4vw, 4.4rem);
    overflow-x: clip;
}

.row-f {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
    padding-block: clamp(3.6rem, 5vw, 5.8rem);
}

.hero-grid>*,
.row-f>* {
    min-width: 0;
    max-width: 100%;
}

.row-f:nth-child(even) .copy {
    order: 2;
}

.row-f h2 {
    font-size: clamp(2.6rem, 3.4vw, 4rem);
    margin: 1.6rem 0 1.4rem;
}

.row-f .lead {
    margin-bottom: 2.2rem;
}

.check {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.check li {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    font-size: 1.55rem;
}

.copy.in .check li {
    opacity: 0;
    animation: checkIn 0.55s var(--ease-out) forwards;
}

.copy.in .check li:nth-child(1) {
    animation-delay: 0.12s;
}

.copy.in .check li:nth-child(2) {
    animation-delay: 0.22s;
}

.copy.in .check li:nth-child(3) {
    animation-delay: 0.32s;
}

.check li svg {
    flex: none;
    width: 2rem;
    height: 2rem;
    margin-top: 0.4rem;
    stroke: var(--coral);
    fill: none;
    stroke-width: 2;
}

.shot-center {
    text-align: center;
    padding: 4.5rem 2.2rem;
}

.shot-icon {
    width: 5.4rem;
    height: 5.4rem;
    stroke: var(--coral);
    fill: none;
    stroke-width: 1.4;
    margin: 0 auto 1.4rem;
}

.shot-title {
    font-weight: 600;
    font-size: 1.85rem;
}

.shot-sub {
    color: var(--muted);
    font-weight: 400;
    font-size: 1.45rem;
}

/* steps */
.sec {
    padding-block: clamp(4.6rem, 6.5vw, 7.6rem);
    border-top: 1px solid var(--line);
    overflow-x: clip;
}

.sec-head {
    max-width: 62rem;
    margin-bottom: clamp(3.5rem, 5vw, 5rem);
}

.sec-head .kicker {
    margin-bottom: 1.6rem;
}

.sec-head h2 {
    font-size: clamp(2.8rem, 4vw, 4.6rem);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    counter-reset: s;
}

.step {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    padding: 2.6rem 2.3rem;
    transition: transform 0.35s var(--ease-premium), border-color 0.35s, box-shadow 0.35s;
}

.step:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 119, 78, 0.28);
    box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.22);
}

.js-ready [data-stagger] .step {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.65s var(--ease-out),
        transform 0.65s var(--ease-out);
}

.js-ready [data-stagger].in .step {
    opacity: 1;
    transform: none;
}

[data-stagger].in .step:nth-child(1) {
    transition-delay: 0s;
}

[data-stagger].in .step:nth-child(2) {
    transition-delay: 0.1s;
}

[data-stagger].in .step:nth-child(3) {
    transition-delay: 0.2s;
}

.js-ready [data-stagger] .faq-item {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.65s var(--ease-out),
        transform 0.65s var(--ease-out);
}

.js-ready [data-stagger].in .faq-item {
    opacity: 1;
    transform: none;
}

[data-stagger].in .faq-item:nth-child(1) {
    transition-delay: 0s;
}

[data-stagger].in .faq-item:nth-child(2) {
    transition-delay: 0.07s;
}

[data-stagger].in .faq-item:nth-child(3) {
    transition-delay: 0.14s;
}

[data-stagger].in .faq-item:nth-child(4) {
    transition-delay: 0.21s;
}

[data-stagger].in .faq-item:nth-child(5) {
    transition-delay: 0.28s;
}

[data-stagger].in .faq-item:nth-child(6) {
    transition-delay: 0.35s;
}

.step .n {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--f-mono);
    font-size: 1.2rem;
    color: var(--coral);
    margin-bottom: 1.4rem;
}

.step .n::before {
    counter-increment: s;
    content: counter(s, decimal);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--coral);
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.step h3 {
    font-size: 1.75rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.step p {
    color: var(--muted);
    font-size: 1.45rem;
    line-height: 1.75;
}

/* faq */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
}

.faq-grid>* {
    min-width: 0;
}

.faq-copy {
    position: sticky;
    top: 8rem;
}

.faq-copy h2 {
    font-size: clamp(2.6rem, 3.4vw, 4rem);
    margin: 1.6rem 0 1.4rem;
}

.faq-copy .lead {
    max-width: none;
    margin-bottom: 0;
}

.faq-contact {
    margin-top: 2.6rem;
    padding-top: 2.4rem;
    border-top: 1px solid var(--line);
}

.faq-contact h3 {
    font-size: clamp(2rem, 2.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--cream);
}

.faq-contact p {
    color: var(--cream-dim);
    font-size: 1.55rem;
    line-height: 1.85;
    margin: 0;
    overflow-wrap: anywhere;
}

.faq-contact a {
    color: var(--coral);
    transition: color 0.2s ease;
}

.faq-contact a:hover {
    color: #e1845b;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.faq-item {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    overflow: hidden;
    transition:
        border-color 0.35s var(--ease-out),
        box-shadow 0.35s var(--ease-out),
        transform 0.35s var(--ease-premium);
}

.faq-item[open] {
    border-color: rgba(217, 119, 78, 0.28);
    box-shadow: 0 1.4rem 3.6rem rgba(0, 0, 0, 0.2);
}

.faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 1.7rem 2rem;
    font-weight: 600;
    font-size: 1.55rem;
    line-height: 1.55;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    color: var(--cream-dim);
    transition: color 0.3s var(--ease-out);
    user-select: none;
}

.faq-item summary:hover {
    color: var(--cream);
}

.faq-item[open] summary {
    color: var(--cream);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-q {
    flex: 1;
    min-width: 0;
}

.faq-toggle {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    background: rgba(243, 238, 226, 0.03);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition:
        transform 0.45s var(--ease-premium),
        border-color 0.3s var(--ease-out),
        background 0.3s var(--ease-out);
}

.faq-toggle svg {
    width: 1.4rem;
    height: 1.4rem;
    stroke: var(--coral);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
    border-color: rgba(217, 119, 78, 0.35);
    background: rgba(217, 119, 78, 0.12);
}

.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease-premium);
}

.faq-item[open] .faq-body {
    grid-template-rows: 1fr;
}

.faq-body-inner {
    overflow: hidden;
}

.faq-body-inner p {
    padding: 0 2rem 1.7rem;
    color: var(--muted);
    font-size: 1.45rem;
    line-height: 1.85;
    margin: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 0.35s var(--ease-out) 0.06s,
        transform 0.4s var(--ease-premium) 0.06s;
}

.faq-item[open] .faq-body-inner p {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    .faq-body,
    .faq-body-inner p,
    .faq-toggle,
    .faq-item summary,
    .js-ready [data-stagger] .faq-item {
        transition: none;
    }

    .faq-item[open] .faq-body-inner p,
    .js-ready [data-stagger].in .faq-item {
        opacity: 1;
        transform: none;
    }
}

/* cta */
.cta {
    text-align: center;
    padding-block: clamp(5.6rem, 8vw, 9rem);
    border-top: 1px solid var(--line);
}

.cta h2 {
    font-size: clamp(3rem, 4.6vw, 5.6rem);
    margin-bottom: 1.8rem;
}

.cta .lead {
    margin: 0 auto 3rem;
}

.cta .kicker--center {
    justify-content: center;
    margin-bottom: 1.8rem;
}

.cta .meta {
    text-align: center;
    margin-top: 2.2rem;
}

/* footer */
footer {
    border-top: 1px solid var(--line);
    padding-block: 4.5rem 3.6rem;
    overflow-x: hidden;
}

.foot-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

}

.foot-top--start {
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.6rem;
}

.foot-links {
    display: flex;
    gap: 2.2rem;
    font-size: 1.45rem;
    color: var(--cream-dim);
}

.foot-links a:hover {
    color: var(--coral);
}

.lab {
    font-family: var(--f-mono);
    font-size: 1.15rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-align: center;
    width: 100%;
    margin-top: 2.6rem;

}

.lab b,
.lab a {
    color: var(--cream);
}

.lab a:hover {
    color: var(--coral);
}

.disclaimer {
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 44rem;
    margin: 0;
}

/* scroll reveal (CSS + IntersectionObserver — no GSAP) */
.js-ready [data-a],
.js-ready [data-shot]:not(.hero-shot) {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.75s var(--ease-out),
        transform 0.75s var(--ease-premium);
    will-change: transform, opacity;
}

.js-ready [data-a].in,
.js-ready [data-shot]:not(.hero-shot).in {
    opacity: 1;
    transform: none;
}

.js-ready .row-f--first [data-a] {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.75s var(--ease-out),
        transform 0.75s var(--ease-premium);
}

.js-ready:not(.hero-done) .row-f--first [data-a].in {
    opacity: 0;
    transform: translateY(20px);
}

.hero-done .row-f--first [data-a].in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    .kicker .dot,
    .preloader-logo,
    [data-shot].in .shot,
    .hero.is-live .hero-shot .shot {
        animation: none;
    }

    .hero-bg,
    .hero-bg::before,
    .hero-bg::after {
        opacity: 1;
        transition: none;
    }

    [data-shot]:not(.hero-shot)::before {
        opacity: 1;
        transition: none;
    }

    .hero-copy .kicker,
    .hero-copy .lead,
    .hero-copy .hero-cta,
    .hero-copy .meta,
    .hero-copy .hero-line,
    .hero-panel--before,
    .hero-panel--after .tagline,
    .hero-bubble,
    .hero-shot,
    .hero.is-live .hero-cta .btn {
        opacity: 1;
        transform: none;
        animation: none;
        filter: none;
    }

    body:not(.is-loading) nav {
        animation: none;
    }

    .preloader-bar span {
        width: 100%;
        animation: none;
    }

    .copy.in .check li {
        opacity: 1;
        animation: none;
    }

    .caps.post-hero,
    .row-f--first [data-a] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .caps.post-hero .row {
        animation-play-state: running;
    }

    .js-ready [data-stagger] .step {
        opacity: 1;
        transform: none;
    }

    .js-ready [data-stagger] .win-setup-step {
        opacity: 1;
        transform: none;
    }

    .js-ready [data-stagger] .faq-item {
        opacity: 1;
        transform: none;
    }

    .bubble-ic--copy.is-copied {
        animation: none;
    }

    [data-a],
    [data-shot] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .shot:hover,
    .step:hover,
    .btn-primary:hover {
        transform: none;
    }
}

.non-macos .btn-download::after {
    content: " (macOS)";
    font-weight: 400;
    font-size: 0.88em;
}

/* subpages */
.page-main {
    padding-block: clamp(5rem, 8vw, 8rem);
    min-height: calc(100vh - 20rem);
}

.prose {
    /* max-width: 68rem; */
}

.prose h1 {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    margin-bottom: 2.4rem;
}

.prose h2 {
    font-size: 2rem;
    font-weight: 600;
    /* margin: 3.4rem 0 1rem; */
    color: var(--cream);
}

.prose p,
.prose li {
    color: var(--cream-dim);
    font-size: 1.7rem;
    line-height: 1.85;
    margin-bottom: 1.6rem;
    overflow-wrap: anywhere;
}

.prose a:not(.btn) {
    color: var(--coral);
}

.prose a:not(.btn):hover {
    color: #e1845b;
}

.prose .btn-primary {
    color: #fff;
}

.prose .btn-primary:hover {
    color: #fff;
}

.prose .btn-ghost {
    color: var(--cream);
}

.meta-date {
    font-family: var(--f-mono);
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.error-code {
    font-family: var(--f-mono);
    font-size: 1.2rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.6rem;
}

.page-error-in {
    max-width: 52rem;
    margin-inline: auto;
    text-align: center;
}

.page-error-in h1 {
    margin-bottom: 1.6rem;
}

.page-error-in .lead {
    margin-bottom: 2.8rem;
}

.page-cta {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.foot-copy {
    margin-top: 1.6rem;
}

.foot-copy a {
    color: var(--muted);
}

.foot-copy a:hover {
    color: var(--coral);
}

/* windows setup guide */
.win-setup-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 4vw, 4.8rem);
}

.win-setup-hero__copy {
    flex: 1 1 0;
    min-width: min(100%, 44rem);
}

.win-setup-hero__copy .lead {
    margin-bottom: 0;
}

.win-setup-hero__dl {
    flex: 0 0 auto;
    width: min(100%, 32rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: clamp(1.8rem, 2.5vw, 2.4rem);
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    align-items: center;
}

.win-setup-hero__dl p {
    margin-bottom: 0;
}

.win-setup-hero__dl .meta {
    font-size: 1.35rem;
    opacity: 0.72;
    color: var(--cream-dim);
    max-width: 28rem;
    line-height: 1.7;
    margin-top: 0;
}

.win-setup {
    margin-top: clamp(3rem, 5vw, 4.8rem);
}

.win-setup-steps {
    display: flex;
    flex-direction: column;
    gap: clamp(1.6rem, 2.5vw, 2.4rem);
}

.win-setup-step {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    overflow: hidden;
    transition: border-color 0.35s, box-shadow 0.35s;
}

.win-setup-step:hover {
    border-color: rgba(217, 119, 78, 0.28);
    box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.22);
}

.win-setup-step--intro {
    padding: clamp(2rem, 3vw, 2.8rem) clamp(1.8rem, 3vw, 2.8rem);
}

.win-setup-step--visual {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.win-setup-copy {
    flex: 0 1 42%;
    min-width: 0;
    padding: clamp(2rem, 3vw, 2.8rem);
    display: flex;
    align-items: center;
}

.win-setup-head {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
}

.win-setup-num {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--coral);
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.win-setup-kicker {
    font-family: var(--f-mono);
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    color: var(--coral);
    margin-bottom: 0.8rem;
}

.win-setup-body h3 {
    font-size: clamp(1.75rem, 2.2vw, 2rem);
    margin-bottom: 0.9rem;
    font-weight: 600;
}

.win-setup-body p {
    color: var(--muted);
    font-size: clamp(1.35rem, 1.6vw, 1.45rem);
    line-height: 1.75;
}

.win-setup-body p+p {
    margin-top: 0.9rem;
}

.win-setup-callout {
    margin-top: 1.2rem !important;
    padding: 1rem 1.2rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(217, 119, 78, 0.35);
    background: rgba(217, 119, 78, 0.08);
    color: var(--cream) !important;
}

.win-setup-shot {
    flex: 1 1 58%;
    min-width: 0;
    margin: 0;
    padding: clamp(1rem, 2vw, 1.4rem) clamp(1.2rem, 2vw, 1.8rem);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 55%),
        rgba(0, 0, 0, 0.28);
    border-inline-start: 1px solid var(--line);
    display: flex;
    justify-content: center;
    align-items: center;
}

.win-setup-shot__btn {
    position: relative;
    display: block;
    width: auto;
    max-width: min(100%, 52rem);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: #0a1628;
    cursor: zoom-in;
    overflow: hidden;
    transition: transform 0.35s var(--ease-premium), border-color 0.35s, box-shadow 0.35s;
}

.win-setup-shot__btn:hover {
    transform: scale(1.01);
    border-color: rgba(217, 119, 78, 0.45);
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.35);
}

.win-setup-shot__btn:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 3px;
}

.win-setup-shot img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: clamp(34rem, 38vw, 42rem);
    height: auto;
    margin-inline: auto;
}

.win-setup-shot__hint {
    position: absolute;
    inset-inline-end: 1rem;
    inset-block-end: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(12, 10, 8, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--f-mono);
    font-size: 1.05rem;
    color: var(--cream-dim);
    pointer-events: none;
}

.win-setup-note {
    margin-top: 2.4rem;
    font-size: 1.35rem;
    opacity: 0.72;
    color: var(--cream-dim);
    max-width: 68rem;
}

.win-setup-lightbox {
    position: fixed;
    inset: 0;
    width: fit-content;
    height: fit-content;
    max-width: min(96vw, 90rem);
    max-height: 92vh;
    margin: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: var(--ink-2);
    color: var(--cream);
    overflow: auto;
    overscroll-behavior: contain;
}

.win-setup-lightbox[open] {
    display: flex;
    flex-direction: column;
}

.win-setup-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
}

.win-setup-lightbox__bar {
    display: flex;
    justify-content: flex-end;
    padding: 0.8rem 0.8rem 0;
    margin: 0;
    flex-shrink: 0;
}

.win-setup-lightbox__close {
    width: 3.2rem;
    height: 3.2rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--cream);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.win-setup-lightbox__close:hover {
    border-color: rgba(217, 119, 78, 0.45);
    color: var(--coral);
}

.win-setup-lightbox__img {
    display: block;
    width: auto;
    max-width: min(92vw, 86rem);
    max-height: calc(92vh - 5.6rem);
    height: auto;
    object-fit: contain;
    padding: 2rem;
    margin-inline: auto;
    border-radius: 1.2rem;
}

.js-ready [data-stagger] .win-setup-step {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.65s var(--ease-out),
        transform 0.65s var(--ease-out);
}

.js-ready [data-stagger].in .win-setup-step {
    opacity: 1;
    transform: none;
}

[data-stagger].in .win-setup-step:nth-child(1) {
    transition-delay: 0s;
}

[data-stagger].in .win-setup-step:nth-child(2) {
    transition-delay: 0.08s;
}

[data-stagger].in .win-setup-step:nth-child(3) {
    transition-delay: 0.16s;
}

/* releases */
.releases-prose h1 {
    margin-bottom: 1.2rem;
}

.releases-lead {
    max-width: 58rem;
    margin-bottom: 2.4rem;
}

.releases-latest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.6rem;
    padding: 1.4rem 1.8rem;
    margin-bottom: 3.2rem;
    border: 1px solid rgba(217, 119, 78, 0.35);
    border-radius: 1rem;
    background: rgba(217, 119, 78, 0.08);
}

.releases-badge {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--coral);
}

.releases-latest-ver {
    font-family: var(--f-mono);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 0.04em;
}

.releases-latest-meta {
    font-size: 1.35rem;
    color: var(--muted);
}

.releases-latest-dl {
    margin-inline-start: auto;
    flex-shrink: 0;
    font-size: 1.25rem;
    padding: 0.75rem 1.45rem;
}

.releases-latest-dl .tag {
    font-size: 0.95rem;
}

.releases-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.release-card {
    padding: 2.4rem 2.6rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
}

.release-card.is-latest {
    border-color: rgba(217, 119, 78, 0.28);
    background: rgba(217, 119, 78, 0.04);
}

.release-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.release-head-main {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.release-version {
    font-family: var(--f-mono);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--coral);
    margin: 0;
    letter-spacing: 0.02em;
}

.release-build {
    font-family: var(--f-mono);
    font-size: 1.15rem;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.release-date {
    font-family: var(--f-mono);
    font-size: 1.2rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.release-summary {
    font-size: 1.65rem;
    color: var(--cream-dim);
    line-height: 1.75;
    margin-bottom: 1.6rem;
}

.release-notes {
    margin: 0;
    padding: 0;
    list-style: none;
}

.release-notes li {
    font-size: 1.55rem;
    margin-bottom: 0;
}

@media (max-width: 1100px) {

    .faq-grid {
        grid-template-columns: 1fr;
        gap: clamp(2.4rem, 4vw, 3.6rem);
    }

    .faq-copy {
        position: static;
    }
}

@media (max-width: 900px) {

    .hero-grid,
    .row-f,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-block: clamp(2rem, 4vw, 2.8rem) clamp(3.6rem, 6vw, 5rem);
    }

    .hero-grid {
        gap: clamp(2.4rem, 5vw, 3.6rem);
    }

    .hero-bg {
        inset: 0;
    }

    .hero-bg::before {
        width: min(28rem, 92vw);
        height: min(24rem, 42vh);
        filter: blur(24px);
    }

    .hero-bg::after {
        width: min(18rem, 72vw);
        height: min(16rem, 28vh);
        filter: blur(28px);
    }

    .hero .lead {
        max-width: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-in {
        height: 6.4rem;
    }

    .nav-menu {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        padding-inline: 0;
        mask-image: linear-gradient(to left, transparent, black 12%);
        -webkit-mask-image: linear-gradient(to left, transparent, black 12%);
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 0.45rem 0.85rem;
    }

    nav.is-scrolled .nav-in {
        height: 5.8rem;
    }

    .nav-in .btn {
        font-size: 1.3rem;
        padding: 0.8rem 1.35rem;
    }

    .nav-in .btn-download .en {
        display: none;
    }

    .release-card {
        padding: 1.8rem 1.6rem;
    }

    .releases-latest-dl {
        width: 100%;
        margin-inline-start: 0;
        justify-content: center;
    }

    .release-version {
        font-size: 1.9rem;
    }

    .row-f:nth-child(even) .copy {
        order: 0;
    }

    .row-f {
        padding-block: clamp(2.8rem, 5vw, 4rem);
        gap: clamp(2rem, 4vw, 3rem);
    }

    .rows {
        padding-block: clamp(2rem, 4vw, 3rem);
    }

    .sec {
        padding-block: clamp(3.6rem, 6vw, 5.5rem);
    }

    .sec-head {
        max-width: none;
        margin-bottom: clamp(2.4rem, 4vw, 3.2rem);
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .win-setup-step--visual {
        flex-direction: column;
    }

    .win-setup-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .win-setup-hero__dl {
        width: 100%;
    }

    .win-setup-copy {
        flex: none;
    }

    .win-setup-shot {
        flex: none;
        border-inline-start: none;
        border-top: 1px solid var(--line);
    }

    .foot-top,
    .foot-top--start {
        flex-direction: column;
        align-items: flex-start;
    }

    .foot-top {
        gap: 1.6rem;
    }

    .foot-links {
        flex-wrap: wrap;
        gap: 1.2rem 1.8rem;
    }

    .disclaimer {
        max-width: none;
    }

    [data-shot]::before {
        display: none;
    }

    .caps {
        white-space: normal;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .caps .row {
        animation: none !important;
        transform: none !important;
        will-change: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem 1.4rem;
        width: 100%;
        max-width: 100%;
        white-space: normal;
    }

    .caps .row>*:nth-child(n + 17) {
        display: none;
    }

    .hero-shot {
        max-width: 100%;
    }

    .shot {
        max-width: 100%;
    }
}

@media (max-width: 640px) {

    html {
        font-size: 58%;
    }

    .nav-in {
        height: 6.2rem;
        gap: 1rem;
    }

    .nav-menu {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        padding-inline: 0;
        mask-image: linear-gradient(to left, transparent, black 12%);
        -webkit-mask-image: linear-gradient(to left, transparent, black 12%);
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 0.45rem 0.85rem;
    }

    nav.is-scrolled .nav-in {
        height: 5.6rem;
    }

    .brand {
        font-size: 1.4rem;
        min-width: 0;
    }

    .brand span {
        display: none;
    }

    .nav-in .btn {
        font-size: 1.25rem;
        padding: 0.75rem 1.2rem;
        gap: 0.5rem;
    }

    .nav-in .btn-download .en {
        display: none;
    }

    .kicker {
        font-size: 1.05rem;
        letter-spacing: 0.12em;
        gap: 0.7rem;
    }

    .lead {
        font-size: 1.65rem;
        line-height: 1.8;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 9vw, 3.4rem);
        margin: 1.2rem 0 1.4rem;
    }

    .hero .lead {
        margin-bottom: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta .btn-download .tag {
        display: none;
    }

    .meta {
        font-size: 0.95rem;
        letter-spacing: 0.08em;
        margin-top: 1.6rem;
    }

    .shot .body {
        padding: 1.4rem;
    }

    .shot .bar {
        padding: 0.9rem 1.2rem;
    }

    .bubble {
        padding: 1.3rem 1.4rem;
    }

    .bubble p {
        font-size: 1.45rem;
        line-height: 1.85;
    }

    .bubble-head {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .bubble-ic {
        width: 2.6rem;
        height: 2.6rem;
    }

    .broken {
        font-size: 1.35rem;
        line-height: 1.8;
    }

    .tagline {
        font-size: 0.95rem;
        gap: 0.8rem;
    }

    .caps {
        padding-block: 1.4rem;
    }

    .caps .row {
        gap: 2rem;
    }

    .caps .row span {
        font-size: 1.15rem;
    }

    .row-f h2,
    .faq-copy h2,
    .sec-head h2 {
        font-size: clamp(2.2rem, 7vw, 2.8rem);
        margin: 1.2rem 0 1rem;
    }

    .check li {
        font-size: 1.4rem;
        gap: 0.9rem;
    }

    .check li svg {
        width: 1.8rem;
        height: 1.8rem;
    }

    .step {
        padding: 2rem 1.8rem;
    }

    .step h3 {
        font-size: 1.6rem;
    }

    .step p {
        font-size: 1.35rem;
    }

    .faq-item summary {
        padding: 1.4rem 1.4rem;
        font-size: 1.4rem;
        gap: 1rem;
    }

    .faq-body-inner p {
        padding: 0 1.4rem 1.4rem;
        font-size: 1.35rem;
    }

    .faq-toggle {
        width: 2.6rem;
        height: 2.6rem;
    }

    .cta {
        padding-block: clamp(4rem, 8vw, 6rem);
    }

    .cta h2 {
        font-size: clamp(2.4rem, 8vw, 3.2rem);
    }

    .cta .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        font-size: 1.45rem;
        padding: 1.1rem 1.6rem;
    }

    .cta .lead {
        margin-bottom: 2.2rem;
    }

    footer {
        padding-block: 3.6rem 2.8rem;
    }

    .foot-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .foot-top--start {
        margin-bottom: 2rem;
    }

    .foot-links {
        flex-wrap: wrap;
        gap: 1.2rem 1.8rem;
        font-size: 1.35rem;
    }

    .lab {
        margin-top: 2rem;
        font-size: 1.05rem;
        letter-spacing: 0.12em;
    }

    .page-main {
        padding-block: clamp(3.6rem, 8vw, 5rem);
        min-height: auto;
    }

    .prose h1 {
        font-size: clamp(2.4rem, 8vw, 3.2rem);
        margin-bottom: 1.8rem;
    }

    .prose h2 {
        font-size: 1.75rem;
        margin: 2.4rem 0 0.8rem;
    }

    .prose p,
    .prose li {
        font-size: 1.55rem;
    }

    .error-code {
        font-size: 1.1rem;
        letter-spacing: 0.18em;
    }

    .page-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .page-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    html {
        font-size: 56%;
    }

    .nav-in .btn-download {
        font-size: 1.15rem;
        padding: 0.7rem 1rem;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 10vw, 3rem);
    }

    .btn .tag {
        font-size: 0.95rem;
    }

    .bubble-head .sp {
        display: none;
    }

    .bubble-head {
        row-gap: 0.4rem;
    }

    .caps .row span {
        font-size: 1.05rem;
    }
}

@media (max-width: 380px) {

    .nav-in .btn {
        font-size: 1.1rem;
        padding: 0.65rem 0.9rem;
    }

    .hero-cta .btn-ghost {
        font-size: 1.3rem;
    }
}

/* حاوية الشعار والنص */
.logo-container {
  display: flex;
  align-items: center;
  gap: 1.2rem; /* مسافة مريحة بين الأيقونة والنص */
  text-decoration: none;
}

/* تكبير وتوضيح شعار الـ PNG */
.nav-logo {
  height: 42px;       /* حجم مثالي ومناسب لشريط التنقل ليكون واضحاً دون مبالغة */
  width: auto;        /* الحفاظ على أبعاد الشعار الصحيحة دون تمطيط */
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 139, 229, 0.25)); /* إضافة توهج ناعم يبرز ألوان الشعار */
  transition: transform var(--motion, 0.3s) var(--ease-out);
}

/* تأثير تفاعلي خفيف عند مرور الماوس */
.logo-container:hover .nav-logo {
  transform: scale(1.05);
}

/* تنسيق النص المصاحب */
.logo-text {
  font-family: var(--f);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cream);
}
