:root {
  color-scheme: dark;
  --bg: #05090b;
  --bg-elevated: #081014;
  --surface: #0b1418;
  --surface-strong: #0e1a1f;
  --line: rgba(152, 193, 202, 0.14);
  --line-strong: rgba(52, 232, 245, 0.28);
  --text: #f4f8f9;
  --muted: #87969d;
  --cyan: #31e9f4;
  --cyan-deep: #00a8bb;
  --gold: #f6c967;
  --gold-deep: #c99435;
  --success: #65e6b1;
  --max: 1180px;
  --header-height: 66px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  color: #001216;
  background: var(--cyan);
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: 0;
  left: 0;
  z-index: 50;
  padding: 0 18px;
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(var(--max), calc(100% - 12px));
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 12px 0 14px;
  border: 1px solid rgba(141, 177, 185, 0.13);
  border-radius: 8px;
  background: rgba(5, 9, 11, 0.84);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition:
    border-color 240ms ease,
    background 240ms ease;
}

.site-header.scrolled .nav-shell {
  border-color: rgba(49, 233, 244, 0.2);
  background: rgba(5, 9, 11, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  width: fit-content;
  font-size: 17px;
  font-weight: 900;
}

.brand img {
  border-radius: 8px;
}

.brand b {
  color: var(--cyan);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a,
.nav-login {
  color: #aab6ba;
  font-size: 13px;
  font-weight: 650;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.nav-login:hover {
  color: var(--text);
}

body.is-authenticated .nav-login {
  color: var(--cyan);
}

body.is-authenticated [data-session-entry].button-primary {
  background: linear-gradient(135deg, var(--cyan), #f5c867);
  box-shadow: 0 14px 38px rgba(48, 218, 229, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.menu-button:focus-visible,
.segment-control button:focus-visible,
.faq-item button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.button-small {
  min-height: 40px;
  padding: 0 17px;
  font-size: 13px;
}

.button-primary {
  color: #001417;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(49, 233, 244, 0.18);
}

.button-primary:hover {
  background: #73f5fc;
  box-shadow: 0 0 38px rgba(49, 233, 244, 0.28);
}

.button-gold {
  color: #1c1202;
  background: var(--gold);
  box-shadow: 0 0 28px rgba(246, 201, 103, 0.15);
}

.button-gold:hover {
  background: #ffe098;
}

.button-outline,
.button-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.button-outline:hover,
.button-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(49, 233, 244, 0.06);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  background: #c8d2d5;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 94svh;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 62px) 24px 92px;
  isolation: isolate;
  background: #06100f;
}

.network-canvas,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-canvas {
  z-index: -3;
  opacity: 0.75;
}

.hero-grid {
  z-index: -2;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(99, 179, 186, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 179, 186, 0.16) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.7) 55%, transparent 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(6, 16, 15, 0.98) 0%,
    rgba(6, 16, 15, 0.86) 38%,
    rgba(6, 16, 15, 0.3) 67%,
    rgba(6, 16, 15, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero-copy {
  width: min(650px, 56%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(49, 233, 244, 0.7);
}

.eyebrow.gold {
  color: var(--gold);
}

.eyebrow.gold span {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(246, 201, 103, 0.55);
}

.hero h1 {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: clamp(50px, 7vw, 104px);
  line-height: 0.94;
  font-weight: 950;
}

.hero-title {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1;
  font-weight: 920;
}

.hero-title span {
  color: var(--gold);
}

.hero-description {
  width: min(560px, 100%);
  margin: 28px 0 0;
  color: #b2bec2;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 23px;
  color: #778990;
  font-size: 13px;
}

.hero-links a {
  color: #b4c3c7;
  border-bottom: 1px solid rgba(180, 195, 199, 0.28);
}

.hero-stage {
  position: absolute;
  top: 50%;
  right: max(2vw, calc((100vw - var(--max)) / 2));
  z-index: 1;
  width: min(42vw, 520px);
  height: min(72svh, 660px);
  transform: translateY(-48%);
  pointer-events: none;
}

.signal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(49, 233, 244, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: signal-breathe 5s ease-in-out infinite;
}

.signal-ring-one {
  width: 480px;
  height: 480px;
}

.signal-ring-two {
  width: 620px;
  height: 620px;
  border-color: rgba(246, 201, 103, 0.11);
  animation-delay: -2.5s;
}

.phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 290px;
  aspect-ratio: 0.49;
  padding: 9px;
  border: 1px solid rgba(213, 234, 238, 0.25);
  border-radius: 38px;
  background: #030506;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.72),
    0 0 48px rgba(49, 233, 244, 0.14),
    0 0 74px rgba(246, 201, 103, 0.08);
  transform: translate(-50%, -50%) rotate(1deg);
  animation: phone-float 6s ease-in-out infinite;
}

.phone::before {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 86px;
  height: 20px;
  border-radius: 14px;
  background: #020304;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 16px 14px 12px;
  border: 1px solid rgba(144, 173, 180, 0.13);
  border-radius: 31px;
  background: #080d11;
}

.phone-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(49, 233, 244, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 233, 244, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.phone-status,
.phone-brand,
.phone-location,
.phone-tabs,
.phone-servers {
  position: relative;
  z-index: 1;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  color: #9ba7ad;
  font-size: 9px;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  font-size: 13px;
  font-weight: 900;
}

.phone-brand img {
  border-radius: 8px;
}

.connection-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  width: 146px;
  height: 146px;
  place-items: center;
  margin: 32px auto 10px;
  border: 1px solid rgba(49, 233, 244, 0.14);
  border-radius: 50%;
  box-shadow:
    inset 0 0 42px rgba(49, 233, 244, 0.06),
    0 0 42px rgba(49, 233, 244, 0.08);
}

.connection-orbit::before,
.connection-orbit::after {
  position: absolute;
  border: 1px solid rgba(246, 201, 103, 0.15);
  border-radius: 50%;
  content: "";
}

.connection-orbit::before {
  inset: 13px;
}

.connection-orbit::after {
  inset: 27px;
  border-color: rgba(49, 233, 244, 0.2);
}

.connection-button {
  position: relative;
  z-index: 2;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(170, 248, 255, 0.45);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 24px rgba(49, 233, 244, 0.45),
    inset 0 -14px 28px rgba(0, 85, 96, 0.35);
}

.connection-button span {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  border: 3px solid #02272c;
  border-top-color: transparent;
  border-radius: 50%;
}

.connection-button span::before {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 3px;
  height: 14px;
  background: #02272c;
  content: "";
  transform: translateX(-50%);
}

.connection-label,
.connection-time {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}

.connection-label {
  color: var(--success);
  font-size: 9px;
}

.connection-time {
  margin-top: 3px;
  color: #aab6ba;
  font-size: 10px;
}

.phone-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 11px;
  border: 1px solid rgba(49, 233, 244, 0.18);
  border-radius: 8px;
  background: rgba(49, 233, 244, 0.04);
}

.phone-location > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-flag {
  width: 17px;
  height: 11px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  object-fit: cover;
}

.phone-flag-large {
  width: 22px;
  height: 15px;
}

.phone-location p {
  display: grid;
  margin: 0;
}

.phone-location b {
  font-size: 10px;
}

.phone-location small {
  color: #76868c;
  font-size: 8px;
}

.phone-location .latency {
  color: var(--success);
  font-size: 9px;
}

.phone-servers {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.phone-servers p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 8px 9px;
  border: 1px solid rgba(137, 160, 166, 0.09);
  border-radius: 6px;
  color: #a6b3b7;
  background: rgba(255, 255, 255, 0.018);
  font-size: 8px;
}

.phone-servers p > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-servers b {
  color: #6e7f84;
}

.phone-tabs {
  position: absolute;
  right: 11px;
  bottom: 13px;
  left: 11px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(143, 170, 176, 0.12);
  color: #64747a;
  font-size: 7px;
  text-align: center;
}

.phone-tabs .active {
  color: var(--cyan);
}

.flow-panel {
  display: grid;
  grid-template-columns: 112px 1fr 112px 1fr 112px;
  align-items: center;
  width: min(610px, 54%);
  min-height: 112px;
  margin-top: 56px;
  padding: 18px;
  border: 1px solid rgba(49, 233, 244, 0.14);
  border-radius: 8px;
  background: rgba(4, 11, 12, 0.56);
  backdrop-filter: blur(12px);
}

.flow-node {
  display: grid;
  min-height: 72px;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #778a90;
  background: rgba(255, 255, 255, 0.018);
  font-size: 11px;
}

.flow-node.active {
  border-color: rgba(49, 233, 244, 0.45);
  color: var(--text);
  box-shadow: inset 0 0 24px rgba(49, 233, 244, 0.07);
}

.node-mark {
  color: var(--cyan);
  font-size: 10px;
}

.flow-line {
  position: relative;
  height: 1px;
  overflow: visible;
  background: rgba(49, 233, 244, 0.18);
}

.flow-line i {
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(49, 233, 244, 0.9);
  animation: packet-flow 2s linear infinite;
}

.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #718187;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-hint span {
  color: var(--cyan);
  animation: hint-bounce 1.5s ease-in-out infinite;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(49, 233, 244, 0.1);
  border-bottom: 1px solid rgba(49, 233, 244, 0.1);
  background: #071012;
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  color: #6f8288;
  font-size: 12px;
  font-weight: 750;
  animation: ticker 34s linear infinite;
}

.ticker-track i {
  color: var(--cyan);
  font-style: normal;
}

.section {
  position: relative;
  padding: 110px 24px;
  border-bottom: 1px solid rgba(139, 173, 181, 0.08);
  background: #071012;
}

.section-dark {
  background: #050a0d;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1.04;
}

.section-heading > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
}

.benefit-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.benefit-card h3,
.app-card h3,
.location-card h3,
.price-card h3,
.step h3,
.protocol-copy h3 {
  margin: 0;
  font-size: 23px;
}

.benefit-card > p:not(.card-kicker) {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--muted);
}

.benefit-card-large {
  grid-row: span 2;
  min-height: 494px;
  padding: 36px;
}

.benefit-card-wide {
  grid-column: span 2;
}

.card-kicker {
  display: inline-flex;
  margin: 0 0 34px;
  padding: 5px 9px;
  border: 1px solid rgba(49, 233, 244, 0.22);
  border-radius: 5px;
  color: var(--cyan);
  background: rgba(49, 233, 244, 0.05);
  font-size: 10px;
  font-weight: 850;
}

.card-index {
  display: block;
  margin-bottom: 26px;
  color: #52636a;
  font-size: 12px;
  font-weight: 850;
}

.benefit-card-large .card-index {
  position: absolute;
  top: 36px;
  right: 36px;
}

.metric {
  position: absolute;
  bottom: 34px;
  left: 36px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.metric strong {
  font-size: clamp(36px, 4vw, 58px);
}

.metric span {
  max-width: 110px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.radar {
  position: absolute;
  right: 28px;
  bottom: 34px;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(49, 233, 244, 0.14);
  border-radius: 50%;
}

.radar span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(49, 233, 244, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar span:nth-child(1) {
  width: 104px;
  height: 104px;
}

.radar span:nth-child(2) {
  width: 54px;
  height: 54px;
}

.radar span:nth-child(3) {
  width: 7px;
  height: 7px;
  border: 0;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(49, 233, 244, 0.75);
}

.radar i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 1px;
  transform-origin: left center;
  background: rgba(49, 233, 244, 0.35);
  animation: radar-scan 4s linear infinite;
}

.device-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.device-list span {
  padding: 7px 10px;
  border: 1px solid rgba(246, 201, 103, 0.18);
  border-radius: 5px;
  color: #c2b38c;
  background: rgba(246, 201, 103, 0.03);
  font-size: 11px;
  font-weight: 750;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.app-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.app-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-5px);
}

.app-card p {
  color: var(--muted);
}

.app-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.app-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.app-kicker {
  margin: 0 0 6px;
  color: var(--cyan) !important;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.platform-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.platform-picker button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.platform-picker button:hover,
.platform-picker button.active {
  border-color: rgba(49, 233, 244, 0.52);
  color: #031113;
  background: var(--cyan);
}

.app-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.app-actions .button {
  width: 100%;
  min-height: 48px;
  padding-inline: 14px;
  text-align: center;
}

.protocol-section {
  overflow: hidden;
  background: #081316;
}

.protocol-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(560px, 1.2fr);
  align-items: center;
  gap: 70px;
}

.protocol-layout .section-heading {
  margin: 0;
}

.protocol-switcher {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070d10;
}

.segment-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #04080a;
}

.segment-control button {
  min-height: 42px;
  border: 0;
  border-radius: 5px;
  color: #7f9096;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.segment-control button.active {
  color: #001519;
  background: var(--cyan);
}

.protocol-diagram {
  display: grid;
  grid-template-columns: 112px 1fr 126px 1fr 112px;
  align-items: center;
  min-height: 250px;
}

.diagram-node {
  display: grid;
  min-height: 104px;
  place-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8ea0a5;
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  text-align: center;
}

.diagram-node span {
  color: var(--cyan);
  font-size: 11px;
}

.diagram-node.core {
  border-color: rgba(49, 233, 244, 0.35);
  color: var(--text);
  box-shadow: inset 0 0 30px rgba(49, 233, 244, 0.06);
}

.diagram-node img {
  border-radius: 8px;
}

.data-route {
  position: relative;
  height: 1px;
  background: rgba(49, 233, 244, 0.17);
}

.data-route i {
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(49, 233, 244, 0.8);
  animation: packet-flow 2.2s linear infinite;
}

.data-route i:nth-child(2) {
  animation-delay: -0.7s;
}

.data-route i:nth-child(3) {
  animation-delay: -1.4s;
}

.protocol-copy {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.protocol-copy p {
  margin: 10px 0 0;
  color: var(--muted);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.location-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 110px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.location-card .flag {
  width: 48px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
}

.location-card h3 {
  font-size: 16px;
}

.location-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.status {
  position: relative;
  padding-left: 13px;
  color: var(--success);
  font-size: 10px;
  text-transform: uppercase;
}

.status::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  content: "";
  transform: translateY(-50%);
  animation: status-pulse 2s ease-in-out infinite;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.price-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.price-card.featured {
  border-color: rgba(49, 233, 244, 0.42);
  box-shadow: inset 0 0 45px rgba(49, 233, 244, 0.045);
}

.price-card.premium {
  border-color: rgba(246, 201, 103, 0.34);
  box-shadow: inset 0 0 45px rgba(246, 201, 103, 0.035);
}

.price-label {
  margin: 0 0 30px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
}

.premium .price-label {
  color: var(--gold);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 24px;
}

.price strong {
  font-size: clamp(52px, 5.2vw, 72px);
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 18px;
}

.price-period {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.price-discount {
  width: fit-content;
  margin: 8px 0 0;
  padding: 4px 8px;
  border: 1px solid rgba(101, 230, 177, 0.2);
  border-radius: 5px;
  color: var(--success);
  background: rgba(101, 230, 177, 0.06);
  font-size: 11px;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  flex: 1;
  gap: 12px;
  margin: 30px 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  color: #a4b2b6;
  list-style: none;
}

.price-card li::before {
  margin-right: 9px;
  color: var(--cyan);
  content: "✓";
}

.premium li::before {
  color: var(--gold);
}

.referral-section {
  overflow: hidden;
  background: #050a0d;
}

.referral-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 72px;
}

.referral-intro h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
}

.referral-intro h2 b {
  color: var(--gold);
}

.referral-lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.referral-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.referral-benefits div {
  min-width: 0;
  padding: 20px 16px 20px 0;
  border-right: 1px solid var(--line);
}

.referral-benefits div + div {
  padding-left: 16px;
}

.referral-benefits div:last-child {
  border-right: 0;
}

.referral-benefits strong,
.referral-benefits span {
  display: block;
}

.referral-benefits strong {
  color: var(--cyan);
  font-size: 20px;
}

.referral-benefits span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.referral-cta {
  width: fit-content;
}

.referral-journey {
  position: relative;
  min-width: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(49, 233, 244, 0.25);
  border-radius: 8px;
  background: #091216;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.referral-journey-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.referral-journey-head span {
  font-weight: 850;
}

.referral-journey-head b {
  color: var(--gold);
  font-size: 11px;
  text-align: right;
}

.referral-route {
  position: absolute;
  top: 88px;
  bottom: 88px;
  left: 48px;
  width: 2px;
  overflow: hidden;
  background: rgba(49, 233, 244, 0.14);
}

.referral-route i {
  position: absolute;
  top: 0;
  left: -3px;
  width: 8px;
  height: 28px;
  border-radius: 4px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(49, 233, 244, 0.75);
  animation: referral-route-flow 3.4s ease-in-out infinite;
}

.referral-stages {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.referral-stages li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 12px 14px 12px 0;
}

.referral-stages li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(49, 233, 244, 0.38);
  border-radius: 50%;
  color: var(--cyan);
  background: #091216;
  font-size: 11px;
  font-weight: 900;
}

.referral-stages strong,
.referral-stages small {
  display: block;
}

.referral-stages strong {
  font-size: 15px;
}

.referral-stages small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.referral-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #a6b5b9;
  font-size: 12px;
}

.referral-note span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(101, 230, 177, 0.6);
  animation: status-pulse 2s ease-in-out infinite;
}

.steps-section {
  background: #081114;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  min-height: 230px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step > span {
  display: block;
  margin-bottom: 50px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.step p {
  color: var(--muted);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  align-items: start;
  gap: 80px;
}

.faq-layout .section-heading {
  position: sticky;
  top: 110px;
  margin: 0;
}

.faq-layout .button {
  margin-top: 26px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: grid;
  width: 100%;
  min-height: 86px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  font-weight: 780;
  text-align: left;
}

.faq-item button span {
  color: var(--cyan);
  font-size: 22px;
}

.faq-answer p {
  margin: -8px 60px 28px 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 44px;
  padding: 48px max(24px, calc((100vw - var(--max)) / 2));
  background: #030607;
}

.site-footer > div:first-child > p {
  max-width: 430px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
  color: #aab7bb;
  font-size: 13px;
}

.copyright {
  color: #68787e;
  font-size: 12px;
}

.pwa-prompt {
  position: fixed;
  top: calc(max(12px, env(safe-area-inset-top)) + 76px);
  right: 18px;
  z-index: 90;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: min(470px, calc(100% - 36px));
  padding: 11px;
  border: 1px solid rgba(49, 233, 244, 0.25);
  border-radius: 8px;
  background: rgba(8, 16, 20, 0.96);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  animation: pwa-prompt-in 300ms ease both;
}

.pwa-prompt[hidden] {
  display: none;
}

.pwa-prompt img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.pwa-prompt > div {
  display: grid;
}

.pwa-prompt b {
  font-size: 13px;
}

.pwa-prompt span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.pwa-install {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #001417;
  background: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.pwa-close {
  width: 32px;
  height: 32px;
  border: 0;
  color: #84959b;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.auth-message {
  margin: 14px 0 0;
  padding: 9px 11px;
  border: 1px solid rgba(238, 114, 114, 0.24);
  border-radius: 6px;
  color: #ffb4b4;
  background: rgba(238, 114, 114, 0.06);
  font-size: 12px;
  text-align: center;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(1, 5, 7, 0.82);
  backdrop-filter: blur(14px);
}

.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  overflow: hidden;
  padding: 24px 28px;
  border: 1px solid rgba(49, 233, 244, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(49, 233, 244, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(49, 233, 244, 0.05), transparent 42%),
    #0a1216;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.58),
    0 0 45px rgba(49, 233, 244, 0.08);
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
}

.auth-modal.is-open .auth-dialog {
  transform: translateY(0) scale(1);
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #9caeb3;
  background: rgba(255, 255, 255, 0.025);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.auth-close:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  color: #dbe7e9;
  font-size: 14px;
  font-weight: 800;
}

.auth-brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.auth-brand b,
.auth-kicker {
  color: var(--cyan);
}

.auth-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.auth-step {
  text-align: center;
  animation: auth-step-in 260ms ease both;
}

.auth-step h2 {
  margin: 0;
  font-size: clamp(26px, 5vw, 31px);
}

.auth-step > p:not(.auth-kicker, .auth-note) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-step strong {
  color: #d9e5e7;
  overflow-wrap: anywhere;
}

.auth-form {
  display: grid;
  gap: 9px;
}

.auth-form label {
  color: #b8c6c9;
  font-size: 12px;
  font-weight: 750;
}

.auth-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(143, 172, 179, 0.2);
  border-radius: 7px;
  outline: 0;
  color: var(--text);
  background: #0d181d;
  font: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.auth-form input::placeholder {
  color: #58686d;
}

.auth-form input:focus {
  border-color: rgba(49, 233, 244, 0.62);
  background: #101d22;
  box-shadow: 0 0 0 3px rgba(49, 233, 244, 0.08);
}

.auth-form .button {
  width: 100%;
  margin-top: 4px;
}

.auth-note {
  margin: 10px 0 0;
  color: #74858b;
  font-size: 12px;
}

.auth-change-email {
  display: block;
  margin: 18px auto 0;
  padding: 6px;
  border: 0;
  color: var(--cyan);
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.auth-change-email:hover {
  color: #8bf7fd;
}

.auth-emblem {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin: 0 auto 14px;
  animation: auth-emblem-float 4s ease-in-out infinite;
}

.auth-emblem img {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(49, 233, 244, 0.14);
}

.auth-emblem-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(49, 233, 244, 0.14);
  border-radius: 50%;
  animation: auth-ring-pulse 2.6s ease-out infinite;
}

.auth-emblem-status {
  position: absolute;
  right: 1px;
  bottom: 5px;
  z-index: 3;
  width: 13px;
  height: 13px;
  border: 3px solid #0a1216;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(101, 230, 177, 0.62);
}

.auth-form-panel {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(141, 177, 185, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
  text-align: left;
}

.auth-field {
  position: relative;
}

.auth-field-mark {
  position: absolute;
  top: 50%;
  left: 17px;
  z-index: 1;
  transform: translateY(-50%);
  color: #6e7d82;
  font-size: 18px;
  font-weight: 800;
  pointer-events: none;
}

.auth-field input {
  padding-left: 47px;
}

.auth-submit {
  position: relative;
  overflow: hidden;
}

.auth-submit::after {
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -28%;
  width: 18%;
  transform: skewX(-20deg);
  background: rgba(255, 255, 255, 0.32);
  content: "";
  animation: auth-button-shine 3.8s ease-in-out infinite;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: #627278;
  font-size: 11px;
  text-align: center;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.auth-telegram {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 11px;
  border: 1px solid rgba(55, 176, 231, 0.24);
  border-radius: 7px;
  background: rgba(36, 150, 210, 0.08);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.auth-telegram:hover {
  transform: translateY(-2px);
  border-color: rgba(55, 176, 231, 0.48);
  background: rgba(36, 150, 210, 0.13);
}

.auth-telegram-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #249bd7;
  font-size: 19px;
}

.auth-telegram > span:nth-child(2) {
  display: grid;
}

.auth-telegram b {
  font-size: 14px;
}

.auth-telegram small {
  margin-top: 2px;
  color: #778a90;
  font-size: 11px;
}

.auth-telegram > span:last-child {
  color: #73868c;
  font-size: 24px;
}

.auth-secure {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 13px;
  border: 1px solid rgba(101, 230, 177, 0.2);
  border-radius: 17px;
  color: var(--success);
  background: rgba(101, 230, 177, 0.055);
  font-size: 11px;
  font-weight: 750;
}

.auth-secure span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(101, 230, 177, 0.72);
  animation: status-pulse 2s ease-in-out infinite;
}

.auth-legal {
  margin: 10px auto 0;
  color: #68797f;
  font-size: 10px;
  text-align: center;
}

.auth-legal a {
  color: #8cbfc2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-edit-email {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: #819298;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.auth-edit-email:hover {
  color: var(--cyan);
}

.auth-code-input {
  text-align: center;
  font-size: 20px !important;
  font-weight: 800 !important;
}

@keyframes auth-step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auth-emblem-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes auth-ring-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.72);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes auth-button-shine {
  0%,
  45% {
    left: -28%;
  }
  70%,
  100% {
    left: 120%;
  }
}

@keyframes pwa-prompt-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes phone-float {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(1deg);
  }
  50% {
    transform: translate(-50%, calc(-50% - 10px)) rotate(-1deg);
  }
}

@keyframes signal-breathe {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@keyframes packet-flow {
  from {
    left: -3px;
  }
  to {
    left: calc(100% - 2px);
  }
}

@keyframes hint-bounce {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(4px);
  }
}

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

@keyframes radar-scan {
  to {
    transform: rotate(360deg);
  }
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes referral-route-flow {
  0% {
    transform: translateY(-32px);
  }
  70%,
  100% {
    transform: translateY(300px);
  }
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .nav-login,
  .nav-actions > .button {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-nav {
    display: grid;
    width: min(520px, calc(100% - 36px));
    max-height: 0;
    margin: 8px auto 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(5, 9, 11, 0.97);
    opacity: 0;
    backdrop-filter: blur(18px);
    transition:
      max-height 240ms ease,
      opacity 180ms ease,
      border-color 180ms ease;
  }

  .mobile-nav.open {
    max-height: 360px;
    border-color: var(--line);
    opacity: 1;
  }

  .mobile-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    color: #c1cccf;
    font-weight: 700;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
  }

  .hero-copy {
    width: 64%;
  }

  .hero-stage {
    right: -90px;
    opacity: 0.68;
  }

  .hero::after {
    background: linear-gradient(
      90deg,
      rgba(6, 16, 15, 0.99) 0%,
      rgba(6, 16, 15, 0.9) 49%,
      rgba(6, 16, 15, 0.54) 100%
    );
  }

  .flow-panel {
    width: min(620px, 72%);
  }

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

  .benefit-card-large {
    grid-column: span 2;
    grid-row: auto;
    min-height: 410px;
  }

  .app-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .referral-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .app-card {
    min-height: 410px;
  }

  .protocol-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .faq-layout .section-heading {
    position: static;
  }

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

  .pricing-grid {
    max-width: 620px;
    margin: 0 auto;
  }

  .price-card {
    min-height: 480px;
  }

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

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 58px;
  }

  .pwa-prompt {
    top: calc(max(8px, env(safe-area-inset-top)) + 68px);
    right: 10px;
    left: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: auto;
  }

  .pwa-prompt img {
    grid-row: 1 / 3;
  }

  .pwa-install {
    grid-column: 2;
    width: fit-content;
  }

  .pwa-close {
    grid-column: 3;
    grid-row: 1;
  }

  .auth-modal {
    align-items: end;
    padding: 10px;
  }

  .auth-dialog {
    width: 100%;
    padding: 22px 16px max(20px, env(safe-area-inset-bottom));
  }

  .auth-brand {
    margin-bottom: 18px;
  }

  .site-header {
    top: max(8px, env(safe-area-inset-top));
    padding: 0 8px;
  }

  .nav-shell {
    width: 100%;
    min-height: var(--header-height);
    padding: 0 8px 0 10px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 94svh;
    align-items: flex-start;
    padding: calc(var(--header-height) + 56px) 18px 90px;
  }

  .hero::after {
    background: rgba(6, 16, 15, 0.84);
  }

  .hero-grid {
    background-size: 46px 46px;
  }

  .hero-stage {
    display: none;
  }

  .hero-copy {
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 74px);
  }

  .hero-title {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .hero-description {
    margin-top: 22px;
    font-size: 15px;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .hero-links {
    justify-content: center;
    gap: 11px 16px;
    margin-top: 20px;
  }

  .hero-links span {
    width: 100%;
  }

  .flow-panel {
    grid-template-columns: 64px 1fr 76px 1fr 64px;
    width: 100%;
    min-height: 96px;
    margin-top: 34px;
    padding: 10px;
  }

  .flow-node {
    min-height: 64px;
    font-size: 8px;
  }

  .node-mark {
    font-size: 8px;
  }

  .scroll-hint {
    bottom: 14px;
  }

  .section {
    padding: 76px 16px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .section-heading > p:last-child {
    font-size: 15px;
  }

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

  .benefit-card,
  .benefit-card-large,
  .benefit-card-wide {
    grid-column: auto;
    min-height: 250px;
    padding: 24px;
  }

  .benefit-card-large {
    min-height: 410px;
  }

  .benefit-card-large .card-index {
    top: 24px;
    right: 24px;
  }

  .metric {
    bottom: 28px;
    left: 24px;
  }

  .radar {
    right: 20px;
    bottom: 30px;
    width: 110px;
    height: 110px;
  }

  .radar span:nth-child(1) {
    width: 72px;
    height: 72px;
  }

  .radar span:nth-child(2) {
    width: 38px;
    height: 38px;
  }

  .app-card {
    min-height: 410px;
    padding: 24px;
  }

  .app-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .app-actions {
    grid-template-columns: 1fr;
  }

  .protocol-switcher {
    padding: 14px;
  }

  .segment-control button {
    font-size: 12px;
  }

  .protocol-diagram {
    grid-template-columns: 66px 1fr 84px 1fr 66px;
    min-height: 190px;
  }

  .diagram-node {
    min-height: 82px;
    font-size: 8px;
  }

  .diagram-node img {
    width: 40px;
    height: 40px;
  }

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

  .location-card {
    min-height: 96px;
  }

  .price-card {
    min-height: 500px;
    padding: 26px;
  }

  .referral-intro h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .referral-lead {
    font-size: 15px;
  }

  .referral-benefits {
    grid-template-columns: 1fr;
  }

  .referral-benefits div,
  .referral-benefits div + div {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .referral-benefits div:last-child {
    border-bottom: 0;
  }

  .referral-cta {
    width: 100%;
  }

  .referral-journey {
    padding: 22px 18px;
  }

  .referral-journey-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .referral-journey-head b {
    text-align: left;
  }

  .referral-route {
    top: 109px;
    bottom: 86px;
    left: 39px;
  }

  .referral-stages li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
  }

  .referral-stages li > span {
    width: 42px;
    height: 42px;
  }

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

  .step {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step > span {
    margin-bottom: 34px;
  }

  .faq-item button {
    min-height: 76px;
    font-size: 15px;
  }

  .faq-answer p {
    margin-right: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 18px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-title {
    font-size: 32px;
  }

  .flow-panel {
    grid-template-columns: 58px 1fr 68px 1fr 58px;
    padding: 8px;
  }

  .protocol-diagram {
    grid-template-columns: 58px 1fr 72px 1fr 58px;
  }

  .diagram-node {
    min-height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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