/* FatalWare site - the launcher's look: monotone dark, thin glass, a slow shimmer of light, nothing loud. */
:root {
    --bg: #07070a;
    --text: #ececee;
    --soft: #b9bbc1;
    --dim: #8b8e97;
    --muted: #5d606a;
    --line: rgba(255, 255, 255, 0.08);
    --line2: rgba(255, 255, 255, 0.14);
    --glass: rgba(255, 255, 255, 0.032);
    --glass2: rgba(255, 255, 255, 0.06);
    --good: #8ff0b8;
    --bad: #ff8f9b;
    --radius: 18px;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
    min-height: 100vh;
    display: flex; flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.55 "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
main { flex: 1; animation: pagein .5s ease both; }
@keyframes pagein { from { opacity: 0; transform: translateY(8px); } }
a { color: inherit; text-decoration: none; }
.mono { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
::selection { background: rgba(255, 255, 255, 0.85); color: #0b0b0e; }

/* the backdrop: soft lights drifting, a faint grid fading out, a fine grain of stars */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(1px 1px at 14% 22%, #fff6, transparent),
        radial-gradient(1px 1px at 72% 18%, #fff5, transparent),
        radial-gradient(1px 1px at 38% 74%, #fff4, transparent),
        radial-gradient(1px 1px at 86% 64%, #fff5, transparent),
        radial-gradient(1px 1px at 58% 46%, #fff3, transparent),
        radial-gradient(1px 1px at 8% 82%, #fff4, transparent),
        radial-gradient(1px 1px at 92% 88%, #fff4, transparent);
}
.backdrop::after {
    content: ""; position: absolute; inset: -1px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 75%);
}
.light { position: absolute; border-radius: 50%; filter: blur(12px); animation: drift 30s ease-in-out infinite alternate; }
.light.a { width: 70vmax; height: 52vmax; left: -24vmax; top: -26vmax; background: radial-gradient(closest-side, rgba(185, 187, 193, 0.15), transparent); }
.light.b { width: 62vmax; height: 46vmax; right: -24vmax; top: 45vh; background: radial-gradient(closest-side, rgba(236, 236, 238, 0.07), transparent); animation-duration: 38s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.08); } }

/* the shimmer: a band of light passing slowly over text */
.shimmer {
    background: linear-gradient(100deg, #a9abb2 0%, #d9dade 38%, #ffffff 50%, #d9dade 62%, #a9abb2 100%);
    background-size: 260% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 7s linear infinite;
}
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.eyebrow { display: inline-block; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }

/* ------------------------------------------------------------------------------------------- nav */
.nav {
    position: sticky; top: 0; z-index: 20;
    backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
    background: rgba(7, 7, 10, 0.62);
    border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 26px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.4px; font-size: 17px; }
.brand img { width: 26px; height: 26px; }
.links { display: flex; gap: 4px; margin-left: 10px; }
.links a { position: relative; padding: 8px 12px; border-radius: 10px; color: var(--dim); font-size: 14px; font-weight: 550; transition: color .15s, background .15s; }
.links a:hover { color: var(--text); background: var(--glass); }
.links a.on { color: var(--text); }
.links a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--text); }
.nav .spacer { flex: 1; }
.burger { display: none; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line2); background: var(--glass); color: var(--text); font-size: 18px; cursor: pointer; }

/* ------------------------------------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 24px; border-radius: 13px;
    border: 1px solid var(--line2); background: var(--glass); color: var(--text);
    font: inherit; font-weight: 650; font-size: 14.5px; cursor: pointer; white-space: nowrap;
    transition: background .15s, border-color .15s, transform .15s, opacity .15s, box-shadow .2s;
}
.btn:hover { background: var(--glass2); border-color: rgba(255, 255, 255, 0.24); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--text); color: #0b0b0e; border-color: transparent; position: relative; overflow: hidden; box-shadow: 0 8px 30px rgba(255, 255, 255, 0.08); }
.btn.primary:hover { background: #ffffff; box-shadow: 0 10px 40px rgba(255, 255, 255, 0.16); }
.btn.primary::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%);
    transform: translateX(-120%); animation: sweep 5s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn.small { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 11px; }
.btn.lang { min-width: 46px; padding: 0 12px; font-weight: 750; letter-spacing: 0.6px; }
.btn.big { height: 54px; padding: 0 30px; font-size: 16px; border-radius: 15px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ------------------------------------------------------------------------------------------- hero (home) */
.hero { padding: 90px 0 60px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px;
    border-radius: 999px; border: 1px solid var(--line2); background: var(--glass);
    color: var(--soft); font-size: 12.5px; font-weight: 650; letter-spacing: 0.4px;
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.hero h1 { margin: 22px 0 0; font-size: clamp(54px, 8.4vw, 100px); line-height: 0.95; font-weight: 900; letter-spacing: -2.5px; }
.hero .lead { margin: 22px 0 0; max-width: 520px; color: var(--dim); font-size: 17.5px; }
.hero .actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; color: var(--muted); font-size: 13px; }

/*
 * The client's real menu (MenuRenderer, flat, theme "Cosmic Dust"), laid out at its own size - 1080 x 640 - and
 * scaled to fit: the sidebar with the brand, search, tabs in groups and the profile, the header's two cards, the
 * function cards in two columns with their diamonds, bind and switch.
 */
.mock {
    position: relative; width: 100%; aspect-ratio: 1080 / 640;
    transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
    animation: float 9s ease-in-out infinite;
}
.mock:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
@keyframes float { 50% { translate: 0 -10px; } }
.fwm {
    --acc: #f4f4fa; --acc2: #8c93a8; --on-acc: #0b0b10;
    position: absolute; left: 0; top: 0; width: 1080px; height: 640px; transform-origin: 0 0;
    border-radius: 16px; background: rgba(12, 12, 15, 0.97); overflow: hidden;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: #f5f5fa; line-height: 1;
    box-shadow: 0 14px 52px rgba(0, 0, 0, 0.75), 0 0 140px rgba(244, 244, 250, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
/* a faint sheen from the top and a thin gradient rim, as on the glass window */
.fwm::before { content: ""; position: absolute; left: 16px; right: 16px; top: 1px; height: 110px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent); pointer-events: none; }
.fwm::after {
    content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 1.2px; pointer-events: none;
    background: linear-gradient(135deg, rgba(244, 244, 250, 0.45), rgba(140, 147, 168, 0.12) 45%, rgba(244, 244, 250, 0.3));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.fwm svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }
.fwm-side { position: absolute; left: 0; top: 0; width: 270px; bottom: 0; }
.fwm-split { position: absolute; left: 270px; top: 18px; bottom: 18px; width: 1px; background: rgba(255, 255, 255, 0.06); }
.fwm-brand { position: absolute; left: 20px; top: 25px; display: flex; align-items: center; gap: 12px; }
.fwm-brand img { width: 34px; height: 34px; filter: brightness(0) invert(0.96); }
.fwm-brand b { display: block; font-size: 19px; font-weight: 700; color: #f5f5fa; }
.fwm-brand small { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 600; color: #7c7c84; letter-spacing: 0.2px; }
.fwm-search {
    position: absolute; left: 18px; right: 18px; top: 82px; height: 38px; border-radius: 9px;
    background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    display: flex; align-items: center; color: #949aad; font-size: 15px;
}
.fwm-search i { width: 14px; height: 14px; margin: 0 10px 0 13px; color: #949aad; }
.fwm-search span { color: #5d6275; }
.fwm-group { position: absolute; left: 24px; right: 18px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #7a7a82; letter-spacing: 0.4px; transform: translateY(-50%); }
.fwm-group::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.07); }
.fwm-hl { position: absolute; left: 18px; right: 18px; border-radius: 9px; background: var(--acc); transition: top .45s cubic-bezier(.2, .8, .2, 1); }
.fwm-tab { position: absolute; left: 18px; right: 18px; display: flex; align-items: center; color: #7a7a82; font-size: 15px; font-weight: 600; transition: color .35s; }
.fwm-tab i { width: 14px; height: 14px; margin: 0 13px 0 11px; flex: none; }
.fwm-tab.on { color: var(--on-acc); }
.fwm-foot { position: absolute; left: 18px; right: 18px; top: 564px; height: 1px; background: rgba(255, 255, 255, 0.06); }
.fwm-prof { position: absolute; left: 18px; right: 18px; top: 574px; height: 52px; display: flex; align-items: center; gap: 12px; }
.fwm-ava { width: 38px; height: 38px; border-radius: 9px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #3a3b45, #1b1c22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 16px; font-weight: 700; }
.fwm-prof b { font-size: 15px; font-weight: 600; }
.fwm-prof b em { font-style: normal; color: var(--acc); }
.fwm-prof small { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 600; color: #7c7c84; }
.fwm-globe { margin-left: auto; width: 22px; height: 22px; color: #7a7a82; }
.fwm-card { position: absolute; border-radius: 10px; background: rgba(255, 255, 255, 0.028); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045); }
.fwm-head { top: 18px; height: 60px; display: flex; align-items: center; }
.fwm-head > i { width: 18px; height: 18px; margin: 0 16px 0 19px; color: var(--acc); flex: none; }
.fwm-head b { display: block; font-size: 15px; font-weight: 600; }
.fwm-head small { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #7c7c84; white-space: nowrap; }
.fwm-gridico { display: grid; grid-template-columns: 5.4px 5.4px; gap: 2.1px; margin: 0 22px 0 21px; }
.fwm-gridico span { width: 5.4px; height: 5.4px; border-radius: 1.5px; background: var(--acc); }
.fwm-body { position: absolute; left: 292px; right: 22px; top: 94px; bottom: 18px; overflow: hidden; }
.fwm-cards { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.fwm-cards.out { opacity: 0; transform: translateX(26px); }
.fwm-mod { position: relative; height: 64px; display: flex; align-items: center; border-radius: 10px; background: rgba(255, 255, 255, 0.028); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045); transition: background .3s, box-shadow .3s; }
.fwm-mod:hover { background: rgba(255, 255, 255, 0.046); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.fwm-dia { position: relative; width: 20px; height: 20px; margin: 0 14px 0 18px; flex: none; color: #484853; transition: color .35s; }
.fwm-dia i { position: absolute; width: 5.3px; height: 5.3px; background: currentColor; transform: rotate(45deg); }
.fwm-dia i:nth-child(1) { left: 7.4px; top: 2.3px; }
.fwm-dia i:nth-child(2) { left: 2.3px; top: 7.4px; }
.fwm-dia i:nth-child(3) { left: 12.4px; top: 7.4px; }
.fwm-dia i:nth-child(4) { left: 7.4px; top: 12.4px; }
.fwm-txt { flex: 1; min-width: 0; }
.fwm-txt b { display: block; font-size: 19px; font-weight: 700; color: #8b8b93; transition: color .35s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fwm-txt small { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 600; color: #5c5c64; transition: color .35s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fwm-bind { margin: 0 10px 0 10px; font-size: 15px; font-weight: 600; color: #a6a6ae; flex: none; }
.fwm-tgl { position: relative; width: 36px; height: 20px; margin-right: 16px; border-radius: 10px; background: #2a2a30; flex: none; transition: background .35s; }
.fwm-tgl::after { content: ""; position: absolute; left: 3.5px; top: 3.5px; width: 13px; height: 13px; border-radius: 50%; background: #8a8a92; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .35s; }
.fwm-mod.on .fwm-dia { color: var(--acc); }
.fwm-mod.on .fwm-txt b { color: #fff; }
.fwm-mod.on .fwm-txt small { color: #7c7c84; }
.fwm-mod.on .fwm-tgl { background: var(--acc); }
.fwm-mod.on .fwm-tgl::after { transform: translateX(16px); background: #fff; }

/* the functions passing by */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); padding: 16px 0; margin: 30px 0 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--soft); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------------------------------- sections */
section.block { padding: 80px 0; }
.page-head { padding: 80px 0 20px; text-align: center; }
.page-head h1 { margin: 12px 0 0; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; font-weight: 900; letter-spacing: -1.6px; }
.page-head p { margin: 16px auto 0; max-width: 620px; color: var(--dim); font-size: 16.5px; }
.head { text-align: center; margin-bottom: 40px; }
.head h2 { margin: 10px 0 0; font-size: clamp(30px, 4.4vw, 44px); font-weight: 850; letter-spacing: -1px; }
.head p { margin: 12px auto 0; max-width: 580px; color: var(--dim); }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
    position: relative; padding: 26px; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); background: var(--glass);
    transition: border-color .25s, background .25s, transform .25s;
}
/* a soft light following the mouse over the card */
.card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.07), transparent 45%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--line2); transform: translateY(-3px); }
.card .icon {
    width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); margin-bottom: 18px;
}
.card .icon svg { width: 21px; height: 21px; stroke: var(--text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.2px; }
.card p { margin: 0; color: var(--dim); font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.chips span { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--soft); font-size: 12.5px; font-weight: 600; }
.chips span.ware::after { content: " ●"; color: var(--muted); font-size: 9px; vertical-align: 1px; }

/* the big feature rows of the home page */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 50px 0; }
.spot.flip .spot-text { order: 2; }
.spot-text h3 { margin: 10px 0 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; font-weight: 850; letter-spacing: -0.8px; }
.spot-text p { margin: 14px 0 0; color: var(--dim); font-size: 16px; }
.spot-text .chips { margin-top: 20px; }
.spot-art { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; border: 1px solid var(--line2); overflow: hidden; background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01) 70%); }
/* screenshots from the game and the launcher: a slow zoom on hover; .fade takes turns between its pictures */
.spot-art.shot { box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55); }
.spot-art.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), opacity 1.2s ease; }
.spot-art.shot:hover img { transform: scale(1.04); }
.spot-art.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 -80px 80px -40px rgba(7, 7, 10, 0.55); }
.spot-art.fade img:nth-child(2) { animation: shotFade 12s ease-in-out infinite; }
@keyframes shotFade { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
/* the launcher as a window of its own size, in the middle of the frame */
.spot-art.shot.window { display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01) 70%); }
.spot-art.shot.window img { position: relative; inset: auto; width: 90%; height: auto; object-fit: fill; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.65); }
.spot-art.shot.window::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.art-rings span { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); transform: translate(-50%, -50%); animation: ring 4s ease-out infinite; }
.art-rings span:nth-child(2) { animation-delay: 1.3s; }
.art-rings span:nth-child(3) { animation-delay: 2.6s; }
@keyframes ring { from { width: 10%; height: 13%; opacity: 1; } to { width: 90%; height: 120%; opacity: 0; } }
.art-core { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg); border-radius: 18%; border: 1px solid rgba(255, 255, 255, 0.35); background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03)); box-shadow: 0 0 60px rgba(255, 255, 255, 0.12); }
.art-blocks { position: absolute; inset: 14%; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.art-blocks i { border-radius: 4px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06); animation: dig 6s ease-in-out infinite; }
@keyframes dig { 0%, 100% { background: rgba(255, 255, 255, 0.05); } 50% { background: rgba(255, 255, 255, 0.16); } }
.art-window { position: absolute; inset: 14% 12%; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(10, 10, 13, 0.85); padding: 16px; display: grid; align-content: start; gap: 10px; }
.art-window .bar { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.art-window .bar.w60 { width: 60%; } .art-window .bar.w80 { width: 80%; } .art-window .bar.w40 { width: 40%; }
.art-window .play { margin-top: 8px; height: 38px; width: 46%; border-radius: 10px; background: var(--text); position: relative; overflow: hidden; }
.art-window .play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%); animation: sweep 3.5s ease-in-out infinite; transform: translateX(-120%); }
.art-window .prog { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.art-window .prog i { display: block; height: 100%; width: 40%; background: var(--soft); animation: load 3s ease-in-out infinite; }
@keyframes load { from { width: 5%; } to { width: 95%; } }

.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.counter { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); text-align: center; }
.counter b { display: block; font-size: 34px; font-weight: 900; letter-spacing: -1px; }
.counter span { color: var(--dim); font-size: 13px; }

.cta {
    position: relative; overflow: hidden; text-align: center; padding: 60px 30px; border-radius: 26px;
    border: 1px solid var(--line2); background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.015) 65%);
}
.cta h2 { margin: 0; font-size: clamp(30px, 4.6vw, 48px); font-weight: 900; letter-spacing: -1.2px; }
.cta p { margin: 12px auto 26px; max-width: 520px; color: var(--dim); }
.cta .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.mt40 { margin-top: 40px; }

/* the guide: the steps one under another, the number on the left */
.guide { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.guide-step { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.guide-step b.n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)); font-size: 17px; font-weight: 800; }
.guide-step h3 { margin: 6px 0 10px; }
.guide-step p + p { margin-top: 8px; }
.guide-step .chips { margin-top: 14px; }

/* ------------------------------------------------------------------------------------------- compare */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { color: var(--soft); font-size: 13px; font-weight: 700; letter-spacing: 0.4px; background: rgba(255, 255, 255, 0.03); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 160px; }
.yes { color: var(--good); font-weight: 800; }
.no { color: var(--muted); }

/* ------------------------------------------------------------------------------------------- pricing */
.switch {
    display: flex; width: max-content; margin: 0 auto 14px; padding: 5px; gap: 4px;
    border-radius: 15px; border: 1px solid var(--line); background: var(--glass);
}
.switch button {
    height: 42px; padding: 0 24px; border-radius: 11px; border: 0; background: transparent;
    color: var(--dim); font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, color .2s;
}
.switch button.on { background: var(--text); color: #0b0b0e; }
.product-note { text-align: center; color: var(--dim); font-size: 14.5px; margin: 0 auto 30px; max-width: 620px; min-height: 22px; }
.plans { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.plan { display: flex; flex-direction: column; gap: 4px; padding: 26px; }
.plan .term { color: var(--soft); font-weight: 700; font-size: 15px; }
.plan .price { font-size: 40px; font-weight: 900; letter-spacing: -1.2px; margin-top: 10px; }
.plan .price small { font-size: 17px; font-weight: 700; color: var(--dim); margin-left: 4px; }
.plan .usd { color: var(--dim); font-size: 13.5px; }
.plan .per { color: var(--muted); font-size: 12.5px; margin-top: 2px; min-height: 18px; }
.plan .btn { margin-top: 20px; }
.plan.best { border-color: rgba(255, 255, 255, 0.24); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); }
.plan .tag { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; background: var(--text); color: #0b0b0e; font-size: 11.5px; font-weight: 800; }
.plan.out { opacity: 0.55; }
.pay-note { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; color: var(--muted); font-size: 13px; }
.pay-note b { color: var(--soft); font-weight: 600; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps3 .card b.n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); font-size: 14px; margin-bottom: 14px; }

/* ------------------------------------------------------------------------------------------- faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 15px; background: var(--glass); padding: 0 22px; transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line2); background: var(--glass2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-size: 22px; font-weight: 300; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--dim); }

/* ------------------------------------------------------------------------------------------- text pages */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin: 36px 0 10px; font-size: 22px; letter-spacing: -0.3px; }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.lookup { display: flex; gap: 10px; max-width: 520px; margin: 18px auto 0; }
.lookup input { flex: 1; }

/* ------------------------------------------------------------------------------------------- footer */
footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 46px 0 40px; color: var(--muted); font-size: 13.5px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot h4 { margin: 0 0 12px; color: var(--soft); font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; }
.foot a { display: block; color: var(--dim); margin: 7px 0; transition: color .15s; }
.foot a:hover { color: var(--text); }
.foot p { margin: 12px 0 0; max-width: 300px; }
.copy { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ------------------------------------------------------------------------------------------- checkout */
.modal {
    position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px;
    background: rgba(4, 4, 6, 0.66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.sheet {
    width: min(470px, 100%); padding: 30px; border-radius: 22px;
    border: 1px solid var(--line2); background: rgba(16, 16, 20, 0.94);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
    transform: translateY(12px) scale(0.98); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.modal.open .sheet { transform: none; }
.sheet h3 { margin: 0; font-size: 22px; }
.sheet .sub { color: var(--dim); font-size: 14px; margin: 4px 0 20px; }
.row { display: flex; gap: 8px; }
.row input { flex: 1; }
label.field { display: block; margin-top: 14px; }
label.field > span { display: block; color: var(--dim); font-size: 12.5px; font-weight: 600; margin-bottom: 7px; }
input.text {
    width: 100%; height: 46px; padding: 0 14px; border-radius: 12px;
    border: 1px solid var(--line2); background: rgba(0, 0, 0, 0.35); color: var(--text);
    font: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
input.text:focus { border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05); }
input.text.upper { text-transform: uppercase; letter-spacing: 1px; }
.hint { min-height: 18px; margin-top: 7px; font-size: 12.5px; color: var(--dim); }
.hint.good { color: var(--good); }
.hint.bad { color: var(--bad); }
.total { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.total span { color: var(--dim); }
.total b { font-size: 30px; font-weight: 900; letter-spacing: -0.6px; }
.total s { color: var(--muted); font-size: 15px; margin-right: 8px; font-weight: 600; }
.fine { color: var(--muted); font-size: 12.5px; margin-top: 12px; text-align: center; }
.close { float: right; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--dim); font-size: 18px; cursor: pointer; }
.close:hover { color: var(--text); border-color: var(--line2); }

/* ------------------------------------------------------------------------------------------- order page */
.order { display: grid; place-items: center; padding: 60px 20px; }
.order .sheet { transform: none; width: min(540px, 100%); text-align: center; }
.state { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; border: 1px solid var(--line2); background: var(--glass2); }
.state svg { width: 28px; height: 28px; stroke: var(--text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.state.good { border-color: rgba(143, 240, 184, 0.4); box-shadow: 0 0 40px rgba(143, 240, 184, 0.12); }
.state.good svg { stroke: var(--good); }
.state.wait { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.04); } }
.keybox {
    display: flex; align-items: center; gap: 10px; margin: 22px 0 8px; padding: 14px 16px;
    border-radius: 14px; border: 1px solid var(--line2); background: rgba(0, 0, 0, 0.35);
}
.keybox code { flex: 1; font-size: 18px; letter-spacing: 1.5px; text-align: left; user-select: all; }
.steps { text-align: left; margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: s; }
.steps li { position: relative; padding-left: 38px; color: var(--soft); font-size: 14px; }
.steps li::before {
    counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px;
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--line2); color: var(--text); font-size: 12px; font-weight: 800;
}
.meta { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; margin: 18px 0 0; text-align: left; font-size: 14px; }
.meta span { color: var(--dim); }
.meta b { font-weight: 650; text-align: right; }
.actions-col { display: grid; gap: 10px; margin-top: 22px; }

.toast {
    position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 60;
    padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(20, 20, 24, 0.95);
    color: var(--text); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
    .hero .wrap, .spot { grid-template-columns: 1fr; }
    .spot.flip .spot-text { order: 0; }
    .mock { transform: none; }
    .grid, .plans, .steps3 { grid-template-columns: repeat(2, 1fr); }
    .counters { grid-template-columns: repeat(2, 1fr); }
    .foot { grid-template-columns: 1fr 1fr; }
    .links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; padding: 10px 20px 16px; background: rgba(7, 7, 10, 0.96); border-bottom: 1px solid var(--line); margin: 0; }
    .links.open { display: flex; }
    .burger { display: block; }
}
@media (max-width: 600px) {
    .grid, .grid.two, .plans, .steps3 { grid-template-columns: 1fr; }
    .hero { padding-top: 60px; }
    .nav .tg { display: none; }
    .compare td:not(:first-child), .compare th:not(:first-child) { width: 90px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
