:root {
  --obsidian: #090d18;
  --navy: #10182b;
  --ink: #162033;
  --indigo: #5865f2;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --blue: #38bdf8;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --white: #f8fafc;
  --mist: #e2e8f0;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.26);
  --surface: rgba(248, 250, 252, 0.06);
  --surface-strong: rgba(248, 250, 252, 0.11);
  --light-surface: #ffffff;
  --light-band: #f1f5f9;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(3, 7, 18, 0.32);
  color-scheme: dark light;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--obsidian);
}

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

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 50;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--white);
  color: var(--obsidian);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(9, 13, 24, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand strong,
.brand small,
.footer-brand strong,
.footer-brand p {
  display: block;
}

.brand strong {
  letter-spacing: 0;
}

.brand small,
.footer-brand p {
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 0.2rem;
}

.site-nav a {
  min-height: 40px;
  padding: 0.65rem 0.8rem;
  color: rgba(248, 250, 252, 0.82);
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: var(--surface-strong);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.74fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 6vw, 5rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(34, 211, 238, 0.22), transparent 28%),
    linear-gradient(135deg, #090d18 0%, #111b32 46%, #132027 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1,
.page-hero h1 {
  max-width: 960px;
  margin: 0.9rem 0 1rem;
  font-size: clamp(2.75rem, 8vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.section-heading p {
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions,
.cta-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero-actions {
  margin-top: 2rem;
}

.button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
}

.button.primary {
  color: var(--obsidian);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.button.secondary {
  color: var(--white);
  background: var(--surface);
  border-color: var(--line);
}

.button.light {
  color: var(--obsidian);
  background: var(--white);
}

.text-button {
  color: var(--cyan);
  padding-inline: 0;
}

.signal-board {
  display: grid;
  gap: 1rem;
}

.network-panel,
.diagnostic-panel,
.brand-panel,
.card,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.network-panel {
  min-height: 420px;
  padding: 1rem;
}

.network-map {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.18), transparent 40%),
    repeating-linear-gradient(135deg, rgba(148, 163, 184, 0.08) 0 1px, transparent 1px 24px);
  overflow: hidden;
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--obsidian);
  background: var(--white);
  border: 3px solid var(--cyan);
  border-radius: 50%;
  font-weight: 900;
}

.node.core {
  left: 45%;
  top: 42%;
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: var(--white);
}

.node.one { left: 12%; top: 18%; }
.node.two { right: 12%; top: 14%; }
.node.three { left: 18%; bottom: 13%; }
.node.four { right: 18%; bottom: 10%; }

.pulse-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat-strip div {
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-strip strong,
.metric-grid strong {
  display: block;
  color: var(--white);
  font-size: 1.25rem;
}

.stat-strip span,
.metric-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.notice {
  padding: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-radius: var(--radius);
  background: rgba(245, 158, 11, 0.08);
  color: #fde68a;
  line-height: 1.55;
}

.section,
.page-hero {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 6vw, 5rem);
}

.section.light {
  color: var(--ink);
  background: var(--light-surface);
}

.section.band {
  color: var(--ink);
  background: var(--light-band);
}

.announcement-section {
  color: var(--ink);
  background: #dff8fb;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

[hidden] {
  display: none !important;
}

.announcement-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.announcement-panel h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.announcement-panel p {
  max-width: 760px;
  margin: 0.75rem 0 0;
  color: #334155;
  line-height: 1.65;
}

.section.dark {
  background: linear-gradient(135deg, #0b1222, #111827);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.8rem, 4.8vw, 3.8rem);
  line-height: 1;
}

.section.light .section-heading p,
.section.band .section-heading p,
.section.light .card p,
.section.band .card p {
  color: #475569;
}

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

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 1.15rem;
}

.light .card,
.band .card,
.form-panel.light {
  background: var(--light-surface);
  box-shadow: none;
}

.card h3,
.form-panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

.card p,
.card li,
.form-panel p {
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.62;
}

.card ul,
.check-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.badge-list,
.route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.badge-list span,
.route-list a,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.08);
  font-weight: 800;
}

.light .badge-list span,
.band .badge-list span,
.route-list a {
  background: #f8fafc;
}

.comparison {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--light-surface);
}

th,
td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  color: var(--ink);
}

th {
  background: #eaf4f8;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.game-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 1rem;
  align-items: stretch;
}

.arena {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.12), transparent),
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.12) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.12) 0 1px, transparent 1px 40px);
}

.player {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--obsidian);
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.player.listener {
  background: var(--green);
  left: 50%;
  top: 50%;
}

.player.speaker {
  left: 68%;
  top: 34%;
}

.diagnostic-panel,
.form-panel,
.brand-panel {
  padding: 1.25rem;
}

.diagnostic-controls {
  display: grid;
  gap: 1rem;
}

.diagnostic-controls label,
.form-grid label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-weight: 800;
}

.form-panel.light .form-grid label,
.form-panel.light .consent-line {
  color: #334155;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
}

textarea {
  resize: vertical;
}

input[type="range"] {
  padding: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.metric-grid div {
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.07);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-message {
  min-height: 1.4rem;
  color: var(--cyan);
  font-weight: 900;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: #475569;
  line-height: 1.5;
}

.consent-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.2rem;
}

.brand-assets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.brand-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.brand-panel img {
  width: 100%;
  min-height: 90px;
  object-fit: contain;
  padding: 1rem;
  background: #f8fafc;
  border-radius: var(--radius);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 6vw, 5rem);
  background: #050814;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.9rem;
}

.site-footer a {
  color: var(--muted);
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .pulse-line {
    animation: pulse-scan 4s ease-in-out infinite;
  }

  .node {
    animation: float-node 5s ease-in-out infinite;
  }
}

@keyframes pulse-scan {
  0%, 100% { opacity: 0.35; transform: scaleX(0.86); }
  50% { opacity: 1; transform: scaleX(1); }
}

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

@media (max-width: 1080px) {
  .hero,
  .game-demo,
  .grid,
  .grid.two,
  .grid.four {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  .announcement-panel {
    display: grid;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .menu-button {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 68px;
    display: none;
    padding: 0.65rem;
    background: var(--navy);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .site-nav[data-open] {
    display: grid;
  }

  .hero,
  .game-demo,
  .grid,
  .grid.two,
  .grid.four,
  .stat-strip,
  .metric-grid,
  .brand-assets {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .announcement-panel .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

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