/* --------------------------------------------------------------------------
   Local typefaces
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/web/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/web/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/web/plex-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/web/plex-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #08090b;
  --bg-deep: #050608;
  --ink: #f2eee4;
  --ink-dim: #b8b3a9;
  --muted: #797974;
  --line: rgba(242, 238, 228, 0.16);
  --line-soft: rgba(242, 238, 228, 0.085);
  --lime: #d8ff62;
  --ember: #ff5f38;
  --cyan: #69f3ff;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --pad: clamp(20px, 3.6vw, 58px);
  --header-h: clamp(64px, 8vh, 84px);
  --footer-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mx: 0;
  --my: 0;
  --tilt-x: 0;
  --tilt-y: 0;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::selection,
::selection {
  color: #08090b;
  background: var(--lime);
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #08090b;
  background: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Backdrop
   -------------------------------------------------------------------------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 48% at 50% 45%, rgba(255, 255, 255, 0.045), transparent 72%),
    radial-gradient(ellipse 100% 90% at 50% 50%, #0b0c10 0%, #08090b 45%, #060709 100%);
}

.backdrop__wash {
  position: absolute;
  width: min(86vw, 1200px);
  aspect-ratio: 1;
  border-radius: 50%;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.backdrop__wash--cyan {
  top: -52vw;
  left: -30vw;
  background: radial-gradient(circle, rgba(75, 225, 255, 0.24) 0%, rgba(75, 225, 255, 0.09) 34%, transparent 68%);
  transform: translate3d(calc(var(--mx) * -24px), calc(var(--my) * -18px), 0);
}

.backdrop__wash--ember {
  right: -34vw;
  bottom: -56vw;
  background: radial-gradient(circle, rgba(255, 95, 56, 0.21) 0%, rgba(255, 95, 56, 0.07) 36%, transparent 68%);
  transform: translate3d(calc(var(--mx) * 30px), calc(var(--my) * 22px), 0);
}

.backdrop__orbit {
  position: absolute;
  top: 49%;
  left: 50%;
  width: min(72vw, 1040px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 238, 228, 0.065);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.backdrop__orbit::before,
.backdrop__orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.backdrop__orbit::before {
  inset: 9%;
  border: 1px dashed rgba(242, 238, 228, 0.06);
  animation: orbit-turn 160s linear infinite;
}

.backdrop__orbit::after {
  inset: 33%;
  border: 1px solid rgba(242, 238, 228, 0.045);
}

.backdrop__grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(242, 238, 228, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 238, 228, 0.04) 1px, transparent 1px);
  background-size: clamp(60px, 6.2vw, 96px) clamp(60px, 6.2vw, 96px);
  mask-image: radial-gradient(ellipse 76% 68% at 50% 47%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 76% 68% at 50% 47%, #000 0%, transparent 80%);
}

.backdrop__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.35) 0%, transparent 18%, transparent 76%, rgba(5, 6, 8, 0.7) 100%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 48%, rgba(3, 4, 6, 0.7) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.055;
  pointer-events: none;
  background-image: url('/assets/noise.svg');
  background-repeat: repeat;
  mix-blend-mode: soft-light;
  animation: grain-shift 1.2s steps(2) infinite;
}

/* --------------------------------------------------------------------------
   Shell and top bar
   -------------------------------------------------------------------------- */
.shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: var(--header-h) minmax(0, 1fr) var(--footer-h);
  height: 100vh;
  height: 100svh;
  min-height: 0;
}

.topbar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.48), transparent);
  animation: rise-in 0.9s var(--ease) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  outline: none;
}

.brand:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: 6px;
}

.brand__mark {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: rgba(242, 238, 228, 0.018);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
}

.brand__mark span {
  display: grid;
  place-items: center;
}

.brand__mark span + span {
  border-left: 1px solid var(--line);
  color: var(--lime);
}

.brand__mark::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(216, 255, 98, 0.85);
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__copy strong {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.brand__copy small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 9px;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.status__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(216, 255, 98, 0.45);
  animation: live-pulse 2.4s ease-out infinite;
}

.status__live {
  color: var(--lime);
}

.status__rule {
  width: 22px;
  height: 1px;
  background: var(--line);
}

.status__host {
  color: var(--muted);
}

.topbar__meta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.topbar__slash {
  color: rgba(242, 238, 228, 0.25);
}

/* --------------------------------------------------------------------------
   Main stage
   -------------------------------------------------------------------------- */
.main {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.stage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 58%;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.09) 0%, rgba(216, 255, 98, 0.035) 35%, transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(30px);
  pointer-events: none;
}

#scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s var(--ease);
}

.stage.is-webgl #scene {
  opacity: 1;
}

.fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.01em;
  padding-bottom: 2vh;
  perspective: 1100px;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--tilt-x) * 1deg)) rotateY(calc(var(--tilt-y) * 1deg));
  transition: opacity 0.85s var(--ease), transform 0.2s linear, visibility 0.85s;
  will-change: transform;
  pointer-events: none;
}

.stage.is-webgl .fallback {
  visibility: hidden;
  opacity: 0;
  transform: rotateX(calc(var(--tilt-x) * 1deg)) rotateY(calc(var(--tilt-y) * 1deg)) scale(0.985);
}

.fallback__line {
  position: relative;
  display: block;
  color: #eee9dd;
  font-family: var(--sans);
  font-size: clamp(4.2rem, 13vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.083em;
  line-height: 0.79;
  text-shadow:
    1px 1px 0 #bcb7ab,
    2px 2px 0 #b2ada1,
    3px 3px 0 #a9a497,
    4px 4px 0 #9f9a8e,
    5px 5px 0 #969185,
    6px 6px 0 #8c887c,
    7px 7px 0 #827e73,
    8px 8px 0 #787469,
    9px 9px 0 #6e6a60,
    10px 10px 0 #646158,
    11px 11px 0 #5a574f,
    12px 13px 0 #504d46,
    13px 14px 0 #45433d,
    24px 28px 55px rgba(0, 0, 0, 0.8);
}

.fallback__line--hello {
  transform: translateX(-0.16em);
}

.fallback__line--world {
  transform: translateX(0.14em);
}

.fallback__accent {
  color: var(--ember);
  text-shadow:
    1px 1px 0 #b33d23,
    2px 2px 0 #a0341c,
    3px 3px 0 #8d2d18,
    4px 4px 0 #7b2613,
    5px 5px 0 #69200f,
    6px 6px 0 #571a0b,
    7px 7px 0 #451408,
    8px 8px 0 #330e06,
    9px 9px 0 #220a04,
    10px 10px 0 #150503,
    24px 28px 55px rgba(0, 0, 0, 0.8);
}

.loader {
  position: absolute;
  bottom: clamp(16px, 4.5vh, 42px);
  left: 50%;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 154px;
  transform: translateX(-50%);
  transition: opacity 0.45s ease, visibility 0.45s;
  pointer-events: none;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loader__bar {
  position: relative;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(242, 238, 228, 0.13);
}

.loader__bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(216, 255, 98, 0.65);
  animation: loading-slide 1.4s ease-in-out infinite;
}

.loader__text {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Overlay copy
   -------------------------------------------------------------------------- */
.hero {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(18px, 3.6vh, 36px) var(--pad);
  pointer-events: none;
  animation: rise-in 1s 0.08s var(--ease) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.17em;
  line-height: 1.4;
  white-space: nowrap;
}

.eyebrow__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 8px rgba(255, 95, 56, 0.7);
}

.eyebrow__slash {
  color: rgba(242, 238, 228, 0.28);
}

.hero__note {
  max-width: 520px;
  margin: 12px 0 0 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero__note span {
  margin: 0 5px;
  color: rgba(242, 238, 228, 0.3);
}

.hero__index {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: right;
}

.hero__index span:last-child {
  color: rgba(242, 238, 228, 0.33);
}

.bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 var(--pad) clamp(18px, 3.2vh, 30px);
  pointer-events: none;
  animation: rise-in 1s 0.18s var(--ease) both;
}

.lede-block {
  max-width: 392px;
}

.lede {
  margin: 0;
  color: var(--ink-dim);
  font-size: clamp(12px, 1vw, 13.5px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.62;
  text-wrap: balance;
}

.lede__mark {
  color: var(--ink);
  box-shadow: inset 0 -0.42em rgba(216, 255, 98, 0.14);
}

.microcopy {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 15px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.microcopy__line {
  width: 34px;
  height: 1px;
  background: var(--lime);
  opacity: 0.65;
}

.controls {
  display: flex;
  align-items: flex-end;
  gap: clamp(20px, 2.6vw, 42px);
  pointer-events: none;
}

.hint {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  line-height: 1.55;
}

.hint__mouse {
  position: relative;
  display: block;
  width: 17px;
  height: 26px;
  border: 1px solid rgba(242, 238, 228, 0.32);
  border-radius: 9px;
}

.hint__mouse span {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: var(--lime);
  transform: translateX(-50%);
  animation: mouse-wheel 2.2s ease-in-out infinite;
}

.pulse {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: clamp(218px, 18vw, 270px);
  padding: 15px 16px 14px;
  overflow: hidden;
  border: 1px solid rgba(242, 238, 228, 0.18);
  border-radius: 0;
  background: rgba(10, 11, 14, 0.58);
  color: var(--ink);
  text-align: left;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  pointer-events: auto;
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease,
    transform 0.35s var(--ease);
}

.pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(216, 255, 98, 0.12) 48%, transparent 76%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
}

.pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.pulse:hover {
  border-color: rgba(216, 255, 98, 0.6);
  background: rgba(16, 18, 15, 0.78);
  transform: translateY(-2px);
}

.pulse:hover::before {
  transform: translateX(130%);
}

.pulse:hover::after {
  transform: scaleX(1);
}

.pulse:active {
  transform: translateY(0) scale(0.995);
}

.pulse:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: 4px;
}

.pulse[disabled] {
  cursor: wait;
}

.pulse.is-sent {
  animation: sent-flash 0.7s var(--ease);
}

.pulse.is-error {
  border-color: var(--ember);
}

.pulse__top,
.pulse__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pulse__label {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.pulse__arrow {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 0.8;
  transition: transform 0.35s var(--ease);
}

.pulse:hover .pulse__arrow {
  transform: translate(2px, -2px);
}

.pulse__hint {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
}

.pulse__count {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.side-label {
  position: absolute;
  top: 50%;
  right: calc(var(--pad) - 4px);
  z-index: 4;
  color: rgba(242, 238, 228, 0.27);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.22em;
  white-space: nowrap;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Telemetry footer
   -------------------------------------------------------------------------- */
.telemetry {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 0.95fr 0.72fr 0.82fr 0.72fr 0.86fr 1.45fr;
  height: var(--footer-h);
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 8, 10, 0.52);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: rise-in 0.9s 0.25s var(--ease) both;
}

.telemetry__cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 0 clamp(14px, 1.9vw, 28px);
  border-right: 1px solid var(--line-soft);
}

.telemetry__cell:first-child {
  padding-left: var(--pad);
}

.telemetry__cell:last-child {
  padding-right: var(--pad);
  border-right: 0;
}

.telemetry__key {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.telemetry__tick {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 7px rgba(216, 255, 98, 0.75);
}

.telemetry__value {
  overflow: hidden;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.telemetry__cell--time .telemetry__value {
  color: var(--ink);
}

.telemetry__cell--request .telemetry__value {
  color: rgba(242, 238, 228, 0.43);
  font-size: 8px;
}

/* --------------------------------------------------------------------------
   Custom cursor
   -------------------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  transition: opacity 0.3s ease;
}

.cursor-is-visible .cursor {
  opacity: 1;
}

.cursor__ring {
  position: absolute;
  display: block;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(242, 238, 228, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s var(--ease),
    height 0.3s var(--ease),
    background-color 0.3s ease,
    border-color 0.3s ease;
  mix-blend-mode: difference;
}

.cursor__dot {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(216, 255, 98, 0.8);
  transform: translate(-50%, -50%);
}

.cursor-is-interactive .cursor__ring {
  width: 58px;
  height: 58px;
  border-color: var(--lime);
  background: rgba(216, 255, 98, 0.1);
}

@media (pointer: fine) {
  body.has-fine-pointer,
  body.has-fine-pointer a,
  body.has-fine-pointer button {
    cursor: none;
  }
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Noscript and 404
   -------------------------------------------------------------------------- */
.noscript {
  position: fixed;
  right: 20px;
  bottom: 80px;
  left: 20px;
  z-index: 200;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.95);
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.error-page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: auto;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(105, 243, 255, 0.1), transparent 34%),
    radial-gradient(circle at 86% 90%, rgba(255, 95, 56, 0.1), transparent 32%),
    var(--bg);
}

.error-card {
  width: min(540px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  background: rgba(10, 11, 14, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.error-card h1 {
  margin: 24px 0 14px;
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.error-card p:not(.eyebrow) {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.65;
}

.error-card code {
  padding: 2px 5px;
  background: rgba(242, 238, 228, 0.08);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.9em;
}

.error-card a:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: 4px;
}

.error-card a {
  display: inline-flex;
  gap: 12px;
  margin-top: 20px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 255, 98, 0.4);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 255, 98, 0.45);
  }
  60% {
    box-shadow: 0 0 0 5px rgba(216, 255, 98, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216, 255, 98, 0);
  }
}

@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loading-slide {
  0% {
    transform: translateX(-110%);
  }
  55%,
  100% {
    transform: translateX(250%);
  }
}

@keyframes mouse-wheel {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  20% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translate(-50%, 6px);
  }
  80% {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
}

@keyframes sent-flash {
  0% {
    background-color: rgba(216, 255, 98, 0.22);
    border-color: var(--lime);
  }
  100% {
    background-color: rgba(10, 11, 14, 0.58);
    border-color: rgba(242, 238, 228, 0.18);
  }
}

@keyframes grain-shift {
  0% {
    background-position: 0 0;
  }
  25% {
    background-position: -12px 8px;
  }
  50% {
    background-position: 9px -14px;
  }
  75% {
    background-position: -7px 16px;
  }
  100% {
    background-position: 14px -6px;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .hero__index {
    display: none;
  }

  .side-label {
    display: none;
  }

  .telemetry {
    grid-template-columns: 1fr 0.8fr 0.82fr 0.74fr 0.9fr;
  }

  .telemetry__cell--request {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --footer-h: 62px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .status {
    justify-self: end;
  }

  .status__host,
  .topbar__meta {
    display: none;
  }

  .hero {
    padding-top: 18px;
  }

  .hero__note {
    max-width: 76vw;
  }

  .bottom {
    gap: 20px;
  }

  .lede-block {
    max-width: 330px;
  }

  .hint {
    display: none;
  }

  .telemetry {
    grid-template-columns: 1.08fr 1fr 1fr;
  }

  .telemetry__cell--zone,
  .telemetry__cell--views,
  .telemetry__cell--request {
    display: none;
  }

  .telemetry__cell--session {
    border-right: 1px solid var(--line-soft);
  }
}

@media (max-width: 660px) {
  :root {
    --header-h: 62px;
    --footer-h: 58px;
    --pad: 20px;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 9px;
  }

  .brand__copy small {
    display: none;
  }

  .status__rule {
    display: none;
  }

  .status {
    font-size: 7.5px;
  }

  .hero {
    padding-top: 16px;
  }

  .hero__note {
    max-width: 72vw;
    margin-top: 9px;
    margin-left: 0;
    font-size: 7px;
    line-height: 1.65;
  }

  .eyebrow {
    font-size: 7px;
    gap: 7px;
  }

  .fallback__line {
    font-size: clamp(3.6rem, 17vw, 7rem);
  }

  .bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-bottom: 16px;
  }

  .lede {
    max-width: 94%;
    font-size: 11.5px;
    line-height: 1.55;
  }

  .microcopy {
    margin-top: 10px;
    font-size: 7px;
  }

  .controls {
    width: 100%;
    justify-content: flex-end;
  }

  .pulse {
    width: 100%;
    gap: 15px;
    padding: 13px 14px 12px;
  }

  .pulse__count {
    font-size: 21px;
  }

  .pulse__hint {
    font-size: 9px;
  }

  .telemetry__cell {
    gap: 5px;
    padding: 0 12px;
  }

  .telemetry__cell:first-child {
    padding-left: var(--pad);
  }

  .telemetry__cell:last-child {
    padding-right: var(--pad);
  }

  .telemetry__key {
    font-size: 6.5px;
  }

  .telemetry__value {
    font-size: 8px;
  }

  .loader {
    bottom: 12px;
  }

  .error-card {
    padding: 28px 22px;
  }
}

@media (max-width: 390px) {
  .brand__copy strong {
    font-size: 8px;
  }

  .lede {
    font-size: 11px;
  }

  .microcopy {
    display: none;
  }

  .telemetry__cell--session {
    display: none;
  }

  .telemetry {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-height: 700px) {
  .lede-block,
  .hint {
    display: none;
  }

  .bottom {
    padding-bottom: 14px;
  }

  .hero__note {
    margin-top: 8px;
  }
}

@media (max-height: 620px) {
  .hero {
    padding-top: 14px;
  }

  .fallback__line {
    font-size: clamp(3rem, 13vh, 6rem);
  }
}

@media (hover: none), (pointer: coarse) {
  .hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .cursor {
    display: none;
  }

  body.has-fine-pointer,
  body.has-fine-pointer a,
  body.has-fine-pointer button {
    cursor: auto;
  }
}
