@font-face {
    font-family: "Inter";
    src: url("/fonts/inter-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Space Grotesk";
    src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #08080a;
    --panel: #0e0e12;
    --panel2: #121216;
    --panel3: #17171d;
    --border: rgba(255, 255, 255, 0.075);
    --border-hi: rgba(255, 255, 255, 0.18);
    --text: #f4f4f7;
    --dim: #8f8e99;
    --dim2: #5f5e68;
    --round: 16px;
    --display: "Space Grotesk", "Segoe UI", sans-serif;
    --sans: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: #fff; color: #08080a; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #08080a; }
::-webkit-scrollbar-thumb { background: #24242b; border: 2px solid #08080a; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #383841; }

a, button, input, textarea { font-family: inherit; }
a { color: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* ---------- animated backdrop ---------- */
.backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(ellipse 85% 55% at 50% -10%, rgba(255, 255, 255, 0.075), transparent 62%),
        radial-gradient(ellipse 80% 45% at 50% 120%, rgba(255, 255, 255, 0.03), transparent 65%);
}
.backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/noise.png");
    opacity: 0.26;
    mix-blend-mode: soft-light;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}
.blob.b1 {
    width: 620px; height: 620px;
    background: rgba(255, 255, 255, 0.055);
    top: -240px; left: -190px;
    animation: drift1 28s ease-in-out infinite alternate;
}
.blob.b2 {
    width: 500px; height: 500px;
    background: rgba(255, 255, 255, 0.035);
    top: 26%; right: -220px;
    animation: drift2 32s ease-in-out infinite alternate;
}
.blob.b3 {
    width: 520px; height: 520px;
    background: rgba(255, 255, 255, 0.026);
    bottom: -270px; left: 28%;
    animation: drift3 36s ease-in-out infinite alternate;
}
.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 82% 58% at 50% 0%, #000 26%, transparent 92%);
    -webkit-mask-image: radial-gradient(ellipse 82% 58% at 50% 0%, #000 26%, transparent 92%);
}
@keyframes drift1 { to { transform: translate(150px, 100px) scale(1.16); } }
@keyframes drift2 { to { transform: translate(-130px, 80px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(100px, -110px) scale(1.14); } }

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 2px;
    z-index: 100;
    pointer-events: none;
}
.scroll-progress i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, transparent, #fff 55%, #fff);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
}

.wrap {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.wrap > * { flex-shrink: 0; }

/* ---------- nav ---------- */
nav {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 0;
    position: relative;
    z-index: 4;
    animation: fadeDown 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
nav .logo {
    height: 34px;
    width: 34px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s;
}
nav a:hover .logo,
nav .logo:hover { transform: rotate(-7deg) scale(1.06); }
nav .brand {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 17px;
    line-height: 1;
    display: flex;
    align-items: center;
}
nav .brand span {
    color: var(--dim);
    background: linear-gradient(180deg, #fff, #85858f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
nav .links {
    margin-left: auto;
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
nav a {
    color: var(--dim);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 7px 17px;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
nav .links a:hover { color: var(--text); }
nav .links a.on {
    color: #08080a;
    background: #fff;
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.17);
}

/* ---------- type / common ---------- */
.section-title {
    font-family: var(--display);
    font-size: 11.5px;
    letter-spacing: 3.2px;
    color: var(--dim);
    text-transform: lowercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 500;
}
.section-title::before {
    content: "";
    width: 4px;
    height: 15px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--dim);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s, background 0.22s, border-color 0.22s, color 0.22s;
}
.btn:active { transform: scale(0.96); }
.btn:disabled {
    opacity: 0.55;
    cursor: wait;
    pointer-events: none;
    transform: none;
}
.btn.primary {
    background: #fff;
    border-color: transparent;
    color: #08080a;
    box-shadow: 0 0 32px rgba(255, 255, 255, 0.14);
}
.btn.primary::after {
    content: "";
    position: absolute;
    top: 0; left: -90%;
    width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(0, 0, 0, 0.14), transparent);
    transform: skewX(-20deg);
    animation: shine 4s ease-in-out infinite;
}
.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.28), 0 14px 34px rgba(0, 0, 0, 0.5);
}
.btn.ghost { background: rgba(255, 255, 255, 0.035); color: var(--text); }
.btn.ghost:hover {
    transform: translateY(-2px);
    border-color: var(--border-hi);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 0 28px rgba(255, 255, 255, 0.07);
}
.btn.danger { background: transparent; border-color: rgba(255, 105, 105, 0.22); color: #ff8585; }
.btn.danger:hover { background: rgba(255, 90, 90, 0.08); border-color: rgba(255, 105, 105, 0.42); transform: translateY(-2px); }
.btn.small { padding: 10px 19px; font-size: 13px; border-radius: 9px; }
.btn .arr { font-size: 16px; line-height: 1; transition: transform 0.2s; }
.btn:hover .arr { transform: translateY(2px); }

/* ---------- hero ---------- */
.hero {
    padding: 86px 0 64px;
    text-align: center;
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 50%;
    width: 520px;
    height: 300px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.09), transparent 66%);
    filter: blur(24px);
    pointer-events: none;
    animation: glowPulse 7s ease-in-out infinite;
}
.mark {
    position: relative;
    width: 168px;
    height: 168px;
    margin: 0 auto 28px;
    display: grid;
    place-items: center;
    isolation: isolate;
}
.mark::before {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
    filter: blur(20px);
    z-index: -1;
    animation: markGlow 6s ease-in-out infinite;
}
.mark .logo-big {
    position: relative;
    z-index: 2;
    width: 116px;
    height: 116px;
    display: block;
    filter: drop-shadow(0 0 36px rgba(255, 255, 255, 0.12)) drop-shadow(0 16px 28px rgba(0, 0, 0, 0.55));
    animation: logoIn 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.2) both, logoFloat 7s 0.45s ease-in-out infinite;
}
.mark .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(from 0deg,
        transparent 0deg 225deg,
        rgba(255, 255, 255, 0.06) 250deg,
        rgba(255, 255, 255, 0.55) 315deg,
        #fff 347deg,
        transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.32));
    animation: ringSpin 6s linear infinite;
    pointer-events: none;
}
.mark .ring-2 {
    inset: 13px;
    padding: 1px;
    background: conic-gradient(from 180deg,
        transparent 0deg 250deg,
        rgba(255, 255, 255, 0.08) 280deg,
        rgba(255, 255, 255, 0.5) 335deg,
        transparent 360deg);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.22));
    animation: ringSpin 10s linear infinite reverse;
    opacity: 0.65;
}
.mark .orbit {
    position: absolute;
    inset: 0;
    animation: ringSpin 6s linear infinite;
    pointer-events: none;
    z-index: 3;
}
.mark .orbit i {
    position: absolute;
    top: 50%;
    left: -3px;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px #fff, 0 0 28px rgba(255, 255, 255, 0.55);
}
.mark:hover .ring { animation-duration: 2.8s; }
.mark:hover .orbit { animation-duration: 3s; }
.mark .ring, .mark .orbit { will-change: transform; }

.hero .mark { margin-bottom: 24px; }
.pill {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--dim);
    border-radius: 999px;
    padding: 7px 15px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.pill i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
    animation: blink 2.4s ease-in-out infinite;
}
.pill b { color: #e8e8ed; font-weight: 600; }
.hero h1 {
    position: relative;
    z-index: 1;
    font-family: var(--display);
    font-size: clamp(58px, 8.2vw, 94px);
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 0.94;
}
.hero h1 .grad {
    background: linear-gradient(115deg, #ffffff 20%, #6e6e79 45%, #ffffff 70%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: sheen 6s linear infinite;
}
.hero p {
    position: relative;
    z-index: 1;
    margin: 24px auto 34px;
    max-width: 590px;
    color: var(--dim);
    font-size: 16px;
    line-height: 1.75;
}
.cta-row {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 23px;
    color: var(--dim2);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 12px; }
.hero-meta span + span::before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #3c3b44;
}

/* ---------- marquee ---------- */
.strip {
    position: relative;
    margin: 30px 0 14px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.014);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.strip .track {
    display: flex;
    gap: 48px;
    padding: 13px 0;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.strip:hover .track { animation-play-state: paused; }
.strip span {
    color: var(--dim2);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}
.strip b { color: #c9c9d1; font-weight: 600; margin-left: 5px; }
.strip b::after { content: " /"; color: #34343c; }

section { padding: 52px 0; position: relative; }

/* ---------- feature cards ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}
.card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 42%),
        var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--round);
    padding: 24px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hi);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
        var(--panel2);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 255, 255, 0.035);
}
.card:hover::after { opacity: 1; }
.card h3 {
    font-family: var(--display);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.card p { color: var(--dim); font-size: 13px; line-height: 1.7; }
.card .ico {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
    color: #ececf1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 17px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, background 0.3s;
}
.card:hover .ico {
    transform: rotate(-7deg) scale(1.08);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.1);
}

/* ---------- loader teaser ---------- */
.teaser {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 130% at 100% 0%, rgba(255, 255, 255, 0.07), transparent 58%),
        linear-gradient(125deg, rgba(255, 255, 255, 0.028), transparent 46%),
        var(--panel);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
}
.teaser::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -60px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 90px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}
.teaser-copy { position: relative; min-width: 0; }
.teaser .eyebrow { margin-bottom: 13px; }
.teaser h2 {
    font-family: var(--display);
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.teaser p {
    color: var(--dim);
    font-size: 13px;
    line-height: 1.65;
    max-width: 560px;
    margin-top: 9px;
}
.teaser .btn { position: relative; flex-shrink: 0; }
.teaser .btn:hover .arr { transform: translateX(3px); }

/* ---------- loader page ---------- */
.loader-head { padding-bottom: 38px; }
.loader-stage { padding-top: 0; }
.loader-card {
    position: relative;
    text-align: center;
    padding: 46px 34px 42px;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 50%),
        var(--panel);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    margin-bottom: 13px;
}
.loader-card::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -130px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 110px rgba(255, 255, 255, 0.02);
    pointer-events: none;
}
.loader-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}
.loader-mark {
    width: 190px;
    height: 190px;
    margin: 0 auto 26px;
}
.loader-mark .logo-big { width: 134px; height: 134px; }
.loader-card .pill { margin-bottom: 18px; }
.loader-card h2 {
    position: relative;
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 14px;
}
.loader-card p {
    position: relative;
    color: var(--dim);
    font-size: 14.5px;
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto 28px;
}
.loader-actions { position: relative; display: flex; gap: 10px; justify-content: center; }
.loader-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.loader-points .card { padding: 22px; }

/* ---------- builds ---------- */
.build {
    display: flex;
    align-items: center;
    gap: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 60%),
        var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--round);
    padding: 17px 20px;
    margin-bottom: 10px;
    animation: buildIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    transition: transform 0.23s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.23s, border-color 0.23s, background 0.23s;
}
.build:hover {
    transform: translateX(5px);
    border-color: var(--border-hi);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 60%),
        var(--panel2);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}
.build:first-child { border-color: rgba(255, 255, 255, 0.14); }
.build .b-ico {
    width: 43px; height: 43px;
    flex: 0 0 43px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, color 0.2s, transform 0.25s;
}
.build:hover .b-ico { transform: translateY(-1px); background: #fff; color: #08080a; }
.build .b-info { flex: 1; min-width: 0; }
.build .b-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 15px;
    overflow-wrap: anywhere;
}
.build .b-name em {
    display: inline-block;
    color: #08080a;
    font-family: var(--sans);
    font-style: normal;
    margin-left: 8px;
    font-size: 10px;
    font-weight: 700;
    background: #fff;
    padding: 2px 7px;
    border-radius: 999px;
    vertical-align: 2px;
}
.build .b-meta { color: var(--dim); font-size: 11.5px; margin-top: 4px; }
.build .b-notes { color: var(--dim2); font-size: 12px; line-height: 1.55; margin-top: 4px; }
.build .btn { flex-shrink: 0; }
.build .b-tag {
    display: inline-block;
    margin-left: 9px;
    padding: 2px 8px;
    border: 1px solid var(--border-hi);
    border-radius: 999px;
    color: var(--dim);
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding: 15px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.11);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.014);
    color: var(--dim2);
    font-size: 12px;
}
.notice a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--dim);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}
.notice a:hover { color: var(--text); }
.notice a .arr { transition: transform 0.2s; }
.notice a:hover .arr { transform: translateX(3px); }

.loading-list { display: grid; gap: 10px; }
.skeleton {
    height: 78px;
    border-radius: var(--round);
    border: 1px solid var(--border);
    background: linear-gradient(100deg, var(--panel) 25%, var(--panel3) 50%, var(--panel) 75%);
    background-size: 220% 100%;
    animation: shimmer 1.4s linear infinite;
}
.empty {
    text-align: center;
    color: var(--dim);
    padding: 64px 20px;
    border: 1.5px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--round);
    background: rgba(255, 255, 255, 0.012);
    font-size: 13.5px;
}
.empty b { display: block; color: var(--text); font-family: var(--display); font-size: 19px; font-weight: 600; margin-bottom: 7px; }
.list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
    color: var(--dim2);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.list-meta span { display: inline-flex; align-items: center; gap: 8px; }
.list-meta i { width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 9px rgba(255, 255, 255, 0.8); }

/* ---------- page head (downloads / admin) ---------- */
.page-head {
    padding: 74px 0 46px;
    position: relative;
}
.page-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--dim);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    margin-bottom: 19px;
}
.page-head .eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
.page-head h1 {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 74px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 0.98;
    text-transform: lowercase;
}
.page-head h1 b {
    font-weight: 700;
    background: linear-gradient(120deg, #fff 25%, #777782 55%, #fff 85%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sheen 6s linear infinite;
}
.page-head p {
    color: var(--dim);
    max-width: 520px;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 18px;
}
.page-head .page-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dim2);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 22px;
}
.page-head .page-meta i {
    width: 5px; height: 5px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 9px rgba(255, 255, 255, 0.75);
}

/* ---------- forms / admin ---------- */
.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 13px;
    align-items: start;
}
.form-card { padding: 28px; overflow: visible; }
.form-card::after { display: none; }
.field { margin-bottom: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label {
    display: block;
    font-size: 10.5px;
    color: var(--dim);
    margin-bottom: 7px;
    letter-spacing: 0.14em;
    font-weight: 600;
    text-transform: uppercase;
}
input[type="text"], input[type="password"], input[type="file"], textarea {
    width: 100%;
    background: var(--panel2);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input[type="text"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder { color: #4d4c56; }
input:focus, textarea:focus {
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.055);
    background: var(--panel);
}
textarea { resize: vertical; min-height: 90px; line-height: 1.55; }

.file-drop {
    position: relative;
    display: block;
    border: 1.5px dashed rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    padding: 26px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.012);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.file-drop:hover, .file-drop.drag, .file-drop.has-file {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.035);
}
.file-drop:hover { box-shadow: 0 0 30px rgba(255, 255, 255, 0.035); }
.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    padding: 0;
}
.file-drop .drop-ico {
    width: 40px; height: 40px;
    margin: 0 auto 12px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.045);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    transition: transform 0.25s;
}
.file-drop:hover .drop-ico { transform: translateY(-3px); }
.file-drop strong { display: block; font-family: var(--display); font-size: 14px; font-weight: 600; }
.file-drop span { display: block; color: var(--dim2); font-size: 11px; margin-top: 5px; }
.file-drop.has-file strong { color: #fff; }

.form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}
.form-actions .btn { padding: 13px 28px; }
.form-status { color: var(--dim); font-size: 12px; }
.form-status.error { color: #ff8585; }

.progress {
    display: none;
    height: 3px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 18px;
}
.progress.on { display: block; }
.progress i {
    display: block;
    height: 100%;
    width: 34%;
    border-radius: inherit;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    animation: indeterminate 1.25s ease-in-out infinite;
}

.side-card { padding: 26px; }
.side-card::after { display: none; }
.side-card h4 {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
.side-list { list-style: none; display: grid; gap: 15px; }
.side-list li {
    display: flex;
    gap: 12px;
    color: var(--dim);
    font-size: 12.5px;
    line-height: 1.55;
}
.side-list li b { color: var(--text); font-weight: 600; }
.side-list .n {
    color: var(--dim2);
    font-family: var(--display);
    font-size: 10px;
    font-weight: 600;
    padding-top: 2px;
    min-width: 18px;
}
.side-note {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--dim2);
    font-size: 11.5px;
    line-height: 1.6;
}
.side-note code {
    color: var(--dim);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10.5px;
}

.manage-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.manage-head .section-title { margin-bottom: 0; }

/* ---------- admin gate ---------- */
.gate {
    min-height: calc(100vh - 290px);
    display: grid;
    place-items: center;
    padding: 36px 0 60px;
}
.gate-card {
    position: relative;
    width: min(430px, 100%);
    padding: 38px 34px 30px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 60%),
        var(--panel);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    animation: gateIn 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.gate-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}
.gate-mark {
    width: 126px;
    height: 126px;
    margin: 0 auto 24px;
}
.gate-mark .logo-big { width: 84px; height: 84px; }
.gate-card .eyebrow { justify-content: center; margin-bottom: 12px; }
.gate-card h1 {
    font-family: var(--display);
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 11px;
}
.gate-card h1 b { color: var(--dim); font-weight: 600; }
.gate-card > p {
    color: var(--dim);
    font-size: 12.8px;
    line-height: 1.65;
    max-width: 300px;
    margin: 0 auto 24px;
}
.gate-card .field { text-align: left; margin-bottom: 14px; }
.gate-card input {
    text-align: center;
    letter-spacing: 0.04em;
    font-size: 15px;
    padding: 13px;
}
.gate-btn { width: 100%; }
.gate-error { color: #ff8585; font-size: 12px; margin-top: 12px; }
.gate-back {
    display: inline-block;
    margin-top: 20px;
    color: var(--dim2);
    font-size: 11.5px;
    text-decoration: none;
    transition: color 0.2s;
}
.gate-back:hover { color: var(--text); }
.gate-card.shake { animation: shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }

.admin-meta { display: flex; align-items: center; gap: 18px; }
.admin-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.admin-meta .btn { padding: 8px 15px; font-size: 11.5px; border-radius: 8px; }

.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #fff;
    border: 1px solid #fff;
    color: #08080a;
    padding: 14px 21px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.62), 0 0 32px rgba(255, 255, 255, 0.14);
    animation: toastIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
    z-index: 50;
    max-width: min(380px, calc(100vw - 40px));
}
.toast.error { background: #1a0f11; border-color: rgba(255, 120, 120, 0.34); color: #ff9a9a; box-shadow: 0 16px 46px rgba(0, 0, 0, 0.7); }

/* ---------- footer ---------- */
footer {
    padding: 24px 0 34px;
    color: var(--dim2);
    font-size: 11.5px;
    margin-top: auto;
}
.footer-inner {
    border-top: 1px solid var(--border);
    padding-top: 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--text);
}
.footer-brand img { width: 24px; height: 24px; }
.footer-links { display: flex; gap: 17px; margin-left: auto; }
.footer-links a { color: var(--dim2); text-decoration: none; font-size: 11.5px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-status { display: flex; align-items: center; gap: 7px; color: var(--dim2); font-size: 10px; text-transform: uppercase; letter-spacing: 0.11em; }
.footer-status i { width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.8); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
    color: #41404a;
    line-height: 1.6;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 1; transform: none; }
html.reveal-on .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
html.reveal-on .reveal.in { opacity: 1; transform: none; }

/* ---------- animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes logoIn { from { transform: scale(0.72) rotate(-6deg); } to { transform: none; } }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sheen { to { background-position: 200% 0; } }
@keyframes shine { 0%, 62% { left: -90%; } 100% { left: 140%; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.28; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes buildIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes indeterminate { 0% { transform: translateX(-120%); } 100% { transform: translateX(330%); } }
@keyframes glowPulse { 0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes markGlow { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes gateIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .grid { grid-template-columns: 1fr 1fr; }
    .admin-grid { grid-template-columns: 1fr; }
    .side-card { display: none; }
}

@media (max-width: 640px) {
    .wrap { width: min(100% - 36px, 1120px); }
    nav { padding: 19px 0; gap: 9px; flex-wrap: wrap; row-gap: 14px; }
    nav .logo { width: 29px; height: 29px; }
    nav .brand { font-size: 15px; letter-spacing: 3px; }
    nav .links { width: 100%; margin-left: 0; gap: 0; }
    nav .links a { flex: 1; text-align: center; padding: 8px 6px; font-size: 11.5px; }
    .hero { padding: 52px 0 46px; }
    .hero .mark { width: 144px; height: 144px; margin-bottom: 20px; }
    .hero .logo-big { width: 98px; height: 98px; }
    .pill { font-size: 10px; padding: 6px 12px; letter-spacing: 0.06em; }
    .hero h1 { font-size: clamp(52px, 16vw, 70px); letter-spacing: 0.045em; }
    .hero p { font-size: 14.5px; line-height: 1.7; margin: 21px auto 28px; }
    .cta-row { flex-direction: column; align-items: stretch; max-width: 310px; margin: 0 auto; }
    .cta-row .btn { width: 100%; }
    .hero-meta { gap: 7px; font-size: 9px; letter-spacing: 0.1em; flex-wrap: wrap; }
    .hero-meta span { gap: 7px; }
    section { padding: 40px 0; }
    .grid { grid-template-columns: 1fr; }
    .strip { margin-top: 22px; }
    .build { flex-wrap: wrap; gap: 12px; padding: 15px; }
    .build .b-info { flex: 1 1 calc(100% - 58px); }
    .build .btn { width: 100%; margin-top: 2px; }
    .page-head { padding: 52px 0 34px; }
    .page-head h1 { font-size: clamp(44px, 14vw, 60px); }
    .page-head p { font-size: 13.5px; }
    .loader-card { padding: 34px 22px 32px; }
    .loader-mark { width: 158px; height: 158px; }
    .loader-mark .logo-big { width: 112px; height: 112px; }
    .loader-actions { flex-direction: column; }
    .loader-actions .btn { width: 100%; }
    .loader-points { grid-template-columns: 1fr; }
    .teaser { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 22px; }
    .teaser .btn { width: 100%; }
    .notice { flex-direction: column; align-items: flex-start; gap: 8px; }
    .gate { min-height: 0; padding: 26px 0 46px; }
    .gate-card { padding: 30px 21px 26px; }
    .gate-card h1 { font-size: 30px; }
    .form-card { padding: 21px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    input[type="text"], input[type="password"], input[type="file"], textarea { font-size: 16px; }
    .form-actions { align-items: stretch; flex-direction: column; gap: 10px; }
    .form-actions .btn { width: 100%; }
    .form-status { text-align: center; }
    .manage-head { align-items: flex-start; flex-direction: column; gap: 8px; }
    .footer-inner { align-items: flex-start; flex-direction: column; gap: 13px; }
    .footer-links { margin-left: 0; }
    .footer-bottom { flex-direction: column; gap: 6px; }
    .toast { right: 18px; bottom: 18px; left: 18px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* the logo ring is the one thing that always turns, even with OS animations off */
@media (prefers-reduced-motion: reduce) {
    .mark .ring { animation: ringSpin 6s linear infinite !important; }
    .mark .ring-2 { animation: ringSpin 10s linear infinite reverse !important; }
    .mark .orbit { animation: ringSpin 6s linear infinite !important; }
}
