:root {
  --bg: #050505;
  --bg-raised: #090c0b;
  --surface: #0b0f0e;
  --surface-strong: #101513;
  --surface-soft: rgba(17, 22, 19, 0.8);
  --line: rgba(196, 220, 201, 0.15);
  --line-strong: rgba(196, 220, 201, 0.28);
  --text: #eef5ee;
  --muted: #84938a;
  --muted-dark: #536158;
  --green: #00ff41;
  --green-soft: rgba(0, 255, 65, 0.12);
  --green-dim: rgba(0, 255, 65, 0.5);
  --red: #ff2a2a;
  --red-soft: rgba(255, 42, 42, 0.12);
  --gold: #d4af37;
  --gold-light: #f1d774;
  --gold-soft: rgba(212, 175, 55, 0.13);
  --brand-teal: #69c9c3;
  --mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --sans: "PingFang SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 0.82, 0.24, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  color: var(--bg);
  background: var(--green);
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
  color: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 26%, rgba(0, 255, 65, 0.06), transparent 27rem),
    radial-gradient(circle at 92% 75%, rgba(255, 42, 42, 0.045), transparent 28rem),
    var(--bg);
}

.app-shell::before,
.app-shell::after {
  position: fixed;
  z-index: -3;
  pointer-events: none;
  content: "";
}

.app-shell::before {
  inset: 0;
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(159, 204, 167, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 204, 167, 0.038) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

.app-shell::after {
  inset: 0;
  z-index: 12;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(100px);
  pointer-events: none;
  transition: background 700ms ease, opacity 700ms ease;
}

.ambient-one {
  top: 9rem;
  left: -19rem;
  background: var(--green);
}

.ambient-two {
  right: -21rem;
  bottom: 7rem;
  background: var(--red);
}

body.is-warning .ambient-two {
  opacity: 0.3;
  filter: blur(70px);
}

body.is-solution .ambient-one,
body.is-solution .ambient-two {
  background: var(--gold);
  opacity: 0.17;
}

.grid-noise {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

.topbar,
.app-main,
.footer {
  width: min(1380px, calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.topbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 11px;
  padding: 4px 9px 4px 6px;
  border: 1px solid rgba(105, 201, 195, 0.3);
  border-radius: 3px;
  background: rgba(7, 16, 13, 0.78);
  color: #edf4ed;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.08em;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 65, 0.035);
  transition: border-color 180ms ease, background 180ms ease;
}

.brand:hover {
  border-color: rgba(105, 201, 195, 0.62);
  background: rgba(10, 26, 21, 0.9);
}

.brand-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--brand-teal);
  color: var(--brand-teal);
  font-size: 12px;
  line-height: 1;
  transform: rotate(45deg);
}

.brand-mark span {
  display: block;
  transform: rotate(-45deg);
}

.brand-name span {
  color: var(--brand-teal);
  font-weight: 400;
}

.topbar-center,
.system-status,
.simulation-stamp,
.eyebrow,
.panel-kicker,
.meta-label,
.footer,
.local-note,
.stage-rail,
.warning-kicker,
.warning-code,
.comparison-card-head,
.signal-meta-grid span,
.benefit-label,
.dialog-topline,
.dialog-disclosure,
.solution-disclosure,
.form-note {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-center {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
}

.topbar-divider {
  color: var(--gold);
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 6px;
  color: var(--muted);
  font-size: 9px;
}

.status-dot,
.note-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 255, 65, 0.08), 0 0 16px rgba(0, 255, 65, 0.76);
}

.control-button {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(5, 5, 5, 0.45);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.control-button:hover,
.control-button[aria-pressed="true"] {
  border-color: rgba(0, 255, 65, 0.48);
  background: var(--green-soft);
  color: var(--green);
}

.control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  color: currentColor;
}

.sound-icon {
  align-items: flex-end;
  gap: 2px;
}

.sound-icon i {
  display: block;
  width: 2px;
  height: 5px;
  background: currentColor;
}

.sound-icon i:nth-child(2) {
  height: 10px;
}

.sound-icon i:nth-child(3) {
  height: 7px;
}

.control-button[aria-pressed="true"] .sound-icon i {
  animation: sound-bars 620ms ease-in-out infinite alternate;
}

.control-button[aria-pressed="true"] .sound-icon i:nth-child(2) {
  animation-delay: -220ms;
}

.control-button[aria-pressed="true"] .sound-icon i:nth-child(3) {
  animation-delay: -390ms;
}

@keyframes sound-bars {
  to {
    transform: scaleY(0.4);
  }
}

.motion-icon {
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1;
}

.app-main {
  padding: 39px 0 38px;
}

.experience-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow,
.simulation-stamp {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
}

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

.simulation-stamp {
  color: var(--green-dim);
  font-size: 9px;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(480px, 1.22fr);
  align-items: center;
  gap: clamp(32px, 7vw, 120px);
  min-height: calc(100vh - 245px);
  padding: 33px 0 43px;
}

.story-column {
  align-self: start;
}

.terminal-line {
  display: flex;
  align-items: center;
  min-height: 24px;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.terminal-prefix {
  color: var(--green);
}

.terminal-cursor {
  width: 6px;
  height: 13px;
  background: var(--green);
  animation: cursor-blink 980ms steps(1, end) infinite;
}

@keyframes cursor-blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

.story-column h1 {
  max-width: 690px;
  margin: 25px 0 24px;
  color: var(--text);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.99;
}

.story-column h1 em {
  color: var(--green);
  font-style: normal;
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.19);
}

.story-lede {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.story-points {
  display: grid;
  max-width: 510px;
  gap: 12px;
  margin-top: 34px;
}

.story-point {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #a9b7ad;
  font-size: 12px;
}

.point-index {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid rgba(0, 255, 65, 0.32);
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
}

.start-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primary-button,
.warning-button,
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 53px;
  gap: 30px;
  padding: 0 16px 0 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--green);
  color: #041006;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms var(--ease-out), background 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  min-width: 194px;
}

.primary-button:hover,
.warning-button:hover,
.gold-button:hover {
  background: #48ff75;
  box-shadow: 0 0 34px rgba(0, 255, 65, 0.17);
  transform: translateY(-2px);
}

.primary-button:active,
.warning-button:active,
.gold-button:active {
  transform: translateY(0);
}

.button-arrow {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}

.text-button,
.quiet-button,
.restart-button {
  padding: 8px 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.text-button:hover,
.quiet-button:hover,
.restart-button:hover {
  color: var(--text);
}

.local-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 29px 0 0;
  color: var(--muted-dark);
  font-size: 9px;
  line-height: 1.6;
}

.note-dot {
  width: 4px;
  height: 4px;
  box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.05), 0 0 12px rgba(0, 255, 65, 0.55);
}

.radar-column {
  display: grid;
  align-self: center;
  justify-items: center;
  width: 100%;
}

.radar-frame {
  position: relative;
  width: min(100%, 650px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 65, 0.25);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(0, 255, 65, 0.11) 0 2px, transparent 3px 14%),
    radial-gradient(circle at center, transparent 0 24%, rgba(0, 255, 65, 0.045) 24.2% 24.4%, transparent 24.6% 48%, rgba(0, 255, 65, 0.05) 48.2% 48.4%, transparent 48.7%),
    conic-gradient(from 0deg, rgba(0, 255, 65, 0.05), transparent 22%, rgba(0, 255, 65, 0.025), transparent 46%, rgba(0, 255, 65, 0.06), transparent 73%),
    #050a06;
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.06),
    0 0 70px rgba(0, 255, 65, 0.07),
    inset 0 0 65px rgba(0, 255, 65, 0.06);
  transition: border-color 500ms ease, box-shadow 500ms ease, background 500ms ease;
}

.radar-frame::before,
.radar-frame::after {
  position: absolute;
  inset: 5%;
  border: 1px solid rgba(0, 255, 65, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.radar-frame::after {
  inset: 15%;
  border-color: rgba(0, 255, 65, 0.1);
}

.is-scanning .radar-frame,
.is-discovery .radar-frame {
  border-color: rgba(0, 255, 65, 0.52);
  box-shadow:
    0 0 0 1px rgba(0, 255, 65, 0.12),
    0 0 82px rgba(0, 255, 65, 0.13),
    inset 0 0 70px rgba(0, 255, 65, 0.08);
}

.is-warning .radar-frame {
  border-color: rgba(255, 42, 42, 0.58);
  background:
    radial-gradient(circle at center, rgba(255, 42, 42, 0.13) 0 2px, transparent 3px 14%),
    radial-gradient(circle at center, transparent 0 24%, rgba(255, 42, 42, 0.05) 24.2% 24.4%, transparent 24.6% 48%, rgba(255, 42, 42, 0.05) 48.2% 48.4%, transparent 48.7%),
    #0b0505;
  box-shadow:
    0 0 0 1px rgba(255, 42, 42, 0.13),
    0 0 84px rgba(255, 42, 42, 0.14),
    inset 0 0 70px rgba(255, 42, 42, 0.08);
}

.is-solution .radar-frame {
  border-color: rgba(212, 175, 55, 0.48);
  background-color: #0a0804;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.1),
    0 0 82px rgba(212, 175, 55, 0.13),
    inset 0 0 70px rgba(212, 175, 55, 0.07);
}

.radar-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0, 255, 65, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-outer {
  width: 76%;
  height: 76%;
}

.orbit-middle {
  width: 52%;
  height: 52%;
  border-color: rgba(0, 255, 65, 0.2);
}

.orbit-inner {
  width: 28%;
  height: 28%;
  border-color: rgba(0, 255, 65, 0.24);
}

.is-warning .radar-orbit {
  border-color: rgba(255, 42, 42, 0.17);
}

.is-solution .radar-orbit {
  border-color: rgba(212, 175, 55, 0.19);
}

.radar-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42%;
  height: 42%;
  border: 1px solid rgba(0, 255, 65, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at center, transparent 0 18%, #000 28%);
  mask-image: radial-gradient(circle at center, transparent 0 18%, #000 28%);
}

.radar-crosshair span {
  position: absolute;
  background: rgba(0, 255, 65, 0.25);
}

.radar-crosshair span:first-child {
  top: 50%;
  right: -12%;
  left: -12%;
  height: 1px;
}

.radar-crosshair span:last-child {
  top: -12%;
  bottom: -12%;
  left: 50%;
  width: 1px;
}

.radar-axis {
  position: absolute;
  background: rgba(0, 255, 65, 0.08);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 40%,
    transparent 46%,
    transparent 54%,
    #000 60%,
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 40%,
    transparent 46%,
    transparent 54%,
    #000 60%,
    #000 100%
  );
}

.axis-horizontal {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.axis-vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 38%,
    transparent 44%,
    transparent 64%,
    #000 70%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 38%,
    transparent 44%,
    transparent 64%,
    #000 70%,
    #000 100%
  );
}

.radar-sweep {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform-origin: center center;
  transition: opacity 280ms ease;
}

.radar-sweep::before {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* Trail sits counter-clockwise of the leading edge so it follows a clockwise sweep. */
  background: conic-gradient(
    from 0deg,
    rgba(0, 255, 65, 0.42) 0deg,
    transparent 1deg,
    transparent 302deg,
    rgba(0, 255, 65, 0.05) 328deg,
    rgba(0, 255, 65, 0.16) 346deg,
    rgba(0, 255, 65, 0.42) 360deg
  );
  -webkit-mask-image: radial-gradient(
    circle at center,
    transparent 0 9%,
    rgba(0, 0, 0, 0.4) 16%,
    #000 24% 48%,
    transparent 50%
  );
  mask-image: radial-gradient(
    circle at center,
    transparent 0 9%,
    rgba(0, 0, 0, 0.4) 16%,
    #000 24% 48%,
    transparent 50%
  );
  content: "";
}

.radar-sweep span {
  position: absolute;
  top: 0;
  left: calc(50% - 0.5px);
  width: 1px;
  height: 50%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 255, 65, 0.2) 18%,
    rgba(0, 255, 65, 0.95) 92%,
    rgba(0, 255, 65, 0.35) 100%
  );
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.75);
  transform-origin: bottom center;
}

.is-scanning .radar-sweep,
.is-discovery .radar-sweep {
  opacity: 1;
  animation: radar-sweep 3.6s linear infinite;
}

.is-warning .radar-sweep,
.is-solution .radar-sweep {
  opacity: 0;
  animation: none;
}

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

.radar-noise {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 11% 24%, rgba(0, 255, 65, 0.58) 0 1px, transparent 1.5px),
    radial-gradient(circle at 76% 17%, rgba(0, 255, 65, 0.58) 0 1px, transparent 1.5px),
    radial-gradient(circle at 32% 78%, rgba(0, 255, 65, 0.4) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 72%, rgba(0, 255, 65, 0.4) 0 1px, transparent 1.5px),
    radial-gradient(circle at 44% 15%, rgba(0, 255, 65, 0.35) 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 86%, rgba(0, 255, 65, 0.38) 0 1px, transparent 1.5px);
  pointer-events: none;
}

.is-scanning .radar-noise {
  animation: noise-flicker 1.7s steps(2, end) infinite;
}

@keyframes noise-flicker {
  50% {
    opacity: 0.17;
  }
}

.radar-points {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.signal-point {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  opacity: 0;
  cursor: pointer;
  transform: translate(-50%, -50%) scale(0.28);
  transition: opacity 320ms ease, transform 420ms var(--ease-out);
}

.signal-point.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.signal-point::before,
.signal-point::after {
  position: absolute;
  border: 1px solid rgba(0, 255, 65, 0.48);
  border-radius: 50%;
  content: "";
}

.signal-point::before {
  width: 9px;
  height: 9px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 255, 65, 0.11), 0 0 21px rgba(0, 255, 65, 0.82);
}

.signal-point::after {
  width: 28px;
  height: 28px;
  opacity: 0;
  transform: scale(0.35);
}

.signal-point.is-visible::after {
  animation: signal-ring 2.4s ease-out infinite;
}

@keyframes signal-ring {
  0% {
    opacity: 0.72;
    transform: scale(0.35);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

.signal-point:hover::before,
.signal-point:focus-visible::before,
.signal-point.is-current::before {
  box-shadow: 0 0 0 6px rgba(0, 255, 65, 0.15), 0 0 31px rgba(0, 255, 65, 1);
}

.signal-point.is-read::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1), 0 0 19px rgba(212, 175, 55, 0.62);
}

.signal-point.is-read::after {
  border-color: rgba(212, 175, 55, 0.4);
}

.signal-point-label {
  position: absolute;
  top: 27px;
  left: 19px;
  min-width: max-content;
  padding: 4px 6px;
  border: 1px solid rgba(0, 255, 65, 0.22);
  background: rgba(3, 9, 5, 0.88);
  color: rgba(161, 255, 177, 0.84);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.signal-point.is-visible .signal-point-label,
.signal-point:hover .signal-point-label,
.signal-point:focus-visible .signal-point-label {
  opacity: 1;
  transform: translateY(0);
}

.radar-origin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.center-pulse {
  width: 6px;
  height: 6px;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: rgba(0, 255, 65, 0.42);
  box-shadow:
    0 0 0 3px rgba(0, 255, 65, 0.05),
    0 0 12px rgba(0, 255, 65, 0.7);
}

.is-scanning .center-pulse,
.is-discovery .center-pulse {
  animation: center-breathe 1.25s ease-in-out infinite alternate;
}

@keyframes center-breathe {
  to {
    transform: scale(1.4);
    background: rgba(0, 255, 65, 0.62);
  }
}

.radar-center {
  position: absolute;
  top: calc(50% + 20px);
  left: 50%;
  z-index: 5;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: min(42%, 170px);
  padding: 8px 14px 7px;
  text-align: center;
  transform: translate(-50%, 0);
  pointer-events: none;
}

.radar-center::before {
  position: absolute;
  inset: -6px -14px -4px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(4, 10, 6, 0.94) 0%,
    rgba(4, 10, 6, 0.7) 52%,
    transparent 78%
  );
  content: "";
  pointer-events: none;
}

.radar-center strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(12px, 1.55vw, 16px);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.55);
}

.radar-center small {
  max-width: 12em;
  color: rgba(154, 168, 158, 0.78);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.center-code {
  margin-top: 2px;
  color: rgba(0, 255, 65, 0.26);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.is-warning .radar-center::before {
  background: radial-gradient(
    ellipse at center,
    rgba(12, 4, 4, 0.9) 0%,
    rgba(12, 4, 4, 0.62) 55%,
    transparent 78%
  );
}

.is-warning .center-pulse {
  border-color: var(--red);
  background: rgba(255, 42, 42, 0.38);
  box-shadow: 0 0 0 3px rgba(255, 42, 42, 0.06), 0 0 12px rgba(255, 42, 42, 0.7);
}

.is-warning .center-code {
  color: rgba(255, 42, 42, 0.34);
}

.is-warning .radar-center strong {
  color: #ff9b9b;
}

.is-warning .radar-center small {
  color: rgba(255, 178, 178, 0.62);
}

.is-solution .radar-center::before {
  background: radial-gradient(
    ellipse at center,
    rgba(10, 8, 3, 0.9) 0%,
    rgba(10, 8, 3, 0.62) 55%,
    transparent 78%
  );
}

.is-solution .center-pulse {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.06), 0 0 12px rgba(212, 175, 55, 0.7);
}

.is-solution .center-code {
  color: rgba(212, 175, 55, 0.36);
}

.is-solution .radar-center strong {
  color: var(--gold-light);
}

.is-solution .radar-center small {
  color: rgba(255, 227, 150, 0.62);
}

.radar-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(0, 255, 65, 0.46);
  border-style: solid;
  pointer-events: none;
}

.corner-tl {
  top: 15%;
  left: 15%;
  border-width: 1px 0 0 1px;
}

.corner-tr {
  top: 15%;
  right: 15%;
  border-width: 1px 1px 0 0;
}

.corner-bl {
  bottom: 15%;
  left: 15%;
  border-width: 0 0 1px 1px;
}

.corner-br {
  right: 15%;
  bottom: 15%;
  border-width: 0 1px 1px 0;
}

.is-warning .radar-corner {
  border-color: rgba(255, 42, 42, 0.48);
}

.is-solution .radar-corner {
  border-color: rgba(212, 175, 55, 0.48);
}

.radar-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 650px);
  margin-top: 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.radar-meta > div {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
}

.radar-meta > div:last-child {
  border-right: 0;
}

.meta-label {
  color: var(--muted-dark);
  font-size: 8px;
}

.radar-meta strong {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
}

.is-warning .radar-meta strong {
  color: var(--red);
}

.is-solution .radar-meta strong {
  color: var(--gold);
}

.stage-rail {
  position: relative;
  padding: 0 2px;
}

.stage-rail .rail-line {
  position: absolute;
  top: 10px;
  right: 4px;
  left: 4px;
  height: 1px;
  background: rgba(196, 220, 201, 0.14);
  pointer-events: none;
}

.stage-rail .rail-line span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.6);
  transition: width 500ms var(--ease-out), background 400ms ease;
}

.stage-rail ol {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage-rail li {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted-dark);
  font-size: 8px;
}

.stage-rail li span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(196, 220, 201, 0.19);
  border-radius: 50%;
  background: var(--bg);
  font-size: 8px;
}

.stage-rail li strong {
  font-weight: 400;
}

.stage-rail li.is-active,
.stage-rail li.is-done {
  color: var(--green);
}

.stage-rail li.is-active span,
.stage-rail li.is-done span {
  border-color: var(--green);
  background: rgba(0, 255, 65, 0.08);
}

.is-warning .stage-rail .rail-line span,
.is-warning .stage-rail li.is-active,
.is-warning .stage-rail li.is-done {
  color: var(--red);
}

.is-warning .stage-rail .rail-line span {
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 42, 42, 0.6);
}

.is-warning .stage-rail li.is-active span,
.is-warning .stage-rail li.is-done span {
  border-color: var(--red);
  background: rgba(255, 42, 42, 0.08);
}

.is-solution .stage-rail .rail-line span,
.is-solution .stage-rail li.is-active,
.is-solution .stage-rail li.is-done {
  color: var(--gold);
}

.is-solution .stage-rail .rail-line span {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.is-solution .stage-rail li.is-active span,
.is-solution .stage-rail li.is-done span {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.warning-section,
.solution-section {
  padding-bottom: 16px;
}

.warning-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 42, 42, 0.45);
  background:
    radial-gradient(circle at 90% 15%, rgba(255, 42, 42, 0.16), transparent 21rem),
    rgba(25, 7, 7, 0.82);
  animation: panel-rise 620ms var(--ease-out) both;
}

.warning-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 42, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 42, 42, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  content: "";
  pointer-events: none;
}

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

@keyframes panel-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.warning-topline,
.warning-heading,
.warning-foot {
  padding-right: clamp(22px, 5vw, 58px);
  padding-left: clamp(22px, 5vw, 58px);
}

.warning-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255, 42, 42, 0.21);
}

.warning-kicker,
.warning-code {
  color: rgba(255, 132, 132, 0.75);
  font-size: 9px;
}

.warning-code {
  color: var(--red);
}

.warning-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding-top: 42px;
  padding-bottom: 35px;
}

.warning-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--mono);
  font-size: 23px;
  box-shadow: 0 0 0 8px rgba(255, 42, 42, 0.07), 0 0 31px rgba(255, 42, 42, 0.22);
}

.warning-heading h2 {
  max-width: 650px;
  margin: 9px 0 0;
  color: #ffb2b2;
  font-size: clamp(28px, 4vw, 53px);
  letter-spacing: -0.08em;
  line-height: 1.05;
}

.warning-heading p:last-child {
  max-width: 640px;
  margin: 17px 0 0;
  color: rgba(255, 215, 215, 0.67);
  font-size: 13px;
  line-height: 1.8;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 76px 1fr;
  align-items: stretch;
  gap: 14px;
  padding: 0 clamp(22px, 5vw, 58px) 37px;
}

.comparison-card {
  min-height: 183px;
  padding: 18px;
  border: 1px solid rgba(255, 42, 42, 0.25);
  background: rgba(255, 42, 42, 0.055);
}

.comparison-card.user-card {
  border-color: rgba(255, 42, 42, 0.52);
  background: rgba(255, 42, 42, 0.105);
}

.comparison-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 201, 201, 0.63);
  font-size: 8px;
}

.comparison-tag {
  color: var(--red);
}

.comparison-card strong {
  display: block;
  margin-top: 28px;
  color: #ffb2b2;
  font-family: var(--mono);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.12em;
  line-height: 0.8;
}

.comparison-card strong span {
  margin-left: 6px;
  font-size: 0.55em;
  letter-spacing: -0.06em;
}

.comparison-card p {
  margin: 20px 0 0;
  color: rgba(255, 222, 222, 0.75);
  font-size: 12px;
}

.comparison-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 184, 184, 0.49);
  font-size: 10px;
  line-height: 1.5;
}

.comparison-divider {
  display: grid;
  place-items: center;
  color: rgba(255, 137, 137, 0.7);
  font-family: var(--mono);
  font-size: 11px;
}

.comparison-divider::before,
.comparison-divider::after {
  display: block;
  width: 1px;
  height: 33%;
  background: rgba(255, 42, 42, 0.25);
  content: "";
}

.comparison-divider::before {
  margin-bottom: 9px;
}

.comparison-divider::after {
  margin-top: 9px;
}

.warning-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  padding-bottom: 23px;
  border-top: 1px solid rgba(255, 42, 42, 0.21);
}

.warning-foot p {
  max-width: 530px;
  margin: 0;
  color: rgba(255, 208, 208, 0.62);
  font-size: 11px;
  line-height: 1.7;
}

.warning-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
  flex: 0 0 auto;
}

.warning-button {
  min-width: 224px;
  background: var(--red);
  color: #210404;
}

.warning-button:hover {
  background: #ff5151;
  box-shadow: 0 0 32px rgba(255, 42, 42, 0.21);
}

.warning-actions .quiet-button {
  color: rgba(255, 201, 201, 0.58);
}

.solution-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) 1fr minmax(240px, 0.55fr);
  align-items: center;
  gap: 34px;
  min-height: 235px;
  padding: 31px clamp(22px, 5vw, 58px);
  border: 1px solid rgba(212, 175, 55, 0.44);
  background:
    radial-gradient(circle at 14% 50%, rgba(212, 175, 55, 0.16), transparent 24rem),
    rgba(22, 18, 8, 0.92);
  animation: panel-rise 620ms var(--ease-out) both;
}

.solution-signal {
  position: relative;
  display: flex;
  align-items: center;
  height: 100px;
}

.signal-path {
  width: 100%;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 17px rgba(212, 175, 55, 0.7);
}

.signal-node {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #251e0b;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.08), 0 0 20px rgba(212, 175, 55, 0.58);
}

.node-start {
  left: 0;
}

.node-end {
  right: 0;
  width: 8px;
  height: 8px;
  border: 0;
  background: var(--gold);
}

.solution-copy h2 {
  margin: 9px 0 0;
  color: var(--gold-light);
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.08em;
  line-height: 1.06;
}

.solution-copy p {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 239, 187, 0.64);
  font-size: 12px;
  line-height: 1.85;
}

.solution-disclosure {
  display: inline-block;
  margin-top: 18px;
  color: rgba(212, 175, 55, 0.5);
  font-size: 8px;
}

.solution-actions {
  display: grid;
  justify-items: stretch;
  gap: 10px;
}

.gold-button {
  width: 100%;
  min-width: 220px;
  background: var(--gold);
  color: #171108;
  text-decoration: none;
}

.gold-button:hover {
  background: var(--gold-light);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.22);
}

.case-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  padding: 0 12px;
  border: 1px solid rgba(212, 175, 55, 0.26);
  color: rgba(255, 234, 163, 0.72);
  font-size: 11px;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.case-link:hover {
  border-color: rgba(212, 175, 55, 0.67);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
}

.restart-button {
  justify-self: center;
  color: rgba(255, 234, 163, 0.48);
}

.restart-button:hover {
  color: var(--gold-light);
}

.disclaimer {
  max-width: 890px;
  margin: 25px 0 0;
  color: var(--muted-dark);
  font-size: 10px;
  line-height: 1.8;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 27px;
  color: var(--muted-dark);
  font-size: 9px;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.79);
  backdrop-filter: blur(8px);
}

.signal-dialog,
.lead-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 570px);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  border: 1px solid rgba(0, 255, 65, 0.42);
  background:
    linear-gradient(130deg, rgba(0, 255, 65, 0.055), transparent 42%),
    #071008;
  box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.07), 0 22px 100px rgba(0, 0, 0, 0.65);
  animation: modal-in 420ms var(--ease-out) both;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.signal-dialog::before,
.lead-dialog::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(0, 255, 65, 0.09);
  content: "";
  pointer-events: none;
}

.signal-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(0, 255, 65, 0.045);
  font-family: var(--mono);
  font-size: 42px;
  letter-spacing: 0.2em;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-24deg);
  pointer-events: none;
}

.signal-dialog > *,
.lead-dialog > * {
  position: relative;
  z-index: 1;
}

.dialog-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px 17px;
  border-bottom: 1px solid rgba(0, 255, 65, 0.16);
  color: rgba(140, 255, 162, 0.73);
  font-size: 9px;
}

.dialog-close {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(0, 255, 65, 0.27);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease;
}

.dialog-close:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.signal-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 28px 24px 22px;
}

.signal-location-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--mono);
  font-size: 20px;
}

.signal-heading h2 {
  margin: 7px 0 0;
  color: var(--text);
  font-size: 23px;
  letter-spacing: -0.07em;
  line-height: 1.2;
}

.panel-kicker {
  margin: 0;
  color: var(--green-dim);
  font-size: 9px;
  line-height: 1.4;
}

.signal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0 24px;
  border: 1px solid rgba(0, 255, 65, 0.15);
  background: rgba(0, 255, 65, 0.15);
}

.signal-meta-grid > div {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: rgba(2, 12, 5, 0.9);
}

.signal-meta-grid span {
  color: var(--muted);
  font-size: 8px;
}

.signal-meta-grid strong {
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.signal-note {
  margin: 20px 24px 0;
  padding: 16px;
  border-left: 2px solid rgba(0, 255, 65, 0.55);
  background: rgba(0, 255, 65, 0.045);
}

.note-label,
.benefit-label {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.signal-note p {
  margin: 10px 0 0;
  color: rgba(222, 244, 225, 0.78);
  font-size: 13px;
  line-height: 1.8;
}

.benefit-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 12px;
  margin: 21px 24px 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(0, 255, 65, 0.19);
}

.benefit-row strong {
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
}

.benefit-row small {
  grid-column: 2;
  margin-top: -4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.dialog-disclosure {
  margin: 21px 24px 0;
  color: var(--muted-dark);
  font-size: 8px;
  line-height: 1.75;
  text-transform: none;
}

.dialog-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 48px);
  min-height: 47px;
  margin: 22px 24px 24px;
  padding: 0 14px 0 17px;
  border: 1px solid rgba(0, 255, 65, 0.35);
  background: rgba(0, 255, 65, 0.08);
  color: var(--green);
  font-size: 12px;
  transition: background 180ms ease, border-color 180ms ease;
}

.dialog-confirm:hover {
  border-color: var(--green);
  background: rgba(0, 255, 65, 0.14);
}

.lead-dialog {
  width: min(100%, 520px);
  border-color: rgba(212, 175, 55, 0.45);
  background:
    linear-gradient(130deg, rgba(212, 175, 55, 0.07), transparent 43%),
    #0c0b07;
}

.lead-dialog::before {
  border-color: rgba(212, 175, 55, 0.09);
}

.lead-dialog .dialog-topline {
  border-bottom-color: rgba(212, 175, 55, 0.18);
  color: rgba(255, 226, 135, 0.68);
}

.lead-dialog .dialog-close {
  border-color: rgba(212, 175, 55, 0.29);
  color: var(--gold);
}

.lead-dialog .dialog-close:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.lead-heading {
  padding: 28px 24px 21px;
}

.lead-heading .panel-kicker {
  color: rgba(212, 175, 55, 0.64);
}

.lead-heading h2 {
  margin: 8px 0 0;
  color: var(--gold-light);
  font-size: 28px;
  letter-spacing: -0.08em;
  line-height: 1.15;
}

.lead-heading p:last-child {
  margin: 13px 0 0;
  color: rgba(255, 237, 183, 0.6);
  font-size: 11px;
  line-height: 1.75;
}

#leadForm {
  padding: 0 24px 24px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.form-field > span,
.form-field legend {
  padding: 0;
  color: rgba(255, 237, 183, 0.72);
  font-size: 11px;
}

.form-field select,
.form-field > input[type="text"] {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid rgba(212, 175, 55, 0.21);
  border-radius: 2px;
  outline: 0;
  background: rgba(0, 0, 0, 0.27);
  color: var(--text);
  font-size: 12px;
  transition: border-color 180ms ease, background 180ms ease;
}

.form-field select:focus,
.form-field > input[type="text"]:focus {
  border-color: rgba(212, 175, 55, 0.76);
  background: rgba(212, 175, 55, 0.06);
}

.form-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 19px,
    calc(100% - 12px) 19px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.form-field select option {
  color: var(--text);
  background: #0d0e0b;
}

fieldset.form-field {
  min-width: 0;
  margin-right: 0;
  margin-left: 0;
  padding: 0;
  border: 0;
}

.contact-type {
  display: flex;
  gap: 9px;
}

.contact-type label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(212, 175, 55, 0.17);
  color: var(--muted);
  font-size: 10px;
}

.contact-type label:has(input:checked) {
  border-color: rgba(212, 175, 55, 0.62);
  background: var(--gold-soft);
  color: var(--gold-light);
}

.contact-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.field-error {
  min-height: 14px;
  color: #ff9898;
  font-size: 10px;
  line-height: 1.4;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.consent-row input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--gold);
}

.consent-row a {
  color: var(--gold-light);
}

.consent-error {
  display: block;
  margin-left: 24px;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 49px;
  margin-top: 10px;
  padding: 0 15px 0 18px;
  background: var(--gold);
  color: #171108;
  font-size: 12px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.form-note {
  margin: 15px 0 0;
  color: var(--muted-dark);
  font-size: 8px;
  line-height: 1.7;
  text-transform: none;
}

.form-success {
  padding: 6px 24px 28px;
}

.success-mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 20px;
}

.form-success .panel-kicker {
  color: rgba(212, 175, 55, 0.62);
}

.form-success h3 {
  margin: 8px 0 0;
  color: var(--gold-light);
  font-size: 25px;
  letter-spacing: -0.07em;
}

.form-success p:not(.panel-kicker) {
  max-width: 390px;
  margin: 13px 0 20px;
  color: rgba(255, 237, 183, 0.62);
  font-size: 11px;
  line-height: 1.8;
}

.form-success .quiet-button {
  padding-left: 0;
  color: var(--gold-light);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  max-width: min(350px, calc(100vw - 48px));
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  opacity: 0;
  background: #101612;
  color: var(--text);
  font-size: 11px;
  line-height: 1.55;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
}

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

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

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

@media (max-width: 1050px) {
  .topbar,
  .app-main,
  .footer {
    width: min(100% - 46px, 820px);
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
  }

  .story-column {
    max-width: 720px;
  }

  .radar-column {
    justify-items: start;
  }

  .radar-frame,
  .radar-meta {
    width: min(100%, 670px);
  }

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

  .solution-actions {
    grid-column: 2;
    justify-items: start;
  }
}

@media (max-width: 700px) {
  .topbar,
  .app-main,
  .footer {
    width: calc(100% - 32px);
  }

  .topbar {
    min-height: 72px;
  }

  .topbar-center {
    display: none;
  }

  .topbar-right {
    gap: 5px;
  }

  .system-status {
    display: none;
  }

  .control-button {
    min-height: 29px;
    padding: 0 7px;
    font-size: 9px;
  }

  .app-main {
    padding-top: 29px;
  }

  .experience-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .experience-grid {
    gap: 35px;
    padding-top: 27px;
    padding-bottom: 36px;
  }

  .story-column h1 {
    margin-top: 20px;
    font-size: clamp(36px, 10.5vw, 52px);
  }

  .story-lede {
    font-size: 13px;
  }

  .story-points {
    gap: 10px;
    margin-top: 27px;
  }

  .story-point {
    font-size: 11px;
  }

  .start-actions {
    margin-top: 29px;
  }

  .radar-column {
    width: calc(100vw - 32px);
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .radar-frame {
    width: min(100%, 580px);
  }

  .radar-center {
    width: min(48%, 150px);
    top: calc(50% + 16px);
    padding: 7px 10px 6px;
    gap: 5px;
  }

  .radar-center strong {
    font-size: clamp(11px, 3.6vw, 14px);
    letter-spacing: 0.14em;
  }

  .radar-center small {
    font-size: 8px;
  }

  .radar-meta {
    width: min(100%, 580px);
  }

  .radar-meta > div {
    padding: 10px 8px;
  }

  .radar-meta strong {
    font-size: 10px;
  }

  .meta-label {
    font-size: 7px;
    letter-spacing: 0.03em;
  }

  .stage-rail li {
    font-size: 7px;
  }

  .stage-rail li span {
    width: 19px;
    height: 19px;
  }

  .warning-topline,
  .warning-heading,
  .warning-foot {
    padding-right: 18px;
    padding-left: 18px;
  }

  .warning-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .warning-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 27px;
    padding-bottom: 28px;
  }

  .warning-heading h2 {
    font-size: 32px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .comparison-card {
    min-height: 150px;
  }

  .comparison-card strong {
    margin-top: 22px;
  }

  .comparison-divider {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    height: 22px;
  }

  .comparison-divider::before,
  .comparison-divider::after {
    width: auto;
    height: 1px;
    margin: 0;
  }

  .warning-foot {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    padding-top: 18px;
    padding-bottom: 19px;
  }

  .warning-actions {
    justify-items: stretch;
  }

  .warning-button {
    width: 100%;
  }

  .solution-card {
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 24px 18px;
  }

  .solution-signal {
    height: 28px;
  }

  .solution-actions {
    grid-column: auto;
    justify-items: stretch;
  }

  .case-link {
    width: 100%;
  }

  .restart-button {
    justify-self: center;
  }

  .disclaimer {
    margin-top: 18px;
    font-size: 9px;
  }

  .footer {
    flex-wrap: wrap;
    padding-bottom: 20px;
    font-size: 8px;
  }

  .modal-layer {
    align-items: end;
    padding: 0;
  }

  .signal-dialog,
  .lead-dialog {
    width: 100%;
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
    min-height: 0;
    overscroll-behavior: contain;
  }

  .dialog-topline,
  .signal-heading,
  .lead-heading {
    padding-right: 18px;
    padding-left: 18px;
  }

  .signal-meta-grid,
  .signal-note,
  .benefit-row,
  .dialog-disclosure {
    margin-right: 18px;
    margin-left: 18px;
  }

  .dialog-confirm {
    width: calc(100% - 36px);
    margin-right: 18px;
    margin-left: 18px;
  }

  #leadForm,
  .form-success {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .control-button {
    padding: 0 5px;
  }

  .control-button span:last-child {
    display: none;
  }

  .radar-meta > div:nth-child(2) {
    display: none;
  }

  .radar-meta {
    grid-template-columns: 1fr 1fr;
  }

  .radar-meta > div:last-child {
    border-left: 1px solid var(--line);
  }
}
