/* hanun.ai // sci-fi HUD overlay
   Palette:
     --void:   #07080c
     --grid:   #1a1e2e
     --cyan:   #00e5cc
     --magenta:#ff2d78
     --blue:   #3b82f6
     --chrome: #e8eaf0
     --ghost:  #4a5068
*/

:root {
    --void: #07080c;
    --grid: #1a1e2e;
    --cyan: #00e5cc;
    --magenta: #ff2d78;
    --blue: #3b82f6;
    --chrome: #e8eaf0;
    --ghost: #4a5068;

    --font-display: "Orbitron", "Space", "Inter", system-ui, sans-serif;
    --font-body: "Noto Sans KR", "Inter", system-ui, sans-serif;
    --font-mono: "Share Tech Mono", "Inter", ui-monospace, monospace;

    --bracket-len: 20px;
    --bracket-stroke: 1px;
}

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

html, body {
    background: var(--void);
    color: var(--chrome);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    padding-bottom: 56px; /* statusbar */
    background:
        radial-gradient(ellipse at 50% 30%, rgba(0,229,204,0.05), transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(255,45,120,0.04), transparent 50%),
        var(--void);
}

/* ------------- Global HUD overlays ------------- */
.hud-grid {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        linear-gradient(rgba(74,80,104,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74,80,104,0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
}
.hud-scanlines {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 2;
    background: repeating-linear-gradient(
        180deg,
        rgba(255,255,255,0.012) 0,
        rgba(255,255,255,0.012) 1px,
        transparent 1px,
        transparent 3px
    );
    mix-blend-mode: screen;
}

/* ------------- Typography helpers ------------- */
.mono {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.dim   { color: var(--ghost); }
.cyan  { color: var(--cyan); }
.magenta { color: var(--magenta); }
.blue  { color: var(--blue); }

/* ------------- LED indicators ------------- */
.led {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ghost);
    margin: 0 6px;
    vertical-align: middle;
    box-shadow: 0 0 0 0 transparent;
    animation: led-pulse 3s ease-in-out infinite;
}
.led.tiny { width: 5px; height: 5px; margin: 0 4px; }
.led-cyan    { background: var(--cyan);    box-shadow: 0 0 8px rgba(0,229,204,0.7); }
.led-magenta { background: var(--magenta); box-shadow: 0 0 8px rgba(255,45,120,0.7); }
.led-blue    { background: var(--blue);    box-shadow: 0 0 8px rgba(59,130,246,0.6); }
.led.pulsing { animation: led-pulse-fast 1.4s ease-in-out infinite; }

@keyframes led-pulse {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 1; }
}
@keyframes led-pulse-fast {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50%      { opacity: 1;   transform: scale(1.1); }
}

/* ------------- Corner bracket chrome ------------- */
.corner {
    position: absolute;
    width: var(--bracket-len);
    height: var(--bracket-len);
    pointer-events: none;
    transition: width 200ms ease, height 200ms ease, border-color 200ms ease, opacity 300ms ease;
    border: var(--bracket-stroke) solid var(--ghost);
    z-index: 5;
}
.corner.tl { top: 8px;    left: 8px;    border-right: 0; border-bottom: 0; }
.corner.tr { top: 8px;    right: 8px;   border-left: 0;  border-bottom: 0; }
.corner.bl { bottom: 8px; left: 8px;    border-right: 0; border-top: 0; }
.corner.br { bottom: 8px; right: 8px;   border-left: 0;  border-top: 0; }

.module:hover > .corner,
.telemetry:hover > .corner,
.verb-stream:hover > .corner,
.deploy:hover > .corner,
.hero:hover > .corner {
    --bracket-len: 24px;
    border-color: var(--cyan);
}

/* ------------- Topbar ------------- */
.topbar {
    position: sticky;
    top: 0; left: 0; right: 0;
    height: 44px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(7,8,12,0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74,80,104,0.4);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-nav { display: flex; gap: 22px; }
.topbar-nav a {
    color: var(--chrome);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
    transition: color 200ms ease, opacity 200ms ease;
    position: relative;
}
.topbar-nav a:hover { color: var(--cyan); opacity: 1; }
.topbar-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
}

/* ------------- HERO ------------- */
.hero {
    position: relative;
    min-height: calc(100vh - 44px);
    padding: 64px 32px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: hidden;
    z-index: 3;
}
.hero-stamp {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ghost);
    margin-bottom: 16px;
    opacity: 0;
    animation: fade-up 700ms 200ms ease forwards;
}
.hero-stamp span:nth-child(3) { color: var(--chrome); }

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(4rem, 14vw, 11rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--chrome);
    line-height: 1;
    text-shadow:
        0 0 30px rgba(0,229,204,0.4),
        0 0 80px rgba(0,229,204,0.18);
    margin: 8px 0 6px;
    opacity: 0;
    transform: translateY(8px);
    animation: hero-title-in 900ms 1.6s cubic-bezier(.2,.8,.2,1) forwards;
    /* Korean doesn't uppercase but display-style spacing is fine */
}
.hero-romaji {
    color: var(--ghost);
    margin-bottom: 28px;
    opacity: 0;
    animation: fade-up 700ms 1.9s ease forwards;
}

.radar-stage {
    position: relative;
    width: min(560px, 80vw);
    height: min(560px, 80vw);
    margin: 8px auto 36px;
}

.cross {
    position: absolute;
    background: rgba(74,80,104,0.35);
    pointer-events: none;
}
.cross.v { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-0.5px); }
.cross.h { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-0.5px); }

.rings {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    overflow: visible;
}
.ring-stroke {
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1;
    opacity: 0.6;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: ring-draw 800ms ease forwards;
}
.ring-inner   .ring-stroke { animation-delay: 400ms; animation-duration: 400ms; }
.ring-middle  .ring-stroke { animation-delay: 600ms; animation-duration: 600ms; }
.ring-outer   .ring-stroke { animation-delay: 800ms; animation-duration: 800ms; }

@keyframes ring-draw {
    to { stroke-dashoffset: 0; }
}

.ring {
    transform-origin: 0px 0px; /* svg viewBox centered at 0,0 */
    transform-box: fill-box;
    opacity: 0;
    animation: ring-fade 200ms ease forwards;
}
.ring-inner  { animation-delay: 400ms; }
.ring-middle { animation-delay: 600ms; }
.ring-outer  { animation-delay: 800ms; }
@keyframes ring-fade { to { opacity: 1; } }

/* Continuous rotation begins after draw via animation chaining */
.ring-inner  { transform-origin: 0px 0px; animation: ring-fade 200ms 400ms ease forwards, spin-cw 20s linear 1.4s infinite; }
.ring-middle { transform-origin: 0px 0px; animation: ring-fade 200ms 600ms ease forwards, spin-ccw 30s linear 1.6s infinite; }
.ring-outer  { transform-origin: 0px 0px; animation: ring-fade 200ms 800ms ease forwards, spin-cw 40s linear 1.8s infinite; }

@keyframes spin-cw  { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }

.sweep {
    transform-origin: 0px 0px;
    animation: spin-cw 6s linear infinite;
    opacity: 0;
    animation: ring-fade 200ms 1000ms ease forwards, spin-cw 6s linear 1.2s infinite;
}

.core-dot {
    fill: var(--cyan);
    transform-origin: 0px 0px;
    transform-box: fill-box;
    filter: drop-shadow(0 0 8px var(--cyan));
    animation: core-appear 300ms 200ms ease forwards, core-pulse 2s 1500ms ease-in-out infinite;
    opacity: 0;
}
@keyframes core-appear {
    from { r: 0; opacity: 0; }
    to   { r: 4; opacity: 1; }
}
@keyframes core-pulse {
    0%,100% { transform: scale(0.8); }
    50%     { transform: scale(1.2); }
}

/* Cardinal data streams */
.stream {
    position: absolute;
    color: var(--cyan);
    opacity: 0.85;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 0 0 6px rgba(0,229,204,0.4);
}
.stream-n { top: 6%;  left: 50%; transform: translateX(-50%); }
.stream-e { right: 2%; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; text-orientation: mixed; }
.stream-s { bottom: 6%; left: 50%; transform: translateX(-50%); }
.stream-w { left: 2%;  top: 50%;  transform: translateY(-50%); writing-mode: vertical-rl; text-orientation: mixed; transform: translateY(-50%) rotate(180deg); }

.data-line::after { content: ""; }
.data-line {
    display: inline-block;
    overflow: hidden;
    border-right: 0;
}

/* Readouts at radar corners */
.readout {
    position: absolute;
    color: var(--chrome);
    line-height: 1.6;
    font-size: 11px;
    letter-spacing: 0.08em;
}
.readout-tl { top: 4px;    left: 4px; }
.readout-tr { top: 4px;    right: 4px; text-align: right; }
.readout-bl { bottom: 4px; left: 4px; }
.readout-br { bottom: 4px; right: 4px; text-align: right; }

.hero-tagline {
    max-width: 720px;
    margin: 8px auto 28px;
    color: var(--chrome);
    font-size: 16px;
    line-height: 1.7;
    opacity: 0;
    animation: fade-up 700ms 2.1s ease forwards;
}
.hero-tagline em { color: var(--magenta); font-style: normal; font-weight: 500; }

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    opacity: 0;
    animation: fade-up 700ms 2.3s ease forwards;
}
.hud-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--ghost);
    color: var(--chrome);
    background: rgba(26,30,46,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.hud-pill:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-1px); }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-title-in {
    from { opacity: 0; transform: translateY(8px); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0);  filter: blur(0); }
}

/* ------------- Ticker band ------------- */
.ticker-band {
    position: relative;
    height: 80px;
    overflow: hidden;
    border-top: 1px solid rgba(74,80,104,0.35);
    border-bottom: 1px solid rgba(74,80,104,0.35);
    background: linear-gradient(180deg, rgba(0,229,204,0.04), rgba(0,229,204,0.0)), var(--grid);
    z-index: 3;
}
.ticker-track {
    display: flex;
    gap: 40px;
    align-items: center;
    height: 100%;
    width: max-content;
    will-change: transform;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 22px;
    letter-spacing: 0.08em;
    opacity: 0.4;
    text-shadow: 0 0 8px rgba(0,229,204,0.4);
}
.ticker-track span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.ticker-track .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
}

/* ------------- Dashboard ------------- */
.dashboard {
    position: relative;
    padding: 80px 32px;
    z-index: 3;
}
.dashboard-header {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--chrome);
    margin: 0 auto 32px;
    max-width: 1280px;
}
.dashboard-header span:nth-child(2) {
    font-size: 14px;
    color: var(--cyan);
}

.grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
    z-index: 2;
}
.grid-tree {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.grid-paths polyline {
    fill: none;
    stroke: var(--ghost);
    stroke-width: 1;
    opacity: 0.3;
    transition: stroke 200ms ease, opacity 200ms ease;
}
.grid-paths polyline.lit {
    stroke: var(--cyan);
    opacity: 0.9;
    filter: drop-shadow(0 0 6px rgba(0,229,204,0.6));
}

/* Module cards */
.module {
    position: relative;
    padding: 28px;
    background: linear-gradient(180deg, rgba(26,30,46,0.55), rgba(26,30,46,0.25));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(74,80,104,0.35);
    min-height: 320px;
    transition: border-color 200ms ease, transform 250ms ease;
    opacity: 0;
    transform: translateY(16px);
}
.module.in-view { animation: module-in 700ms forwards; }
.module:hover { border-color: rgba(0,229,204,0.5); }
.module:hover > .corner { --bracket-len: 24px; border-color: var(--cyan); }

@keyframes module-in {
    to { opacity: 1; transform: translateY(0); }
}

.module-head {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--chrome);
    margin-bottom: 18px;
    border-bottom: 1px dashed rgba(74,80,104,0.4);
    padding-bottom: 12px;
}
.m-id { color: var(--ghost); }
.m-title { color: var(--cyan); flex: 1; }

.module-body h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--chrome);
    margin-bottom: 10px;
}
.module-body p {
    color: rgba(232,234,240,0.78);
    font-size: 14px;
    margin-bottom: 18px;
}

.module-foot {
    margin-top: 18px;
    display: flex;
    align-items: center;
    border-top: 1px dashed rgba(74,80,104,0.4);
    padding-top: 10px;
    color: var(--chrome);
}
.module-foot .spacer { flex: 1; }

/* Bar list (Q-01) */
.bar-list { list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--chrome); }
.bar-list li { display: grid; grid-template-columns: 64px 1fr 48px; align-items: center; gap: 10px; }
.bar { position: relative; height: 4px; background: rgba(74,80,104,0.35); }
.bar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 0 6px rgba(0,229,204,0.5);
    width: 0%;
    transition: width 1200ms cubic-bezier(.2,.8,.2,1);
}
.bar-list li span:last-child { color: var(--cyan); text-align: right; }

/* Oscilloscope (Q-02) */
.osc {
    position: relative;
    height: 140px;
    background: rgba(7,8,12,0.6);
    border: 1px solid rgba(74,80,104,0.35);
    overflow: hidden;
}
#osc-canvas { width: 100%; height: 100%; display: block; }
.osc-label {
    position: absolute;
    top: 8px; right: 10px;
    color: var(--cyan);
}

/* Decision tree (Q-03) */
.tree { width: 100%; height: 140px; display: block; }
.tree-paths polyline {
    fill: none;
    stroke: var(--ghost);
    stroke-width: 1;
    opacity: 0.6;
}
.tree-paths polyline:nth-child(1) { stroke: var(--cyan); opacity: 0.85; }
.tree-paths polyline:nth-child(3) { stroke: var(--blue); opacity: 0.7; }
.tree-nodes circle { fill: var(--ghost); }
.tree-nodes circle.terminal { fill: var(--cyan); filter: drop-shadow(0 0 4px var(--cyan)); }

/* Log (Q-04) */
.log {
    list-style: none;
    counter-reset: lognum;
    color: var(--chrome);
    font-size: 12px;
    line-height: 1.9;
    background: rgba(7,8,12,0.5);
    border: 1px solid rgba(74,80,104,0.35);
    padding: 10px 14px;
    max-height: 160px;
    overflow: hidden;
}
.log li {
    counter-increment: lognum;
    display: grid;
    grid-template-columns: 70px 36px 1fr;
    gap: 8px;
    align-items: baseline;
    border-bottom: 1px dashed rgba(74,80,104,0.25);
    padding: 4px 0;
    transition: background 200ms ease;
    cursor: default;
}
.log li:last-child { border-bottom: 0; }
.log li:hover { background: rgba(0,229,204,0.06); }
.log .ts { color: var(--ghost); }

/* ------------- Telemetry ------------- */
.telemetry {
    position: relative;
    margin: 40px auto 0;
    max-width: 1280px;
    padding: 36px 32px;
    border: 1px solid rgba(74,80,104,0.35);
    background: rgba(26,30,46,0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.cell { display: flex; flex-direction: column; gap: 8px; }
.cell .big {
    font-family: var(--font-display);
    font-size: 36px;
    letter-spacing: 0.05em;
    color: var(--chrome);
    text-shadow: 0 0 12px rgba(0,229,204,0.2);
}
.cell .big.cyan { color: var(--cyan); text-shadow: 0 0 12px rgba(0,229,204,0.5); }
.spark svg { width: 100%; height: 24px; display: block; }
.spark-line { fill: none; stroke: var(--cyan); stroke-width: 1.2; filter: drop-shadow(0 0 4px rgba(0,229,204,0.5)); }
.spark-line.magenta-line { stroke: var(--magenta); filter: drop-shadow(0 0 4px rgba(255,45,120,0.5)); }
.spark-line.blue-line { stroke: var(--blue); filter: drop-shadow(0 0 4px rgba(59,130,246,0.5)); }

/* ------------- Verb stream ------------- */
.verb-stream {
    position: relative;
    margin: 40px auto;
    max-width: 1280px;
    padding: 32px 32px 40px;
    border: 1px solid rgba(74,80,104,0.35);
    background: rgba(26,30,46,0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--chrome);
    margin-bottom: 24px;
}
.section-head span:nth-child(2) { color: var(--magenta); font-size: 14px; }

.verb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.verb-card {
    position: relative;
    padding: 22px 18px;
    background: rgba(7,8,12,0.5);
    border: 1px solid rgba(74,80,104,0.35);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 200ms ease, transform 200ms ease;
}
.verb-card:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
}
.verb-card .ko {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--chrome);
    font-size: 22px;
    letter-spacing: 0.04em;
}
.verb-card .en {
    color: var(--cyan);
    font-size: 11px;
    letter-spacing: 0.16em;
}

/* ------------- Deploy ------------- */
.deploy {
    position: relative;
    margin: 40px auto 56px;
    max-width: 1280px;
    padding: 48px 36px;
    border: 1px solid rgba(74,80,104,0.35);
    background: linear-gradient(135deg, rgba(0,229,204,0.04), rgba(255,45,120,0.04));
}
.deploy-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.deploy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--chrome);
    line-height: 1.2;
    margin: 12px 0 18px;
}
.deploy-copy { color: rgba(232,234,240,0.8); }

.codeblock {
    background: rgba(7,8,12,0.7);
    border: 1px solid rgba(74,80,104,0.4);
    color: var(--chrome);
    padding: 22px 24px;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre;
    overflow-x: auto;
    position: relative;
}
.codeblock::before {
    content: "// shell.exec";
    position: absolute;
    top: 6px; right: 14px;
    font-size: 10px;
    color: var(--ghost);
    letter-spacing: 0.16em;
}

/* ------------- Statusbar ------------- */
.statusbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 40px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
    background: rgba(7,8,12,0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(74,80,104,0.4);
    color: var(--chrome);
}
.sb-left, .sb-mid, .sb-right { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.sb-mid { justify-content: center; }
.sb-mid .typer { color: var(--cyan); }
.sb-right { justify-content: flex-end; }
.cursor {
    display: inline-block;
    color: var(--cyan);
    animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

#sb-verb {
    display: inline-block;
    color: var(--chrome);
    transition: filter 200ms ease, opacity 200ms ease, transform 220ms ease;
}
#sb-verb.out { filter: blur(4px); opacity: 0; transform: translateY(-4px); }
#sb-verb.in  { filter: blur(0);   opacity: 1; transform: translateY(0); }

/* ------------- Responsive ------------- */
@media (max-width: 920px) {
    .topbar-nav { display: none; }
    .grid { grid-template-columns: 1fr; }
    .telemetry-grid { grid-template-columns: repeat(2, 1fr); }
    .verb-grid { grid-template-columns: repeat(2, 1fr); }
    .deploy-inner { grid-template-columns: 1fr; gap: 24px; }
    .statusbar { grid-template-columns: 1fr 1fr; }
    .statusbar .sb-mid { display: none; }
    .stream { font-size: 10px; }
    .ticker-track { font-size: 18px; }
}

@media (max-width: 560px) {
    .topbar { padding: 0 14px; }
    .hero { padding: 40px 18px 60px; }
    .telemetry-grid { grid-template-columns: 1fr 1fr; }
    .verb-grid { grid-template-columns: 1fr 1fr; }
    .cell .big { font-size: 28px; }
    .module { padding: 22px; min-height: 0; }
    .deploy { padding: 30px 22px; }
    .ticker-band { height: 60px; }
}

/* ------------- Reveal helper for streams ------------- */
.data-line.typed::before {
    content: attr(data-text);
    display: inline-block;
}
