:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e9f0fb;
  background: #070b12;
  font-synthesis: none;
  --muted: #9eacc0;
  --cyan: #6aeeef;
  --line: #ffffff14;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
section, main { scroll-margin-top: 24px; }
section:focus, main:focus { outline: none; }

.page-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: #102632; z-index: 10; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 80% 20%, #26315f30, transparent 50%), radial-gradient(ellipse at 10% 90%, #0b41432b, transparent 50%); }
.ambient::before { content: ""; position: absolute; inset: -30%; background-image: linear-gradient(#74a8c809 1px, transparent 1px), linear-gradient(90deg, #74a8c809 1px, transparent 1px); background-size: 64px 64px; transform: perspective(800px) rotateX(40deg); }

.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 16px; font-weight: 700; letter-spacing: 2px; }
.brand img { flex-shrink: 0; }
.brand-caption { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 400; letter-spacing: 1px; }
nav { display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--muted); }
nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
nav a:hover, .text-link:hover { color: var(--cyan); }
.nav-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; padding: 72px 0 64px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; font: 11px var(--mono); letter-spacing: 2px; color: var(--cyan); }
.eyebrow > span { height: 1px; width: 28px; background: var(--cyan); }
h1 { margin: 0; font-size: clamp(64px, 8vw, 108px); line-height: 1.12; letter-spacing: -5px; font-weight: 800; }
h1 > span { color: var(--cyan); background: linear-gradient(110deg, #6aeeef 10%, #94baff 62%, #bab0ff); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { margin: 26px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 14px 24px; border: 1px solid #a3ffff; border-radius: 8px; background: var(--cyan); color: #071318; font-size: 14px; font-weight: 650; cursor: pointer; box-shadow: 0 0 28px #6aeeef13; transition: background 180ms, box-shadow 180ms, transform 180ms; }
.primary-button:hover { background: #a3ffff; box-shadow: 0 0 32px #6aeeef30; transform: translateY(-2px); }
.primary-button:disabled { cursor: wait; opacity: 0.7; transform: none; }
.text-link { display: inline-flex; gap: 12px; align-items: center; min-height: 48px; font-size: 13px; color: #c5d0e0; transition: color 180ms; }
.hero-note { margin: 26px 0 0; color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.hero-note > span { margin-right: 8px; font-family: var(--mono); color: var(--cyan); }

.hero-art { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; justify-self: center; overflow: hidden; }
.art-label { position: absolute; left: 10px; right: 10px; display: flex; justify-content: space-between; color: #a1b6d0; font: 9px var(--mono); letter-spacing: 2px; }
.art-label-top { top: 14px; }
.art-label-bottom { bottom: 14px; }
.art-label span { color: #9da3cf; }
.orb-glow { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, #6aeeef18, #6aeeef05 45%, transparent 70%); animation: breathe 8s ease-in-out infinite; }
.orb-ring { position: absolute; border-radius: 50%; }
.ring-outer { inset: 8%; border: 1px dashed #7de7ee55; animation: orbit 40s linear infinite; }
.ring-outer::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; left: 49%; top: -4px; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.ring-middle { inset: 16%; border: 1px solid #768bff65; box-shadow: 0 0 34px #6975ef0c, inset 0 0 24px #6975ef09; transform: rotate(-25deg) scaleY(0.68); }
.ring-inner { inset: 22%; border: 1px solid #6aeeef25; background: radial-gradient(circle, #0d2234, #090f1c 65%); }
.orb-crosshair { position: absolute; inset: 5%; background: linear-gradient(transparent calc(50% - 0.5px), #6aeeef12 50%, transparent calc(50% + 0.5px)), linear-gradient(90deg, transparent calc(50% - 0.5px), #6aeeef12 50%, transparent calc(50% + 0.5px)); }
.orb-symbol { position: absolute; inset: 0; display: grid; place-items: center; }
.orb-symbol img { width: 34%; height: auto; filter: drop-shadow(0 0 28px #67ddeb35); animation: breathe 8s ease-in-out infinite; }
.orbit-point { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #b4acff; box-shadow: 0 0 14px #aaa0ff; }
.point-one { top: 30%; left: 12%; }
.point-two { right: 18%; bottom: 18%; background: var(--cyan); }
.scan-line { position: absolute; left: 15%; right: 15%; top: 18%; height: 1px; background: linear-gradient(90deg, transparent, #6aeeef70, transparent); opacity: 0.4; animation: scan 10s ease-in-out infinite; }

.tech-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.tech-card { display: flex; gap: 18px; padding: 26px 20px; min-width: 0; }
.tech-card:first-child { padding-left: 0; }
.tech-card + .tech-card { border-left: 1px solid var(--line); }
.tech-number { color: var(--cyan); font: 11px var(--mono); padding-top: 2px; }
.tech-label { margin: 0 0 10px; font: 9px var(--mono); letter-spacing: 2px; color: var(--muted); }
.tech-card h2 { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.tech-card div > p:last-child { margin: 0; font-size: 11px; line-height: 1.7; color: var(--muted); }

.console-panel { margin-top: 38px; border: 1px solid #6aeeef2b; border-radius: 12px; background: #0b1420e8; box-shadow: 0 18px 60px #00000024; overflow: hidden; }
.console-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); background: #ffffff02; }
.console-name { display: flex; align-items: center; gap: 14px; }
.console-name h2 { margin: 0; color: #c8d4e5; font-size: 13px; font-weight: 500; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; background: #7b8497; border-radius: 50%; }
.window-dots i:first-child { background: #eaa58d; }
.window-dots i:nth-child(2) { background: #dcc184; }
.window-dots i:last-child { background: #8dc2b5; }
.endpoint { font: 11px var(--mono); color: var(--muted); }
.console-body { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 24px; }
.console-message { min-width: 0; flex: 1; }
.console-eyebrow { color: var(--muted); font: 9px var(--mono); letter-spacing: 2px; margin: 0 0 14px; }
.console-output { display: flex; gap: 12px; margin: 0; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.prompt { color: var(--cyan); font-family: var(--mono); }
.connect-button { flex-shrink: 0; min-width: 172px; }
.button-signal { width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; background: currentColor; }
.telemetry { display: grid; grid-template-columns: 0.8fr 0.8fr 1.4fr; margin: 0; padding: 20px 24px; border-top: 1px solid var(--line); gap: 20px; background: #050b123d; }
.telemetry > div { min-width: 0; }
.telemetry dt { color: var(--muted); font-size: 10px; margin-bottom: 8px; }
.telemetry dd { margin: 0; font: 12px/1.6 var(--mono); color: #c8d5e7; overflow-wrap: anywhere; }
.connection-status { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #8c9bb0; flex-shrink: 0; }
[data-state="connected"] .status-dot { background: var(--cyan); box-shadow: 0 0 10px #6aeeef80; }
[data-state="connected"] #connection-state { color: var(--cyan); }
[data-state="loading"] .status-dot { background: #f0d48d; }
[data-state="loading"] .button-signal { background: transparent; border-top-color: transparent; width: 13px; height: 13px; animation: orbit 1s linear infinite; }
[data-state="error"] .status-dot { background: #ffad9c; }
[data-state="error"] #connection-state, [data-state="error"] #result { color: #ffbba9; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 32px; margin-top: 14px; font: 9px/1.8 var(--mono); letter-spacing: 1px; color: var(--muted); }
.footer-divider { color: var(--cyan); padding-inline: 8px; }

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: 0.75; scale: 0.97; } }
@keyframes scan { 50% { transform: translateY(260px); opacity: 0.15; } }

@media (max-width: 850px) {
  .hero { gap: 24px; padding-top: 56px; }
  h1 { font-size: clamp(64px, 10vw, 88px); }
  .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .tech-card { padding-inline: 14px; gap: 12px; }
}

@media (max-width: 650px) {
  .page-shell { width: calc(100% - 36px); }
  .site-header { min-height: 84px; gap: 12px; }
  .brand { font-size: 14px; letter-spacing: 1.5px; gap: 9px; }
  .brand-caption { font-size: 7px; letter-spacing: 0.5px; }
  nav { font-size: 11px; gap: 12px; }
  .nav-home { display: none; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding: 42px 0 28px; }
  h1 { font-size: clamp(72px, 16vw, 92px); letter-spacing: -3px; }
  .hero-description { font-size: 14px; margin-block: 22px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 22px; }
  .hero-art { max-width: 340px; }
  .tech-strip { grid-template-columns: 1fr; }
  .tech-card, .tech-card:first-child { padding: 20px 8px; gap: 20px; }
  .tech-card + .tech-card { border-left: 0; border-top: 1px solid var(--line); }
  .console-panel { margin-top: 28px; }
  .console-heading { padding: 16px 18px; }
  .console-body { flex-direction: column; align-items: stretch; padding: 22px 18px; gap: 20px; }
  .console-output { font-size: 13px; }
  .telemetry { grid-template-columns: 1fr 1fr; padding: 18px; gap: 18px; }
  .telemetry > div:last-child { grid-column: 1 / -1; }
  .site-footer { flex-direction: column; margin-top: 4px; padding-block: 24px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
