/* Home di aelyna.com — direzione "prodotto in scena": ogni prodotto mostrato con la sua interfaccia. */
:root {
    --ink: #07060f;
    --ink-2: #0d0b1c;
    --text: #f4f2fb;
    --muted: #9c98b3;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);
    --brand: #a78bfa;

    /* Colori dei prodotti: AelynaKeys riprende la palette della sua app. */
    --keys: #7fe0c4;
    --keys-ink: #0e1116;
    --keys-panel: #151a21;
    --keys-line: #283039;
    --keys-text: #eceef1;
    --keys-muted: #a3acb8;
    --keys-amber: #f2b45a;
    --cp: #67e8f9;
    --bot: #a78bfa;

    --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --text-hero: clamp(2.8rem, 1.2rem + 6vw, 6.4rem);
    --text-h2: clamp(2rem, 1.2rem + 3vw, 3.6rem);
    --gutter: clamp(1.25rem, .6rem + 2.5vw, 3rem);
    --section: clamp(5rem, 3rem + 8vw, 11rem);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
    min-height: 100vh;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--keys); outline-offset: 4px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ══ HEADER ══ */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); background: rgba(7, 6, 15, .55); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
/* Logo: simbolo orbitale + scritta leggibile. */
/* Logo Aelyna, proposta A5 "Vertice maiuscolo raffinato": A a vertice disegnata + ELYNA in Outfit. */
.logo { display: inline-flex; align-items: baseline; font-family: 'Outfit', var(--font-sans); font-weight: 600; font-size: 1.5rem; letter-spacing: .07em; line-height: 1; color: var(--text); }
.logo-a { height: .7em; width: auto; margin-right: .07em; flex: none; overflow: visible; }
.logo sup { font-family: var(--font-sans); font-weight: 400; font-size: .32em; letter-spacing: 0; margin-left: .3em; color: var(--muted); align-self: flex-start; }
.logo-sm { font-size: 1.2rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); font-size: .92rem; }
.site-nav a { color: var(--muted); transition: color .2s ease; }
.site-nav a:hover { color: var(--text); }
.site-nav .nav-cta { color: var(--keys-ink); background: var(--keys); padding: .5rem 1rem; border-radius: 999px; font-weight: 500; transition: transform .3s var(--ease-out), background-color .2s ease; }
.site-nav .nav-cta:hover { color: var(--keys-ink); background: #a6ecd8; transform: translateY(-1px); }

/* Pulsante menu (solo telefono): tre linee che diventano una X. */
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border: none; background: none; color: var(--text); cursor: pointer; border-radius: 10px; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 12px; width: 20px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out), opacity .2s ease, top .35s var(--ease-out); }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* ══ HERO ══ */
.hero { position: relative; padding-top: clamp(4rem, 3rem + 5vw, 8rem); text-align: center; isolation: isolate; }
.hero-glow { position: absolute; inset: -10% 0 auto; height: 900px; z-index: -1; pointer-events: none;
    background:
        radial-gradient(40% 38% at 50% 55%, rgba(127, 224, 196, .22), transparent 70%),
        radial-gradient(45% 40% at 30% 30%, rgba(167, 139, 250, .2), transparent 70%),
        radial-gradient(40% 35% at 75% 25%, rgba(103, 232, 249, .12), transparent 70%); }
.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem .4rem .45rem; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); font-size: .85rem; color: var(--muted); transition: border-color .2s ease, color .2s ease; }
.pill:hover { border-color: var(--keys); color: var(--text); }
.pill b { font-family: var(--font-mono); font-weight: 500; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--keys-ink); background: var(--keys); padding: .2rem .55rem; border-radius: 999px; }
.hero h1 { font-size: var(--text-hero); line-height: .95; letter-spacing: -.045em; font-weight: 600; margin: 1.6rem auto 0; max-width: 13ch; }
.hero h1 .soft { background: linear-gradient(180deg, #fff 20%, rgba(255, 255, 255, .45)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin: 1.5rem auto 0; max-width: 36rem; font-size: 1.15em; color: var(--muted); }
.hero-actions { margin-top: 2.2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.4rem; border-radius: 999px; font-weight: 500; transition: transform .4s var(--ease-out), background-color .2s ease, border-color .2s ease; }
.btn-primary { background: var(--text); color: var(--ink); }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* La finestra dell'app parte inclinata e si raddrizza scorrendo (--tilt aggiornato da home.js). */
.stage { --tilt: 1; margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); perspective: 1600px; padding-bottom: var(--section); }
.app {
    position: relative;
    max-width: 1080px;
    margin-inline: auto;
    text-align: left;
    border-radius: 18px;
    border: 1px solid var(--keys-line);
    background: var(--keys-ink);
    color: var(--keys-text);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 50px 120px -30px rgba(127, 224, 196, .35), 0 30px 80px -20px rgba(0, 0, 0, .8);
    transform: rotateX(calc(var(--tilt) * 14deg)) scale(calc(1 - var(--tilt) * .06));
    transform-origin: 50% 0;
    will-change: transform;
    overflow: hidden;
}
.app-bar { display: flex; align-items: center; gap: .5rem; height: 42px; padding-inline: 1rem; border-bottom: 1px solid var(--keys-line); background: #10141a; }
.app-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #2a313b; }
.app-bar .title { margin-inline: auto; font-size: .78rem; color: var(--keys-muted); display: inline-flex; align-items: center; gap: .45rem; }
.app-body { display: grid; grid-template-columns: 210px 300px 1fr; min-height: 470px; font-size: .86rem; }

.app-side { padding: 1rem .8rem; border-right: 1px solid var(--keys-line); background: #0b0e13; display: flex; flex-direction: column; gap: .2rem; }
.app-brand { display: flex; align-items: center; gap: .5rem; padding: .2rem .5rem 1rem; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.app-brand sup { font-size: .5em; color: var(--keys-muted); }
.side-item { display: flex; align-items: center; justify-content: space-between; padding: .45rem .6rem; border-radius: 8px; color: var(--keys-muted); }
.side-item.active { background: rgba(127, 224, 196, .1); color: var(--keys-text); }
.side-item span:last-child { font-family: var(--font-mono); font-size: .72rem; }
.side-label { margin: .9rem .6rem .3rem; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; color: #5f6873; }
.side-health { margin-top: auto; padding: .7rem; border-radius: 10px; border: 1px solid rgba(242, 180, 90, .3); background: rgba(242, 180, 90, .06); font-size: .76rem; color: var(--keys-muted); }
.side-health strong { display: block; color: var(--keys-amber); font-weight: 500; }

.app-list { border-right: 1px solid var(--keys-line); }
.list-search { margin: .9rem; display: flex; align-items: center; justify-content: space-between; padding: .5rem .75rem; border-radius: 9px; border: 1px solid var(--keys-line); background: var(--keys-panel); color: #6b7480; font-size: .8rem; }
.list-search kbd { font-family: var(--font-mono); font-size: .66rem; padding: .1rem .35rem; border-radius: 5px; border: 1px solid var(--keys-line); }
.entry { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: .7rem; padding: .62rem .9rem; border-left: 2px solid transparent; }
.entry.active { background: rgba(127, 224, 196, .07); border-left-color: var(--keys); }
.fav { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; font-size: .78rem; background: #1b222b; color: var(--keys-text); }
.entry strong { display: block; font-weight: 500; color: var(--keys-text); }
.entry small { display: block; font-size: .74rem; color: var(--keys-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-weak { font-family: var(--font-mono); font-size: .62rem; padding: .12rem .4rem; border-radius: 5px; color: var(--keys-amber); border: 1px solid rgba(242, 180, 90, .4); }

.app-detail { padding: 1.4rem 1.6rem; position: relative; }
.detail-head { display: flex; align-items: center; gap: .9rem; }
.detail-head .fav { width: 46px; height: 46px; font-size: 1.05rem; border-radius: 12px; }
.detail-head h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.detail-head p { font-size: .76rem; color: var(--keys-muted); }
.detail-head .edit { margin-left: auto; font-size: .78rem; padding: .4rem .8rem; border-radius: 8px; border: 1px solid var(--keys-line); color: var(--keys-muted); }
.field { margin-top: 1rem; padding: .8rem 1rem; border-radius: 11px; background: var(--keys-panel); border: 1px solid var(--keys-line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem 1rem; }
.field label { grid-column: 1 / -1; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #6b7480; }
.field .val { font-family: var(--font-mono); font-size: .88rem; color: var(--keys-text); }
.field .val.masked { letter-spacing: .2em; }
.field .copy { font-size: .74rem; color: var(--keys); }
.field .meta { grid-column: 1 / -1; font-size: .72rem; color: var(--keys); }
.otp { font-size: 1.15rem !important; letter-spacing: .14em; }
.otp-ring { width: 22px; height: 22px; }
.otp-ring circle { fill: none; stroke-width: 3; }

.toast { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; border-radius: 12px; background: #1c232c; border: 1px solid var(--keys-line); box-shadow: 0 14px 40px rgba(0, 0, 0, .5); font-size: .8rem; color: var(--keys-text); white-space: nowrap; }
.toast .ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 224, 196, .15); color: var(--keys); }
.toast b { font-family: var(--font-mono); color: var(--keys); font-weight: 500; }
.toast .clear { color: var(--keys); border-left: 1px solid var(--keys-line); padding-left: .8rem; }

.trust { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 2.2rem; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: .5rem; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--keys); box-shadow: 0 0 10px var(--keys); }

/* ══ SEZIONI PRODOTTO ══ */
.product { padding-block: var(--section); border-top: 1px solid var(--line); position: relative; isolation: isolate; }
.product .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.product.flip .copy { order: 2; }
.product-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.product-cp .product-glow { background: radial-gradient(40% 50% at 80% 50%, rgba(103, 232, 249, .1), transparent 70%); }
.product-bot .product-glow { background: radial-gradient(40% 50% at 20% 50%, rgba(167, 139, 250, .13), transparent 70%); }

.copy .eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--accent); }
.copy .status { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; padding: .2rem .55rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.copy h2 { font-size: var(--text-h2); line-height: 1; letter-spacing: -.035em; font-weight: 600; margin-top: 1.1rem; }
.copy h2 span { color: var(--accent); }
.copy > p { margin-top: 1.3rem; color: var(--muted); font-size: 1.08em; max-width: 30rem; }
.points { list-style: none; margin-top: 1.8rem; display: grid; gap: .9rem; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; }
.points li i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-family: var(--font-mono); font-size: .7rem; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.points strong { display: block; font-weight: 500; }
.points span { font-size: .92em; color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem; color: var(--accent); font-weight: 500; }
.link .arrow { transition: transform .4s var(--ease-out); }
.link:hover .arrow { transform: translateX(4px); }

.product-cp { --accent: var(--cp); }
.product-bot { --accent: var(--bot); }

/* Mockup generico di finestra */
.mock { border-radius: 16px; border: 1px solid var(--line-strong); background: #0b0a17; box-shadow: 0 40px 100px -40px color-mix(in srgb, var(--accent) 50%, transparent), 0 20px 60px -20px rgba(0, 0, 0, .7); overflow: hidden; font-size: .84rem; }
.mock-bar { display: flex; align-items: center; gap: .5rem; height: 38px; padding-inline: .9rem; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.mock-bar .url { margin-inline: auto; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); padding: .2rem .8rem; border-radius: 6px; background: rgba(255, 255, 255, .04); }

/* AelynaCP: pannello */
.cp-body { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
.cp-nav { padding: 1rem .7rem; border-right: 1px solid var(--line); display: grid; align-content: start; gap: .2rem; color: var(--muted); }
.cp-nav span { padding: .45rem .6rem; border-radius: 7px; }
.cp-nav span.active { background: rgba(103, 232, 249, .1); color: var(--text); }
.cp-main { padding: 1.2rem; display: grid; gap: 1rem; align-content: start; }
.cp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.stat { padding: .8rem; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.stat small { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat b { display: block; margin-top: .3rem; font-size: 1.3rem; font-weight: 600; }
.bar { margin-top: .5rem; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--cp); border-radius: inherit; transform-origin: left; }
.cp-table { border-radius: 11px; border: 1px solid var(--line); overflow: hidden; }
.cp-row { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: .8rem; padding: .65rem .9rem; align-items: center; }
.cp-row + .cp-row { border-top: 1px solid var(--line); }
.cp-row.head { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .02); }
.cp-row .mono { font-family: var(--font-mono); font-size: .8rem; }
.ssl { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; color: var(--cp); }
.ssl::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ssl.warn { color: var(--keys-amber); }

/* AelynaBot: chat Discord */
.chat { display: grid; grid-template-columns: 64px 1fr; min-height: 400px; background: #0e0d1a; }
.servers { padding: .8rem 0; display: grid; justify-items: center; align-content: start; gap: .6rem; background: #09081280; border-right: 1px solid var(--line); }
.servers span { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-weight: 600; font-size: .8rem; background: rgba(255, 255, 255, .06); color: var(--muted); }
.servers span.active { background: var(--bot); color: #120c2b; border-radius: 12px; }
.chat-main { display: flex; flex-direction: column; }
.channel { padding: .75rem 1.1rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.channel span { color: var(--muted); font-weight: 400; }
.msgs { padding: 1rem 1.1rem; display: grid; gap: 1.1rem; }
.msg { display: grid; grid-template-columns: 38px 1fr; gap: .8rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .8rem; background: #2a2545; color: var(--text); }
.avatar.bot { background: var(--bot); color: #120c2b; }
.msg header { display: flex; align-items: baseline; gap: .5rem; font-weight: 500; }
.msg header .badge { font-family: var(--font-mono); font-size: .6rem; padding: .05rem .35rem; border-radius: 4px; background: var(--bot); color: #120c2b; }
.msg header time { font-size: .7rem; color: var(--muted); font-weight: 400; }
.msg p { color: #d4d0e6; }
.msg p.removed { color: var(--muted); font-style: italic; }
.cmd { font-family: var(--font-mono); font-size: .8rem; color: var(--bot); }
.embed { margin-top: .4rem; padding: .75rem .9rem; border-radius: 8px; background: rgba(255, 255, 255, .03); border-left: 3px solid var(--bot); display: grid; gap: .25rem; }
.embed strong { font-weight: 500; }
.embed span { font-size: .8rem; color: var(--muted); }
.composer { margin: auto 1.1rem 1rem; padding: .7rem .9rem; border-radius: 9px; background: rgba(255, 255, 255, .04); color: var(--muted); font-size: .8rem; }

/* ══ PRINCIPI ══ */
.principles { padding-block: var(--section); border-top: 1px solid var(--line); }
.principles h2 { font-size: var(--text-h2); line-height: 1; letter-spacing: -.035em; font-weight: 600; max-width: 16ch; margin-top: 1rem; }
.principles-grid { margin-top: clamp(2.5rem, 4vw, 4rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.principle { padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); background: var(--ink); transition: background-color .3s ease; }
.principle:hover { background: var(--ink-2); }
.principle .num { font-family: var(--font-mono); font-size: .78rem; color: var(--keys); }
.principle h3 { margin-top: 1.4rem; font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.principle p { margin-top: .6rem; color: var(--muted); }
.principle a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.principle a:hover { border-color: var(--text); }

/* ══ FOOTER ══ */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 3.5rem; font-family: var(--font-mono); font-size: .74rem; line-height: 1.9; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
.footer-brand { margin-bottom: .8rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.footer-nav a { color: var(--text); border-bottom: 1px solid var(--line-strong); transition: border-color .2s ease; }
.footer-nav a:hover { border-color: var(--text); }

/* ══ RIVELAZIONE ALLO SCORRIMENTO (solo con JS attivo) ══ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; }
.js .reveal.d2 { transition-delay: .2s; }

/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
    .app-body { grid-template-columns: 1fr 1.3fr; }
    .app-side { display: none; }
    .product .wrap { grid-template-columns: 1fr; }
    .product.flip .copy { order: 0; }
    .principles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    /* Senza JS le voci restano in riga; con JS diventano un menu a tendina. */
    .site-nav { gap: .9rem; font-size: .85rem; flex-wrap: wrap; justify-content: flex-end; }
    .js .nav-toggle { display: block; }
    .js .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: .5rem var(--gutter) 1.25rem;
        background: var(--ink);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
        font-size: 1.05rem;
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s linear .35s;
    }
    .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s; }
    .js .site-nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); color: var(--text); }
    .js .site-nav .nav-cta { margin-top: 1rem; padding: .9rem 1rem; text-align: center; border-bottom: none; }
    .app-body { grid-template-columns: 1fr; min-height: 0; }
    .app-detail { display: none; }
    .app-list .entry:nth-child(n+7) { display: none; }
    .cp-body { grid-template-columns: 1fr; }
    .cp-nav { display: none; }
    .cp-stats { grid-template-columns: 1fr 1fr; }
    .cp-stats .stat:last-child { display: none; }
    .chat { grid-template-columns: 1fr; }
    .servers { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .app { transform: none !important; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
