:root {
  --bg: #06080d;
  --bg-2: #0a1018;
  --surface: rgba(12, 18, 28, 0.48);
  --surface-2: rgba(17, 28, 43, 0.34);
  --surface-3: rgba(9, 13, 20, 0.66);
  --line: rgba(144, 205, 244, 0.16);
  --line-strong: rgba(144, 205, 244, 0.34);
  --text: #f2f7ff;
  --muted: #a5b4c7;
  --faint: #718197;
  --cyan: #7dd3fc;
  --blue: #4f9cff;
  --green: #5ee38a;
  --amber: #f6b73c;
  --red: #d7462f;
  --ink: #05070b;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  padding-top: 104px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(38, 126, 190, 0.26), transparent 32rem),
    radial-gradient(circle at 88% 8%, rgba(41, 144, 96, 0.20), transparent 28rem),
    radial-gradient(circle at 60% 72%, rgba(246, 183, 60, 0.08), transparent 38rem),
    linear-gradient(145deg, #07111d 0%, #06080d 44%, #090d12 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(125, 211, 252, 0.055) 34.2% 34.6%, transparent 35% 100%),
    linear-gradient(20deg, transparent 0 68%, rgba(94, 227, 138, 0.04) 68.2% 68.6%, transparent 69% 100%);
}

#mesh-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.76;
}

main,
.footer {
  position: relative;
  z-index: 2;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

.notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 34px;
  padding: 7px 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.98), rgba(13, 19, 29, 0.96)),
    rgba(7, 10, 16, 0.98);
  color: rgba(226, 236, 249, 0.88);
  font-size: 0.82rem;
  font-weight: 740;
  transition: transform 180ms ease, opacity 180ms ease;
}

.notice-label {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(246, 183, 60, 0.16);
  color: #ffd87a;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 45;
  border-bottom: 1px solid rgba(144, 205, 244, 0.12);
  background: rgba(7, 10, 16, 0.82);
  backdrop-filter: blur(18px) saturate(130%);
  transition: transform 180ms ease, opacity 180ms ease;
}

body.header-hidden .notice {
  transform: translateY(-100%);
  opacity: 0;
}

body.header-hidden .site-header {
  transform: translateY(calc(-100% - 38px));
  opacity: 0;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.78fr);
  align-items: center;
  gap: 18px;
  max-width: 1280px;
  min-height: 68px;
  margin: 0 auto;
  padding: 9px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--text);
}

.brand-logo {
  width: 66px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.08rem;
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
}

.nav a {
  padding: 7px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.nav a:hover {
  background: rgba(125, 211, 252, 0.10);
  color: var(--text);
}

.nav a.lang-switch {
  display: inline-grid;
  width: 38px;
  height: 36px;
  padding: 0;
  place-items: center;
  background: transparent;
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1;
}

.nav a.lang-switch:hover {
  background: rgba(125, 211, 252, 0.10);
}

.language-links {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav .language-links a.lang-switch {
  width: 28px;
  min-width: 28px;
  padding-inline: 2px;
  font-size: 1.05rem;
}

.nav .nav-action {
  margin-left: 8px;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #03101c;
  box-shadow: 0 14px 34px rgba(79, 156, 255, 0.24);
}

.nav .nav-action:hover {
  color: #03101c;
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 58px;
  max-width: var(--max);
  min-height: calc(100vh - 104px);
  margin: 0 auto;
  padding: 52px 24px 78px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f43b8 0 33%, #f6d21d 33% 66%, #d7462f 66% 100%);
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 10px;
  border: 1px solid rgba(144, 205, 244, 0.16);
  border-radius: 999px;
  background: rgba(8, 13, 20, 0.42);
  color: rgba(221, 232, 246, 0.78);
  font-size: 0.78rem;
  font-weight: 760;
}

.hero-logo {
  width: min(230px, 50vw);
  height: auto;
  margin: 0 0 24px;
  opacity: 0.92;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.48));
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 5.3vw, 5.25rem);
  font-weight: 930;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 22, 34, 0.54);
  color: var(--text);
  font-weight: 800;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #03101c;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.network-panel {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(144, 205, 244, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(7, 12, 19, 0.52);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.network-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(125, 211, 252, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(125, 211, 252, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.9), transparent 70%);
}

.panel-head,
.signal-card,
.network-metrics,
.mini-route {
  position: relative;
  z-index: 1;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--faint);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.panel-head b {
  color: var(--green);
  font-weight: 900;
}

.signal-card {
  padding: 22px 0 24px;
  border-top: 1px solid rgba(144, 205, 244, 0.14);
  border-bottom: 1px solid rgba(144, 205, 244, 0.14);
}

.signal-card span,
.signal-card strong,
.signal-card a {
  display: block;
}

.signal-card span {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.signal-card strong {
  margin: 6px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.signal-card a {
  width: fit-content;
  color: var(--cyan);
  font-weight: 850;
}

.network-metrics {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.network-metrics div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(144, 205, 244, 0.10);
}

.network-metrics dt {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.network-metrics dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 760;
}

.mini-route {
  display: grid;
  grid-template-columns: 18px 1fr 18px 1fr 18px;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.mini-route span {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: var(--red);
}

.mini-route i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(79, 156, 255, 0.12), rgba(79, 156, 255, 0.78), rgba(79, 156, 255, 0.12));
}

.hero-social {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: -18px;
}

.social-button {
  --social-accent: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(144, 205, 244, 0.14);
  border-radius: var(--radius);
  background: rgba(10, 16, 24, 0.42);
  color: var(--text);
  font-weight: 850;
}

.social-button svg {
  width: 19px;
  height: 19px;
  fill: var(--social-accent);
}

.social-button:hover {
  border-color: color-mix(in srgb, var(--social-accent) 70%, white 0%);
  transform: translateY(-1px);
}

.social-button.discord {
  --social-accent: #8ea1ff;
}

.social-button.telegram {
  --social-accent: #4fb7f8;
}

.social-button.whatsapp {
  --social-accent: #50d477;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.4vw, 3.25rem);
  line-height: 0.98;
  font-weight: 920;
}

.section h3 {
  margin: 0 0 9px;
  font-size: 1.05rem;
}

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

.section-lead {
  max-width: 800px;
  margin: 0 0 32px;
  font-size: 1.08rem;
}

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

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

.section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading strong {
  color: var(--text);
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  padding-top: 24px;
}

.compact-grid article {
  min-height: 235px;
  padding: 26px;
  border: 1px solid rgba(144, 205, 244, 0.12);
  background: rgba(10, 16, 24, 0.35);
}

.compact-grid article:nth-child(2n) {
  background: rgba(17, 28, 43, 0.28);
}

.compact-grid article:hover {
  border-color: var(--line-strong);
  background: rgba(17, 28, 43, 0.44);
}

.compact-grid article h2 {
  margin: 0 0 14px;
  font-size: 1.6rem;
  line-height: 1.08;
}

.compact-grid article p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 32px;
  margin-bottom: 42px;
  border-left: 3px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 920;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 54px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
}

.step,
.panel,
.service,
.links-grid a,
.community-rules {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px;
}

.step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 999px;
  background: rgba(79, 156, 255, 0.18);
  color: var(--cyan);
}

.step h3,
.step p,
.step a {
  grid-column: 2;
}

.step p {
  margin: 0 0 8px;
}

.config-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
}

.panel {
  padding: 24px;
}

.kv {
  margin: 0;
}

.kv div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(144, 205, 244, 0.10);
}

.kv dt {
  color: var(--faint);
}

.kv dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

pre {
  margin: 12px 0 0;
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(144, 205, 244, 0.13);
  border-radius: var(--radius);
  background: rgba(2, 5, 9, 0.44);
  color: #b9edff;
  font-size: 0.92rem;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

p.note,
.small {
  color: var(--faint);
  font-size: 0.94rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}

.chips span {
  padding: 7px 10px;
  border: 1px solid rgba(94, 227, 138, 0.22);
  border-radius: 999px;
  background: rgba(94, 227, 138, 0.10);
  color: #bdf7cf;
  font-weight: 850;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service {
  min-height: 164px;
  padding: 24px;
  color: var(--text);
}

.service strong,
.service span {
  display: block;
}

.service strong {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.service span {
  color: var(--muted);
}

.channel-list {
  display: grid;
  gap: 0;
  max-width: 1000px;
}

.channel-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(144, 205, 244, 0.12);
}

.channel-list article:last-child {
  border-bottom: 1px solid rgba(144, 205, 244, 0.12);
}

.channel-list article:hover {
  border-color: var(--line-strong);
}

.channel-list strong,
.channel-list span {
  display: block;
}

.channel-list strong {
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.1;
}

.channel-list span {
  width: fit-content;
  margin-top: 7px;
  padding: 3px 8px;
  border: 1px solid rgba(144, 205, 244, 0.14);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.08);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.channel-list p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.community-rules {
  max-width: 1000px;
  margin-top: 36px;
  padding: 24px;
  background: rgba(10, 16, 24, 0.38);
}

.community-rules h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.community-rules ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.community-rules li::marker {
  color: var(--amber);
}

.community-rules strong {
  color: var(--text);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.links-grid a {
  min-height: 58px;
  padding: 17px 18px;
  color: var(--text);
  font-weight: 800;
}

.links-grid a:hover,
.service:hover,
.step:hover,
.panel:hover {
  border-color: var(--line-strong);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 34px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-logo {
  width: 38px;
  height: 38px;
}

.footer p {
  margin: 8px 0 0;
  color: var(--text);
  font-weight: 800;
}

.footer small {
  color: var(--faint);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer nav a {
  color: var(--muted);
  font-weight: 750;
}

.footer nav a:hover {
  color: var(--text);
}

.policy-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  min-height: auto;
  padding-top: 82px;
  padding-bottom: 54px;
}

.policy-hero h1 {
  font-size: clamp(2.65rem, 5vw, 4.9rem);
}

.scope-flow {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.scope-flow div {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(144, 205, 244, 0.10);
}

.scope-flow code,
.scope-table code,
.policy-code {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
}

.scope-flow strong,
.scope-flow small {
  display: block;
}

.scope-flow small {
  margin-top: 2px;
  color: var(--muted);
}

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

.policy-card {
  padding: 24px;
  border: 1px solid rgba(144, 205, 244, 0.14);
  border-radius: var(--radius);
  background: rgba(10, 16, 24, 0.42);
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.scope-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(144, 205, 244, 0.16);
  background: rgba(8, 13, 20, 0.46);
}

.scope-table th,
.scope-table td {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(144, 205, 244, 0.11);
  text-align: left;
  vertical-align: top;
}

.scope-table th {
  color: var(--text);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.scope-table td {
  color: var(--muted);
}

.policy-note {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 3px solid var(--green);
  background: rgba(9, 25, 22, 0.42);
  color: var(--muted);
}

.policy-note strong {
  color: var(--text);
}

@media (max-width: 1020px) {
  .header-inner,
  .hero,
  .split,
  .config-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .policy-card-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    gap: 32px;
    padding-top: 56px;
  }

  .hero-social {
    margin-top: 0;
  }

  .compact-grid,
  .service-grid,
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    padding-top: 0;
  }

  .notice,
  .site-header {
    position: relative;
    top: 0;
  }

  .notice {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .header-inner,
  .hero,
  .section,
  .footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-logo {
    width: 60px;
    height: 44px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .hero-social {
    width: 100%;
  }

  .button,
  .social-button {
    flex: 1 1 100%;
  }

  .network-panel {
    padding: 18px;
  }

  .compact-grid,
  .service-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .channel-list article,
  .step,
  .network-metrics div,
  .kv div {
    grid-template-columns: 1fr;
  }

  .step h3,
  .step p,
  .step a {
    grid-column: auto;
  }

  .footer nav {
    justify-content: flex-start;
  }
}
