:root {
  --ink: #03090e;
  --ink-2: #07131d;
  --panel: rgba(8, 20, 29, .74);
  --panel-solid: #08141d;
  --line: rgba(124, 190, 214, .16);
  --line-strong: rgba(151, 219, 239, .36);
  --ice: #dcecf3;
  --muted: #7f99a6;
  --faint: #49616d;
  --cyan: #6fd7f1;
  --blue: #3988ff;
  --acid: #d7ff38;
  --green: #73f7c1;
  --danger: #ff766d;
  --mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 66px;
  --max: 1260px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 74% 16%, rgba(25, 78, 118, .18), transparent 34rem),
    radial-gradient(circle at 20% 78%, rgba(115, 247, 193, .055), transparent 28rem),
    var(--ink);
  color: var(--ice);
  font-family: var(--mono);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .13;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(189, 235, 255, .045) 4px);
  mix-blend-mode: screen;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
::selection { color: var(--ink); background: var(--acid); }

.shell-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 9, 14, .84);
  backdrop-filter: blur(16px);
}
.shell-nav {
  width: min(var(--max), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.shell-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ice);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
.shell-brand::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(215, 255, 56, .7);
}
.shell-links { display: flex; align-items: center; gap: 30px; }
.shell-links a {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: color .18s ease;
}
.shell-links a:hover, .shell-links a[aria-current="page"] { color: var(--ice); }
.shell-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.shell-status {
  color: var(--green);
  font-size: 8px;
  letter-spacing: .1em;
  white-space: nowrap;
}
.shell-menu {
  display: none;
  border: 0;
  background: none;
  color: var(--ice);
  font-size: 9px;
}
.terminal-button, .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 28, 40, .72);
  color: var(--ice);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.terminal-button { border-color: rgba(215, 255, 56, .52); color: var(--acid); }
.terminal-button:hover, .terminal-button:focus-visible {
  background: rgba(215, 255, 56, .08);
  border-color: var(--acid);
  outline: none;
  transform: translateY(-1px);
}
.ghost-button:hover, .ghost-button:focus-visible { border-color: var(--cyan); outline: none; }
.terminal-button:disabled, .ghost-button:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mono-label {
  color: var(--faint);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.data-value { color: var(--ice); font-size: 11px; }
.data-value.live { color: var(--green); }
.signal-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(115, 247, 193, .8);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 11, 16, .92);
}
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--ice); }

.reveal { opacity: 1; transform: none; }

@media (max-width: 820px) {
  :root { --header-h: 58px; }
  .shell-nav { width: min(100% - 26px, var(--max)); grid-template-columns: 1fr auto; }
  .shell-menu { display: block; justify-self: end; }
  .shell-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 13px;
    right: 13px;
    padding: 16px;
    border: 1px solid var(--line-strong);
    background: rgba(3, 9, 14, .98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .shell-links.open { display: flex; }
  .shell-links a { padding: 11px 4px; border-bottom: 1px solid var(--line); }
  .shell-actions { display: none; }
  .footer-inner { width: calc(100% - 26px); align-items: flex-start; flex-direction: column; padding: 20px 0; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
