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

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Barlow Condensed";
    src: url("../fonts/barlow-condensed-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Barlow Condensed";
    src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

:root {
    color-scheme: light;
    --paper: #f4f5f3;
    --paper-alt: #e9edef;
    --ink: #0a0d10;
    --muted: #626a70;
    --line: rgba(10, 13, 16, 0.18);
    --blue: #0c88bd;
    --blue-bright: #52c9fa;
    --navy: #07111b;
    --modal: #f6f7f5;
    --shadow: rgba(0, 0, 0, 0.24);
    --font-sans: "Inter", "Microsoft YaHei", sans-serif;
    --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-mono: "IBM Plex Mono", "Microsoft YaHei", monospace;
    --container: 1180px;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --paper: #090c0f;
    --paper-alt: #0d1217;
    --ink: #f0f3f4;
    --muted: #8b959c;
    --line: rgba(232, 240, 244, 0.18);
    --blue: #45bde9;
    --blue-bright: #77dbff;
    --modal: #0b1015;
    --shadow: rgba(0, 0, 0, 0.52);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    background: var(--paper);
}

html.is-screen-transitioning {
    scroll-behavior: auto;
    scroll-snap-type: none;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    letter-spacing: 0;
    transition: background-color 300ms ease, color 300ms ease;
}

body.is-loading {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a,
summary {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: #4fc6f5;
    color: #031019;
}

/* Boot */
.boot-screen {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #03070a;
    color: #f4f7f8;
    transition: opacity 760ms cubic-bezier(.7, 0, .3, 1), visibility 760ms ease;
}

.boot-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(to bottom, transparent 0, transparent 4px, rgba(82, 201, 250, .025) 5px);
}

.boot-screen.is-exiting {
    opacity: 0;
    visibility: hidden;
}

.boot-grid {
    display: none;
}

.boot-terminal {
    position: relative;
    z-index: 1;
    width: min(620px, calc(100vw - 44px));
    font-family: var(--font-mono);
}

.boot-prompt,
.boot-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #61717d;
    font-size: 9px;
}

.boot-status,
.boot-success {
    color: #61deb8;
}

.boot-word {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    margin: 18px 0 26px;
    font-family: var(--font-display);
    font-size: 92px;
    font-weight: 600;
    line-height: 1;
}

.boot-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    filter: blur(6px);
    transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.boot-letter.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.boot-word.is-glitching {
    animation: boot-glitch 420ms steps(2, end) 2;
}

.boot-progress {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.boot-progress.is-visible {
    opacity: 1;
    transform: none;
}

.boot-progress-line {
    height: 1px;
    margin-bottom: 12px;
    overflow: hidden;
    background: rgba(119, 158, 178, .22);
}

.boot-progress-line span {
    display: block;
    width: 0;
    height: 100%;
    background: #59c9f2;
    box-shadow: 0 0 12px rgba(82, 201, 250, .55);
}

.boot-progress-meta strong {
    color: #f3f6f7;
    font-weight: 400;
}

.boot-success {
    margin-top: 18px;
    font-size: 9px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.boot-success.is-visible {
    opacity: 1;
    transform: none;
}

.boot-coordinates {
    position: absolute;
    right: 24px;
    bottom: 20px;
    color: #34434d;
    font-family: var(--font-mono);
    font-size: 8px;
}

/* Shell and header */
.site-shell {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 980ms cubic-bezier(.2, .72, .25, 1), transform 980ms cubic-bezier(.2, .72, .25, 1);
}

body.is-ready .site-shell {
    opacity: 1;
    transform: none;
}

.topbar {
    position: absolute;
    z-index: 30;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 94px;
    padding: 0 44px;
    color: #f5f7f8;
}

.brand {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    transform: translate(-50%, -50%);
}

.brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .25));
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .4);
}

.brand-word {
    display: none;
}

.category-nav {
    position: absolute;
    left: 44px;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 2px;
    transform: translateY(-50%);
}

.category-link {
    position: relative;
    display: inline-flex;
    min-height: 42px;
    padding: 0 12px;
    align-items: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(241, 245, 247, .68);
    font-family: var(--font-mono);
    font-size: 9px;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.category-link::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 5px;
    left: 12px;
    height: 1px;
    background: var(--blue-bright);
    opacity: 0;
    transform: scaleX(.3);
    transition: opacity 180ms ease, transform 180ms ease;
}

.category-link:hover,
.category-link:focus-visible {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(2, 8, 13, .22);
    color: #f5f7f8;
    outline: none;
    backdrop-filter: blur(12px);
}

.category-link.is-active {
    color: #f5f7f8;
}

.category-link.is-active::after,
.category-link:hover::after,
.category-link:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.category-link svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    stroke-width: 1.5;
}

.category-link .external-icon {
    width: 10px;
    height: 10px;
    margin-left: -3px;
    opacity: .55;
}

.control-dock {
    display: flex;
    align-items: center;
    gap: 2px;
}

.icon-button {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 6px;
    background: rgba(2, 8, 13, .22);
    color: #f1f5f7;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background-color 180ms ease, border-color 180ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
    border-color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .12);
    outline: none;
}

.icon-button svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.4;
}

.language-code {
    font-family: var(--font-mono);
    font-size: 10px;
}

.icon-button::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: max-content;
    padding: 5px 7px;
    background: rgba(3, 8, 12, .88);
    color: #f3f6f8;
    font-family: var(--font-mono);
    font-size: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-3px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.icon-button:hover::after,
.icon-button:focus-visible::after {
    opacity: 1;
    transform: none;
}

/* Hero */
.hero {
    position: relative;
    display: grid;
    width: 100%;
    height: 100svh;
    min-height: 600px;
    place-items: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    isolation: isolate;
    background: #05101a;
    color: #f5f7f8;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -3;
    transform: scale(1.025);
    transition: transform 240ms ease-out;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.42) contrast(1.08) brightness(.64) hue-rotate(165deg);
}

.hero-overlay {
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(2, 7, 12, .34) 0%, rgba(2, 8, 14, .2) 48%, rgba(2, 7, 11, .72) 100%),
        radial-gradient(circle at 50% 42%, rgba(5, 21, 32, .12) 0%, rgba(2, 8, 14, .6) 78%);
}

.hero-content {
    width: min(820px, calc(100% - 40px));
    padding-bottom: 26px;
    text-align: center;
}

.system-label {
    margin-bottom: 16px;
    color: rgba(238, 245, 248, .82);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
}

.glitch-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 104px;
    font-weight: 600;
    line-height: .88;
    text-transform: uppercase;
    text-shadow: 0 8px 34px rgba(0, 0, 0, .28);
}

.hero-tagline {
    margin: 18px 0 0;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

.hero-copy {
    margin: 15px 0 0;
    color: rgba(239, 245, 248, .76);
    font-size: 13px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.action-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 252px;
    min-height: 50px;
    gap: 10px;
    padding: 0 22px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: color 190ms ease, background-color 190ms ease, border-color 190ms ease, transform 190ms ease;
}

.action-button svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

.action-primary {
    border-color: #f3f6f7;
    background: #f3f6f7;
    color: #061019;
}

.action-secondary {
    border-color: rgba(245, 248, 249, .62);
    background: rgba(2, 8, 13, .14);
    color: #f5f7f8;
    backdrop-filter: blur(8px);
}

.action-button:hover,
.action-button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.action-primary:hover,
.action-primary:focus-visible {
    border-color: #64cdf4;
    background: #64cdf4;
}

.action-secondary:hover,
.action-secondary:focus-visible {
    border-color: #f5f7f8;
    background: rgba(245, 248, 249, .1);
}

.action-button:disabled {
    cursor: not-allowed;
    opacity: .42;
    transform: none;
}

.action-corner {
    display: none;
}

.hero-footer {
    position: absolute;
    right: 42px;
    bottom: 28px;
    left: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 38px;
}

.live-stats {
    display: flex;
    gap: 34px;
}

.stat {
    display: grid;
    gap: 5px;
}

.stat span {
    color: rgba(226, 236, 241, .54);
    font-family: var(--font-mono);
    font-size: 8px;
    text-transform: uppercase;
}

.stat strong {
    color: rgba(245, 248, 249, .92);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
}

.scroll-cue {
    position: absolute;
    bottom: 0;
    left: 50%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: rgba(233, 241, 244, .66);
    font-family: var(--font-mono);
    font-size: 8px;
    transform: translateX(-50%);
    transition: color 180ms ease;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
    color: #fff;
    outline: none;
}

.scroll-cue svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.4;
    animation: scroll-arrow 1.8s ease-in-out infinite;
}

.reveal-item {
    opacity: 0;
    transform: translateY(12px);
}

body.is-ready .reveal-item {
    opacity: 1;
    transform: none;
    transition: opacity 800ms ease, transform 800ms cubic-bezier(.2, .72, .25, 1);
}

body.is-ready .reveal-item:nth-child(1) { transition-delay: 100ms; }
body.is-ready .reveal-item:nth-child(2) { transition-delay: 180ms; }
body.is-ready .reveal-item:nth-child(3) { transition-delay: 260ms; }
body.is-ready .reveal-item:nth-child(4) { transition-delay: 340ms; }
body.is-ready .reveal-item:nth-child(5) { transition-delay: 420ms; }

/* Editorial content */
.content-band {
    position: relative;
    display: flex;
    width: 100%;
    height: 100svh;
    min-height: 600px;
    align-items: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: var(--paper);
    color: var(--ink);
    transition: background-color 300ms ease, color 300ms ease;
}

.section-inner {
    width: min(var(--container), calc(100% - 80px));
    margin: 0 auto;
    padding: 58px 0;
}

.section-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
}

.section-kicker span:last-child {
    color: var(--blue);
}

.intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr);
    gap: 72px;
    align-items: end;
    margin-top: 48px;
}

.intro-layout h2,
.section-statement,
.steps-heading h2,
.faq-layout > h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 76px;
    font-weight: 500;
    line-height: .98;
    text-transform: uppercase;
}

.intro-layout h2 span {
    display: block;
    white-space: nowrap;
}

.intro-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.editorial-image {
    width: 38%;
    margin: 32px 0 0 auto;
}

.editorial-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    filter: saturate(.58) contrast(1.04) hue-rotate(168deg);
}

.editorial-image figcaption {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 8px;
}

.capability-band {
    background: var(--navy);
    color: #f1f5f7;
}

.capability-band .section-inner {
    padding-top: 58px;
    padding-bottom: 58px;
}

.capability-band .section-kicker {
    border-color: rgba(239, 246, 249, .2);
    color: rgba(228, 238, 242, .58);
}

.capability-band .section-kicker span:last-child {
    color: #65d0f8;
}

.section-statement {
    margin-top: 48px;
    font-size: 72px;
}

.section-statement span {
    display: block;
}

.feature-rows {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 52px;
    border-top: 1px solid rgba(239, 246, 249, .25);
}

.feature-row {
    min-height: 170px;
    padding: 24px 34px 22px 0;
    border-right: 1px solid rgba(239, 246, 249, .2);
}

.feature-row + .feature-row {
    padding-left: 34px;
}

.feature-row:last-child {
    border-right: 0;
}

.feature-number {
    display: block;
    margin-bottom: 34px;
    color: #64d0fa;
    font-family: var(--font-mono);
    font-size: 9px;
}

.feature-row h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.feature-row p {
    max-width: 290px;
    margin: 0;
    color: rgba(227, 237, 241, .58);
    font-size: 12px;
    line-height: 1.8;
}

.steps-band {
    background: var(--paper-alt);
}

.steps-layout,
.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 110px;
    align-items: start;
    margin-top: 52px;
}

.steps-heading p {
    max-width: 330px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.steps-list li {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding: 18px 0 20px;
    border-bottom: 1px solid var(--line);
}

.steps-list li > span {
    padding-top: 3px;
    color: var(--blue);
    font-family: var(--font-mono);
    font-size: 9px;
}

.steps-list strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
}

.steps-list p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    color: var(--blue);
    stroke-width: 1.3;
    transition: transform 180ms ease;
}

.faq-list details[open] summary svg {
    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 600px;
    margin: -2px 0 26px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 104px;
    padding: 0 42px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 8px;
}

.faq-band {
    padding-bottom: 104px;
}

.footer-brand {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
}

.footer-status {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    gap: 8px;
}

.footer-status > span:first-child {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #45caa1;
}

/* Dialogs */
.modal {
    width: min(520px, calc(100% - 28px));
    max-height: calc(100svh - 28px);
    padding: 0;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    box-shadow: 0 32px 90px var(--shadow);
}

.modal::backdrop {
    background: rgba(0, 5, 9, .76);
    backdrop-filter: blur(10px);
}

.modal[open] {
    animation: modal-enter 240ms cubic-bezier(.2, .72, .25, 1);
}

.modal-shell {
    position: relative;
    padding: 40px;
    background: var(--modal);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
    border-color: var(--blue);
    color: var(--blue);
    outline: none;
}

.modal-close svg {
    width: 16px;
    height: 16px;
}

.modal-code {
    margin-bottom: 22px;
    color: var(--blue);
    font-family: var(--font-mono);
    font-size: 8px;
}

.modal h2 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 500;
    text-transform: uppercase;
}

.modal-shell > p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.file-specs {
    margin: 28px 0;
    border-top: 1px solid var(--line);
}

.file-specs > div {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 9px;
}

.file-specs dt {
    color: var(--muted);
}

.file-specs dd {
    margin: 0;
    overflow-wrap: anywhere;
    text-align: right;
}

.modal-action {
    width: 100%;
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.community-modal-shell {
    text-align: center;
}

.community-modal-shell .modal-code {
    text-align: left;
}

.community-symbol {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--blue);
}

.community-symbol svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.3;
}

.community-modal-shell .modal-action {
    margin-top: 28px;
}

.toast {
    position: fixed;
    z-index: 10000;
    left: 50%;
    bottom: 22px;
    max-width: calc(100% - 28px);
    padding: 11px 15px;
    border: 1px solid var(--line);
    background: var(--modal);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 9px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 800ms ease, transform 800ms cubic-bezier(.2, .72, .25, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes boot-glitch {
    0%, 100% { transform: translate(0); text-shadow: none; }
    25% { transform: translate(-4px, 1px); text-shadow: 4px 0 #52c9fa, -4px 0 #e542b2; }
    50% { transform: translate(3px, -1px); text-shadow: -3px 0 #52c9fa, 3px 0 #e542b2; }
    75% { transform: translate(-2px, 0); text-shadow: 2px 0 #52c9fa, -2px 0 #e542b2; }
}

@keyframes scroll-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@keyframes modal-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
    .topbar { height: 82px; padding: 0 24px; }
    .category-nav { left: 24px; }
    .category-link { padding: 0 9px; }
    .category-link > svg:first-child { display: none; }
    .glitch-title { font-size: 80px; }
    .section-inner { width: calc(100% - 48px); padding: 48px 0; }
    .steps-layout,
    .faq-layout { grid-template-columns: 1fr; gap: 48px; }
    .intro-layout { gap: 44px; }
    .intro-layout h2,
    .section-statement,
    .steps-heading h2,
    .faq-layout > h2 { font-size: 62px; }
    .editorial-image { width: 42%; margin: 30px 0 0 auto; }
    .feature-rows { gap: 0; }
}

@media (max-width: 760px) {
    .topbar { height: 122px; align-items: flex-start; padding-top: 16px; }
    .category-nav {
        top: 70px;
        right: 14px;
        left: 14px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 3px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 6px;
        background: rgba(2, 8, 13, .34);
        transform: none;
        backdrop-filter: blur(14px);
    }
    .category-link {
        min-width: 0;
        min-height: 38px;
        padding: 0 5px;
        justify-content: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .category-link + .category-link { border-left-color: rgba(255, 255, 255, .12); }
    .category-link > svg:first-child { display: block; }
    .category-link .external-icon { display: none; }
    .category-link::after { right: 8px; bottom: 3px; left: 8px; }
    .brand { top: 35px; }
    .control-dock { transform: translateY(-1px); }
}

@media (max-width: 680px) {
    .topbar { height: 122px; padding: 16px 14px 0; }
    .brand { left: 16px; transform: translateY(-50%); }
    .brand img { width: 38px; height: 38px; }
    .icon-button { width: 38px; height: 38px; }
    .hero { min-height: 600px; height: 100svh; }
    .hero-media img { object-position: 56% center; }
    .hero-content { width: calc(100% - 28px); padding-bottom: 54px; }
    .system-label { margin-bottom: 14px; font-size: 8px; }
    .glitch-title { font-size: 60px; }
    .hero-tagline { margin-top: 14px; font-size: 18px; }
    .hero-copy { margin-top: 12px; font-size: 12px; }
    .hero-actions { flex-direction: column; gap: 8px; margin-top: 24px; }
    .action-button { width: 100%; min-height: 48px; }
    .hero-footer { right: 16px; bottom: 16px; left: 16px; }
    .live-stats { gap: 20px; }
    .hero-footer { padding-bottom: 38px; }
    .scroll-cue span { display: none; }
    .boot-terminal { width: calc(100vw - 32px); }
    .boot-word { min-height: 88px; font-size: 54px; }
    .boot-coordinates { right: 16px; bottom: 14px; }
    .section-inner { width: calc(100% - 32px); padding: 44px 0; }
    .intro-layout { grid-template-columns: 1fr; margin-top: 28px; gap: 16px; }
    .intro-layout h2,
    .section-statement,
    .steps-heading h2,
    .faq-layout > h2 { font-size: 48px; }
    .intro-layout h2 { font-size: clamp(38px, 11vw, 44px); }
    .intro-copy p { font-size: 12px; line-height: 1.65; }
    .editorial-image { width: 100%; margin: 22px 0 0; }
    .editorial-image img { aspect-ratio: 16 / 8.5; object-position: 62% center; }
    .capability-band .section-inner { padding-top: 44px; padding-bottom: 44px; }
    .section-statement { margin-top: 30px; font-size: 42px; }
    .feature-rows { grid-template-columns: 1fr; margin-top: 30px; }
    .feature-row,
    .feature-row + .feature-row { min-height: 0; padding: 13px 0 14px; border-right: 0; border-bottom: 1px solid rgba(239, 246, 249, .2); }
    .feature-number { margin-bottom: 8px; }
    .feature-row h3 { margin-bottom: 7px; font-size: 23px; }
    .feature-row p { font-size: 11px; line-height: 1.5; }
    .steps-layout,
    .faq-layout { margin-top: 30px; gap: 22px; }
    .steps-heading p { margin-top: 14px; }
    .steps-list li { grid-template-columns: 36px 1fr; gap: 12px; padding: 13px 0 14px; }
    .steps-list strong { margin-bottom: 5px; font-size: 20px; }
    .steps-list p { font-size: 11px; line-height: 1.55; }
    .faq-list summary { min-height: 58px; font-size: 13px; }
    .faq-list details p { margin-bottom: 18px; font-size: 11px; line-height: 1.6; }
    footer { grid-template-columns: 1fr 1fr; gap: 12px; min-height: 104px; padding: 18px 16px; }
    footer > p:nth-child(2) { justify-self: end; }
    .footer-status { grid-column: 1 / -1; justify-self: start; }
    .modal-shell { padding: 34px 22px 24px; }
    .modal h2 { font-size: 32px; }
    .file-specs > div { grid-template-columns: 82px minmax(0, 1fr); }
}

@media (max-height: 720px) and (min-width: 681px) {
    .hero { min-height: 620px; }
    .glitch-title { font-size: 82px; }
    .hero-actions { margin-top: 22px; }
    .section-inner { padding-top: 40px; padding-bottom: 40px; }
    .intro-layout { margin-top: 36px; }
    .section-statement { margin-top: 36px; }
    .feature-rows,
    .steps-layout,
    .faq-layout { margin-top: 38px; }
}

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