/* Helixa promo - landing + whitepaper */
:root {
    --bg-color: #050505;
    --text-bright: #ffffff;
    --border-dark: #444444;
    --glass: rgba(12, 12, 12, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent: #d4d4d4;
    --bone: #e8e8e8;
    --bone-hover: #f5f5f5;
    --bone-text: #0a0a0a;
}

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

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 50% 40%, #151515 0%, #000000 100%);
    color: var(--text-bright);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

.matrix-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
}

/* --- Landing (modern) --- */
body.page-landing {
    display: block;
    overflow-x: hidden;
}

.bg-layers {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: glow-drift 18s ease-in-out infinite;
}

.bg-glow--a {
    width: 50vw;
    height: 50vw;
    max-width: 520px;
    max-height: 520px;
    top: -10%;
    left: 20%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.bg-glow--b {
    width: 40vw;
    height: 40vw;
    max-width: 400px;
    max-height: 400px;
    bottom: 10%;
    right: 5%;
    background: radial-gradient(circle, rgba(180, 180, 180, 0.06) 0%, transparent 70%);
    animation-delay: -9s;
}

@keyframes glow-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(3%, 4%) scale(1.05); }
}

.bg-grid {
    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: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 75%);
}

.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, transparent 0%, #050505 75%);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.9) 0%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.site-header__logo {
    border-radius: 50%;
    object-fit: cover;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-header__link {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #888;
    text-decoration: none;
    padding: 10px 14px;
    border: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.site-header__link:hover {
    color: #fff;
}

.site-header__link--cta {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.site-header__link--cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}

.site-header__link--active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.page-dev-hub .site-header__link.site-header__link--active {
    background: var(--bone);
    color: var(--bone-text);
    border-color: var(--bone);
}

.page-dev-hub .site-header__link.site-header__link--active:hover {
    background: var(--bone-hover);
    color: var(--bone-text);
    border-color: var(--bone-hover);
}

.lang-select-wrap {
    display: inline-flex;
    align-items: stretch;
    flex-shrink: 0;
}

.lang-select-wrap--doc {
    margin: 0;
}

.lang-select {
    box-sizing: border-box;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
    line-height: 1.15;
    height: 100%;
    min-height: calc(1.15em + 20px + 2px);
    width: 2.65rem;
    min-width: 0;
    padding: 10px 14px 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.35);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 10 6'%3E%3Cpath fill='%23888' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 8px 5px;
    color: #ccc;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.site-header__nav .lang-select-wrap {
    margin-left: 0;
}

.site-header__nav .lang-select {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.lang-select:hover,
.lang-select:focus {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    outline: none;
}

.lang-select:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 255, 200, 0.25);
}

.lang-select option {
    background: #0a0a0a;
    color: #eee;
}

.doc-lang-banner {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(0, 255, 200, 0.85);
    border: 1px solid rgba(0, 255, 200, 0.25);
    background: rgba(0, 255, 200, 0.06);
    padding: 10px 12px;
    margin: 0 0 16px;
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    text-align: center;
    overflow: hidden;
}

.hero__brain {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: min(300px, 72vw);
    pointer-events: none;
    z-index: 0;
    color: #fff;
}

.hero__brain-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.22;
    animation: brain-breathe 5s ease-in-out infinite;
}

@keyframes brain-breathe {
    0%, 100% { opacity: 0.18; transform: scale(1); }
    50% { opacity: 0.28; transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__brain-img {
        animation: none;
        opacity: 0.2;
    }
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    animation: hero-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hero-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 32px;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    background: var(--glass);
    backdrop-filter: blur(12px);
}

.hero__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__badge-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #aaa;
}

.hero__title {
    margin-bottom: 24px;
    line-height: 1.05;
}

.hero__title-line {
    display: block;
    font-size: clamp(42px, 9vw, 88px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero__title-line--accent {
    background: linear-gradient(135deg, #ffffff 0%, #666666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    font-size: clamp(16px, 2.5vw, 19px);
    line-height: 1.65;
    color: #999;
    max-width: 560px;
    margin: 0 auto 36px;
}

.hero__lead strong {
    color: #e0e0e0;
    font-weight: 500;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 2px;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
    cursor: pointer;
}

button.btn {
    border: none;
    appearance: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
}

.btn--primary:hover {
    background: var(--bone);
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    justify-content: center;
    max-width: 640px;
    margin: 0 auto;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    overflow: hidden;
    background: var(--glass);
    backdrop-filter: blur(16px);
}

.hero__stat {
    flex: 1 1 140px;
    padding: 20px 16px;
    border-right: 1px solid var(--glass-border);
}

.hero__stat:last-child {
    border-right: none;
}

.hero__stat-value {
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.hero__stat-label {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.hero__scroll:hover {
    opacity: 0.8;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, #fff);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Content sections */
.landing-main {
    position: relative;
    z-index: 1;
}

.landing-content {
    position: relative;
    z-index: 1;
    max-width: 1060px;
    margin: 0 auto;
    padding: 40px 24px 0;
}

/* --- Architecture story (full-width) --- */
.arch-flow {
    position: relative;
    z-index: 1;
    width: 100%;
}

.arch-section {
    padding: 80px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.arch-section--manifest {
    padding-top: 96px;
    padding-bottom: 96px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    text-align: center;
}

.arch-section--core {
    background: rgba(0, 0, 0, 0.25);
}

.arch-section--tiers {
    padding-bottom: 100px;
}

.arch-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.arch-section__inner--narrow {
    max-width: 780px;
}

.arch-eyebrow {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 28px;
}

.arch-eyebrow--left {
    margin-bottom: 32px;
}

.arch-manifest__title {
    font-size: clamp(32px, 5.5vw, 52px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    text-align: center;
    margin-bottom: 32px;
}

.arch-manifest__lead {
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.7;
    color: #999;
    text-align: center;
    margin: 0;
}

.arch-core-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.arch-panel {
    padding: 36px 32px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    transition: border-color 0.25s, background 0.25s;
}

.arch-panel:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
}

.arch-panel__title {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    line-height: 1.35;
}

.arch-panel__title span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 400;
    color: #666;
}

.arch-panel__text {
    font-size: 15px;
    line-height: 1.75;
    color: #888;
    margin: 0;
}

.arch-tiers__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.arch-tiers__title {
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.35;
}

.arch-tiers__subtitle {
    font-size: 15px;
    line-height: 1.65;
    color: #777;
    margin: 0;
}

.arch-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.tier-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px 36px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s, transform 0.25s;
}

.tier-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.tier-card--mid {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
}

.tier-card--top {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.5) 100%);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.04);
}

.tier-card__step {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 16px;
}

.tier-card__name {
    font-family: 'Roboto Mono', monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 16px;
}

.tier-card--top .tier-card__name {
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tier-card__text {
    font-size: 14px;
    line-height: 1.7;
    color: #888;
    margin: 0;
    flex: 1;
}

.landing-section {
    margin-bottom: 80px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: var(--glass);
    backdrop-filter: blur(20px);
}

.landing-section__title {
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.landing-section__title--center {
    text-align: center;
    margin-bottom: 28px;
}

.landing-section__text {
    font-size: 15px;
    line-height: 1.75;
    color: #999;
    margin: 0;
    max-width: 520px;
}

.landing-section__text--lead {
    max-width: 640px;
    margin-bottom: 28px;
}

.landing-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* Block 2: split proof */
.landing-section--split {
    display: grid;
    grid-template-columns: minmax(0, 34%) minmax(0, 66%);
    gap: 36px;
    align-items: center;
}

.landing-section--split .landing-section__copy {
    max-width: 340px;
    min-width: 0;
}

.landing-section--split .landing-section__title {
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.35;
}

.landing-section--split .landing-section__text {
    max-width: none;
    font-size: 14px;
    line-height: 1.7;
}

.landing-section__copy .landing-block__index {
    margin-bottom: 12px;
}

.landing-section--split .terminal-window {
    min-width: 0;
}

/* Terminal window */
.terminal-window {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.8),
        0 24px 48px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.terminal-window__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    color: #666;
}

.terminal-window__dots {
    display: flex;
    gap: 6px;
}

.terminal-window__dots i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.terminal-window__dots i:nth-child(1) { background: #4a4a4a; }
.terminal-window__dots i:nth-child(2) { background: #3a3a3a; }
.terminal-window__dots i:nth-child(3) { background: #2a2a2a; }

.terminal-window__title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #888;
    letter-spacing: 0.3px;
}

.terminal-window__status {
    color: #6b9e6b;
    letter-spacing: 0.5px;
}

.terminal-window__body {
    margin: 0;
    padding: 18px 16px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    line-height: 1.55;
    color: #c8c8c8;
    tab-size: 2;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
}

.terminal-window__body::-webkit-scrollbar {
    height: 5px;
}

.terminal-window__body::-webkit-scrollbar-track {
    margin: 6px 12px 2px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 100px;
}

.terminal-window__body::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0.12) 100%);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-window__body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0.2) 100%);
}

.terminal-window__body::-webkit-scrollbar-corner {
    background: transparent;
}

.terminal-window__body code {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    padding: 0;
    white-space: pre;
}

.tok-key { color: #9cdcfe; }
.tok-str { color: #ce9178; }
.tok-num { color: #b5cea8; }
.tok-bool { color: #569cd6; }

/* Comparison table */
.compare-table-wrap {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th,
.compare-table td {
    text-align: left;
    padding: 16px 18px;
    border: 1px solid var(--glass-border);
    color: #999;
    vertical-align: top;
    line-height: 1.55;
}

.compare-table thead th {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
}

.compare-table__corner {
    width: 120px;
    font-size: 10px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.35);
    vertical-align: bottom;
}

.compare-table tbody th[scope="row"] {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.35);
}

.compare-table tbody td:last-child {
    color: #bbb;
    background: rgba(255, 255, 255, 0.02);
}

.compare-table tbody td strong {
    color: #fff;
    font-weight: 600;
}

/* Anti-cases */
.landing-section--anticases {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.12);
}

.anticases-list {
    list-style: none;
    display: grid;
    gap: 20px;
}

.anticases-list__item {
    padding: 20px 22px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
}

.anticases-list__label {
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.anticases-list__item p {
    font-size: 14px;
    line-height: 1.65;
    color: #888;
    margin: 0;
}

/* Ecosystem */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.ecosystem-card {
    padding: 24px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
    transition: border-color 0.25s, transform 0.25s;
}

.ecosystem-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.ecosystem-card__name {
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.ecosystem-card__tag {
    display: inline-block;
    font-family: 'Roboto Mono', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 14px;
}

.ecosystem-card p {
    font-size: 13px;
    line-height: 1.65;
    color: #888;
    margin: 0;
}

.ecosystem-card code {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    color: #ccc;
    background: #111;
    border: 1px solid #333;
    padding: 1px 5px;
}

/* Developer code blocks */
.code-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.code-block {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    background: #0a0a0a;
}

.code-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: #111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-block__label {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    color: #aaa;
    letter-spacing: 0.3px;
}

.code-block__copy {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 2px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.code-block__copy:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.code-block__copy--done {
    color: #888;
    border-color: #888;
}

.code-block__pre {
    margin: 0;
    padding: 16px 14px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    line-height: 1.6;
    color: #b8b8b8;
}

.code-block__pre .code-line {
    display: block;
}

.code-block__pre .tok-method {
    color: #d4d4d4;
    font-weight: 700;
}

.code-redact {
    filter: blur(3px);
    opacity: 0.42;
    user-select: none;
}

.code-block__pre code {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    padding: 0;
    white-space: pre;
}

.landing-block {
    margin-bottom: 80px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: var(--glass);
    backdrop-filter: blur(20px);
}

.landing-block__index {
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    color: #444;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.landing-block__title {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
}

.landing-block__text {
    font-size: 15px;
    line-height: 1.75;
    color: #999;
    margin-bottom: 14px;
}

.landing-block__text:last-of-type {
    margin-bottom: 0;
}

.landing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.landing-card {
    padding: 24px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
    transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.landing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.03);
}

.landing-card__icon {
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    color: #555;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.landing-card h3 {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.landing-card p {
    font-size: 13px;
    line-height: 1.65;
    color: #888;
    margin: 0;
}

.landing-block--cta .btn {
    margin-top: 8px;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 48px 24px 64px;
}

.landing-footer__link {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer__link:hover {
    color: #888;
}

.cta-btn {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.cta-btn:hover {
    background: #fff;
    color: #000;
}

@keyframes landing-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Whitepaper / doc --- */
body.page-doc {
    display: block;
}

.doc-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 60px;
    animation: landing-in 1.2s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

.doc-toc {
    position: sticky;
    top: 24px;
    align-self: start;
    padding-right: 24px;
    border-right: 1px dashed #333;
}

.doc-toc__top {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 20px;
}

.doc-toc__back {
    display: inline-flex;
    align-items: center;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: #888;
    text-decoration: none;
    border: 1px solid #333;
    padding: 10px 14px;
    margin-bottom: 0;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.doc-toc__top .lang-select {
    border-color: #333;
}

.doc-toc__back:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.doc-toc__label {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.doc-toc__list {
    list-style: none;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    line-height: 1.8;
}

.doc-toc__list a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.doc-toc__list a:hover {
    color: #fff;
}

.doc-toc__list a.is-active {
    color: #fff;
    font-weight: 700;
}

@media (min-width: 901px) {
    .doc-toc__list a.is-active {
        display: inline-block;
        padding-left: 10px;
        margin-left: -12px;
        border-left: 2px solid #fff;
    }
}

.doc-main {
    min-width: 0;
    padding-left: 40px;
}

.doc-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px dashed #444;
}

.doc-terminal-line {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    margin-bottom: 6px;
    opacity: 0;
    animation: fade-in 0.3s forwards;
}

.doc-terminal-line--delay {
    animation-delay: 0.2s;
}

@keyframes fade-in {
    to { opacity: 1; }
}

.doc-title {
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: 4px;
    margin: 20px 0 12px;
}

.doc-subtitle {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
    max-width: 640px;
}

.doc-section {
    margin-bottom: 48px;
    scroll-margin-top: 24px;
}

.doc-section h2 {
    font-family: 'Roboto Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.doc-section h3 {
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    margin: 24px 0 12px;
    color: #ccc;
}

.doc-section p,
.doc-section li {
    font-size: 15px;
    line-height: 1.7;
    color: #b0b0b0;
    margin-bottom: 14px;
}

.doc-section strong {
    color: #fff;
}

.doc-section code {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    background: #111;
    border: 1px solid #333;
    padding: 2px 6px;
}

.doc-pre {
    margin: 20px 0;
    padding: 18px 16px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    line-height: 1.55;
    color: #b8b8b8;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    white-space: pre;
}

.doc-pre .tok-key { color: #9cdcfe; }
.doc-pre .tok-str { color: #ce9178; }
.doc-pre .tok-num { color: #b5cea8; }
.doc-pre .tok-bool { color: #569cd6; }

.doc-formula {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    color: #ccc;
    background: #0a0a0a;
    border-left: 2px solid #555;
    padding: 14px 18px;
    margin: 16px 0;
    line-height: 1.7;
}

.doc-callout {
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px dashed #444;
    background: rgba(255, 255, 255, 0.02);
    font-size: 14px;
    color: #999;
    line-height: 1.65;
}

.doc-list {
    list-style: none;
    padding: 0;
}

.doc-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
}

.doc-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #555;
}

.doc-list--ordered {
    counter-reset: step;
}

.doc-list--ordered li {
    counter-increment: step;
    padding-left: 28px;
}

.doc-list--ordered li::before {
    content: counter(step) '.';
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    color: #888;
}

.doc-list--cols {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px 24px;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
}

.doc-table th,
.doc-table td {
    text-align: left;
    padding: 12px 14px;
    border: 1px solid #333;
    color: #b0b0b0;
    vertical-align: top;
}

.doc-table th {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    color: #fff;
    background: #0a0a0a;
}

.doc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.doc-card {
    border: 1px solid #444;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
}

.doc-card h3 {
    margin: 0 0 10px;
    font-size: 12px;
}

.doc-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.doc-card--muted {
    border-style: dashed;
    opacity: 0.7;
}

.doc-note {
    font-size: 13px;
    color: #666;
    border-left: 2px solid #444;
    padding-left: 14px;
}

.doc-glossary dt {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-top: 16px;
}

.doc-glossary dd {
    font-size: 14px;
    color: #999;
    margin: 6px 0 0;
    line-height: 1.6;
}

.doc-footer {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px dashed #444;
    text-align: center;
}

.doc-footer__cta {
    display: inline-block;
    text-decoration: none;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .doc-layout {
        grid-template-columns: 1fr;
        padding-top: 32px;
    }

    .doc-toc {
        position: static;
        border-right: none;
        border-bottom: 1px dashed #333;
        padding-right: 0;
        padding-bottom: 24px;
        margin-bottom: 8px;
    }

    .doc-toc__list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .doc-main {
        padding-left: 0;
    }

    .doc-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 900px) {
    .arch-section {
        padding: 64px 20px;
    }

    .arch-section--manifest {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .arch-core-grid {
        grid-template-columns: 1fr;
    }

    .arch-tiers-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .arch-panel {
        padding: 28px 24px;
    }

    .landing-section--split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .landing-section--split .landing-section__copy {
        max-width: none;
    }

    .landing-section__text {
        max-width: none;
    }

    .terminal-window__body {
        font-size: 10px;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 16px 20px;
    }

    .site-header__nav .site-header__link:not(.site-header__link--cta):not(.site-header__link--active) {
        display: none;
    }

    .hero {
        padding: 100px 20px 72px;
    }

    .hero__stat {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .hero__stat:last-child {
        border-bottom: none;
    }

    .landing-block,
    .landing-section {
        padding: 28px 20px;
        margin-bottom: 48px;
    }

    .arch-section {
        padding: 56px 16px;
    }

    .arch-section--manifest {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .arch-manifest__title br {
        display: none;
    }

    .landing-content {
        padding: 24px 16px 0;
    }

    .compare-table__corner {
        display: none;
    }

    .compare-table tbody th[scope="row"] {
        display: block;
        width: 100%;
        border-bottom: none;
        padding-bottom: 8px;
    }

    .compare-table tbody tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid var(--glass-border);
    }

    .compare-table tbody td {
        display: block;
        border-top: none;
    }

    .compare-table tbody td::before {
        content: attr(data-label);
        display: block;
        font-family: 'Roboto Mono', monospace;
        font-size: 9px;
        text-transform: uppercase;
        color: #555;
        margin-bottom: 6px;
        letter-spacing: 1px;
    }
}

/* --- 404 Page --- */
body.page-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.error-page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    padding: 24px;
    animation: error-page-boot 1.4s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

.error-panel {
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 36px 32px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.08);
}

.error-terminal-line {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    color: var(--text-bright);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    opacity: 0;
    animation: fade-in-line 0.3s forwards;
}

.error-terminal-line--delay {
    animation-delay: 0.25s;
}

.error-terminal-line--delay-2 {
    animation-delay: 0.5s;
}

@keyframes fade-in-line {
    to { opacity: 1; }
}

.error-code {
    margin: 28px 0 20px;
    font-size: clamp(72px, 18vw, 120px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 12px;
    text-align: center;
    color: var(--text-bright);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
    font-family: 'Roboto Mono', monospace;
}

.glitch-text:hover {
    animation: glitch-anim 0.2s linear infinite;
}

@keyframes glitch-anim {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.error-message {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #b0b0b0;
    margin-bottom: 28px;
    padding-top: 16px;
    border-top: 1px dashed #444;
}

.error-panel .error-cta {
    display: block;
    text-align: center;
    text-decoration: none;
}

@keyframes error-page-boot {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
        filter: blur(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Modal waitlist */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal[hidden] {
    display: none;
}

.modal--open {
    opacity: 1;
    visibility: visible;
}

.modal--open[hidden] {
    display: flex;
}

body.modal-open {
    overflow: hidden;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
}

.modal__panel {
    position: relative;
    width: min(520px, 100%);
    max-height: min(90vh, 720px);
    overflow-y: auto;
    padding: 32px 28px 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: rgba(8, 8, 8, 0.96);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.9),
        0 32px 64px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    background: transparent;
    color: #aaa;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.modal__close:hover {
    color: #fff;
    border-color: #fff;
}

.modal__title {
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(17px, 3vw, 20px);
    font-weight: 700;
    color: #fff;
    margin: 8px 0 10px;
    line-height: 1.3;
    padding-right: 36px;
}

.modal__lead {
    font-size: 14px;
    line-height: 1.65;
    color: #888;
    margin: 0 0 20px;
}

/* Soon pages */
.page-soon .soon-page {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 60px;
}

.soon-page__eyebrow {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #666;
    margin: 0 0 16px;
}

.soon-page__title {
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.soon-page__status {
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(14px, 3vw, 18px);
    color: rgba(0, 255, 200, 0.85);
    margin: 0 0 20px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.soon-page__text {
    max-width: 440px;
    font-size: 15px;
    line-height: 1.7;
    color: #888;
    margin: 0 0 32px;
}

.soon-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Developers hub */
.page-dev-hub .dev-hub {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    max-width: 560px;
    margin: 0 auto;
    padding: 112px 24px 72px;
}

.dev-hub__head {
    width: 100%;
    text-align: center;
    margin-bottom: 32px;
}

.dev-hub__label {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #666;
    margin: 0 0 20px;
}

.dev-hub__tabs {
    display: inline-flex;
    gap: 0;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dev-hub__tab {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    min-width: 108px;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.dev-hub__tab:hover {
    color: #fff;
}

.dev-hub__tab.is-active {
    color: var(--bone-text);
    background: var(--bone);
    border-color: var(--bone);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dev-hub__card {
    width: 100%;
    padding: 48px 40px 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(8, 8, 8, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center;
}

.dev-hub__panel:not(.is-active) {
    display: none;
}

.page-dev-hub .soon-page--embedded {
    min-height: auto;
    padding: 0;
    align-items: stretch;
}

.page-dev-hub .soon-page__eyebrow {
    margin-bottom: 12px;
}

.page-dev-hub .soon-page__title {
    font-size: clamp(36px, 9vw, 52px);
    margin-bottom: 16px;
}

.page-dev-hub .soon-page__status {
    display: inline-block;
    margin: 0 0 24px;
    padding: 6px 14px;
    border: 1px solid rgba(0, 255, 200, 0.25);
    border-radius: 2px;
    background: rgba(0, 255, 200, 0.06);
    letter-spacing: 0.18em;
}

.page-dev-hub .soon-page__text {
    max-width: none;
    margin: 0 auto 36px;
    font-size: 15px;
    line-height: 1.75;
    color: #999;
}

.page-dev-hub .soon-page__actions {
    margin-top: 0;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
    .page-dev-hub .dev-hub {
        padding: 96px 20px 56px;
    }

    .dev-hub__card {
        padding: 36px 24px 32px;
    }

    .dev-hub__tab {
        min-width: 0;
        flex: 1;
        padding: 11px 16px;
    }

    .dev-hub__tabs {
        display: flex;
        width: 100%;
    }
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}

.waitlist-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.waitlist-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.waitlist-field__label {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.waitlist-field__input {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #eee;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-field__input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.waitlist-field__input:focus {
    border-color: rgba(0, 255, 200, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 255, 200, 0.15);
}

.waitlist-field__textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.55;
}

.waitlist-form__error {
    margin: 0;
    font-size: 14px;
    color: #ff6b6b;
    font-family: 'Roboto Mono', monospace;
}

.waitlist-form__submit {
    align-self: flex-start;
    min-width: 200px;
}

.waitlist-form__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.modal .waitlist-success {
    margin-top: 0;
}

.waitlist-success {
    margin-top: 12px;
    padding: 28px 24px;
    border: 1px solid rgba(0, 255, 200, 0.25);
    border-radius: 4px;
    background: rgba(0, 255, 200, 0.06);
    text-align: center;
}

.waitlist-success__title {
    font-family: 'Roboto Mono', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: 0.04em;
}

.waitlist-success__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #aaa;
}

@media (max-width: 640px) {
    .waitlist-form__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .error-page {
        padding: 16px;
    }

    .error-panel {
        padding: 28px 20px;
    }

    .error-code {
        letter-spacing: 6px;
        margin: 20px 0 16px;
    }
}
