:root {
  --bg: #050a0f;
  --bg-2: #08121a;
  --panel: rgba(11, 24, 34, 0.75);
  --panel-solid: #0a151e;
  --line: rgba(122, 223, 255, 0.16);
  --line-strong: rgba(122, 223, 255, 0.34);
  --text: #f3f8fb;
  --muted: #7f98a7;
  --cyan: #58e7ff;
  --cyan-2: #23a9cf;
  --lime: #9aff6b;
  --magenta: #ec5cff;
  --danger: #ff6b85;
  --max-width: 1480px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 10%, rgba(35, 169, 207, 0.12), transparent 27rem),
    radial-gradient(circle at 10% 55%, rgba(236, 92, 255, 0.055), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

::selection {
  color: #031016;
  background: var(--cyan);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(88, 231, 255, 0.07), transparent 70%);
  transition: opacity 0.25s ease;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.2rem, 4vw, 4rem);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 10, 15, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  rotate: 45deg;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(88, 231, 255, 0.28);
}

.brand-mark::after {
  inset: 14px;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(88, 231, 255, 0.8);
}

.brand-core {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  z-index: 2;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.16em;
}

.brand-copy span {
  margin-top: 0.38rem;
  color: var(--cyan);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.desktop-nav a {
  position: relative;
  padding: 0.7rem 0;
  color: #9eb2be;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 100% 0 0;
  height: 1px;
  background: var(--cyan);
  transition: inset 0.22s ease;
}

.desktop-nav a:hover {
  color: white;
}

.desktop-nav a:hover::after {
  inset-right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 24, 0.6);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: white;
  transition: 0.25s ease;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 90;
  display: none;
  padding: 2rem;
  background: rgba(5, 10, 15, 0.97);
  backdrop-filter: blur(18px);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.mobile-menu a {
  display: block;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
}

.mobile-menu.open {
  transform: translateX(0);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 4rem) clamp(1.2rem, 6vw, 7rem) 6rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  opacity: 0.38;
}

.hero::after {
  content: "YOURPAL // WORLD // SERVER NODE YPW-01";
  position: absolute;
  right: -13rem;
  bottom: 45%;
  color: rgba(88, 231, 255, 0.08);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  rotate: 90deg;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(840px, 66vw);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
  color: var(--cyan);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(154, 255, 107, 0.08), 0 0 18px rgba(154, 255, 107, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  margin: 0;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.2rem, 7.4vw, 8.2rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero h1 span {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
  text-shadow: 0 0 32px rgba(88, 231, 255, 0.13);
}

.hero-description {
  width: min(660px, 90%);
  margin: 2.1rem 0 0;
  color: #a0b4bf;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.8;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  position: relative;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 1.25rem;
  border: 1px solid var(--line-strong);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  translate: -102% 0;
  background: rgba(255, 255, 255, 0.1);
  transition: translate 0.28s ease;
}

.button:hover::before {
  translate: 0;
}

.button-primary {
  color: #031017;
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 30px rgba(88, 231, 255, 0.13);
}

.button-secondary {
  background: rgba(7, 17, 24, 0.65);
}

.button-arrow,
.copy-icon {
  font-size: 1.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 3.2rem;
}

.hero-meta div {
  min-width: 125px;
}

.hero-meta span,
.hero-meta strong {
  display: block;
}

.hero-meta span {
  margin-bottom: 0.48rem;
  color: #5f7886;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
}

.hero-meta strong {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(-14rem, -5vw, -4rem);
  width: min(54vw, 820px);
  aspect-ratio: 1;
  translate: 0 -50%;
}

.world-core {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), transparent 5%),
    radial-gradient(circle at 44% 34%, rgba(88, 231, 255, .35), transparent 27%),
    radial-gradient(circle at 65% 72%, rgba(236, 92, 255, .3), transparent 25%),
    linear-gradient(145deg, #173b4b, #07131c 56%, #0b1e2b);
  box-shadow:
    inset -40px -46px 70px rgba(0, 0, 0, 0.7),
    inset 18px 16px 40px rgba(88, 231, 255, 0.18),
    0 0 0 1px rgba(88, 231, 255, 0.32),
    0 0 90px rgba(88, 231, 255, 0.18);
  animation: float 8s ease-in-out infinite;
  overflow: hidden;
}

.world-core::before,
.world-core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(88, 231, 255, 0.18);
  filter: blur(2px);
}

.world-core::before {
  width: 55%;
  height: 22%;
  left: 5%;
  top: 52%;
  rotate: 15deg;
  border-radius: 60% 40% 65% 35%;
}

.world-core::after {
  width: 36%;
  height: 17%;
  right: 6%;
  top: 28%;
  rotate: -19deg;
  border-radius: 50% 60% 35% 65%;
}

.core-grid {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 18px 18px;
}

.core-shine {
  position: absolute;
  width: 55%;
  height: 55%;
  top: -8%;
  left: -4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%);
}

.orbit {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(88, 231, 255, 0.22);
  border-radius: 50%;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: 50%;
  left: -4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.orbit-a {
  animation: rotate 18s linear infinite;
}

.orbit-b {
  inset: 2%;
  border-color: rgba(236, 92, 255, 0.16);
  rotate: 62deg;
  animation: rotateReverse 28s linear infinite;
}

.orbit-c {
  inset: 18%;
  rotate: -35deg;
  animation: rotate 12s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--cyan);
  rotate: 45deg;
}

.node-1 { top: 20%; left: 16%; }
.node-2 { right: 10%; top: 48%; }
.node-3 { left: 28%; bottom: 8%; border-color: var(--magenta); }

.hero-side-data {
  position: absolute;
  z-index: 4;
  right: clamp(1.2rem, 4vw, 4rem);
  bottom: 5rem;
  width: 260px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(5, 12, 18, 0.62);
  backdrop-filter: blur(12px);
}

.telemetry-label {
  margin-bottom: 0.8rem;
  color: var(--cyan);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.54rem;
  letter-spacing: 0.22em;
}

.telemetry-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.58rem 0;
  border-top: 1px solid rgba(122, 223, 255, 0.08);
  font-size: 0.64rem;
}

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

.online-text {
  color: var(--lime);
}

.telemetry-bars {
  height: 42px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 0.8rem;
}

.telemetry-bars i {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--cyan-2), var(--cyan));
  box-shadow: 0 0 10px rgba(88, 231, 255, 0.18);
  animation: bars 2.4s ease-in-out infinite alternate;
}

.telemetry-bars i:nth-child(2n) { animation-delay: -0.6s; }
.telemetry-bars i:nth-child(3n) { animation-delay: -1.1s; }

.scroll-cue {
  position: absolute;
  left: clamp(1.2rem, 6vw, 7rem);
  bottom: 1.8rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #607987;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.2em;
}

.scroll-cue i {
  display: block;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section {
  width: min(var(--max-width), calc(100% - 2.4rem));
  margin: 0 auto;
  padding: clamp(6rem, 9vw, 10rem) 0;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3.6rem;
}

.section-index {
  padding-top: 0.25rem;
  color: var(--cyan);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.section-heading p {
  margin: 0 0 0.8rem;
  color: #66808e;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
}

.section-heading h2 {
  margin: 0;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-heading h2 span,
.join-content h2 span {
  color: var(--cyan);
}

.status-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr;
  gap: 1rem;
}

.status-console,
.metric-card,
.announcement-card,
.feature-card,
.protocol-panel {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(12, 27, 38, 0.88), rgba(5, 12, 18, 0.82));
  overflow: hidden;
}

.status-console {
  grid-row: span 2;
  padding: 1.2rem;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: #79909d;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
}

.console-header span:first-child {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.console-main {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.3rem;
  align-items: center;
  padding: 2rem 0;
}

.online-ring {
  position: relative;
  width: min(230px, 100%);
  aspect-ratio: 1;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(88, 231, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(88, 231, 255, 0.08), transparent 58%),
    repeating-radial-gradient(circle, transparent 0 18px, rgba(88, 231, 255, 0.06) 19px 20px);
}

.online-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid transparent;
  border-radius: 50%;
  animation: rotate 4s linear infinite;
}

.online-ring div {
  text-align: center;
}

.online-ring span,
.online-ring strong {
  display: block;
}

.online-ring span {
  color: var(--muted);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
}

.online-ring strong {
  margin-top: 0.55rem;
  color: var(--lime);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(122, 223, 255, 0.1);
}

.data-row span {
  color: #667f8d;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

.data-row strong {
  font-size: 0.75rem;
  text-align: right;
}

.console-copy {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  background: rgba(88, 231, 255, 0.05);
  cursor: pointer;
}

.console-copy span {
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.console-copy strong {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
}

.metric-card,
.announcement-card {
  min-height: 225px;
  padding: 1.2rem;
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #76909f;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.54rem;
  letter-spacing: 0.16em;
}

.metric-top i {
  color: var(--lime);
  font-style: normal;
}

.metric-value {
  display: block;
  margin: 2.3rem 0 1.4rem;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 3.7rem;
  line-height: 1;
}

.metric-value span {
  color: var(--cyan);
  font-size: 1.4rem;
}

.metric-card small {
  display: block;
  margin-top: 1rem;
  color: #637b89;
  line-height: 1.5;
}

.metric-scale {
  display: flex;
  gap: 4px;
}

.metric-scale span {
  flex: 1;
  height: 7px;
  background: rgba(88, 231, 255, 0.12);
}

.metric-scale span:nth-child(-n+6) {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(88, 231, 255, 0.3);
}

.load-line {
  height: 8px;
  background: rgba(88, 231, 255, 0.11);
}

.load-line span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-2), var(--cyan));
}

.announcement-card {
  grid-column: 2 / span 2;
  background:
    linear-gradient(110deg, rgba(88, 231, 255, 0.1), transparent 50%),
    linear-gradient(145deg, rgba(12, 27, 38, 0.88), rgba(5, 12, 18, 0.82));
}

.announcement-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -45px;
  bottom: -70px;
  border: 1px solid rgba(88, 231, 255, 0.12);
  rotate: 45deg;
}

.announcement-tag {
  color: var(--cyan);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.54rem;
  letter-spacing: 0.16em;
}

.announcement-card h3 {
  margin: 1.8rem 0 0.7rem;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
}

.announcement-card p {
  max-width: 650px;
  color: #8fa4b0;
  line-height: 1.7;
}

.announcement-date {
  color: #536c7a;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
}

.features-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1.2rem, calc((100vw - var(--max-width)) / 2));
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(88, 231, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(88, 231, 255, 0.03) 1px, transparent 1px),
    rgba(7, 15, 22, 0.52);
  background-size: 52px 52px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-card {
  min-height: 350px;
  padding: 1.5rem;
  border: 0;
  background: rgba(6, 14, 20, 0.96);
  transition: background 0.28s ease, transform 0.28s ease;
}

.feature-card:hover {
  z-index: 2;
  background: #0b1b25;
  transform: translateY(-8px);
}

.feature-number {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  color: #526d7b;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.55rem;
}

.feature-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  margin-top: 3.6rem;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  font-size: 1.5rem;
  box-shadow: inset 0 0 22px rgba(88, 231, 255, 0.05);
}

.feature-card h3 {
  margin: 3rem 0 1rem;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.feature-card p {
  color: #8198a5;
  line-height: 1.8;
}

.rules-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
}

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

.rule {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.rule > span {
  color: var(--cyan);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.58rem;
}

.rule h3 {
  margin: 0 0 0.75rem;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.rule p {
  margin: 0;
  color: #8299a6;
  line-height: 1.7;
}

.protocol-panel {
  min-height: 440px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 50% 10%, rgba(88, 231, 255, 0.16), transparent 40%),
    #08131b;
}

.protocol-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(88, 231, 255, 0.08);
  pointer-events: none;
}

.protocol-panel > * {
  position: relative;
  z-index: 2;
}

.protocol-panel > span {
  color: var(--cyan);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
}

.protocol-panel h3 {
  margin: 1rem 0;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.4;
}

.protocol-panel p {
  color: #7d96a4;
  line-height: 1.65;
}

.protocol-panel a {
  margin-top: 1rem;
  color: var(--cyan);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.protocol-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(88,231,255,.08) 50%, transparent 55%);
  background-size: 100% 130px;
  animation: scan 5s linear infinite;
}

.join-section {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  padding: 7rem 1.2rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 169, 207, 0.13), transparent 24rem),
    #050a0f;
}

.join-section::before,
.join-section::after {
  content: "";
  position: absolute;
  width: 55vw;
  aspect-ratio: 1;
  border: 1px solid rgba(88, 231, 255, 0.08);
  border-radius: 50%;
}

.join-section::before {
  animation: rotate 45s linear infinite;
}

.join-section::after {
  width: 35vw;
  animation: rotateReverse 28s linear infinite;
}

.join-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(88, 231, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 231, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle, black 0 20%, transparent 70%);
}

.join-content {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  text-align: center;
}

.join-content .eyebrow {
  justify-content: center;
}

.join-content h2 {
  margin: 0;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.join-content > p {
  max-width: 680px;
  margin: 1.8rem auto 0;
  color: #8ca2ae;
  line-height: 1.8;
}

.join-address {
  max-width: 720px;
  min-height: 88px;
  margin: 2.2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 1rem 1.3rem;
  border: 1px solid var(--line-strong);
  background: rgba(9, 21, 30, 0.8);
  text-align: left;
}

.join-address span,
.join-address strong {
  display: block;
}

.join-address span {
  margin-bottom: 0.4rem;
  color: #68818f;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.15em;
}

.join-address strong {
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.74rem, 2vw, 1.08rem);
  color: var(--cyan);
}

.join-address button {
  height: 48px;
  padding: 0 1.2rem;
  color: #031017;
  border: 0;
  background: var(--cyan);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  cursor: pointer;
}

.join-actions {
  justify-content: center;
}

footer {
  min-height: 145px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1.2rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  background: #04080c;
}

footer p,
footer > span {
  color: #607682;
  font-size: 0.7rem;
}

footer p {
  text-align: center;
}

footer > span {
  text-align: right;
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
}

.toast {
  position: fixed;
  z-index: 1000;
  right: 1.2rem;
  bottom: 1.2rem;
  min-width: 280px;
  padding: 1rem 1.2rem;
  border: 1px solid var(--cyan);
  background: rgba(5, 15, 21, 0.95);
  box-shadow: 0 0 35px rgba(88, 231, 255, 0.14);
  translate: calc(100% + 2rem) 0;
  opacity: 0;
  transition: 0.28s ease;
}

.toast.show {
  translate: 0;
  opacity: 1;
}

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

.toast span {
  color: var(--cyan);
  font-family: "Arial Narrow", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
}

.toast strong {
  margin-top: 0.35rem;
  font-size: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.72); opacity: 0.6; }
}

@keyframes rotate {
  to { rotate: 360deg; }
}

@keyframes rotateReverse {
  to { rotate: -360deg; }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes bars {
  to { height: max(18%, calc(var(--h) - 16%)); opacity: 0.55; }
}

@keyframes scan {
  from { background-position: 0 -130px; }
  to { background-position: 0 650px; }
}

@media (max-width: 1050px) {
  .hero-copy {
    width: 74vw;
  }

  .hero-orbit {
    right: -18rem;
    opacity: 0.75;
  }

  .hero-side-data {
    display: none;
  }

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

  .status-console {
    grid-column: span 2;
  }

  .announcement-card {
    grid-column: span 2;
  }

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

  .rules-layout {
    grid-template-columns: 1fr;
  }

  .protocol-panel {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 76px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle,
  .mobile-menu {
    display: block;
  }

  .site-header {
    padding-inline: 1.2rem;
  }

  .hero {
    min-height: 920px;
    align-items: start;
    padding-top: calc(var(--header-height) + 5rem);
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 16vw, 5.6rem);
  }

  .hero-description {
    width: 100%;
  }

  .hero-orbit {
    width: 520px;
    top: auto;
    bottom: -180px;
    right: -190px;
    translate: 0;
    opacity: 0.6;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    gap: 1.4rem;
  }

  .hero::after {
    display: none;
  }

  .section-heading {
    gap: 1rem;
  }

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

  .status-console,
  .announcement-card {
    grid-column: auto;
  }

  .console-main {
    grid-template-columns: 1fr;
  }

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

  .feature-card {
    min-height: 300px;
  }

  .rule {
    grid-template-columns: 50px 1fr;
  }

  .join-address {
    align-items: stretch;
    flex-direction: column;
  }

  .join-address button {
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  footer p,
  footer > span {
    text-align: center;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    min-width: 0;
  }
}

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

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