:root {
  color-scheme: dark;
  font-family: Inter, Arial, Helvetica, sans-serif;
  --green: #00f590;
  --pale: #e9f0ed;
  --soft: #c2d1cd;
  --ink: #050a09;
  --line: #285947;
  background: #050908;
  color: var(--pale);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; vertical-align: middle; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; inset: 8px auto auto 8px; z-index: 50; padding: 12px; color: #02150d; background: var(--green); transform: translateY(-160%); }
.skip:focus { transform: none; }
.foundry { position: relative; width: min(100%, 1440px); margin: auto; container-type: inline-size; }
.foundry.is-backgrounded * { animation-play-state: paused !important; }
.factory {
  position: relative;
  isolation: isolate;
  background: #07110f url('/foundry/optimized/backgrounds/foundry-continuous.webp') center top / 100% 100% no-repeat;
}
.factory section { position: relative; }
.brand { display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
.mark { display: block; width: 1.35em; height: 1.35em; object-fit: contain; flex: none; }
.grok-mark { border-radius: 50%; }
.fomo-mark { filter: grayscale(1) contrast(1.6); mix-blend-mode: screen; }
.site-header {
  position: absolute; z-index: 9; inset: 0 0 auto; min-height: 9.5cqw;
  padding: 0 4.45cqw;
  display: flex; align-items: center; justify-content: space-between; gap: 2cqw;
  background: linear-gradient(#070b0be8, #070b0b77 70%, transparent);
}
.site-header .brand { font-size: clamp(18px, 2.9cqw, 38px); letter-spacing: -.045em; }
.site-header nav, .site-footer nav { display: flex; gap: 2.6cqw; align-items: center; text-transform: uppercase; font-size: clamp(11px, 1.62cqw, 18px); font-weight: 800; }
.site-header nav a, .site-footer nav a { display: inline-grid; align-items: center; min-height: 44px; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--green); }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: .66em;
  min-height: 44px; padding: .5em 1.45em; width: fit-content;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--green); color: #00170f; font-weight: 900; line-height: 1;
  text-transform: uppercase; white-space: nowrap;
  font-size: clamp(12px, 1.96cqw, 25px);
  box-shadow: 0 2px 18px #00f59024;
  transition: background .2s, box-shadow .2s;
}
.button:hover { background: #58ffb9; box-shadow: 0 2px 25px #00f59050; }
.header-enter { font-size: clamp(11px, 1.48cqw, 20px); }
h1, .agent-section > h2, .fomo-section > h2 {
  margin: 0; text-transform: uppercase; font-weight: 950; line-height: .96;
  letter-spacing: -.045em; font-size: 4.63cqw; text-shadow: 0 .12em .6em #000, 0 .035em .12em #000;
}
.hero { height: 86cqw; }
.hero-copy { position: absolute; z-index: 5; inset: 19.1cqw auto auto 5.1cqw; width: 41cqw; }
.hero-subtitle { margin: .48em 0 .46em; color: var(--green); font-size: 2.48cqw; line-height: 1.04; font-weight: 900; text-transform: uppercase; text-shadow: 0 1px 12px #000; }
.hero-description { width: 33cqw; margin: 0; color: #e0e7e4; font-size: 1.92cqw; line-height: 1.26; text-shadow: 0 1px 10px #000; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .72cqw; list-style: none; padding: 0; margin: 2.1cqw 0 2.1cqw; }
.hero-badges li {
  display: flex; align-items: center; gap: .32em; white-space: nowrap;
  text-transform: uppercase; border: 1px solid #41785e; border-radius: 100px;
  background: #081613d9; padding: .48em .63em; font-size: 1.26cqw; font-weight: 800;
}
.hero-badges svg, .hero-badges .mark { color: #64f7bf; width: 1.38em; height: 1.38em; }
.hero-orb, .second-orb {
  position: absolute; z-index: 2; height: auto; pointer-events: none;
  animation: levitate 8s ease-in-out infinite;
}
.hero-orb { width: 30cqw; top: 18.4cqw; left: 53.1%; translate: -50% 0; }
.reactor-light, .second-reactor-light {
  position: absolute; z-index: 1; left: 35%; top: 14.4cqw; width: 36%; height: 17cqw;
  border-radius: 50%; overflow: hidden; pointer-events: none;
  transform: perspective(220px) rotateX(35deg);
}
.reactor-light i, .second-reactor-light i {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 50%, #00f59135 71%, transparent 84%);
  mask: radial-gradient(ellipse, transparent 48%, #000 70%, transparent 74%);
  animation: revolve 28s linear infinite;
}
.energy-spine { position: absolute; z-index: -1; left: 51%; top: 12%; width: 4%; height: 68%; overflow: hidden; pointer-events: none; }
.energy-spine i { position: absolute; inset: -20% 0 auto; height: 16%; background: radial-gradient(ellipse, #72ffbd75, transparent 67%); animation: descend 10s linear infinite; }
.phone { position: absolute; z-index: 4; width: 29cqw; aspect-ratio: 210 / 370; top: 11.05cqw; left: 68.8%; font-size: 1.19cqw; }
.phone { transform: translate(var(--phone-x, 0px), var(--phone-y, 0px)); transition: transform .22s ease-out; }
.health-chart { width: 100%; height: 2.5em; stroke: #45e7a2; stroke-width: 1.3; fill: none; }
.phone-frame, .phone-glass { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phone-glass { background: #030605; clip-path: polygon(19% 16%, 20% 13%, 28% 12%, 81% 8.5%, 91% 10%, 94% 14%, 94% 89%, 91% 93%, 85% 95%, 27% 95%, 21% 93%, 19% 89%); }
.phone-ui {
  position: absolute; z-index: 1; inset: 13.7% 9.8% 7.1% 21.6%;
  overflow: hidden; border-radius: 10% 11% 9% 9%;
  background: linear-gradient(155deg, #151e1b, #060a09 27%);
  transform: skewY(-3.4deg); padding: 4.4% 4% 3%;
  display: flex; flex-direction: column; gap: .8em; color: #f2f6f4;
}
.phone-frame { z-index: 2; max-width: none; }
.phone-top, .phone-brand, .phone-agent-title, .phone-tabs { display: flex; align-items: center; justify-content: space-between; }
.phone-top { padding-inline: .45em; opacity: .8; }
.phone-brand { justify-content: flex-start; gap: .45em; padding: .42em; border-radius: .7em; background: #192521; }
.phone-brand .mark { width: 1.25em; height: 1.25em; }
.phone-brand > span { margin-left: auto; color: #bed0c7; font-size: .92em; }
.phone-signal { padding: .45em .15em .15em; display: grid; gap: .52em; flex: 1; min-height: 0; grid-template-rows: auto auto 1fr; }
.phone-signal > small { color: #bed0c7; }
.phone-signal > strong { color: var(--green); font-size: 2.45em; letter-spacing: -.045em; text-transform: uppercase; }
.signal-grid {
  display: grid; place-items: center; text-align: center; min-height: 2.8em;
  color: #c0dacf; border: 1px solid #24533d; border-radius: .5em;
  background: repeating-linear-gradient(0deg, transparent 0 1.35em, #28634f30 1.35em calc(1.35em + 1px)), repeating-linear-gradient(90deg, #06281975 0 1.5em, #1e644766 1.5em calc(1.5em + 1px));
}
.phone-agent-title > span { color: #75e8b9; }
.phone-agents { display: grid; grid-template-columns: 1fr 1fr; gap: .35em; }
.phone-agents div { display: flex; align-items: center; gap: .2em; min-width: 0; border-radius: .4em; background: #172522; padding: .4em .3em; }
.phone-agents .agent-mark { width: 1.1em; height: 1.1em; }
.phone-tabs { gap: .14em; border-top: 1px solid #263a34; padding: .55em 0 .25em; font-size: .82em; }
.phone-tabs span { display: grid; justify-items: center; gap: .3em; }

.bridge { position: absolute; z-index: 3; width: 64cqw; aspect-ratio: 3; bottom: 6.4cqw; left: 53%; translate: -50%; }
.bridge-shell { position: absolute; width: 100%; height: 113%; top: -6.5%; object-fit: fill; }
.bridge-content {
  position: absolute; inset: 23% 9% 24%; display: grid; align-items: center; grid-template-columns: repeat(3, 1fr);
  white-space: nowrap; text-align: center;
}
.bridge-content .brand { display: grid; gap: 0; justify-items: center; font-size: 2.3cqw; line-height: .95; }
.bridge-content .mark { width: 2.15em; height: 2.15em; }
.bridge-content .fomo-mark { width: 2.65em; height: 2.15em; }
.bridge-label { font-size: 1.58cqw; font-weight: 900; text-transform: uppercase; text-shadow: 0 0 10px #21ff9f; }
.bridge-pulse { position: absolute; top: 51%; left: 28%; right: 28%; height: 2px; background: radial-gradient(ellipse, #92ffcd, transparent 70%); opacity: 0; animation: transmit 7s ease-in-out infinite; pointer-events: none; }
.agent-section { height: 109cqw; padding: 5.7cqw 4.4cqw 0; }
.agent-section > h2 { position: relative; z-index: 1; font-size: 4.85cqw; }
.agents {
  position: relative; z-index: 2; margin: 2.25cqw -1.2cqw 0; padding: 0;
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: .5cqw; row-gap: 2.6cqw;
}
.agent-controls { display: none; }
.agent { height: 34.8cqw; position: relative; min-width: 0; --accent: #38e6ae; }
.agent-risk { --accent: #f3937d; }
.agent-harvest { --accent: #edc96c; }
.agent-exit { --accent: #69d7ff; }
.agent-shell { position: absolute; inset: 0 -11% 0; width: 122%; max-width: none; height: 100%; object-fit: fill; }
.agent-content {
  position: absolute; inset: 16% 13% 15%; display: grid; grid-template-rows: 22% 18% 16% 1fr auto;
  align-items: center; justify-items: center; text-align: center;
}
.agent-mark { display: inline-grid; place-items: center; object-fit: contain; flex: none; color: var(--accent, #55e9b2); }
.agent-mark svg { width: 92%; height: 92%; }
.agent-content .agent-mark { width: 4.7cqw; height: 4.7cqw; }
.agent h3 { margin: 0; max-width: 13cqw; font-size: 2.2cqw; font-weight: 850; line-height: .95; text-transform: uppercase; text-wrap: balance; }
.agent-state {
  display: inline-flex; gap: .36em; align-items: center; justify-content: center; align-self: stretch; width: 100%;
  border-block: 1px solid #317f5b75; color: #98e6c8; font-size: 1.44cqw; font-weight: 800; text-transform: uppercase;
}
.agent-state i { width: .55em; height: .55em; border-radius: 50%; background: #5e927e; }
.agent:has([data-online]) .agent-state i { background: var(--green); box-shadow: 0 0 9px #00e8948f; animation: breathe 7s ease-in-out infinite; }
.meter { display: block; width: 94%; height: 95%; color: var(--accent); }
.meter-grid { fill: none; stroke: currentColor; opacity: .19; }
.meter-active, .meter-trace { fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.meter-active { animation: breathe 6s ease-in-out infinite; }
.radar { opacity: .48; transform-origin: 60px 30px; animation: revolve 9s linear infinite; }
.agent-role { color: #b8cdc3; font-size: 1.05cqw; line-height: 1.1; }
.conveyor { position: absolute; left: -3%; bottom: 6.6cqw; width: 63%; height: 20cqw; overflow: hidden; pointer-events: none; }
.console-conveyor { z-index: 4; bottom: 15cqw; }
.conveyor .belt { position: absolute; width: 100%; bottom: -5%; }
.signal-orb { position: absolute; left: -10%; bottom: 26%; width: 15%; height: auto; animation: belt-run 14s linear infinite; }
.agent.is-arriving { animation: arrive .6s ease-out both; }
.signal-orb:nth-of-type(2) { animation-delay: -2s; }
.signal-orb:nth-of-type(3) { animation-delay: -5s; }
.signal-orb:nth-of-type(4) { animation-delay: -8s; }
.signal-orb:nth-of-type(5) { animation-delay: -10.8s; }
.signal-orb:nth-of-type(6) { animation-delay: -13s; }
.flow {
  position: absolute; z-index: 2; left: 5.5%; right: 5.5%; bottom: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); padding: 1.1cqw .4cqw; margin: 0; list-style: none;
  border: 1px solid #2e8064; border-radius: 3.6cqw;
  background: linear-gradient(120deg, #091511f5, #122923e8, #0b1714f5); box-shadow: inset 0 0 2cqw #14f89a23;
}
.flow li { position: relative; display: grid; gap: .25em; justify-items: center; padding: .2em; text-transform: uppercase; font-size: 1.72cqw; font-weight: 850; }
.flow li svg { width: 2.4em; height: 2.4em; color: #67e9b3; animation: sequence 9s ease-in-out infinite; }
.flow li:nth-child(2) svg { animation-delay: 1.2s; }
.flow li:nth-child(3) svg { animation-delay: 2.4s; }
.flow li:nth-child(4) svg { animation-delay: 3.6s; }
.flow li:nth-child(5) svg { animation-delay: 4.8s; }
.flow li:nth-child(6) svg { animation-delay: 6s; }
.flow li:not(:last-child)::after { content: '→'; position: absolute; inset: 23% -.35em auto auto; color: #67e9b3; font-size: 1.2em; }

.fomo-section { padding: 8.8cqw 4.5cqw 3.5cqw; min-height: 91cqw; }
.fomo-section > h2 { position: relative; z-index: 3; font-size: 4.59cqw; }
.fomo-section h2 em { color: var(--green); font-style: normal; }
.second-orb { width: 19.6cqw; left: 76%; top: 11.7cqw; translate: -50% 0; }
.second-reactor-light { width: 24%; left: 63.5%; top: 10.2cqw; height: 12cqw; }
.console { position: relative; z-index: 3; height: 54.9cqw; margin-top: 1.6cqw; scroll-margin-top: 24px; transform: skewY(3deg); }
.console-shell { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.console-ui {
  position: absolute; inset: 20% 5.4% 16% 5.4%; display: grid; grid-template-columns: 21fr 43fr 36fr;
  grid-template-rows: 1fr auto; gap: .55em .65em; font-size: 1.48cqw; line-height: 1.14;
}
.console-sidebar, .console-center, .console-right { min-width: 0; display: flex; flex-direction: column; gap: .5em; }
.console-sidebar .brand { font-size: 1.15em; margin: 0 0 .4em .08em; }
.console-sidebar > :is(a, button, .selected) {
  display: flex; align-items: center; gap: .4em; padding: .55em .45em;
  border: 0; border-radius: .55em; color: #e7f1ee; text-align: left; background: none;
}
.console-sidebar > :is(a, button):hover, .console-sidebar .selected { background: #114b34; color: #eefff7; }
.console-sidebar svg { color: #93e3bf; }
.system-panel, .fomo-panel, .telemetry, .engine-panel, .agents-panel {
  border: 1px solid #35645590; border-radius: .85em; padding: .65em .7em; background: linear-gradient(140deg, #19332c, #0b1816 78%);
}
.system-panel, .fomo-panel { display: flex; align-items: center; gap: .55em; min-height: 3.75em; }
.system-panel svg { width: 1.65em; height: 1.65em; flex: none; color: var(--green); }
.system-panel small, .fomo-panel small { display: block; margin-top: .25em; font-size: .85em; color: #c3d5cd; }
.fomo-panel .mark { width: 2.5em; height: 2.1em; }
.fomo-panel > span { margin-left: auto; color: #a8e4cb; text-transform: uppercase; font-size: .72em; }
.telemetry { display: grid; gap: .65em; flex: 1; }
.telemetry .signal-grid { font-family: ui-monospace, monospace; font-size: .92em; }
.engine-panel { display: flex; justify-content: space-between; gap: .35em; }
.engine-panel span, .agents-panel b { color: #9edcbf; font-weight: 750; text-transform: uppercase; }
.agents-panel { flex: 1; }
.agents-panel h3 { margin: 0 0 .33em; font-size: 1em; }
.agents-panel ul, .status-agents { list-style: none; margin: 0; padding: 0; }
.agents-panel li { display: grid; grid-template-columns: 1.1em 1fr auto; align-items: center; gap: .32em; padding: .25em 0; border-top: 1px solid #254436; min-width: 0; }
.agents-panel li .agent-mark { width: 1.1em; height: 1.1em; }
.agents-panel li b { font-size: .74em; }
.console-timestamp { grid-column: 2 / -1; margin: 0; font-family: ui-monospace, monospace; color: #acd0bf; font-size: .77em; }
.end-actions { position: relative; z-index: 4; display: grid; gap: 1.35cqw; justify-items: center; margin-top: 2.8cqw; }
.end-actions .button:first-child { min-width: 42cqw; padding-inline: 1.6em; }
.end-actions .outline { min-width: 30cqw; }
.outline { background: #061311cc; border-color: #a6c2b7; color: #f1faf7; box-shadow: none; }
.outline:hover { background: #143426; }
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5cqw 2.3cqw; min-height: 9.7cqw; padding: 1.15cqw 4.5cqw; background: #060a0a;
  border-top: 1px solid #44534e; font-size: clamp(12px, 1.83cqw, 23px);
}
.footer-fomo { display: flex; align-items: center; gap: .4em; border-inline: 1px solid #394944; padding-inline: 2.3cqw; }
.footer-fomo .mark { width: 2.2em; height: 2em; }
.footer-fomo small { display: block; font-size: .59em; text-transform: uppercase; }
.site-footer nav { font-size: max(11px, 1.24cqw); margin-left: auto; }
.site-footer p { flex: 0 0 100%; margin: 0; font-size: max(11px, 1.28cqw); color: #b2c0bb; }

.dialog { width: min(560px, calc(100% - 24px)); max-height: 88dvh; padding: clamp(20px, 5vw, 36px); border-radius: 22px; border: 1px solid #365f4f; background: #101d19; color: #f5faf8; box-shadow: 0 22px 70px #000b; }
.dialog::backdrop { background: #020c09d9; }
.dialog h2 { margin: 0 46px .5em 0; font-size: clamp(24px, 5vw, 37px); text-transform: uppercase; letter-spacing: -.04em; }
.dialog p { color: var(--soft); line-height: 1.45; }
.dialog .close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #162d24; color: white; font-size: 24px; line-height: 1; }
#access-form { display: grid; gap: 12px; }
#access-form label { font-size: 13px; font-weight: 800; }
#access-form input { width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid #60957c; border-radius: 8px; background: #080f0c; color: #fff; }
#access-form p { color: #ffaea0; margin: 0; }
.status-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.status-summary > div, .status-agents li { border: 1px solid var(--line); border-radius: 8px; padding: 8px; min-width: 0; }
.status-summary dt { font-size: 12px; color: var(--soft); }
.status-summary dd { margin: .2em 0 0; font-weight: 800; overflow-wrap: anywhere; }
.status-agents { display: grid; gap: 5px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.status-agents li { display: flex; align-items: center; gap: .3em; font-size: 13px; }
.status-agents .agent-mark { width: 18px; height: 18px; }
.status-agents b { font-size: 11px; margin-left: auto; color: #a8e8cd; }
@keyframes levitate { 50% { transform: translateY(-.55cqw) rotate(2deg); } }
@keyframes revolve { to { transform: rotate(360deg); } }
@keyframes descend { 0% { transform: translateY(0); opacity: 0; } 12%, 88% { opacity: .6; } 100% { transform: translateY(750%); opacity: 0; } }
@keyframes transmit { 0%, 12%, 95%, 100% { transform: translateX(-25%) scaleX(.35); opacity: 0; } 50% { opacity: .65; } 80% { transform: translateX(27%) scaleX(.5); opacity: 0; } }
@keyframes breathe { 50% { opacity: .65; } }
@keyframes sequence { 0%, 65%, 100% { opacity: .7; } 25% { opacity: 1; transform: translateY(-.1em); } }
@keyframes arrive { from { opacity: .45; transform: translateY(8px); } to { opacity: 1; } }
@keyframes belt-run {
  0% { transform: translate(0, 10%) scale(1); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate(630%, -120%) scale(.3); opacity: 0; }
}
@media (min-width: 650px) and (max-width: 850px) {
  .site-header nav { gap: 1.9cqw; }
}
@media (max-width: 649px), (max-width: 900px) and (max-aspect-ratio: 4/5) {
  .factory { background-size: auto 100%; }
  .site-header { flex-wrap: wrap; min-height: 90px; padding: 6px 5cqw 0; justify-content: space-between; gap: 0 8px; align-content: flex-start; }
  .site-header .brand { font-size: 22px; }
  .site-header nav { order: 2; justify-content: space-between; flex: 0 0 100%; gap: 10px; font-size: 12px; max-width: 400px; margin-inline: auto; }
  .header-enter { font-size: 11px; }
  .hero { height: calc(97px + 139cqw); }
  .hero-copy { inset: calc(90px + 6cqw) auto auto 5.2cqw; width: 68cqw; }
  h1 { font-size: 8cqw; }
  .hero-subtitle { font-size: clamp(12px, 4.1cqw, 21px); }
  .hero-description { width: 57cqw; max-width: 33ch; font-size: clamp(13px, 3.62cqw, 19px); }
  .hero-badges { gap: .9cqw; margin-block: 3cqw; width: 91cqw; }
  .hero-badges li { font-size: clamp(8px, 2.4cqw, 14px); }
  .hero-orb { width: 47cqw; left: 44%; top: calc(88px + 72cqw); }
  .reactor-light { left: 23%; top: calc(84px + 66cqw); width: 52%; height: 28cqw; }
  .phone { left: auto; right: 1.4cqw; width: 38cqw; top: calc(90px + 59cqw); font-size: 1.54cqw; }
  .bridge { width: 82cqw; left: 50%; bottom: 0; }
  .bridge-content .brand { font-size: 3.15cqw; }
  .bridge-label { font-size: 2.2cqw; }
  .agent-section { height: auto; min-height: 0; padding: 9cqw 5cqw 0; }
  .agent-section > h2, .fomo-section > h2 { font-size: 7cqw; }
  .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 3cqw -1cqw 0; gap: 1.8cqw; }
  .agent { height: 59cqw; }
  .agent-shell { inset-inline: -5%; width: 110%; }
  .agent h3 { max-width: 26cqw; font-size: clamp(13px, 4.05cqw, 22px); }
  .agent-content .agent-mark { width: 8.6cqw; height: 8.6cqw; }
  .agent-state { font-size: clamp(10px, 2.65cqw, 15px); }
  .agent-role { font-size: clamp(9px, 2.2cqw, 14px); }
  .conveyor { position: relative; bottom: auto; margin-left: -3%; width: 85%; height: 22cqw; }
  .console-conveyor { display: none; }
  .flow { position: relative; inset: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw 0; padding: 2.5cqw 0; }
  .flow li { font-size: clamp(11px, 2.8cqw, 17px); }
  .flow li:nth-child(3)::after { display: none; }
  .fomo-section { padding: 12cqw 5cqw 7cqw; }
  .second-orb { width: 31cqw; left: 76%; top: 30cqw; }
  .second-reactor-light { top: 27cqw; }
  .console { height: auto; min-height: 0; margin-top: 25cqw; border: 2px solid #57746d; border-radius: 7cqw; background: #071411; box-shadow: inset 0 0 0 2px #192723, 0 0 12px #040807; overflow: clip; }
  .console-shell { height: 24cqw; object-fit: fill; }
  .console { transform: none; }
  .console-ui { position: relative; inset: auto; grid-template-columns: 1fr; padding: 6.2cqw 4cqw 4cqw; font-size: clamp(13px, 3.4cqw, 17px); }
  .console-sidebar { display: none; }
  .console-center, .console-right { gap: .55em; }
  .console-timestamp { grid-column: auto; }
  .agents-panel li { min-height: 26px; }
  .end-actions { gap: 12px; margin-top: 7cqw; }
  .site-footer { gap: 6px 12px; padding-block: 12px; }
  .site-footer nav { flex: 0 0 100%; margin-left: 0; gap: 20px; }
}
@media (max-width: 480px) {
  .agents {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 61cqw;
    overflow-x: auto; margin-inline: -5cqw; padding-inline: 7cqw 33cqw;
    scroll-snap-type: x mandatory; scroll-padding-inline: 7cqw; scrollbar-width: thin;
  }
  .agent { height: 77cqw; scroll-snap-align: start; }
  .agent-content .agent-mark { width: 10cqw; height: 10cqw; }
  .agent-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-block: 8px; font-size: 13px; }
  .agent-controls button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid #4a8e74; background: #091714; color: #a6ffda;
  }
  .agent-controls button:disabled { opacity: .5; }
}
@media (max-width: 360px) {
  .status-agents { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .signal-orb:nth-of-type(2) { left: 16%; }
  .signal-orb:nth-of-type(3) { left: 36%; bottom: 33%; width: 12%; }
  .signal-orb:nth-of-type(4) { left: 54%; bottom: 40%; width: 10%; }
  .signal-orb:nth-of-type(5) { left: 68%; bottom: 46%; width: 8%; }
  .signal-orb:nth-of-type(6) { left: 80%; bottom: 51%; width: 6%; }
}
