@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Sora:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg-canvas:
    radial-gradient(circle at 10% 10%, rgba(143, 107, 255, 0.32) 0%, rgba(143, 107, 255, 0) 36%),
    radial-gradient(circle at 84% 14%, rgba(62, 232, 255, 0.22) 0%, rgba(62, 232, 255, 0) 34%),
    radial-gradient(circle at 72% 82%, rgba(255, 92, 210, 0.18) 0%, rgba(255, 92, 210, 0) 36%),
    linear-gradient(148deg, #060811 0%, #090b1a 38%, #060813 100%);
  --ink-strong: #f4f6ff;
  --ink: #d1d6ee;
  --ink-soft: #9aa3cb;
  --line: rgba(163, 172, 216, 0.22);
  --line-strong: rgba(163, 172, 216, 0.4);
  --surface: linear-gradient(165deg, rgba(17, 20, 42, 0.9), rgba(12, 16, 34, 0.86));
  --surface-alt: linear-gradient(160deg, rgba(24, 28, 56, 0.76), rgba(13, 16, 34, 0.68));
  --surface-muted: rgba(24, 30, 56, 0.58);
  --surface-solid: #11152a;

  --accent: #8f6bff;
  --accent-deep: #6842ff;
  --accent-hot: #ff5cd2;
  --accent-cool: #3ee8ff;
  --accent-soft: rgba(143, 107, 255, 0.2);
  --accent-line: rgba(143, 107, 255, 0.45);

  --warn: #ffb347;
  --warn-soft: rgba(255, 179, 71, 0.16);
  --bad: #ff5f9d;
  --bad-soft: rgba(255, 95, 157, 0.18);
  --good: #58f2b8;
  --good-soft: rgba(88, 242, 184, 0.18);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;

  --radius-sm: 0.62rem;
  --radius-md: 0.92rem;
  --radius-lg: 1.2rem;
  --radius-xl: 1.55rem;

  --shadow-soft: 0 12px 32px -24px rgba(0, 0, 0, 0.8);
  --shadow-panel: 0 30px 60px -34px rgba(0, 0, 0, 0.88);
  --shadow-neon: 0 0 0 1px rgba(143, 107, 255, 0.26), 0 0 28px -12px rgba(143, 107, 255, 0.95);
  --shadow-focus: 0 0 0 3px rgba(143, 107, 255, 0.35);

  --text-xs: 0.76rem;
  --text-sm: 0.9rem;
  --text-md: 1rem;
  --text-lg: 1.08rem;
  --text-xl: 1.45rem;
  --text-hero: clamp(1.9rem, 4.2vw, 3.45rem);

  --motion-fast: 150ms;
  --motion-mid: 190ms;
  --motion-slow: 240ms;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg-canvas);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.7), transparent 82%);
}

body::after {
  background: radial-gradient(circle at 30% -20%, rgba(143, 107, 255, 0.35), transparent 55%);
  filter: blur(30px);
}

body.page-shell {
  padding-bottom: var(--space-6);
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(9, 12, 27, 0.74);
  border-bottom: 1px solid rgba(163, 172, 216, 0.18);
}

.topbar-inner {
  width: min(82rem, 94vw);
  margin: 0 auto;
  min-height: 3.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  padding: 0.68rem 0;
}

.brand-block {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-1);
}

.brand-kicker {
  font-size: var(--text-xs);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8f99c8;
  font-weight: 700;
}

.brand-title {
  margin: 0;
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.template-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.switcher-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(163, 172, 216, 0.3);
  background: rgba(19, 24, 50, 0.72);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: #dde1f8;
  transition:
    transform var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    background var(--motion-fast) ease;
}

.switcher-link:hover {
  transform: translateY(-1px);
  border-color: rgba(143, 107, 255, 0.7);
  box-shadow: 0 0 22px -13px rgba(143, 107, 255, 0.95);
}

.switcher-link.active {
  border-color: rgba(143, 107, 255, 0.72);
  background: linear-gradient(145deg, rgba(143, 107, 255, 0.3), rgba(56, 225, 255, 0.2));
  color: #f4f6ff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.46rem;
  border-radius: 999px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.status-live {
  background: rgba(88, 242, 184, 0.14);
  color: #8effd2;
  border-color: rgba(88, 242, 184, 0.3);
}

.status-soon {
  background: rgba(255, 179, 71, 0.15);
  color: #ffd598;
  border-color: rgba(255, 179, 71, 0.3);
}

.app {
  width: min(82rem, 94vw);
  margin: var(--space-5) auto 0;
  display: grid;
  gap: var(--space-3);
}

.card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(163, 172, 216, 0.25);
  background: var(--surface);
  box-shadow: var(--shadow-panel);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(143, 107, 255, 0.09), transparent 40%, rgba(62, 232, 255, 0.06));
  opacity: 0.8;
}

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

.hero-card {
  padding: clamp(1.3rem, 2.8vw, 2.4rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: var(--space-4);
  align-items: center;
}

.hero-content {
  display: grid;
  gap: var(--space-2);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-xs);
  color: #a8b0d9;
  font-weight: 700;
}

.hero-title,
.page-title {
  margin: 0.36rem 0 0.62rem;
  font-family: "Space Grotesk", "Sora", sans-serif;
  color: var(--ink-strong);
  line-height: 1.05;
  text-wrap: balance;
}

.hero-title {
  font-size: var(--text-hero);
}

.page-title {
  font-size: clamp(1.6rem, 3vw, 2.75rem);
}

.hero-copy,
.page-copy {
  margin: 0;
  color: var(--ink-soft);
  max-width: 68ch;
}

.hero-actions,
.page-actions {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.btn,
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: "Sora", sans-serif;
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  padding: 0.68rem 0.96rem;
  transition:
    transform var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
}

.btn:hover,
.btn-link:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.btn-link:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.chip-btn:focus-visible,
.queue-action:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.btn-primary,
.btn-link.primary {
  color: #f8f7ff;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  box-shadow: 0 14px 26px -16px rgba(143, 107, 255, 0.92);
}

.btn-primary:hover,
.btn-link.primary:hover {
  box-shadow: 0 0 0 1px rgba(143, 107, 255, 0.4), 0 18px 30px -16px rgba(143, 107, 255, 1);
}

.btn-secondary,
.btn-link.secondary,
.btn-ghost {
  color: #e8ebff;
  border-color: rgba(163, 172, 216, 0.34);
  background: rgba(23, 28, 56, 0.78);
}

.btn:disabled,
input:disabled,
textarea:disabled,
select:disabled,
.queue-action:disabled,
.chip-btn:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.hero-visual {
  border: 1px solid rgba(143, 107, 255, 0.36);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  background: linear-gradient(150deg, rgba(16, 19, 38, 0.85), rgba(10, 13, 28, 0.8));
  box-shadow: var(--shadow-neon);
  display: grid;
  gap: 0.68rem;
}

.hero-visual-kicker {
  margin: 0;
  color: #c9ceee;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-orbit {
  position: relative;
  width: min(14rem, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px solid rgba(163, 172, 216, 0.3);
  background: rgba(10, 13, 30, 0.78);
}

.hero-orbit-core {
  position: relative;
  z-index: 1;
  display: grid;
  text-align: center;
  gap: 0.1rem;
}

.hero-orbit-core strong {
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: 1.55rem;
  color: var(--ink-strong);
}

.hero-orbit-core span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.hero-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
}

.hero-orbit-ring.ring-a {
  border-top-color: rgba(143, 107, 255, 0.8);
  border-left-color: rgba(143, 107, 255, 0.4);
  animation: spin 12s linear infinite;
}

.hero-orbit-ring.ring-b {
  inset: 10%;
  border-right-color: rgba(62, 232, 255, 0.75);
  border-bottom-color: rgba(62, 232, 255, 0.35);
  animation: spin-reverse 9s linear infinite;
}

.hero-orbit-ring.ring-c {
  inset: 20%;
  border-top-color: rgba(255, 92, 210, 0.72);
  border-right-color: rgba(255, 92, 210, 0.3);
  animation: spin 7s linear infinite;
}

.hero-wave {
  width: 100%;
  height: auto;
  border-radius: 0.7rem;
  background: rgba(9, 12, 26, 0.78);
  border: 1px solid rgba(163, 172, 216, 0.26);
  padding: 0.32rem;
}

.hero-wave polyline {
  fill: none;
  stroke-width: 2;
}

.hero-wave .pulse-a {
  stroke: rgba(62, 232, 255, 0.92);
}

.hero-wave .pulse-b {
  stroke: rgba(143, 107, 255, 0.95);
}

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

.hero-metric {
  border: 1px solid rgba(163, 172, 216, 0.3);
  background: rgba(16, 20, 40, 0.8);
  border-radius: 0.66rem;
  padding: 0.46rem 0.5rem;
  display: grid;
  gap: 0.1rem;
}

.hero-metric span {
  color: var(--ink-soft);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-metric strong {
  color: var(--ink-strong);
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: 0.96rem;
}

.layout-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr 1fr;
}

.zone {
  padding: var(--space-4);
}

.zone h2 {
  margin: 0;
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  color: var(--ink-strong);
}

.section-note {
  margin-top: var(--space-1);
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

.form-grid {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.split-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.field {
  display: grid;
  gap: 0.36rem;
}

label,
.field-label {
  font-size: var(--text-sm);
  color: #c4caec;
  font-weight: 600;
}

.field-help {
  font-size: 0.78rem;
  color: #8f99c9;
  margin-top: 0.1rem;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  border: 1px solid rgba(163, 172, 216, 0.33);
  border-radius: var(--radius-md);
  background: rgba(15, 19, 41, 0.84);
  color: var(--ink-strong);
  padding: 0.7rem 0.8rem;
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    background var(--motion-fast) ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(143, 107, 255, 0.62);
}

textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.action-row {
  display: flex;
  gap: var(--space-1);
}

.action-row .btn {
  flex: 1;
}

.status-box {
  border-radius: var(--radius-md);
  border: 1px solid rgba(163, 172, 216, 0.34);
  background: rgba(23, 31, 57, 0.7);
  color: #d8ddf7;
  padding: 0.72rem 0.8rem;
  font-size: 0.92rem;
}

.status-box.hidden {
  display: none;
}

.status-box.good {
  border-color: rgba(88, 242, 184, 0.44);
  background: var(--good-soft);
  color: #8effd2;
}

.status-box.warn {
  border-color: rgba(255, 179, 71, 0.45);
  background: var(--warn-soft);
  color: #ffd598;
}

.status-box.bad {
  border-color: rgba(255, 95, 157, 0.48);
  background: var(--bad-soft);
  color: #ffc2dd;
}

.stat-list {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.stat-item {
  border: 1px solid rgba(163, 172, 216, 0.3);
  border-radius: var(--radius-md);
  background: rgba(16, 22, 44, 0.75);
  padding: 0.58rem 0.68rem;
  font-size: var(--text-sm);
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.timeline {
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.46rem;
}

.timeline-item {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(143, 107, 255, 0.38);
  background: rgba(143, 107, 255, 0.15);
  padding: 0.36rem 0.56rem;
  font-size: 0.78rem;
  color: #ddd6ff;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.result-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(163, 172, 216, 0.32);
  background: rgba(13, 18, 38, 0.72);
  padding: 0.62rem 0.74rem;
}

.progress-track {
  height: 0.54rem;
  border-radius: 999px;
  background: rgba(163, 172, 216, 0.2);
  overflow: hidden;
  margin-top: 0.46rem;
}

.progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cool), var(--accent));
}

.empty-card {
  border: 1px dashed rgba(163, 172, 216, 0.38);
  background: rgba(20, 27, 52, 0.58);
  color: #a3acd9;
  border-radius: var(--radius-md);
  padding: 0.72rem 0.8rem;
  font-size: var(--text-sm);
}

.option-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.chip-btn {
  border: 1px solid rgba(143, 107, 255, 0.44);
  background: rgba(143, 107, 255, 0.17);
  color: #e8e3ff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.42rem 0.75rem;
  cursor: pointer;
  transition:
    background var(--motion-fast) ease,
    transform var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.chip-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px -10px rgba(143, 107, 255, 0.95);
}

.chip-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  color: #fff7ff;
  border-color: transparent;
}

.pill-radio {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.pill-radio input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.pill-radio span {
  border: 1px solid rgba(143, 107, 255, 0.44);
  background: rgba(143, 107, 255, 0.17);
  color: #e8e3ff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.42rem 0.75rem;
  cursor: pointer;
  transition:
    background var(--motion-fast) ease,
    transform var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
}

.pill-radio span:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px -10px rgba(143, 107, 255, 0.95);
}

.pill-radio.active span,
.pill-radio input:checked + span {
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  color: #fff7ff;
  border-color: transparent;
}

.pill-radio input:disabled + span {
  cursor: not-allowed;
  opacity: 0.58;
}

.pill-radio.secondary.blocked span {
  border-style: dashed;
  color: #9aa3cb;
}

.vote-fallback-group {
  display: grid;
  gap: 0.42rem;
}

.fallback-radio {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(163, 172, 216, 0.32);
  border-radius: var(--radius-md);
  background: rgba(15, 20, 42, 0.72);
  padding: 0.45rem 0.6rem;
  color: #d6dbf5;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.fallback-radio input {
  accent-color: var(--accent);
}

.fallback-radio.active {
  border-color: rgba(143, 107, 255, 0.62);
  background: rgba(143, 107, 255, 0.2);
}

.fallback-radio:has(input:disabled) {
  opacity: 0.58;
  cursor: not-allowed;
}

.hidden-input-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.vote-confirm {
  margin-top: var(--space-1);
  font-size: 0.82rem;
  color: #aeb8e6;
}

.progressive-card {
  border: 1px solid rgba(163, 172, 216, 0.34);
  border-radius: var(--radius-md);
  background: rgba(16, 21, 44, 0.68);
  padding: 0.72rem;
}

.builder-wrap {
  border: 1px solid rgba(163, 172, 216, 0.34);
  border-radius: var(--radius-md);
  background: rgba(16, 21, 44, 0.7);
  padding: 0.66rem;
  display: grid;
  gap: 0.6rem;
}

.queue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.queue-item {
  border: 1px solid rgba(143, 107, 255, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(143, 107, 255, 0.14);
  padding: 0.42rem 0.54rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.queue-rank {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  color: #ebe6ff;
}

.queue-actions {
  display: inline-flex;
  gap: 0.25rem;
}

.queue-action {
  border: 1px solid rgba(163, 172, 216, 0.34);
  border-radius: 0.55rem;
  background: rgba(15, 19, 40, 0.82);
  color: #e6eaff;
  cursor: pointer;
  font-size: 0.76rem;
  padding: 0.22rem 0.4rem;
}

.telemetry-grid {
  margin: 0 0 var(--space-3);
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.telemetry-card {
  border: 1px solid rgba(163, 172, 216, 0.3);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  padding: 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.telemetry-title {
  margin: 0;
  color: #cfd4f2;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.vote-donut-wrap {
  display: grid;
  place-items: center;
  min-height: 10.2rem;
}

.vote-donut {
  width: min(11.4rem, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg 360deg);
  position: relative;
  box-shadow:
    0 0 0 1px rgba(163, 172, 216, 0.28),
    0 0 40px -20px rgba(143, 107, 255, 0.95);
}

.vote-donut::before {
  content: "";
  position: absolute;
  inset: 21%;
  border-radius: 50%;
  background: rgba(8, 11, 25, 0.94);
  border: 1px solid rgba(163, 172, 216, 0.3);
}

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 1;
}

.donut-center strong {
  display: block;
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: 1.35rem;
  color: var(--ink-strong);
}

.donut-center span {
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.radar-shell {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  border: 1px solid rgba(163, 172, 216, 0.28);
  background: rgba(11, 14, 30, 0.84);
  padding: 0.3rem;
}

.radar-svg {
  width: 100%;
  height: 100%;
}

.radar-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.38rem;
}

.radar-legend-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.82rem;
  color: #cbd2f2;
}

.radar-swatch {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: var(--swatch, var(--accent));
  box-shadow: 0 0 10px -4px var(--swatch, var(--accent));
}

.radar-empty {
  display: grid;
  place-items: center;
  color: #8f99c8;
  font-size: 0.82rem;
}

.catalog-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.catalog-card {
  padding: var(--space-3);
  display: grid;
  gap: 0.58rem;
  transition:
    transform var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.catalog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 107, 255, 0.44);
  box-shadow: 0 0 30px -20px rgba(143, 107, 255, 0.95);
}

.catalog-card h3 {
  margin: 0;
  font-family: "Space Grotesk", "Sora", sans-serif;
  color: var(--ink-strong);
  font-size: 1.15rem;
}

.catalog-meta {
  display: grid;
  gap: 0.32rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.how-strip {
  padding: var(--space-3);
  display: grid;
  gap: 0.62rem;
}

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

.how-step {
  border: 1px solid rgba(163, 172, 216, 0.32);
  border-radius: var(--radius-md);
  background: rgba(17, 22, 45, 0.74);
  padding: 0.68rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.how-step strong {
  display: block;
  font-family: "Space Grotesk", "Sora", sans-serif;
  color: var(--ink-strong);
  margin-bottom: 0.16rem;
}

.page-footer {
  text-align: center;
  margin-top: var(--space-2);
  font-size: 0.82rem;
  color: #8c95c3;
}

.hidden {
  display: none !important;
}

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

@keyframes spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 34rem;
  }
}

@media (max-width: 980px) {
  .layout-grid,
  .split-two,
  .how-grid,
  .telemetry-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    align-items: flex-start;
  }

  .app {
    gap: var(--space-2);
  }
}

@media (max-width: 680px) {
  .hero-card,
  .zone,
  .catalog-card,
  .how-strip {
    padding: 0.95rem;
  }

  .brand-title {
    font-size: 1.16rem;
  }
}

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