:root {
  --black: #050606;
  --black-soft: #0b0d0d;
  --ink: #111313;
  --paper: #f1f0e9;
  --paper-deep: #d8d8d0;
  --white: #fafaf7;
  --acid: #d8ff45;
  --red: #ff4b2f;
  --blue: #5797ff;
  --ice: #bfe7ff;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(10, 12, 12, 0.18);
  --muted-dark: rgba(250, 250, 247, 0.58);
  --muted-light: rgba(17, 19, 19, 0.58);
  --rail-width: 82px;
  --hero-progress: 0;
  --route-progress: 0;
  --privacy-progress: 0;
  --mx: 50vw;
  --my: 50vh;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--black);
}

html.overlay-open {
  overflow-y: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--black);
  color: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.deck-open,
body.picker-open {
  overflow: hidden;
}

body.deck-open .site-cable,
body.picker-open .site-cable {
  display: none;
}

body.deck-open .site-shell canvas,
body.picker-open .site-shell canvas {
  visibility: hidden;
}

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

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

canvas,
svg,
img {
  display: block;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.8) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 72% 65%, rgba(255, 255, 255, 0.6) 0 0.7px, transparent 0.9px);
  background-size: 3px 3px, 5px 5px;
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 500;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) - 9px), calc(var(--my) - 9px), 0);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  mix-blend-mode: difference;
}

body.pointer-active .cursor-dot {
  width: 34px;
  height: 34px;
  border-color: var(--acid);
  background: rgba(216, 255, 69, 0.14);
  transform: translate3d(calc(var(--mx) - 17px), calc(var(--my) - 17px), 0);
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020303;
  transition: visibility 0s linear 1.1s;
}

.site-intro::before,
.site-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #020303;
  transition: transform 1s cubic-bezier(0.72, 0, 0.1, 1) 0.12s;
}

.site-intro::before {
  top: 0;
}

.site-intro::after {
  bottom: 0;
}

body.loaded .site-intro {
  visibility: hidden;
}

body.loaded .site-intro::before {
  transform: translateY(-102%);
}

body.loaded .site-intro::after {
  transform: translateY(102%);
}

.intro-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0 49%, rgba(216, 255, 69, 0.34) 50%, transparent 51% 100%);
  background-size: 100% 42px;
  opacity: 0.22;
  animation: introScan 1.5s linear infinite;
}

.intro-lockup {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: opacity 0.35s ease, transform 0.8s cubic-bezier(0.72, 0, 0.1, 1);
}

body.loaded .intro-lockup,
body.loaded .intro-progress,
body.loaded .intro-code {
  opacity: 0;
  transform: translateY(-18px);
}

.intro-mark {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  background: var(--acid);
  color: #080909;
  font-size: 28px;
  font-weight: 800;
}

.intro-copy {
  display: grid;
  gap: 7px;
}

.intro-copy strong {
  font-size: 20px;
  letter-spacing: 0;
}

.intro-copy span,
.intro-code {
  color: rgba(255, 255, 255, 0.52);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.intro-progress {
  position: absolute;
  left: 50%;
  bottom: 15%;
  z-index: 5;
  width: min(360px, 62vw);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
}

.intro-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform-origin: left;
  animation: introProgress 1.2s cubic-bezier(0.6, 0, 0.3, 1) both;
}

.intro-code {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 5;
  transition: opacity 0.3s ease;
}

@keyframes introScan {
  to { background-position: 0 42px; }
}

@keyframes introProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.command-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 120;
  display: flex;
  width: var(--rail-width);
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 6, 6, 0.84);
  box-shadow: 20px 0 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px) saturate(125%);
}

.rail-brand {
  display: grid;
  width: 100%;
  height: 82px;
  place-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
}

.rail-brand span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--acid);
  color: #070808;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.32s cubic-bezier(0.2, 0.85, 0.25, 1);
}

.rail-brand:hover span {
  transform: rotate(90deg);
}

.rail-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.rail-button {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.rail-button svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.5;
}

.rail-button::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 3px;
  height: 20px;
  background: var(--acid);
  opacity: 0;
  transform: translateY(-50%) scaleY(0.2);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.rail-button > span {
  position: absolute;
  left: calc(100% + 15px);
  top: 50%;
  min-width: max-content;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0c0e0e;
  color: var(--white);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate(-8px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rail-button:hover > span,
.rail-button:focus-visible > span {
  opacity: 1;
  transform: translate(0, -50%);
}

.rail-button:hover,
.rail-button.active {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.rail-button.active::before {
  opacity: 1;
  transform: translateY(-50%) scaleY(1);
}

.rail-system {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.36);
  font-family: "DM Mono", monospace;
  font-size: 7px;
  line-height: 1.35;
  text-align: center;
}

.rail-system i,
.deck-secure i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.rail-actions {
  display: grid;
  gap: 7px;
  padding: 10px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rail-account {
  background: var(--paper);
  color: var(--ink);
}

.rail-account:hover {
  background: var(--acid);
  color: var(--ink);
}

@keyframes statusPulse {
  50% { opacity: 0.35; transform: scale(0.72); }
}

.site-shell {
  position: relative;
  width: calc(100% - var(--rail-width));
  margin-left: var(--rail-width);
  overflow: clip;
}

.site-cable {
  position: absolute;
  inset: 0 0 auto;
  z-index: 17;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.site-cable path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.site-cable-shadow {
  stroke: rgba(0, 0, 0, 0.44);
  stroke-width: 30;
  filter: blur(8px);
  transform: translate(8px, 10px);
}

.site-cable-jacket {
  stroke: #111414;
  stroke-width: 22;
}

.site-cable-ridge {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 3;
  stroke-dasharray: 2 13;
}

.site-cable-signal {
  stroke: url(#cableSignal);
  stroke-width: 3;
  stroke-linecap: round;
  filter: url(#cableGlow);
  stroke-dasharray: 110 900;
  animation: cableCurrent 6s linear infinite;
}

@keyframes cableCurrent {
  to { stroke-dashoffset: -1010; }
}

.hero-chapter {
  position: relative;
  z-index: 10;
  height: 175svh;
  background: var(--black);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 48%, rgba(96, 120, 104, 0.09), transparent 34%),
    #050606;
  isolation: isolate;
}

.tunnel-canvas,
.signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tunnel-canvas {
  z-index: -4;
}

.signal-canvas {
  z-index: -3;
  opacity: 0.62;
  mix-blend-mode: screen;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.9) 0, rgba(5, 6, 6, 0.32) 42%, rgba(5, 6, 6, 0.1) 70%, rgba(5, 6, 6, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 6, 6, 0.72), transparent 22%, transparent 72%, rgba(5, 6, 6, 0.94));
}

.hero-grid,
.route-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 25% 100%, 100% 25%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 88%);
}

.hero-crosshair {
  position: absolute;
  left: 65%;
  top: 46%;
  z-index: 2;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(calc(1 + var(--hero-progress) * 0.8));
  opacity: calc(0.72 - var(--hero-progress) * 0.55);
  transition: opacity 0.1s linear;
}

.hero-crosshair::before,
.hero-crosshair::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(216, 255, 69, 0.18);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.hero-crosshair::after {
  inset: 35%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.16);
  animation-direction: reverse;
  animation-duration: 12s;
}

.hero-crosshair i {
  position: absolute;
  left: 50%;
  top: -10px;
  width: 1px;
  height: calc(100% + 20px);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.hero-crosshair i:last-child {
  transform: rotate(90deg);
}

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

.hero-telemetry {
  position: absolute;
  top: 24px;
  z-index: 10;
  display: grid;
  gap: 5px;
  font-family: "DM Mono", monospace;
  opacity: calc(1 - var(--hero-progress) * 1.5);
  transform: translateY(calc(var(--hero-progress) * -24px));
}

.hero-telemetry span {
  color: rgba(255, 255, 255, 0.37);
  font-size: 8px;
}

.hero-telemetry strong {
  font-size: 10px;
  font-weight: 400;
}

.hero-telemetry-left {
  left: 28px;
}

.hero-telemetry-right {
  right: 28px;
  text-align: right;
}

.hero-copy {
  position: absolute;
  left: 5.5%;
  top: 15%;
  z-index: 12;
  width: 560px;
  opacity: calc(1 - var(--hero-progress) * 1.18);
  transform: translate3d(calc(var(--hero-progress) * -100px), calc(var(--hero-progress) * -30px), 0);
}

.hero-kicker,
.section-index,
.protocol-output > span,
.route-narrative > span,
.auth-copy > span,
.deck-header span,
.route-picker header span {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.68);
}

.hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--acid);
}

.hero-copy h1 {
  position: relative;
  display: grid;
  width: max-content;
  margin: 20px 0 0;
  font-size: 126px;
  font-weight: 700;
  line-height: 0.77;
  letter-spacing: 0;
}

.hero-copy h1 > span {
  display: block;
}

.title-black {
  color: var(--white);
}

.title-line {
  padding-left: 72px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
}

.title-line i {
  color: var(--acid);
  font-style: normal;
  -webkit-text-stroke: 0;
}

.hero-copy h1 em {
  position: absolute;
  right: -52px;
  bottom: 2px;
  padding: 7px 9px;
  background: var(--acid);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  transform: rotate(-90deg);
  transform-origin: left bottom;
}

.hero-copy p {
  width: 420px;
  margin: 30px 0 0 76px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 26px 0 0 76px;
}

.signal-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 28px;
  padding: 0 10px 0 18px;
  background: var(--acid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease;
}

.signal-button svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  background: #0c0d0d;
  color: var(--white);
}

.signal-button:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.text-command {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.text-command svg {
  width: 15px;
}

.tunnel-caption {
  position: absolute;
  left: 65%;
  top: 46%;
  z-index: 5;
  display: grid;
  gap: 4px;
  pointer-events: none;
  text-align: center;
  opacity: calc(0.65 - var(--hero-progress) * 0.65);
  transform: translate(-50%, -50%);
}

.tunnel-caption span,
.tunnel-caption strong {
  font-family: "DM Mono", monospace;
  font-size: 8px;
  font-weight: 400;
  text-transform: uppercase;
}

.tunnel-caption span {
  color: rgba(255, 255, 255, 0.4);
}

.connection-console {
  position: absolute;
  right: 3%;
  bottom: 11%;
  z-index: 18;
  width: 352px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(11, 13, 13, 0.7);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(24px) saturate(125%);
  opacity: calc(1 - var(--hero-progress) * 1.25);
  transform: translate3d(calc(var(--hero-progress) * 120px), calc(var(--hero-progress) * 60px), 0) rotateY(calc(var(--hero-progress) * -22deg));
  transform-origin: right center;
}

.connection-console.connected {
  border-color: rgba(216, 255, 69, 0.5);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 28px 110px rgba(216, 255, 69, 0.13);
}

.console-head,
.console-head > div,
.route-select,
.console-bottom,
.throughput,
.throughput span {
  display: flex;
  align-items: center;
}

.console-head {
  justify-content: space-between;
  padding: 0 2px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.console-head > div {
  gap: 8px;
}

.console-head small,
.console-code,
.route-select small,
.route-ping,
.throughput,
.protocol-switch {
  font-family: "DM Mono", monospace;
}

.console-head small,
.console-code {
  color: rgba(255, 255, 255, 0.46);
  font-size: 8px;
  text-transform: uppercase;
}

.status-light {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.connected .status-light {
  background: var(--acid);
  box-shadow: 0 0 16px rgba(216, 255, 69, 0.8);
}

.route-select {
  width: 100%;
  min-height: 76px;
  gap: 13px;
  padding: 10px 0;
  background: transparent;
  text-align: left;
}

.route-select > span:nth-child(2) {
  display: grid;
  flex: 1;
  gap: 3px;
}

.route-select small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
  text-transform: uppercase;
}

.route-select strong {
  font-size: 15px;
}

.country-code {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.06);
  color: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.route-ping {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.route-select > svg {
  width: 15px;
  color: rgba(255, 255, 255, 0.42);
}

.protocol-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.protocol-switch button {
  min-width: 0;
  height: 32px;
  overflow: hidden;
  background: #0e1010;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.protocol-switch button.active {
  background: var(--paper);
  color: var(--ink);
}

.console-bottom {
  justify-content: space-between;
  min-height: 76px;
  padding-top: 13px;
}

.throughput {
  gap: 15px;
}

.throughput span {
  gap: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
}

.throughput svg {
  width: 12px;
}

.throughput strong {
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
}

.power-button {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.power-button span {
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: spin 8s linear infinite;
}

.power-button svg {
  width: 18px;
}

.connected .power-button {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.power-button:hover {
  transform: scale(1.06);
}

.hero-foot {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  z-index: 14;
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  gap: 30px;
  align-items: center;
  color: rgba(255, 255, 255, 0.44);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
  opacity: calc(1 - var(--hero-progress) * 1.5);
}

.hero-foot > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-foot > span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.36);
}

.hero-foot button {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: inherit;
  text-transform: uppercase;
}

.hero-foot svg {
  width: 14px;
  animation: scrollNudge 1.8s ease-in-out infinite;
}

@keyframes scrollNudge {
  50% { transform: translateY(5px); }
}

.route-story {
  position: relative;
  z-index: 12;
  height: 340svh;
  background: #080909;
}

.route-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  background:
    radial-gradient(circle at 66% 46%, rgba(216, 255, 69, 0.06), transparent 26%),
    linear-gradient(120deg, #080909, #0c0e0e 52%, #070808);
}

.route-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-grid {
  z-index: 0;
  opacity: 0.35;
  mask-image: none;
  background-size: 20% 100%, 100% 20%;
}

.route-header {
  position: absolute;
  left: 4.5%;
  top: 6%;
  z-index: 12;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.48);
}

.section-index::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.section-index.dark {
  color: rgba(17, 19, 19, 0.55);
}

.route-header h2,
.protocol-header h2,
.privacy-lead h2,
.plans-header h2 {
  margin: 15px 0 0;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
}

.route-header h2 em,
.protocol-header h2 em {
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
}

.route-word {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.025);
  font-size: 210px;
  font-weight: 800;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(calc(var(--route-progress) * -4deg)) scale(calc(0.9 + var(--route-progress) * 0.16));
  white-space: nowrap;
}

.patch-field {
  position: absolute;
  inset: 0;
  z-index: 7;
}

.terminal {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 17px;
  opacity: 0.42;
  transform: scale(0.88);
  transition: opacity 0.55s ease, transform 0.8s cubic-bezier(0.2, 0.85, 0.22, 1);
}

.terminal.active {
  z-index: 12;
  opacity: 1;
  transform: scale(1);
}

.terminal-sto { left: 62%; top: 16%; }
.terminal-rey { left: 36%; top: 38%; }
.terminal-zrh { left: 69%; top: 56%; }
.terminal-sin { left: 48%; top: 77%; }

.terminal-socket {
  position: relative;
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: transparent;
  transform: perspective(700px) rotateX(62deg) rotateZ(-20deg);
  transition: transform 0.8s cubic-bezier(0.2, 0.85, 0.22, 1);
}

.terminal.active .terminal-socket {
  transform: perspective(700px) rotateX(46deg) rotateZ(0deg) scale(1.08);
}

.socket-outer,
.socket-teeth,
.socket-core {
  position: absolute;
  border-radius: 50%;
}

.socket-outer {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.35) 0 3deg, transparent 3deg 12deg),
    radial-gradient(circle at 36% 28%, #596060, #181b1b 45%, #060707 72%);
  box-shadow: inset 0 0 0 8px #111414, inset 0 0 18px rgba(255, 255, 255, 0.16), 0 18px 34px rgba(0, 0, 0, 0.46);
}

.socket-teeth {
  inset: 20px;
  border: 7px dashed rgba(216, 255, 69, 0.35);
  background: #0b0d0d;
  transition: transform 0.8s cubic-bezier(0.2, 0.85, 0.22, 1), border-color 0.4s ease;
}

.terminal.active .socket-teeth {
  border-color: var(--acid);
  transform: rotate(95deg);
  animation: socketRotate 5s linear infinite;
}

.socket-core {
  inset: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: radial-gradient(circle, #111 0 34%, var(--acid) 36% 40%, #020303 44% 100%);
  box-shadow: 0 0 20px rgba(216, 255, 69, 0.16);
}

@keyframes socketRotate {
  to { transform: rotate(455deg); }
}

.terminal-label {
  display: grid;
  min-width: 152px;
  gap: 3px;
  transform: translateX(-8px);
  transition: transform 0.55s ease;
}

.terminal.active .terminal-label {
  transform: translateX(0);
}

.terminal-label span,
.terminal-label small {
  font-family: "DM Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.terminal-label span {
  color: var(--acid);
}

.terminal-label strong {
  font-size: 18px;
  font-weight: 500;
}

.terminal-label small {
  color: rgba(255, 255, 255, 0.4);
}

.cable-head {
  position: absolute;
  z-index: 20;
  width: 170px;
  height: 74px;
  pointer-events: none;
  transform-origin: 100% 50%;
  transition: left 0.95s cubic-bezier(0.66, 0, 0.15, 1), top 0.95s cubic-bezier(0.66, 0, 0.15, 1), transform 0.95s cubic-bezier(0.66, 0, 0.15, 1);
}

.cable-wire {
  position: absolute;
  left: -300px;
  right: 60px;
  top: 27px;
  height: 28px;
  border-top: 2px solid rgba(255, 255, 255, 0.16);
  border-bottom: 2px solid rgba(0, 0, 0, 0.7);
  border-radius: 20px 0 0 20px;
  background:
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(255, 255, 255, 0.08) 7px, transparent 8px 13px),
    linear-gradient(180deg, #292d2d, #090a0a 56%, #020303);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.45);
}

.plug-shell {
  position: absolute;
  right: 21px;
  top: 16px;
  width: 68px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, #4a5050, #171919 42%, #090a0a 100%);
  clip-path: polygon(0 10%, 78% 10%, 100% 25%, 100% 75%, 78% 90%, 0 90%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22);
}

.plug-shell i {
  position: absolute;
  left: 13px;
  right: 14px;
  height: 2px;
  background: rgba(216, 255, 69, 0.4);
}

.plug-shell i:nth-child(1) { top: 14px; }
.plug-shell i:nth-child(2) { top: 23px; }
.plug-shell i:nth-child(3) { top: 32px; }

.plug-pin {
  position: absolute;
  right: 0;
  top: 26px;
  width: 28px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, #d8dad3, #696c68 52%, #292b29);
  clip-path: polygon(0 16%, 100% 0, 100% 100%, 0 84%);
}

.route-narrative {
  position: absolute;
  left: 4.5%;
  bottom: 16%;
  z-index: 12;
  width: 310px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.route-narrative > span {
  color: var(--acid);
}

.route-narrative strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
  font-weight: 500;
}

.route-narrative p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.65;
}

.route-progress {
  position: absolute;
  left: 4.5%;
  bottom: 8%;
  z-index: 14;
  display: flex;
  width: 310px;
  align-items: center;
  gap: 12px;
  font-family: "DM Mono", monospace;
  font-size: 8px;
}

.route-progress div {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.route-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--route-progress) * 100%);
  background: var(--acid);
}

.route-command {
  position: absolute;
  right: 3%;
  bottom: 5%;
  z-index: 14;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 24px;
  padding: 0 9px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 9, 9, 0.5);
  color: var(--white);
  font-size: 10px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.route-command svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  background: var(--acid);
  color: var(--ink);
}

.protocol-section {
  position: relative;
  z-index: 13;
  min-height: 1180px;
  overflow: hidden;
  padding: 110px 5.5% 140px;
  background:
    linear-gradient(90deg, rgba(17, 19, 19, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 19, 19, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 25% 100%, 100% 240px, auto;
  color: var(--ink);
}

.protocol-orbit {
  position: absolute;
  right: -240px;
  top: -180px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(17, 19, 19, 0.13);
  border-radius: 50%;
}

.protocol-orbit::before,
.protocol-orbit::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(17, 19, 19, 0.11);
  border-radius: 50%;
}

.protocol-orbit::before { inset: 90px; }
.protocol-orbit::after { inset: 220px; }

.protocol-header {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(420px, 690px) 300px;
  column-gap: 10%;
  align-items: end;
}

.protocol-header .section-index {
  grid-column: 1 / -1;
}

.protocol-header h2 {
  font-size: 58px;
}

.protocol-header h2 em {
  color: rgba(17, 19, 19, 0.4);
}

.protocol-header p {
  margin: 0 0 4px;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.7;
}

.protocol-lab {
  position: relative;
  z-index: 5;
  display: grid;
  min-height: 570px;
  grid-template-columns: 240px minmax(380px, 1fr) 300px;
  margin-top: 100px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.protocol-picker {
  display: grid;
  align-content: center;
  border-right: 1px solid var(--line-light);
}

.protocol-picker button {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 3px 8px;
  min-height: 104px;
  align-content: center;
  padding: 18px;
  border-bottom: 1px solid rgba(17, 19, 19, 0.12);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background 0.32s ease, color 0.32s ease, padding-left 0.32s ease;
}

.protocol-picker button:last-child {
  border-bottom: 0;
}

.protocol-picker button::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
  opacity: 0;
  transform: scaleY(0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.protocol-picker button.active {
  background: var(--ink);
  color: var(--white);
  padding-left: 24px;
}

.protocol-picker button.active::after {
  opacity: 1;
  transform: scaleY(1);
}

.protocol-picker span {
  grid-row: 1 / span 2;
  padding-top: 4px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.protocol-picker strong {
  font-size: 15px;
  font-weight: 600;
}

.protocol-picker small {
  color: currentColor;
  font-size: 9px;
  opacity: 0.55;
}

.protocol-machine {
  position: relative;
  min-width: 0;
  overflow: hidden;
  perspective: 1000px;
}

.protocol-machine::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87, 151, 255, 0.28), rgba(255, 75, 47, 0.08) 40%, transparent 68%);
  filter: blur(18px);
  transform: translate(-50%, -50%);
}

.machine-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(17, 19, 19, 0.28);
  border-radius: 50%;
  transform-style: preserve-3d;
  transition: border-color 0.5s ease, transform 0.8s cubic-bezier(0.2, 0.85, 0.22, 1);
}

.machine-ring-a {
  width: 390px;
  height: 390px;
  transform: translate(-50%, -50%) rotateX(67deg) rotateZ(10deg);
  animation: machineSpinA 15s linear infinite;
}

.machine-ring-b {
  width: 315px;
  height: 315px;
  border-style: dashed;
  transform: translate(-50%, -50%) rotateY(66deg) rotateZ(-18deg);
  animation: machineSpinB 11s linear infinite reverse;
}

.machine-ring-c {
  width: 232px;
  height: 232px;
  border-width: 8px;
  border-color: rgba(17, 19, 19, 0.08);
  transform: translate(-50%, -50%) rotateX(72deg);
}

@keyframes machineSpinA {
  to { transform: translate(-50%, -50%) rotateX(67deg) rotateZ(370deg); }
}

@keyframes machineSpinB {
  to { transform: translate(-50%, -50%) rotateY(66deg) rotateZ(342deg); }
}

.machine-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 148px;
  height: 210px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 19, 0.25);
  border-radius: 4px;
  background: linear-gradient(145deg, #202424, #080909 58%, #343939);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 36px 60px rgba(17, 19, 19, 0.25);
  color: var(--acid);
  transform: translate(-50%, -50%) rotateY(-18deg) rotateX(8deg);
  transition: transform 0.8s cubic-bezier(0.2, 0.85, 0.22, 1), box-shadow 0.5s ease;
}

.protocol-machine.mode-1 .machine-core {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 36px 70px rgba(255, 75, 47, 0.28);
  transform: translate(-50%, -50%) rotateY(18deg) rotateX(-4deg) scale(1.05);
}

.protocol-machine.mode-2 .machine-core {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 36px 70px rgba(87, 151, 255, 0.34);
  transform: translate(-50%, -50%) rotateY(0) rotateX(0) scale(0.94);
}

.machine-core i {
  position: relative;
  z-index: 3;
  font-size: 25px;
  font-style: normal;
  font-weight: 800;
}

.core-scan {
  position: absolute;
  inset: -30% 0 auto;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(216, 255, 69, 0.42), transparent);
  animation: coreScan 2.6s ease-in-out infinite;
}

@keyframes coreScan {
  50% { transform: translateY(650%); }
  100% { transform: translateY(650%); }
}

.machine-node {
  position: absolute;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(17, 19, 19, 0.25);
  border-radius: 50%;
  background: var(--paper);
  font-family: "DM Mono", monospace;
  font-size: 8px;
}

.machine-node-a { left: 12%; top: 48%; }
.machine-node-b { right: 12%; top: 48%; }

.machine-signal {
  position: absolute;
  left: 15%;
  right: 15%;
  top: 52%;
  height: 2px;
  overflow: hidden;
  background: rgba(17, 19, 19, 0.14);
}

.machine-signal::after {
  content: "";
  display: block;
  width: 35%;
  height: 100%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 75, 47, 0.5);
  animation: machineSignal 1.3s linear infinite;
}

@keyframes machineSignal {
  from { transform: translateX(-120%); }
  to { transform: translateX(390%); }
}

.protocol-output {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0 32px 30px;
  border-left: 1px solid var(--line-light);
}

.protocol-output > span {
  color: var(--red);
}

.protocol-output > strong {
  display: block;
  margin-top: 12px;
  font-size: 62px;
  font-weight: 500;
  line-height: 1;
}

.protocol-output > p {
  margin: 22px 0 0;
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.7;
}

.protocol-specs {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.protocol-specs span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(17, 19, 19, 0.13);
}

.protocol-specs small {
  color: var(--muted-light);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.protocol-specs b {
  font-size: 11px;
  font-weight: 600;
}

.privacy-section {
  position: relative;
  z-index: 14;
  min-height: 1280px;
  overflow: hidden;
  padding: 130px 5.5% 0;
  background:
    radial-gradient(circle at 75% 54%, rgba(255, 75, 47, 0.15), transparent 25%),
    radial-gradient(circle at 23% 78%, rgba(87, 151, 255, 0.12), transparent 24%),
    #090a0a;
}

.privacy-marquee {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  display: flex;
  width: max-content;
  color: rgba(255, 255, 255, 0.055);
  font-size: 95px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  animation: privacyMarquee 32s linear infinite;
}

.privacy-marquee span {
  padding-right: 42px;
}

@keyframes privacyMarquee {
  to { transform: translateX(-50%); }
}

.privacy-lead {
  position: relative;
  z-index: 4;
  width: min(760px, 72%);
  margin-top: 100px;
}

.privacy-lead h2 {
  font-size: 70px;
}

.privacy-lead p {
  width: 480px;
  margin: 28px 0 0 31%;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.75;
}

.privacy-stage {
  position: relative;
  z-index: 5;
  display: flex;
  height: 580px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  perspective: 1300px;
}

.privacy-stage::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  background: repeating-linear-gradient(90deg, #171a1a 0 12px, #0c0e0e 12px 20px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4), inset 0 2px rgba(255, 255, 255, 0.08);
  transform: translateY(-50%) rotate(-4deg);
}

.privacy-card {
  position: absolute;
  display: flex;
  width: 330px;
  height: 390px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(14, 16, 16, 0.84);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  backdrop-filter: blur(16px);
}

.privacy-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 9px;
  background: var(--accent, var(--acid));
}

.privacy-card::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 52px;
  width: 90px;
  height: 90px;
  border: 1px dashed var(--accent, var(--acid));
  border-radius: 50%;
  opacity: 0.34;
  animation: spin 14s linear infinite;
}

.privacy-card-one {
  --accent: var(--acid);
  transform: translate3d(calc(-280px + var(--privacy-progress) * -90px), calc(var(--privacy-progress) * 24px), 0) rotateY(calc(18deg - var(--privacy-progress) * 13deg)) rotateZ(-5deg);
}

.privacy-card-two {
  --accent: var(--red);
  transform: translate3d(0, calc(var(--privacy-progress) * -28px), 60px) rotateY(calc(var(--privacy-progress) * 8deg)) rotateZ(2deg);
}

.privacy-card-three {
  --accent: var(--blue);
  transform: translate3d(calc(280px + var(--privacy-progress) * 90px), calc(var(--privacy-progress) * 18px), 0) rotateY(calc(-18deg + var(--privacy-progress) * 13deg)) rotateZ(5deg);
}

.privacy-card > svg {
  position: absolute;
  right: 24px;
  top: 48px;
  width: 42px;
  height: 42px;
  color: var(--accent);
  stroke-width: 1;
}

.privacy-card > span {
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.privacy-card strong {
  margin-top: 12px;
  font-size: 25px;
  font-weight: 500;
}

.privacy-card p {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.65;
}

.audit-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  min-height: 96px;
  grid-template-columns: 1.1fr 1fr 1.3fr auto;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 5, 5, 0.65);
  backdrop-filter: blur(20px);
}

.audit-strip > span,
.audit-strip > button {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.audit-strip > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.audit-strip > button {
  border-right: 0;
  background: var(--red);
  color: var(--white);
}

.audit-strip > button svg {
  width: 16px;
}

.plans-section {
  position: relative;
  z-index: 15;
  min-height: 1160px;
  padding: 130px 5.5% 0;
  background: #0d0f0f;
}

.plans-header {
  margin-bottom: 80px;
}

.plans-header h2 {
  max-width: 790px;
  font-size: 68px;
}

.plan-lines {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.plan-line {
  position: relative;
  display: grid;
  min-height: 158px;
  grid-template-columns: 70px 1.2fr 1.7fr 150px 62px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  transition: background 0.4s ease, color 0.4s ease, padding 0.4s ease;
}

.plan-line::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.42s cubic-bezier(0.2, 0.85, 0.22, 1);
}

.plan-line:hover,
.plan-line.featured {
  color: var(--ink);
  padding: 0 20px;
}

.plan-line:hover::before,
.plan-line.featured::before {
  transform: scaleY(1);
}

.plan-line.featured::after {
  content: "MOST USED";
  position: absolute;
  right: 84px;
  top: 16px;
  color: var(--red);
  font-family: "DM Mono", monospace;
  font-size: 7px;
}

.plan-number,
.plan-name small,
.plan-features,
.plan-price small {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.plan-number {
  color: currentColor;
  opacity: 0.45;
}

.plan-name {
  display: grid;
  gap: 5px;
}

.plan-name strong {
  font-size: 29px;
  font-weight: 500;
}

.plan-name small,
.plan-features,
.plan-price small {
  opacity: 0.48;
}

.plan-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.plan-features span::before {
  content: "+";
  margin-right: 5px;
  color: var(--red);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price strong {
  font-size: 44px;
  font-weight: 500;
}

.plan-line > button {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.plan-line > button:hover {
  background: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

.plan-line > button svg {
  width: 18px;
}

.final-command {
  position: relative;
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: 110px;
  padding: 48px 5%;
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
}

.final-command::before {
  content: "B/";
  position: absolute;
  right: 26%;
  top: 50%;
  color: rgba(17, 19, 19, 0.08);
  font-size: 240px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%) rotate(-10deg);
}

.final-command > div,
.final-command > button {
  position: relative;
  z-index: 2;
}

.final-command > div > span {
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.final-command h2 {
  margin: 14px 0 0;
  font-size: 78px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.final-command > button {
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transition: transform 0.4s cubic-bezier(0.2, 0.85, 0.22, 1);
}

.final-command > button:hover {
  transform: rotate(12deg) scale(1.06);
}

.final-command > button span {
  align-self: end;
  margin-bottom: -22px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.final-command > button svg {
  align-self: start;
  width: 32px;
  height: 32px;
  margin-top: -20px;
}

.site-footer {
  position: relative;
  z-index: 16;
  display: grid;
  min-height: 260px;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 70px 5.5% 46px;
  background: #050606;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
}

.footer-brand strong {
  font-size: 15px;
}

.site-footer p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 11px;
  line-height: 1.65;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  color: rgba(255, 255, 255, 0.38);
  font-family: "DM Mono", monospace;
  font-size: 8px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.2, 0.85, 0.22, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.command-deck {
  position: fixed;
  inset: 0;
  z-index: 600;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.65s;
}

.command-deck.open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.deck-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.command-deck.open .deck-backdrop {
  opacity: 1;
}

.deck-shell {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  width: min(1180px, calc(100vw - 32px));
  grid-template-columns: 82px 1fr;
  background: #0a0c0c;
  box-shadow: -40px 0 110px rgba(0, 0, 0, 0.52);
  transform: translateX(102%);
  transition: transform 0.72s cubic-bezier(0.72, 0, 0.12, 1);
}

.command-deck.open .deck-shell {
  transform: translateX(0);
}

.deck-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: #060707;
}

.deck-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
}

.deck-rail > div {
  display: grid;
  gap: 10px;
}

.deck-rail button {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: transparent;
  color: rgba(255, 255, 255, 0.44);
}

.deck-rail button.active {
  border-color: var(--acid);
  color: var(--acid);
}

.deck-rail button svg {
  width: 18px;
}

.deck-rail button span {
  position: absolute;
  left: calc(100% + 14px);
  min-width: max-content;
  padding: 6px 8px;
  background: var(--acid);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.deck-rail button:hover span {
  opacity: 1;
  transform: translateX(0);
}

.deck-secure {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.38);
  font-family: "DM Mono", monospace;
  font-size: 7px;
}

.deck-content {
  min-width: 0;
  overflow: auto;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #0a0c0c;
  background-size: 25% 100%, 100% 25%;
}

.deck-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 12, 0.9);
  backdrop-filter: blur(18px);
}

.deck-header > div {
  display: grid;
  gap: 4px;
}

.deck-header span {
  color: var(--acid);
}

.deck-header h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
}

.deck-close {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  transition: transform 0.3s ease, background 0.3s ease;
}

.deck-close:hover {
  background: var(--paper);
  color: var(--ink);
  transform: rotate(90deg);
}

.deck-close svg {
  width: 18px;
}

.deck-view {
  display: none;
  min-height: calc(100vh - 94px);
}

.deck-view.active {
  display: block;
  animation: viewIn 0.5s ease both;
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-layout {
  display: grid;
  min-height: calc(100vh - 94px);
  grid-template-columns: 1.15fr 0.85fr;
}

.auth-copy {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 52px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 50% 35%, rgba(216, 255, 69, 0.15), transparent 25%),
    #080909;
}

.auth-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 36%;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 70px rgba(216, 255, 69, 0.07), 0 0 70px rgba(216, 255, 69, 0.05);
}

.auth-copy::after {
  content: "B/";
  position: absolute;
  left: 50%;
  top: 36%;
  color: var(--acid);
  font-size: 46px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.auth-copy.admin-copy {
  background: radial-gradient(circle at 50% 35%, rgba(255, 75, 47, 0.16), transparent 26%), #080909;
}

.auth-copy.admin-copy::after {
  color: var(--red);
}

.auth-copy.admin-copy::before {
  box-shadow: inset 0 0 70px rgba(255, 75, 47, 0.07), 0 0 70px rgba(255, 75, 47, 0.05);
}

.auth-copy > span {
  position: relative;
  z-index: 3;
  color: var(--acid);
}

.admin-copy > span {
  color: var(--red);
}

.auth-copy h3 {
  position: relative;
  z-index: 3;
  max-width: 580px;
  margin: 15px 0 0;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.05;
}

.auth-copy p {
  position: relative;
  z-index: 3;
  max-width: 420px;
  margin: 20px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.7;
}

.auth-fingerprint {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.42);
  font-family: "DM Mono", monospace;
  font-size: 8px;
}

.auth-fingerprint i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
}

.admin-copy .auth-fingerprint i {
  background: var(--red);
}

.auth-form {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 52px;
  background: var(--paper);
  color: var(--ink);
}

.auth-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 21px;
}

.auth-form label span {
  color: var(--muted-light);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.auth-form input,
.cabinet-form input,
.cabinet-form select,
.cabinet-form textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 19, 19, 0.27);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
}

.auth-form input {
  height: 50px;
  font-size: 15px;
}

.auth-form input:focus,
.cabinet-form input:focus,
.cabinet-form select:focus,
.cabinet-form textarea:focus {
  border-color: var(--red);
}

.auth-form > button {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 12px 0 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-form > button svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  background: var(--acid);
  color: var(--ink);
}

.auth-form > small {
  margin-top: 12px;
  color: var(--muted-light);
  font-family: "DM Mono", monospace;
  font-size: 7px;
}

.client-cabinet,
.admin-panel {
  display: none;
}

.client-cabinet.loaded,
.admin-panel.loaded {
  display: block;
}

.auth-layout.hidden {
  display: none;
}

.cabinet-shell,
.admin-shell {
  padding: 28px;
}

.cabinet-heading,
.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.cabinet-heading span,
.admin-heading span {
  color: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.cabinet-heading h3,
.admin-heading h3 {
  margin: 6px 0 0;
  font-size: 34px;
  font-weight: 500;
}

.logout-button {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.logout-button svg {
  width: 14px;
}

.cabinet-hero {
  display: grid;
  min-height: 245px;
  grid-template-columns: 1.2fr 0.8fr;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    radial-gradient(circle at 25% 50%, rgba(216, 255, 69, 0.13), transparent 27%),
    #0d0f0f;
}

.cabinet-connection {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.cabinet-power {
  display: grid;
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cabinet-power:hover,
.cabinet-power.connected {
  background: var(--acid);
  color: var(--ink);
  transform: scale(1.04);
}

.cabinet-power svg {
  width: 28px;
}

.cabinet-connection-copy {
  min-width: 0;
}

.cabinet-connection-copy > span,
.cabinet-summary small {
  color: rgba(255, 255, 255, 0.42);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  text-transform: uppercase;
}

.cabinet-connection-copy h4 {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  font-size: 28px;
  font-weight: 500;
}

.cabinet-connection-copy p {
  margin: 10px 0 0;
  color: var(--muted-dark);
  font-size: 10px;
}

.cabinet-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.cabinet-summary > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.cabinet-summary > div:nth-child(even) { border-right: 0; }
.cabinet-summary > div:nth-last-child(-n+2) { border-bottom: 0; }

.cabinet-summary strong {
  margin-top: 7px;
  font-size: 23px;
  font-weight: 500;
}

.cabinet-grid,
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.cabinet-panel,
.admin-panel-block {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.panel-head {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-head strong {
  font-size: 13px;
  font-weight: 600;
}

.panel-head span {
  color: rgba(255, 255, 255, 0.38);
  font-family: "DM Mono", monospace;
  font-size: 8px;
}

.device-row,
.session-row,
.request-row,
.user-row,
.network-route-row,
.event-row {
  display: grid;
  min-width: 0;
  align-items: center;
  padding: 14px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.device-row:last-child,
.session-row:last-child,
.request-row:last-child,
.user-row:last-child,
.network-route-row:last-child,
.event-row:last-child {
  border-bottom: 0;
}

.device-row {
  grid-template-columns: 34px 1fr auto;
  gap: 11px;
}

.row-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--acid);
}

.row-icon svg {
  width: 14px;
}

.row-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.row-copy strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-copy small,
.row-meta {
  color: rgba(255, 255, 255, 0.39);
  font-family: "DM Mono", monospace;
  font-size: 7px;
  text-transform: uppercase;
}

.row-state,
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-family: "DM Mono", monospace;
  font-size: 7px;
  text-transform: uppercase;
}

.row-state::before,
.status-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.row-state.online::before,
.status-chip.active::before,
.status-chip.approved::before,
.status-chip.online::before {
  background: var(--acid);
  box-shadow: 0 0 10px rgba(216, 255, 69, 0.45);
}

.status-chip.review::before,
.status-chip.new::before,
.status-chip.maintenance::before {
  background: var(--red);
}

.session-row {
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.cabinet-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px;
  background: var(--paper);
  color: var(--ink);
}

.cabinet-form label {
  display: grid;
  gap: 7px;
}

.cabinet-form label:last-of-type {
  grid-column: 1 / -1;
}

.cabinet-form label span {
  color: var(--muted-light);
  font-family: "DM Mono", monospace;
  font-size: 7px;
  text-transform: uppercase;
}

.cabinet-form input,
.cabinet-form select {
  height: 40px;
}

.cabinet-form textarea {
  min-height: 64px;
  resize: vertical;
}

.cabinet-form button {
  grid-column: 1 / -1;
  min-height: 42px;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-metric {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.admin-metric:last-child {
  border-right: 0;
}

.admin-metric span {
  color: rgba(255, 255, 255, 0.42);
  font-family: "DM Mono", monospace;
  font-size: 7px;
  text-transform: uppercase;
}

.admin-metric strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 30px;
  font-weight: 500;
}

.request-row {
  grid-template-columns: 1fr auto auto;
  gap: 12px;
}

.request-actions,
.route-actions {
  display: flex;
  gap: 5px;
}

.mini-action {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-family: "DM Mono", monospace;
  font-size: 7px;
  text-transform: uppercase;
}

.mini-action:hover,
.mini-action.active {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.network-route-row {
  grid-template-columns: 1fr 70px auto auto;
  gap: 12px;
}

.route-load {
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.route-load i {
  display: block;
  height: 100%;
  background: var(--acid);
}

.event-row {
  grid-template-columns: 8px 1fr auto;
  gap: 12px;
}

.event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
}

.event-dot.warning {
  background: var(--red);
}

.route-picker {
  position: fixed;
  inset: 0;
  z-index: 700;
  visibility: hidden;
  pointer-events: none;
}

.route-picker.open {
  visibility: visible;
  pointer-events: auto;
}

.route-picker-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.route-picker.open .route-picker-backdrop {
  opacity: 1;
}

.route-picker > section {
  position: absolute;
  right: 0;
  top: 0;
  width: min(620px, calc(100vw - var(--rail-width)));
  height: 100%;
  overflow: auto;
  background: #0a0c0c;
  transform: translateX(102%);
  transition: transform 0.6s cubic-bezier(0.72, 0, 0.12, 1);
}

.route-picker.open > section {
  transform: translateX(0);
}

.route-picker header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 12, 0.92);
  backdrop-filter: blur(16px);
}

.route-picker header span {
  color: var(--acid);
}

.route-picker header h2 {
  margin: 5px 0 0;
  font-size: 25px;
  font-weight: 500;
}

.route-picker header button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: transparent;
}

.route-picker header svg {
  width: 17px;
}

.route-picker-list {
  padding: 0 24px 30px;
}

.picker-route {
  display: grid;
  width: 100%;
  min-height: 92px;
  grid-template-columns: 52px 1fr auto 20px;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  text-align: left;
  transition: padding 0.25s ease, color 0.25s ease;
}

.picker-route:hover,
.picker-route.active {
  padding: 0 8px;
  color: var(--acid);
}

.picker-route .country-code {
  width: 48px;
  height: 48px;
}

.picker-route-copy {
  display: grid;
  gap: 4px;
}

.picker-route-copy strong {
  font-size: 13px;
  font-weight: 600;
}

.picker-route-copy small,
.picker-route-meta {
  color: rgba(255, 255, 255, 0.38);
  font-family: "DM Mono", monospace;
  font-size: 7px;
  text-transform: uppercase;
}

.picker-route-meta {
  text-align: right;
}

.picker-route > svg {
  width: 14px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  max-width: min(360px, calc(100vw - 48px));
  padding: 13px 16px;
  border-left: 3px solid var(--acid);
  background: #111414;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  border-left-color: var(--red);
}

@media (max-width: 1260px) {
  :root { --rail-width: 72px; }

  .hero-copy h1 { font-size: 104px; }
  .hero-copy { left: 4%; width: 500px; }
  .hero-copy p, .hero-actions { margin-left: 62px; }
  .connection-console { width: 324px; }
  .hero-crosshair, .tunnel-caption { left: 67%; }
  .protocol-lab { grid-template-columns: 220px minmax(340px, 1fr) 270px; }
  .protocol-output > strong { font-size: 52px; }
  .privacy-lead h2 { font-size: 60px; }
}

@media (max-width: 1040px) {
  .hero-copy { top: 12%; }
  .hero-copy h1 { font-size: 88px; }
  .hero-copy p { width: 350px; }
  .hero-crosshair, .tunnel-caption { left: 70%; }
  .connection-console { right: 2%; bottom: 10%; width: 310px; }
  .hero-foot { gap: 15px; }

  .terminal-sto { left: 59%; }
  .terminal-rey { left: 32%; }
  .terminal-zrh { left: 62%; }
  .terminal-sin { left: 42%; }
  .terminal-socket { width: 94px; height: 94px; }
  .socket-teeth { inset: 17px; }
  .socket-core { inset: 32px; }

  .protocol-header { grid-template-columns: 1fr 250px; }
  .protocol-header h2 { font-size: 49px; }
  .protocol-lab { grid-template-columns: 190px minmax(300px, 1fr) 230px; }
  .protocol-picker button { padding: 12px; }
  .protocol-output { padding-left: 20px; }
  .protocol-output > strong { font-size: 43px; }
  .machine-ring-a { width: 320px; height: 320px; }
  .machine-ring-b { width: 250px; height: 250px; }

  .privacy-card { width: 285px; }
  .privacy-card-one { transform: translate3d(calc(-235px + var(--privacy-progress) * -55px), calc(var(--privacy-progress) * 24px), 0) rotateY(calc(18deg - var(--privacy-progress) * 13deg)) rotateZ(-5deg); }
  .privacy-card-three { transform: translate3d(calc(235px + var(--privacy-progress) * 55px), calc(var(--privacy-progress) * 18px), 0) rotateY(calc(-18deg + var(--privacy-progress) * 13deg)) rotateZ(5deg); }

  .plan-line { grid-template-columns: 45px 1fr 1.3fr 130px 54px; gap: 15px; }
  .plan-features { gap: 7px 12px; }
  .audit-strip { grid-template-columns: 1fr 1fr auto; }
  .audit-strip > span:nth-child(3) { display: none; }
}

@media (max-width: 820px) {
  :root { --rail-width: 60px; }
  .rail-brand { height: 66px; }
  .rail-brand span { width: 36px; height: 36px; }
  .rail-button { width: 44px; height: 44px; }
  .rail-button > span, .rail-system span { display: none; }

  .hero-chapter { height: 160svh; }
  .hero-sticky { min-height: 620px; }
  .hero-copy { left: 22px; top: 10%; width: 420px; }
  .hero-copy h1 { font-size: 74px; }
  .hero-copy p, .hero-actions { margin-left: 48px; }
  .hero-copy p { width: 320px; font-size: 13px; }
  .hero-crosshair { left: 72%; width: 350px; height: 350px; }
  .tunnel-caption { left: 72%; }
  .connection-console { right: 18px; bottom: 9%; width: 300px; }
  .hero-telemetry-right { display: none; }
  .hero-foot { grid-template-columns: repeat(2, auto) 1fr; }
  .hero-foot > span:nth-child(3) { display: none; }

  .route-header h2 { font-size: 40px; }
  .route-word { font-size: 150px; }
  .terminal { gap: 10px; }
  .terminal-socket { width: 78px; height: 78px; }
  .socket-teeth { inset: 14px; border-width: 5px; }
  .socket-core { inset: 27px; }
  .terminal-sto { left: 52%; top: 18%; }
  .terminal-rey { left: 26%; top: 39%; }
  .terminal-zrh { left: 57%; top: 57%; }
  .terminal-sin { left: 35%; top: 74%; }
  .terminal-label { min-width: 130px; }
  .terminal-label strong { font-size: 15px; }

  .protocol-section { min-height: 1420px; padding-left: 30px; padding-right: 30px; }
  .protocol-header { grid-template-columns: 1fr; }
  .protocol-header p { max-width: 430px; margin-top: 22px; }
  .protocol-lab { grid-template-columns: 180px 1fr; min-height: 900px; }
  .protocol-picker { grid-row: 1 / span 2; }
  .protocol-machine { min-height: 550px; }
  .protocol-output { min-height: 300px; border-top: 1px solid var(--line-light); border-left: 0; padding: 28px; }

  .privacy-section { min-height: 1450px; }
  .privacy-lead { width: 100%; }
  .privacy-lead h2 { font-size: 48px; }
  .privacy-lead p { margin-left: 18%; }
  .privacy-stage { height: 820px; margin-top: 30px; }
  .privacy-stage::before { transform: translateY(-50%) rotate(90deg); left: 45%; right: auto; width: 700px; }
  .privacy-card { width: 320px; height: 270px; }
  .privacy-card-one { transform: translate3d(-120px, calc(-245px + var(--privacy-progress) * -20px), 0) rotateY(10deg) rotateZ(-3deg); }
  .privacy-card-two { transform: translate3d(80px, 0, 40px) rotateY(-5deg) rotateZ(2deg); }
  .privacy-card-three { transform: translate3d(-80px, calc(245px + var(--privacy-progress) * 20px), 0) rotateY(7deg) rotateZ(-2deg); }

  .plans-header h2 { font-size: 52px; }
  .plan-line { grid-template-columns: 34px 1fr 120px 48px; min-height: 145px; }
  .plan-features { display: none; }
  .plan-line.featured::after { right: 70px; }
  .final-command h2 { font-size: 60px; }
  .final-command > button { width: 130px; height: 130px; }

  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer p { display: none; }
  .deck-shell { grid-template-columns: 64px 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-copy { min-height: 430px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
  .auth-form { min-height: 440px; }
  .cabinet-hero { grid-template-columns: 1fr; }
  .cabinet-connection { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
  .cabinet-grid, .admin-grid { grid-template-columns: 1fr; }
  .admin-metrics { grid-template-columns: repeat(2, 1fr); }
  .admin-metric:nth-child(2) { border-right: 0; }
  .admin-metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
}

@media (max-width: 620px) {
  :root { --rail-width: 52px; }
  .cursor-dot { display: none; }
  .command-rail { background: rgba(5, 6, 6, 0.93); }
  .rail-brand { height: 58px; }
  .rail-brand span { width: 32px; height: 32px; font-size: 12px; }
  .rail-nav { gap: 5px; }
  .rail-button { width: 38px; height: 38px; }
  .rail-button svg { width: 16px; height: 16px; }
  .rail-actions { padding-bottom: 10px; }
  .rail-system { display: none; }

  .site-cable-jacket { stroke-width: 14; }
  .site-cable-shadow { stroke-width: 20; }
  .site-cable-ridge { stroke-width: 2; }

  .hero-sticky { min-height: 590px; }
  .hero-telemetry { display: none; }
  .hero-copy { left: 16px; right: 14px; top: 70px; width: auto; }
  .hero-copy h1 { margin-top: 14px; font-size: 54px; line-height: 0.79; }
  .title-line { padding-left: 34px; }
  .hero-copy h1 em { right: -38px; font-size: 9px; }
  .hero-copy p { width: min(290px, calc(100vw - 95px)); margin: 21px 0 0 35px; font-size: 11px; line-height: 1.55; }
  .hero-actions { margin: 18px 0 0 35px; }
  .signal-button { min-height: 43px; gap: 18px; font-size: 9px; }
  .text-command { display: none; }
  .hero-crosshair { left: 66%; top: 49%; width: 290px; height: 290px; opacity: 0.35; }
  .tunnel-caption { display: none; }
  .connection-console { left: 12px; right: 12px; bottom: 58px; width: auto; padding: 10px; }
  .route-select { min-height: 62px; }
  .protocol-switch button { height: 28px; font-size: 7px; }
  .console-bottom { min-height: 62px; }
  .power-button { width: 48px; height: 48px; }
  .hero-foot { left: 12px; right: 12px; bottom: 17px; grid-template-columns: 1fr auto; gap: 8px; }
  .hero-foot > span:nth-child(2), .hero-foot > span:nth-child(3) { display: none; }

  .route-story { height: 360svh; }
  .route-sticky { min-height: 590px; }
  .route-header { left: 18px; top: 34px; }
  .route-header h2 { font-size: 32px; }
  .route-word { font-size: 88px; top: 48%; }
  .terminal { display: block; }
  .terminal-socket { width: 68px; height: 68px; }
  .socket-teeth { inset: 12px; }
  .socket-core { inset: 23px; }
  .terminal-label { position: absolute; left: 74px; top: 10px; min-width: 112px; }
  .terminal-sto { left: 54%; top: 20%; }
  .terminal-rey { left: 17%; top: 38%; }
  .terminal-zrh { left: 58%; top: 53%; }
  .terminal-sin { left: 31%; top: 69%; }
  .terminal-label strong { font-size: 13px; }
  .terminal-label small { font-size: 6px; }
  .cable-head { transform: scale(0.75); }
  .route-narrative { left: 18px; bottom: 12%; width: 220px; }
  .route-narrative strong { font-size: 25px; }
  .route-narrative p { display: none; }
  .route-progress { left: 18px; bottom: 7%; width: 210px; }
  .route-command { right: 12px; bottom: 5%; width: 46px; height: 46px; min-height: 0; padding: 0; }
  .route-command span { display: none; }

  .protocol-section { min-height: 1420px; padding: 90px 18px 110px; }
  .protocol-header h2 { font-size: 38px; }
  .protocol-header p { font-size: 11px; }
  .protocol-lab { display: block; min-height: 1020px; margin-top: 60px; }
  .protocol-picker { display: grid; grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid var(--line-light); }
  .protocol-picker button { grid-template-columns: 1fr; min-height: 90px; padding: 10px; border-right: 1px solid var(--line-light); border-bottom: 0; }
  .protocol-picker button span { grid-row: auto; }
  .protocol-picker button small { display: none; }
  .protocol-picker button.active { padding-left: 10px; }
  .protocol-picker button::after { right: 0; left: 0; top: auto; bottom: -1px; width: 100%; height: 3px; transform: scaleX(0.1); }
  .protocol-picker button.active::after { transform: scaleX(1); }
  .protocol-machine { min-height: 560px; }
  .machine-ring-a { width: 280px; height: 280px; }
  .machine-ring-b { width: 220px; height: 220px; }
  .protocol-output { min-height: 320px; padding: 24px 0; }
  .protocol-output > strong { font-size: 46px; }

  .privacy-section { min-height: 1540px; padding: 100px 18px 0; }
  .privacy-marquee { font-size: 58px; }
  .privacy-lead { margin-top: 75px; }
  .privacy-lead h2 { font-size: 39px; }
  .privacy-lead p { width: 88%; margin: 22px 0 0 12%; font-size: 11px; }
  .privacy-stage { height: 900px; }
  .privacy-card { width: min(285px, calc(100vw - 92px)); height: 265px; padding: 21px; }
  .privacy-card-one { transform: translate3d(-15px, -285px, 0) rotateY(7deg) rotateZ(-2deg); }
  .privacy-card-two { transform: translate3d(18px, 0, 30px) rotateY(-4deg) rotateZ(1deg); }
  .privacy-card-three { transform: translate3d(-10px, 285px, 0) rotateY(6deg) rotateZ(-2deg); }
  .privacy-card strong { font-size: 21px; }
  .audit-strip { min-height: 82px; grid-template-columns: 1fr auto; }
  .audit-strip > span:nth-child(2), .audit-strip > span:nth-child(3) { display: none; }
  .audit-strip > span, .audit-strip > button { padding: 0 14px; }

  .plans-section { min-height: 1100px; padding: 100px 18px 0; }
  .plans-header { margin-bottom: 55px; }
  .plans-header h2 { font-size: 40px; }
  .plan-line { min-height: 132px; grid-template-columns: 28px 1fr 48px; gap: 8px; }
  .plan-line:hover, .plan-line.featured { padding: 0 8px; }
  .plan-price { grid-column: 2; margin-top: -30px; }
  .plan-price strong { font-size: 29px; }
  .plan-line > button { grid-column: 3; grid-row: 1 / span 2; width: 42px; height: 42px; }
  .plan-line.featured::after { right: 8px; top: 9px; }
  .plan-name strong { font-size: 23px; }
  .final-command { min-height: 250px; margin-top: 80px; padding: 28px; }
  .final-command h2 { font-size: 45px; }
  .final-command > button { width: 92px; height: 92px; }
  .final-command > button span { display: none; }
  .final-command > button svg { align-self: center; margin: 0; }

  .site-footer { min-height: 210px; grid-template-columns: 1fr; align-content: end; padding: 50px 18px 34px; }
  .footer-meta { justify-items: start; }

  .deck-shell { width: calc(100vw - 12px); grid-template-columns: 52px 1fr; }
  .deck-rail { padding: 14px 0; }
  .deck-mark { width: 34px; height: 34px; font-size: 12px; }
  .deck-rail button { width: 38px; height: 38px; }
  .deck-rail button span { display: none; }
  .deck-header { min-height: 74px; padding: 12px 14px; }
  .deck-header h2 { font-size: 20px; }
  .deck-close { width: 38px; height: 38px; }
  .deck-view { min-height: calc(100vh - 74px); }
  .auth-layout { min-height: calc(100vh - 74px); }
  .auth-copy { min-height: 390px; padding: 28px 20px; }
  .auth-copy::before { width: 220px; height: 220px; }
  .auth-copy h3 { font-size: 30px; }
  .auth-form { min-height: 400px; padding: 28px 20px; }
  .cabinet-shell, .admin-shell { padding: 14px; }
  .cabinet-heading, .admin-heading { align-items: start; }
  .cabinet-heading h3, .admin-heading h3 { font-size: 25px; }
  .logout-button span { display: none; }
  .cabinet-connection { display: grid; justify-items: center; text-align: center; }
  .cabinet-summary > div { padding: 17px; }
  .cabinet-form { grid-template-columns: 1fr; }
  .cabinet-form label:last-of-type { grid-column: auto; }
  .cabinet-form button { grid-column: auto; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .admin-metric { padding: 15px; }
  .admin-metric strong { font-size: 22px; }
  .request-row { grid-template-columns: 1fr; }
  .request-actions { margin-top: 7px; }
  .network-route-row { grid-template-columns: 1fr auto; }
  .network-route-row .route-load { display: none; }
  .route-picker > section { width: calc(100vw - 12px); }
  .route-picker-list { padding: 0 14px 20px; }
  .picker-route { grid-template-columns: 44px 1fr auto; gap: 9px; }
  .picker-route > svg { display: none; }
}

@media (max-height: 720px) and (max-width: 620px) {
  .hero-copy p { display: none; }
  .hero-actions { margin-top: 18px; }
  .connection-console { bottom: 54px; }
  .protocol-switch { display: none; }
  .route-select { min-height: 56px; }
  .console-bottom { min-height: 56px; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}

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