/* =========================================================
   HELL9000 — xAI-INSPIRED DESIGN SYSTEM 2026 · FINAL
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
    --bg: #000000;
    --bg-2: #08080a;
    --bg-3: #0d0d10;
    --ink: #ffffff;
    --ink-2: #b8b8bc;
    --ink-3: #6e6e74;
    --ink-4: #3a3a42;
    --line: rgba(255,255,255,0.08);
    --line-2: rgba(255,255,255,0.14);
    --line-3: rgba(255,255,255,0.24);
    --warn: #ff5a3c;
    --ok: #4ade80;
    --live: #ff3d3d;
    --mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --pad-x: clamp(20px, 4vw, 64px);
}

body {
    font-family: var(--mono);
    background: var(--bg);
    color: var(--ink);
    font-size: 18px;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01", "ss02", "cv01";
    transition: filter 0.8s ease;
}
body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--ink); color: var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ink-4); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* Skip link */
.skip-link {
    position: fixed;
    top: 8px; left: 8px;
    z-index: 10001;
    padding: 12px 20px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: translateY(-200%);
    transition: transform 0.25s;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.skip-link:focus { transform: translateY(0); outline: none; }

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
                transform 1s cubic-bezier(0.16,1,0.3,1);
    will-change: opacity, transform;
}
.reveal.reveal-in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ============ BACKGROUND ============ */
.bg-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 20%, transparent 80%);
}
.bg-crosshairs {
    background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: -0.5px -0.5px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 10%, transparent 70%);
    opacity: 0.5;
}
.bg-grain {
    z-index: 9996; opacity: 0.09; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grainShift 6s steps(8) infinite;
}
@keyframes grainShift {
    0%,100% { transform: translate(0,0); }
    25% { transform: translate(-2%, 2%); }
    50% { transform: translate(2%, -1%); }
    75% { transform: translate(-1%, -2%); }
}
.bg-scanlines {
    z-index: 9997; opacity: 0.5; mix-blend-mode: overlay;
    background: repeating-linear-gradient(0deg,
        rgba(255,255,255,0.014) 0px,
        rgba(255,255,255,0.014) 1px,
        transparent 1px,
        transparent 3px);
}
.bg-sweep { z-index: 9995; overflow: hidden; opacity: 0.4; }
.bg-sweep::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: -10%;
    height: 18%;
    background: linear-gradient(to bottom,
        transparent,
        rgba(255,255,255,0.035) 40%,
        rgba(255,255,255,0.07) 50%,
        rgba(255,255,255,0.035) 60%,
        transparent);
    animation: sweepMove 14s linear infinite;
}
@keyframes sweepMove {
    0%   { transform: translateY(0); }
    100% { transform: translateY(650%); }
}
.bg-vignette {
    background: radial-gradient(ellipse 100% 80% at 50% 50%, transparent 40%, rgba(0,0,0,0.75) 100%);
}
#bgCanvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.65;
}

/* PROGRESS */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 1px;
    background: var(--ink);
    z-index: 10000;
    width: 0%;
    transition: width 0.08s linear;
}

/* CONTAINER */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--pad-x);
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    gap: 24px;
    transition: padding 0.3s ease, background 0.3s ease;
}
.navbar.scrolled { padding: 14px var(--pad-x); background: rgba(0,0,0,0.92); }
.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    min-width: 0;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    color: var(--ink);
    transition: opacity 0.25s;
}
.logo:hover { opacity: 0.75; }
.logo-mark { width: 34px; height: 34px; position: relative; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-mark .pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--ink-3);
    animation: logoPulse 2.6s ease-out infinite;
    pointer-events: none;
}
@keyframes logoPulse {
    0%   { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.9); opacity: 0; }
}
.logo-text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.logo-word {
    font-family: var(--mono);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink);
}
.logo-word span { color: var(--ink-3); font-weight: 400; }
.logo-sub {
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    color: var(--ink-3);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.nav-item {
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-2);
    padding: 10px 16px;
    position: relative;
    transition: color 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-item::before {
    content: '';
    position: absolute;
    left: 16px; right: 16px;
    bottom: 6px;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.nav-item:hover { color: var(--ink); }
.nav-item:hover::before { transform: scaleX(1); }
.nav-item .nav-num { font-size: 0.66rem; color: var(--ink-3); font-weight: 400; }

.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.02);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
    transition: all 0.3s;
    cursor: pointer;
}
.status-pill:hover { border-color: var(--line-3); color: var(--ink-2); }
.status-pill .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ink-3);
    flex-shrink: 0;
    transition: all 0.3s;
}
.status-pill.live { color: var(--ink-2); border-color: var(--line-2); }
.status-pill.live .dot {
    background: var(--ok);
    box-shadow: 0 0 10px var(--ok);
    animation: dotBlink 1.6s ease-in-out infinite;
}
.status-pill.pro .dot {
    background: #ffb84a;
    box-shadow: 0 0 10px #ffb84a;
}
@keyframes dotBlink {
    0%,100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.btn-sharp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 13px 26px;
    border: 1px solid var(--line-2);
    background: transparent;
    color: var(--ink);
    transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-sharp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    z-index: -1;
}
.btn-sharp > * { position: relative; z-index: 1; }
.btn-sharp:hover { color: var(--bg); border-color: var(--ink); }
.btn-sharp:hover::before { transform: translateY(0); }
.btn-sharp.primary {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}
.btn-sharp.primary::before { background: var(--ink-2); }
.btn-sharp.primary:hover { color: var(--bg); }
.btn-sharp:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.btn-sharp:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-sharp:disabled:hover::before { transform: translateY(101%); }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-2);
    flex-direction: column;
    gap: 5px;
    padding: 0;
}
.menu-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ SECTIONS ============ */
section { padding: clamp(80px, 12vh, 160px) 0; position: relative; }
.section-head {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    margin-bottom: clamp(48px, 8vh, 96px);
    align-items: start;
}
.section-num {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding-top: 12px;
    position: relative;
    padding-left: 22px;
}
.section-num::before {
    content: '';
    position: absolute;
    left: 0; top: 22px;
    width: 10px;
    height: 1px;
    background: var(--ink);
}
.section-title-block { display: flex; flex-direction: column; gap: 22px; }
h2 {
    font-family: var(--mono);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--ink);
    text-wrap: balance;
}
h2 .accent { color: var(--ink-3); font-weight: 400; font-style: italic; }
h2 .outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--ink-3);
    text-stroke: 1px var(--ink-3);
}
.section-lead {
    font-family: var(--mono);
    font-size: clamp(0.98rem, 1.15vw, 1.1rem);
    line-height: 1.7;
    color: var(--ink-2);
    max-width: 720px;
    letter-spacing: -0.005em;
}
.section-lead b { color: var(--ink); font-weight: 600; }
.section-lead code {
    font-family: var(--mono);
    background: rgba(255,255,255,0.06);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.92em;
    color: var(--ink);
}

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding: 10px 0 16px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--line);
    width: fit-content;
    max-width: 100%;
}
.hero-badge .badge-mark {
    width: 6px; height: 6px;
    background: var(--live);
    box-shadow: 0 0 12px var(--live);
    flex-shrink: 0;
    animation: dotBlink 1.5s ease-in-out infinite;
}
.hero-badge .badge-sep { color: var(--ink-4); }

.hero h1 {
    font-family: var(--mono);
    font-size: clamp(4rem, 12vw, 11rem);
    font-weight: 800;
    line-height: 0.86;
    letter-spacing: -0.055em;
    color: var(--ink);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    text-wrap: balance;
}
.hero h1 .line { display: block; overflow: hidden; position: relative; }
.hero h1 .line-inner {
    display: block;
    transform: translateY(105%);
    animation: heroLineIn 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero h1 .line:nth-child(1) .line-inner { animation-delay: 0.1s; }
.hero h1 .line:nth-child(2) .line-inner { animation-delay: 0.25s; }
.hero h1 .line:nth-child(3) .line-inner { animation-delay: 0.4s; }
@keyframes heroLineIn { to { transform: translateY(0); } }
.hero h1 .muted { color: var(--ink-4); font-weight: 300; }
.hero h1 .accent {
    background: linear-gradient(135deg, #ffffff 0%, #6e6e74 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-lead {
    font-family: var(--mono);
    font-size: clamp(1.02rem, 1.3vw, 1.25rem);
    line-height: 1.7;
    color: var(--ink-2);
    max-width: 620px;
    margin-bottom: 48px;
    letter-spacing: -0.005em;
}
.hero-lead b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0;
}
.hero-metric {
    padding: 26px 22px 26px 0;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background 0.3s;
}
.hero-metric:last-child { border-right: none; }
.hero-metric:hover { background: rgba(255,255,255,0.02); }
.hero-metric .m-val {
    font-family: var(--mono);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.hero-metric .m-val small { font-size: 0.55em; color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.hero-metric .m-key {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.hero-visual {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}
.core { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.core-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    animation: ringSpin 40s linear infinite;
}
.core-ring::before {
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 0 0 14px var(--ink);
}
.core-ring.r1 { inset: 0; }
.core-ring.r2 { inset: 12%; animation-duration: 28s; animation-direction: reverse; border-color: var(--line); }
.core-ring.r2::before { width: 4px; height: 4px; background: var(--ink-3); box-shadow: none; }
.core-ring.r3 { inset: 24%; animation-duration: 22s; border-color: var(--line); }
.core-ring.r3::before { width: 4px; height: 4px; background: var(--ink-3); box-shadow: none; }
.core-ring.r4 { inset: 36%; animation-duration: 34s; animation-direction: reverse; border-color: var(--line-3); }
.core-ring.r4::before { width: 3px; height: 3px; background: var(--ink-2); }
.core-ring.r5 { inset: 44%; animation-duration: 18s; border-color: var(--line-3); border-style: dashed; }
@keyframes ringSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.core-center {
    position: relative;
    width: 42%; height: 42%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 34%,
            #ffffff 0%, #b8b8bc 8%, #3a3a42 32%, #0d0d10 60%, #000 100%);
    box-shadow:
        inset 0 4px 12px rgba(255,255,255,0.14),
        inset 0 -8px 32px rgba(0,0,0,0.9),
        0 0 80px rgba(255,255,255,0.15),
        0 0 180px rgba(255,255,255,0.08);
    animation: corePulse 5s ease-in-out infinite;
}
.core-center::before {
    content: '';
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg,
        rgba(255,255,255,0.06) 0deg 4deg,
        transparent 4deg 14deg);
    opacity: 0.5;
}
.core-center::after {
    content: '';
    position: absolute;
    top: 14%; left: 22%;
    width: 24%; height: 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 70%);
    filter: blur(1.5px);
}
@keyframes corePulse {
    0%,100% { transform: scale(1); filter: brightness(1); }
    50%     { transform: scale(1.04); filter: brightness(1.2); }
}
.core-coords {
    position: absolute;
    inset: 0;
    pointer-events: none;
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--ink-4);
    letter-spacing: 0.15em;
}
.core-coords span { position: absolute; text-transform: uppercase; }
.core-coords .c1 { top: -8px; left: 50%; transform: translateX(-50%); }
.core-coords .c2 { bottom: -8px; left: 50%; transform: translateX(-50%); }
.core-coords .c3 { top: 50%; left: -12px; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; }
.core-coords .c4 { top: 50%; right: -12px; transform: translateY(-50%) rotate(90deg); transform-origin: right center; }

/* TICKER */
.ticker {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: inline-flex; gap: 0; animation: tickerScroll 60s linear infinite; }
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 0 30px;
    font-family: var(--mono);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    white-space: nowrap;
}
.ticker-item b { color: var(--ink); font-weight: 600; }
.ticker-item .t-dot { width: 4px; height: 4px; background: var(--ink-4); border-radius: 50%; }
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============ VOICE GRID ============ */
.voice-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 0;
    border: 1px solid var(--line-2);
    background: rgba(8,8,10,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.03);
}
.voice-grid::before,
.voice-grid::after {
    content: '';
    position: absolute;
    width: 22px; height: 22px;
    border: 1px solid var(--ink-3);
    pointer-events: none;
}
.voice-grid::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.voice-grid::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.voice-grid .corner {
    position: absolute;
    width: 20px; height: 20px;
    border: 1px solid var(--ink-4);
    pointer-events: none;
    z-index: 3;
}
.voice-grid .corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.voice-grid .corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }

.voice-panel {
    border-right: 1px solid var(--line);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    position: relative;
    min-height: 620px;
}
.voice-panel::before {
    content: 'VOICE · INPUT';
    position: absolute;
    top: 20px; left: 24px;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.panel-actions {
    position: absolute;
    top: 14px; right: 16px;
    display: flex; gap: 6px;
    z-index: 4;
}
.panel-btn {
    width: 30px; height: 30px;
    border: 1px solid var(--line);
    color: var(--ink-3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}
.panel-btn:hover {
    color: var(--ink);
    border-color: var(--line-3);
    background: rgba(255,255,255,0.04);
}
.panel-btn svg { width: 14px; height: 14px; }

.voice-orb {
    position: relative;
    width: 260px; height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
}
.voice-orb:hover { transform: scale(1.03); }
.voice-orb:focus-visible { outline: 1px solid var(--ink); outline-offset: 12px; }
.voice-orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    animation: ringSpin 22s linear infinite;
}
.voice-orb-ring::before {
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 0 0 14px var(--ink);
}
.voice-orb-ring.r2 { inset: 12%; animation-duration: 16s; animation-direction: reverse; border-color: var(--line); }
.voice-orb-ring.r2::before { width: 4px; height: 4px; background: var(--ink-3); box-shadow: none; }
.voice-orb-ring.r3 { inset: 22%; animation-duration: 28s; border-color: var(--line-3); border-style: dashed; }
.voice-orb-ring.r3::before { display: none; }

.voice-orb-inner {
    position: relative;
    width: 56%; height: 56%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 34%,
            #ffffff 0%, #b8b8bc 8%, #3a3a42 32%, #0d0d10 62%, #000 100%);
    box-shadow:
        inset 0 4px 12px rgba(255,255,255,0.14),
        inset 0 -8px 32px rgba(0,0,0,0.9),
        0 0 60px rgba(255,255,255,0.14),
        0 0 140px rgba(255,255,255,0.06);
    transition: all 0.35s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.voice-orb-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg,
        rgba(255,255,255,0.05) 0deg 4deg,
        transparent 4deg 14deg);
    opacity: 0.6;
}
.voice-orb-inner::after {
    content: '';
    position: absolute;
    top: 14%; left: 22%;
    width: 26%; height: 20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 70%);
    filter: blur(1.5px);
}
.voice-orb .orb-icon {
    position: relative;
    z-index: 4;
    width: 44px; height: 44px;
    color: var(--ink);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.7));
    transition: all 0.3s;
}
.voice-orb.listening .voice-orb-inner {
    box-shadow:
        inset 0 4px 12px rgba(255,255,255,0.25),
        inset 0 -8px 32px rgba(0,0,0,0.9),
        0 0 90px rgba(255,255,255,0.45),
        0 0 200px rgba(255,255,255,0.18);
    animation: orbListen 1.4s ease-in-out infinite;
}
.voice-orb.thinking .voice-orb-inner { animation: orbThink 1s linear infinite; }
.voice-orb.speaking .voice-orb-inner {
    box-shadow:
        inset 0 4px 12px rgba(74,222,128,0.3),
        inset 0 -8px 32px rgba(0,0,0,0.9),
        0 0 90px rgba(74,222,128,0.55),
        0 0 200px rgba(74,222,128,0.2);
    animation: orbSpeak 1.7s ease-in-out infinite;
}
@keyframes orbListen { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes orbThink { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(0.94); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes orbSpeak { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.voice-wave {
    width: 100%;
    max-width: 320px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 8px;
}
.voice-wave span {
    width: 3px;
    height: 6px;
    background: var(--ink-2);
    transition: height 0.14s ease-out, background 0.3s;
    opacity: 0.4;
}
.voice-wave.active span { opacity: 1; background: var(--ink); }

.voice-status-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.voice-status {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding: 10px 22px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.02);
    transition: all 0.3s;
    min-width: 220px;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.voice-status.listening { color: var(--ink); border-color: var(--line-3); }
.voice-status.thinking  { color: var(--ink-2); border-color: var(--line-3); }
.voice-status.speaking  { color: var(--ok); border-color: rgba(74,222,128,0.4); }
.voice-hint {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--ink-3);
    text-transform: uppercase;
    min-height: 1.4em;
    padding: 0 20px;
    line-height: 1.6;
}

/* ============ CHAT ============ */
.chat-panel {
    display: flex;
    flex-direction: column;
    min-height: 620px;
    max-height: 720px;
    position: relative;
}
.chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.008);
}
.chat-head-left { display: flex; align-items: center; gap: 14px; }
.chat-head-avatar {
    width: 34px; height: 34px;
    position: relative;
    flex-shrink: 0;
}
.chat-head-avatar svg { width: 100%; height: 100%; display: block; }
.chat-head-avatar .pulse {
    position: absolute;
    inset: 0;
    border: 1px solid var(--ink-3);
    border-radius: 50%;
    animation: logoPulse 2.4s ease-out infinite;
}
.chat-head-text { display: flex; flex-direction: column; gap: 3px; }
.chat-head-text b {
    font-family: var(--mono);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.04em;
}
.chat-head-text span {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.chat-head-actions { display: flex; align-items: center; gap: 8px; }
.chat-btn-icon {
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--ink-3);
    transition: all 0.25s;
    position: relative;
}
.chat-btn-icon:hover {
    color: var(--ink);
    border-color: var(--line-3);
    background: rgba(255,255,255,0.03);
}
.chat-btn-icon svg { width: 16px; height: 16px; }
.chat-btn-icon:disabled { opacity: 0.3; cursor: not-allowed; }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
    position: relative;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--ink-4); }

.msg {
    max-width: 88%;
    padding: 14px 18px;
    font-family: var(--mono);
    font-size: 0.9rem;
    line-height: 1.6;
    letter-spacing: -0.005em;
    word-wrap: break-word;
    position: relative;
    animation: msgIn 0.4s cubic-bezier(0.16,1,0.3,1);
    border: 1px solid transparent;
    white-space: pre-wrap;
}
@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.msg.bot {
    align-self: flex-start;
    background: rgba(255,255,255,0.03);
    border-color: var(--line);
    color: var(--ink);
    border-left: 2px solid var(--ink-3);
    padding-right: 42px;
}
.msg.user {
    align-self: flex-end;
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
    font-weight: 500;
}
.msg.system {
    align-self: center;
    background: rgba(255,90,60,0.08);
    border-color: rgba(255,90,60,0.3);
    color: #ffa090;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 16px;
    text-align: center;
    max-width: 100%;
}
.msg.typing {
    display: inline-flex;
    gap: 5px;
    padding: 16px 20px;
    align-self: flex-start;
    background: rgba(255,255,255,0.03);
    border-color: var(--line);
    border-left: 2px solid var(--ink-3);
}
.msg.typing span {
    width: 6px; height: 6px;
    background: var(--ink-3);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}
.msg.typing span:nth-child(2) { animation-delay: 0.18s; }
.msg.typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingBounce {
    0%,60%,100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}
.msg-time {
    display: block;
    font-size: 0.62rem;
    opacity: 0.5;
    letter-spacing: 0.1em;
    margin-top: 6px;
    font-weight: 400;
}
.msg-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
.msg.bot:hover .msg-actions { opacity: 1; pointer-events: auto; }
.msg-action {
    width: 26px; height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: rgba(0,0,0,0.6);
    color: var(--ink-3);
    transition: all 0.2s;
    cursor: pointer;
}
.msg-action:hover {
    color: var(--ink);
    border-color: var(--line-3);
    background: rgba(0,0,0,0.9);
}
.msg-action svg { width: 12px; height: 12px; }

.chat-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,0.008);
}
.chat-input {
    flex: 1; min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.94rem;
    padding: 10px 0;
    letter-spacing: -0.005em;
    caret-color: var(--ink);
}
.chat-input::placeholder { color: var(--ink-4); letter-spacing: 0.02em; }
.chat-send {
    width: 44px; height: 44px;
    background: var(--ink);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.chat-send:hover {
    background: var(--ink-2);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}
.chat-send svg { width: 18px; height: 18px; }
.chat-send.abort { background: var(--warn); color: #fff; }
.chat-send.abort:hover { background: #ff7055; box-shadow: 0 10px 30px rgba(255,90,60,0.4); }

.chat-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 22px 16px;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,0.004);
}
.preset-chip {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--ink-2);
    padding: 7px 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.01);
    cursor: pointer;
    transition: all 0.25s;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.preset-chip:hover {
    color: var(--ink);
    border-color: var(--line-3);
    background: rgba(255,255,255,0.04);
    transform: translateY(-1px);
}
.preset-chip svg { width: 11px; height: 11px; }

.chat-scroll-btn {
    position: absolute;
    right: 26px;
    bottom: 130px;
    width: 40px; height: 40px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    cursor: pointer;
}
.chat-scroll-btn.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.chat-scroll-btn:hover { background: var(--ink); color: var(--bg); }
.chat-scroll-btn svg { width: 16px; height: 16px; }

/* ============ CONSOLE ============ */
.console-shell {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
}
.console-shell::before,
.console-shell::after {
    content: '';
    position: absolute;
    width: 22px; height: 22px;
    border: 1px solid var(--ink-3);
    pointer-events: none;
    z-index: 3;
}
.console-shell::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.console-shell::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.console-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.012);
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    color: var(--ink-3);
    text-transform: uppercase;
}
.console-dots { display: flex; gap: 7px; }
.console-dots span {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--ink-4);
}
.console-dots span:nth-child(1) { background: rgba(255,90,60,0.55); }
.console-dots span:nth-child(2) { background: rgba(255,200,80,0.55); }
.console-dots span:nth-child(3) { background: rgba(74,222,128,0.55); }
.console-title {
    flex: 1;
    text-align: center;
    color: var(--ink-3);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
}
.console-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
}
.console-meta .live-dot {
    width: 6px; height: 6px;
    background: var(--ok);
    box-shadow: 0 0 10px var(--ok);
    animation: dotBlink 1.8s ease-in-out infinite;
}
.console-body {
    padding: 28px 30px 8px;
    height: 400px;
    overflow-y: auto;
    font-family: var(--mono);
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--ink-2);
    scroll-behavior: smooth;
}
.console-body::-webkit-scrollbar { width: 5px; }
.console-body::-webkit-scrollbar-thumb { background: var(--ink-4); }
.console-line {
    padding: 3px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    letter-spacing: -0.005em;
}
.console-line .pr { color: var(--ink-3); margin-right: 8px; font-weight: 500; }
.cl-out    { color: var(--ink-2); }
.cl-ok     { color: var(--ok); }
.cl-warn   { color: #ffc850; }
.cl-err    { color: #ff5a3c; }
.cl-dim    { color: var(--ink-4); }
.cl-accent { color: var(--ink); font-weight: 600; }
.cl-key    { color: var(--ink-3); }
.cl-val    { color: var(--ink); font-weight: 600; }
.console-input-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 30px;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,0.008);
}
.console-prompt {
    font-family: var(--mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.console-input-row input {
    flex: 1; min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.94rem;
    letter-spacing: -0.005em;
    caret-color: var(--ink);
}
.console-input-row input::placeholder { color: var(--ink-4); }
.console-input-row button {
    padding: 8px 16px;
    border: 1px solid var(--line-2);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: all 0.25s;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.console-input-row button:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}
.console-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 30px 24px;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,0.004);
}
.hint-chip {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-2);
    padding: 7px 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.01);
    cursor: pointer;
    transition: all 0.25s;
    user-select: none;
}
.hint-chip:hover {
    color: var(--ink);
    border-color: var(--line-3);
    background: rgba(255,255,255,0.04);
    transform: translateY(-1px);
}

/* ============ CAPABILITIES ============ */
.caps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    background: rgba(0,0,0,0.4);
}
.cap-card {
    padding: 40px 36px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: background 0.35s;
    overflow: hidden;
}
.cap-card:nth-child(3n) { border-right: none; }
.cap-card:nth-last-child(-n+3) { border-bottom: none; }
.cap-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}
.cap-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
}
.cap-card:hover { background: rgba(255,255,255,0.015); }
.cap-card:hover::before { opacity: 1; }
.cap-card:hover::after { width: 100%; }
.cap-icon {
    width: 48px; height: 48px;
    border: 1px solid var(--line-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.4s;
    color: var(--ink);
    position: relative;
}
.cap-card:hover .cap-icon {
    border-color: var(--line-3);
    background: rgba(255,255,255,0.04);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.cap-icon svg { width: 22px; height: 22px; stroke-width: 1.4; }
.cap-card h3 {
    font-family: var(--mono);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 12px;
}
.cap-card p {
    font-family: var(--mono);
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ink-2);
    letter-spacing: -0.003em;
}
.cap-card .cap-meta {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

/* ============ SPECS ============ */
.specs-table {
    border: 1px solid var(--line-2);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--bg-2);
    position: relative;
}
.specs-table::before,
.specs-table::after {
    content: '';
    position: absolute;
    width: 22px; height: 22px;
    border: 1px solid var(--ink-3);
    pointer-events: none;
}
.specs-table::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.specs-table::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.spec {
    padding: 30px 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.3s;
}
.spec:nth-child(4n) { border-right: none; }
.spec:nth-last-child(-n+4) { border-bottom: none; }
.spec:hover { background: rgba(255,255,255,0.02); }
.spec-key {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.spec-value {
    font-family: var(--mono);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.spec-note {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--ink-4);
    letter-spacing: 0.02em;
}

/* ============ CTA ============ */
.cta-wrap {
    border: 1px solid var(--line-2);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.06), transparent 60%),
        var(--bg-2);
    padding: clamp(60px, 8vw, 100px) clamp(30px, 5vw, 80px);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-wrap::before,
.cta-wrap::after {
    content: '';
    position: absolute;
    width: 28px; height: 28px;
    border: 1px solid var(--ink-3);
    pointer-events: none;
}
.cta-wrap::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cta-wrap::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.cta-kicker {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.cta-kicker::before,
.cta-kicker::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--ink-4);
}
.cta-title {
    font-family: var(--mono);
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin-bottom: 26px;
    text-wrap: balance;
}
.cta-title .accent { color: var(--ink-3); font-weight: 300; font-style: italic; }
.cta-lead {
    font-family: var(--mono);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-2);
    max-width: 620px;
    margin: 0 auto 40px;
    letter-spacing: -0.003em;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
footer {
    border-top: 1px solid var(--line);
    padding: 60px 0 40px;
    background: var(--bg);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
    margin-bottom: 44px;
}
.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 440px;
}
.footer-brand-block .logo { pointer-events: none; }
.footer-brand-block p {
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--ink-3);
    letter-spacing: -0.003em;
}
.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, auto));
    gap: 40px;
}
.footer-col h4 {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 18px;
    font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
    font-family: var(--mono);
    font-size: 0.84rem;
    color: var(--ink-2);
    letter-spacing: -0.003em;
    transition: color 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-col a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width 0.3s;
}
.footer-col a:hover { color: var(--ink); }
.footer-col a:hover::before { width: 10px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--ink-3);
    text-transform: uppercase;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-bottom b { color: var(--ink); font-weight: 600; }
.footer-coords { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-coords span { white-space: nowrap; }
.footer-live { display: inline-flex; align-items: center; gap: 8px; }
.footer-live::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--ok);
    box-shadow: 0 0 10px var(--ok);
    animation: dotBlink 1.8s ease-in-out infinite;
}

/* ============ SCROLL TOP ============ */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px; height: 52px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover {
    background: var(--ink);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255,255,255,0.15);
}
.scroll-top svg { width: 18px; height: 18px; }

/* ============ MODALS ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    max-width: 560px;
    width: 100%;
    padding: 44px 40px 40px;
    position: relative;
    animation: modalIn 0.5s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 40px 120px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.04);
    margin: auto;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.modal-kicker {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 10px;
}
.modal h2 {
    font-family: var(--mono);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
    line-height: 1.1;
}
.modal-close {
    width: 36px; height: 36px;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}
.modal-close:hover {
    color: var(--ink);
    border-color: var(--line-3);
    background: rgba(255,255,255,0.04);
    transform: rotate(90deg);
}
.modal-close svg { width: 16px; height: 16px; }
.modal-sub {
    font-family: var(--mono);
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--ink-2);
    margin-bottom: 28px;
    letter-spacing: -0.003em;
}
.form-grid { display: flex; flex-direction: column; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
}
.form-field input,
.form-field select {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line-2);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.92rem;
    padding: 13px 16px;
    outline: none;
    transition: all 0.3s;
    letter-spacing: -0.005em;
    -webkit-appearance: none;
    appearance: none;
    color-scheme: dark;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.form-field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e74' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 44px;
    cursor: pointer;
}
.form-field input:focus,
.form-field select:focus {
    border-color: var(--ink);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 1px var(--ink);
}
.form-field input::placeholder { color: var(--ink-4); }
.form-slider-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.form-slider-head .val {
    font-family: var(--mono);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 2px;
    background: var(--line-3);
    outline: none;
    margin: 14px 0;
    padding: 0;
    border: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px; height: 18px;
    background: var(--ink);
    cursor: pointer;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    transition: transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px;
    background: var(--ink);
    cursor: pointer;
    border: none;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.form-note {
    font-family: var(--mono);
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--ink-3);
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.01);
    letter-spacing: -0.003em;
}
.form-note a {
    color: var(--ink-2);
    text-decoration: underline;
    text-decoration-color: var(--ink-4);
    text-underline-offset: 3px;
}
.form-note a:hover { color: var(--ink); }
.modal-actions { display: flex; gap: 10px; margin-top: 12px; }
.modal-actions .btn-sharp { flex: 1; }

/* ============ ACCESS MODAL ============ */
.access-modal { max-width: 640px; }

.access-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    overflow-x: auto;
    scrollbar-width: none;
}
.access-steps::-webkit-scrollbar { display: none; }
.as-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-4);
    transition: color 0.3s;
    flex-shrink: 0;
    white-space: nowrap;
}
.as-item b {
    font-weight: 700;
    color: var(--ink-4);
    transition: color 0.3s;
}
.as-item.active { color: var(--ink-2); }
.as-item.active b { color: var(--ink); }
.as-item.done { color: var(--ink-3); }
.as-item.done b { color: var(--ok); }
.as-line {
    flex: 1;
    min-width: 12px;
    height: 1px;
    background: var(--line);
    flex-shrink: 0;
}

.access-step { display: none; animation: stepIn 0.4s cubic-bezier(0.16,1,0.3,1); }
.access-step.active { display: block; }
@keyframes stepIn {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.access-actions {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}
.access-actions .btn-sharp { flex: 1; }

.tier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 8px;
}
.tier-card {
    background: rgba(255,255,255,0.015);
    border: 1px solid var(--line-2);
    padding: 26px 22px;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    cursor: pointer;
}
.tier-card:hover {
    border-color: var(--line-3);
    background: rgba(255,255,255,0.035);
    transform: translateY(-2px);
}
.tier-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tier-card.featured {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border-color: var(--line-3);
}
.tier-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--ink), transparent);
}
.tier-badge {
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    padding: 4px 10px;
    background: rgba(255,255,255,0.06);
    color: var(--ink-2);
    align-self: flex-start;
    border: 1px solid var(--line);
}
.tier-card.featured .tier-badge {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}
.tier-price {
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
}
.tier-price small {
    font-size: 0.4em;
    color: var(--ink-3);
    font-weight: 400;
    margin-left: 4px;
}
.tier-name {
    font-family: var(--mono);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-2);
    font-weight: 500;
}
.tier-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--mono);
    font-size: 0.76rem;
    color: var(--ink-3);
    line-height: 1.5;
}
.tier-feats li {
    position: relative;
    padding-left: 16px;
}
.tier-feats li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--ink-4);
}
.tier-cta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}
.tier-card:hover .tier-cta { color: var(--ink); }
.tier-cta::after {
    content: '→';
    transition: transform 0.3s;
}
.tier-card:hover .tier-cta::after { transform: translateX(4px); }

/* Phone */
.phone-input-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 8px;
    position: relative;
}
.phone-cc {
    font-family: var(--mono);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    padding: 13px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line-2);
    cursor: pointer;
    transition: all 0.3s;
    min-width: 78px;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.phone-cc:hover { border-color: var(--line-3); background: rgba(255,255,255,0.04); }
.phone-cc:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.phone-cc-popup {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 220px;
    background: var(--bg-3);
    border: 1px solid var(--line-2);
    z-index: 10;
    display: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    overflow: hidden;
}
.phone-cc-popup.open { display: block; }
.phone-cc-item {
    display: flex;
    justify-content: space-between;
    padding: 11px 16px;
    font-family: var(--mono);
    font-size: 0.82rem;
    color: var(--ink-2);
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--line);
}
.phone-cc-item:last-child { border-bottom: none; }
.phone-cc-item:hover { background: rgba(255,255,255,0.05); color: var(--ink); }
.phone-cc-item.active { background: rgba(255,255,255,0.04); color: var(--ink); }
.phone-cc-item b { color: var(--ink); font-weight: 600; }

.phone-input {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line-2);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 1rem;
    letter-spacing: 0.02em;
    padding: 13px 16px;
    outline: none;
    transition: all 0.3s;
    color-scheme: dark;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.phone-input:focus {
    border-color: var(--ink);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 1px var(--ink);
}
.phone-input::placeholder { color: var(--ink-4); }

.field-err {
    font-family: var(--mono);
    font-size: 0.76rem;
    color: var(--warn);
    min-height: 1.2em;
    letter-spacing: 0.02em;
    padding: 4px 2px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.field-err:empty { display: none; }
.field-err::before { content: '⚠'; opacity: 0.9; }

/* OTP */
.otp-row {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 18px;
}
.otp-cell {
    flex: 1;
    min-width: 0;
    aspect-ratio: 1 / 1.15;
    max-height: 68px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line-2);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: all 0.25s;
    -webkit-appearance: none;
    appearance: none;
    caret-color: var(--ink);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.otp-cell:focus {
    border-color: var(--ink);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 1px var(--ink);
}
.otp-cell.filled { border-color: var(--line-3); background: rgba(255,255,255,0.04); }

.otp-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--ink-3);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    gap: 12px;
    flex-wrap: wrap;
}
.link-btn {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--ink-2);
    text-decoration: underline;
    text-decoration-color: var(--ink-4);
    text-underline-offset: 3px;
    padding: 0;
    transition: color 0.25s;
    cursor: pointer;
    letter-spacing: 0.02em;
}
.link-btn:hover { color: var(--ink); }
.link-btn:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: none; }
.otp-hint {
    font-family: var(--mono);
    font-size: 0.76rem;
    padding: 12px 16px;
    background: rgba(255,200,80,0.06);
    border: 1px dashed rgba(255,200,80,0.28);
    color: #e8d0a0;
    line-height: 1.6;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}
.otp-hint b { color: #ffd070; font-weight: 700; }

/* Success */
.success-icon {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,222,128,0.18), rgba(74,222,128,0.04));
    border: 1px solid rgba(74,222,128,0.4);
    color: var(--ok);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto 22px;
    box-shadow: 0 0 40px rgba(74,222,128,0.2);
    animation: successPop 0.6s cubic-bezier(0.16,1,0.3,1);
}
@keyframes successPop {
    0% { transform: scale(0.4); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.success-title {
    font-family: var(--mono);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 10px;
    text-align: center;
}

.key-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--line-2);
    padding: 14px 16px;
    margin-bottom: 8px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    position: relative;
    overflow: hidden;
}
.key-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
}
.key-box code {
    flex: 1;
    font-family: var(--mono);
    font-size: 0.86rem;
    color: var(--ink);
    letter-spacing: 0.01em;
    word-break: break-all;
    line-height: 1.4;
}
.key-copy {
    width: 34px; height: 34px;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    flex-shrink: 0;
    background: rgba(255,255,255,0.02);
}
.key-copy:hover {
    color: var(--ink);
    border-color: var(--line-3);
    background: rgba(255,255,255,0.06);
}
.key-copy svg { width: 15px; height: 15px; }
.key-copy.copied {
    color: var(--ok);
    border-color: rgba(74,222,128,0.5);
    background: rgba(74,222,128,0.08);
}

/* QR */
.qr-wrap {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 20px;
}
.qr-frame {
    position: relative;
    width: 300px; height: 300px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    flex-shrink: 0;
    overflow: hidden;
}
.qr-frame canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}
.qr-logo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 46px; height: 46px;
    background: #000;
    color: #fff;
    font-family: var(--mono);
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    letter-spacing: -0.02em;
}
.qr-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.qr-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.qr-amount {
    font-family: var(--mono);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
}
.qr-amount small {
    font-size: 0.42em;
    color: var(--ink-3);
    font-weight: 400;
    margin-left: 4px;
}
.qr-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    font-family: var(--mono);
    font-size: 0.78rem;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.qr-details span { color: var(--ink-3); letter-spacing: 0.08em; }
.qr-details b { color: var(--ink); font-weight: 600; letter-spacing: 0.02em; }

.qr-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-2);
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
}
.qr-status.paid {
    color: var(--ok);
    background: rgba(74,222,128,0.06);
    border-color: rgba(74,222,128,0.28);
}
.qr-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ffb84a;
    box-shadow: 0 0 10px #ffb84a;
    animation: dotBlink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
.qr-status.paid .qr-dot {
    background: var(--ok);
    box-shadow: 0 0 10px var(--ok);
    animation: none;
}
.qr-hint {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--ink-3);
    line-height: 1.6;
    padding: 12px 16px;
    background: rgba(255,255,255,0.012);
    border: 1px solid var(--line);
    letter-spacing: 0.005em;
    margin-bottom: 8px;
}

/* Account */
.account-view { padding-top: 8px; }
.account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.86rem;
    gap: 16px;
}
.account-row:first-of-type { border-top: 1px solid var(--line); }
.account-row .acc-key {
    color: var(--ink-3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.68rem;
    flex-shrink: 0;
}
.account-row .acc-val {
    color: var(--ink);
    font-weight: 600;
    text-align: right;
    word-break: break-all;
    letter-spacing: 0.01em;
}
.account-row .acc-val.tier {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line-2);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.account-row .acc-val.tier.pro {
    background: rgba(255,184,74,0.08);
    border-color: rgba(255,184,74,0.3);
    color: #ffb84a;
}
.account-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.account-actions .btn-sharp { flex: 1; }

/* ============ TOASTS ============ */
.toast-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    font-family: var(--mono);
    font-size: 0.84rem;
    color: var(--ink);
    letter-spacing: -0.003em;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(255,255,255,0.03);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    pointer-events: auto;
    max-width: 400px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.success { border-left: 2px solid var(--ok); }
.toast.info    { border-left: 2px solid var(--ink-2); }
.toast.error   { border-left: 2px solid var(--warn); }
.toast .t-icon { font-size: 1rem; flex-shrink: 0; }
.toast.success .t-icon { color: var(--ok); }
.toast.error   .t-icon { color: var(--warn); }

/* ============ IDLE ============ */
body.idle .navbar { opacity: 0.4; }
body.idle .scroll-progress { opacity: 0.3; }
body.idle .bg-crosshairs { opacity: 0.2; }
body.idle #bgCanvas { opacity: 0.3; }
.navbar, .scroll-progress, .bg-crosshairs, #bgCanvas { transition: opacity 1.2s ease; }

/* ============ FULLSCREEN VOICE ============ */
.voice-panel:fullscreen,
.voice-panel:-webkit-full-screen {
    background: var(--bg);
    border: none;
    min-height: 100vh;
    padding: 60px;
}
.voice-panel:fullscreen .voice-orb,
.voice-panel:-webkit-full-screen .voice-orb {
    width: min(46vh, 500px);
    height: min(46vh, 500px);
}
.voice-panel:fullscreen .voice-wave,
.voice-panel:-webkit-full-screen .voice-wave { max-width: 60vw; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .voice-grid { grid-template-columns: 420px 1fr; }
    .voice-orb { width: 220px; height: 220px; }
}
@media (max-width: 1024px) {
    .nav-menu { display: none; }
    .hero-inner { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { max-width: 420px; }
    .voice-grid { grid-template-columns: 1fr; }
    .voice-panel { border-right: none; border-bottom: 1px solid var(--line); min-height: auto; }
    .caps-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-card:nth-child(3n) { border-right: 1px solid var(--line); }
    .cap-card:nth-child(2n) { border-right: none; }
    .cap-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .cap-card:nth-last-child(-n+2) { border-bottom: none; }
    .specs-table { grid-template-columns: repeat(2, 1fr); }
    .spec:nth-child(4n) { border-right: 1px solid var(--line); }
    .spec:nth-child(2n) { border-right: none; }
    .spec:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
    .spec:nth-last-child(-n+2) { border-bottom: none; }
    .qr-wrap { grid-template-columns: 260px 1fr; }
    .qr-frame { width: 260px; height: 260px; }
}
@media (max-width: 768px) {
    :root { --pad-x: 20px; }
    body { font-size: 16px; }
    .navbar { padding: 14px var(--pad-x); }
    .navbar.scrolled { padding: 12px var(--pad-x); }
    .menu-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: fixed;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(0,0,0,0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        padding: 12px 0;
        z-index: 999;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }
    .nav-menu.open { display: flex; }
    .nav-item {
        padding: 18px var(--pad-x);
        border-bottom: 1px solid var(--line);
        font-size: 0.94rem;
        justify-content: space-between;
    }
    .nav-item::before { display: none; }
    .nav-item:last-child { border-bottom: none; }
    .status-pill { padding: 8px 12px; font-size: 0.66rem; }
    .status-pill .status-text { display: none; }
    .hero { padding: 130px 0 60px; }
    .hero h1 { font-size: clamp(3.5rem, 15vw, 6rem); }
    .hero-metrics { grid-template-columns: repeat(2, 1fr); }
    .hero-metric:nth-child(2) { border-right: none; }
    .hero-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .section-head { grid-template-columns: 1fr; gap: 12px; }
    .section-num { padding-top: 0; padding-left: 18px; }
    .section-num::before { top: 10px; }
    section { padding: 70px 0; }
    .voice-panel { padding: 34px 24px; }
    .voice-orb { width: 180px; height: 180px; }
    .voice-orb .orb-icon { width: 36px; height: 36px; }
    .chat-panel { min-height: 500px; max-height: 640px; }
    .console-body { height: 340px; padding: 20px 20px 6px; font-size: 0.82rem; }
    .console-input-row { padding: 14px 20px; }
    .console-hints { padding: 14px 20px 18px; }
    .console-head { padding: 14px 20px; }
    .caps-grid { grid-template-columns: 1fr; }
    .cap-card { border-right: none !important; }
    .cap-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .cap-card:last-child { border-bottom: none; }
    .specs-table { grid-template-columns: 1fr; }
    .spec { border-right: none !important; }
    .spec:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
    .spec:last-child { border-bottom: none; }
    .modal { padding: 32px 24px; }
    .modal-head { margin-bottom: 24px; padding-bottom: 18px; }
    .modal h2 { font-size: 1.4rem; }
    .access-modal { max-width: 100%; }
    .access-steps { font-size: 0.6rem; margin-bottom: 24px; padding-bottom: 18px; }
    .as-line { min-width: 6px; }
    .tier-grid { grid-template-columns: 1fr; gap: 10px; }
    .qr-wrap { grid-template-columns: 1fr; gap: 20px; }
    .qr-frame { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1; margin: 0 auto; }
    .qr-side { text-align: center; }
    .qr-details { justify-content: center; }
    .otp-cell { font-size: 1.2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-nav { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .toast-wrap { left: 16px; right: 16px; bottom: 16px; }
    .toast { max-width: 100%; }
    .scroll-top { right: 16px; bottom: 16px; }
    .hero-visual { max-width: 300px; margin: 0 auto; }
    .cta-title { font-size: clamp(2rem, 9vw, 3rem); }
    .chat-scroll-btn { right: 20px; bottom: 140px; }
    .key-box code { font-size: 0.78rem; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 3rem; }
    .hero-badge { font-size: 0.62rem; letter-spacing: 0.2em; padding-bottom: 12px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn-sharp { width: 100%; }
    .hero-metric { padding: 20px 16px 20px 0; }
    .voice-orb { width: 150px; height: 150px; }
    .voice-wave span:nth-child(n+33) { display: none; }
    .voice-status { min-width: 180px; font-size: 0.7rem; padding: 9px 14px; }
    .cap-card { padding: 28px 22px; }
    .modal-actions { flex-direction: column; }
    .access-actions { flex-direction: column-reverse; }
    .access-actions .btn-sharp { width: 100%; }
    .otp-row { gap: 4px; }
    .otp-cell { font-size: 1.05rem; }
    .tier-price { font-size: 1.7rem; }
    .footer-nav { grid-template-columns: 1fr; gap: 28px; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn-sharp { width: 100%; }
    .logo-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .bg-grain, .bg-sweep::after { animation: none; }
    .hero h1 .line-inner { transform: translateY(0) !important; }
    .reveal { opacity: 1; transform: none; }
}
/* WordPress primary menu integration. */
ul.nav-menu.xewex-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.nav-menu.xewex-menu li { list-style: none; margin: 0; padding: 0; }
ul.nav-menu.xewex-menu a.nav-item { display: inline-flex; align-items: center; }
ul.nav-menu.xewex-menu .current-menu-item > a { color: var(--ink); }