:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #040b15;
  --panel: rgba(12, 26, 43, 0.82);
  --panel-strong: rgba(14, 31, 51, 0.96);
  --line: rgba(148, 178, 206, 0.14);
  --line-bright: rgba(120, 202, 255, 0.32);
  --text: #f4f8fc;
  --muted: #8ea5ba;
  --muted-strong: #b7c7d5;
  --blue: #49b9ff;
  --blue-strong: #168be8;
  --cyan: #57f2dc;
  --green: #54e6a4;
  --amber: #f5bd66;
  --red: #ff7b7b;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(22, 139, 232, 0.14), transparent 34rem),
    linear-gradient(180deg, #081522 0%, var(--bg) 42%, var(--bg-deep) 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.09;
}

.ambient--one {
  top: 20%;
  left: -12rem;
  background: var(--blue);
}

.ambient--two {
  right: -12rem;
  bottom: 8%;
  background: var(--cyan);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  gap: 3px;
  width: 36px;
  height: 36px;
  padding: 9px;
  border: 1px solid rgba(88, 195, 255, 0.28);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(64, 177, 248, 0.18), rgba(27, 75, 111, 0.18));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.brand__mark span {
  display: block;
  border-radius: 3px;
  background: linear-gradient(to top, var(--blue-strong), var(--cyan));
}

.brand__mark span:nth-child(1) { height: 10px; }
.brand__mark span:nth-child(2) { height: 17px; }
.brand__mark span:nth-child(3) { height: 13px; }

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-size: 14px;
  letter-spacing: 0.01em;
}

.brand__text small {
  color: var(--muted);
  font-size: 11px;
}

.header-status,
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(84, 230, 164, 0.2);
  border-radius: 999px;
  background: rgba(84, 230, 164, 0.06);
  color: #a6f2cd;
  font-size: 12px;
  font-weight: 600;
}

.header-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(84, 230, 164, 0.09), 0 0 16px rgba(84, 230, 164, 0.7);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
  padding: 84px 0 96px;
  text-align: center;
  transition: min-height 0.55s ease, padding 0.55s ease, opacity 0.4s ease;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 50%;
  z-index: -1;
  width: 660px;
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(55, 166, 236, 0.13), transparent 68%);
  pointer-events: none;
}

.hero.is-compact {
  min-height: 0;
  padding: 46px 0 42px;
}

.hero.is-compact .hero__copy p,
.hero.is-compact .trust-row {
  display: none;
}

.hero.is-compact .hero__copy h1 {
  margin-bottom: 26px;
  font-size: clamp(32px, 5vw, 54px);
}

.hero__copy {
  width: min(820px, 100%);
}

.eyebrow,
.panel-kicker {
  color: #8ed9ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(73, 185, 255, 0.2);
  border-radius: 999px;
  background: rgba(73, 185, 255, 0.06);
}

.eyebrow__spark {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px var(--blue);
}

.eyebrow__spark::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(73, 185, 255, 0.4);
  border-radius: 50%;
  animation: signal 2s ease-out infinite;
}

.eyebrow--success {
  border-color: rgba(84, 230, 164, 0.2);
  background: rgba(84, 230, 164, 0.06);
  color: #9ff0c9;
}

.eyebrow--success svg {
  width: 18px;
}

.hero h1 {
  margin: 23px 0 20px;
  font-size: clamp(42px, 6.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.hero h1 .hero__danger-word {
  position: relative;
  display: inline-block;
  isolation: isolate;
  background: linear-gradient(100deg, #ff4d5f 4%, #ff938b 42%, #ff304d 72%, #ff6a72 96%);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 900;
  letter-spacing: -0.065em;
  transform: rotate(7.5deg);
  transform-origin: 50% 55%;
  text-shadow:
    0 0 24px rgba(255, 48, 77, 0.2),
    0 0 52px rgba(255, 48, 77, 0.12);
  animation:
    danger-shimmer 5.8s ease-in-out infinite,
    danger-pulse 5.8s ease-in-out infinite;
}

.hero h1 .hero__danger-word::before,
.hero h1 .hero__danger-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: #ff304d;
  opacity: 0;
  pointer-events: none;
}

.hero h1 .hero__danger-word::before {
  text-shadow: -3px 0 #ff304d;
  animation: danger-glitch-top 5.8s steps(1, end) infinite;
}

.hero h1 .hero__danger-word::after {
  color: #7ce9ff;
  text-shadow: 3px 0 #7ce9ff;
  animation: danger-glitch-bottom 5.8s steps(1, end) infinite;
}

.hero__copy > p {
  max-width: 670px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.65;
}

.start-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(760px, 100%);
  margin: 34px auto 0;
  padding: 7px;
  border: 1px solid rgba(130, 181, 217, 0.18);
  border-radius: 19px;
  background: rgba(8, 19, 33, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.url-field {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding-left: 14px;
}

.url-field__icon {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: rgba(73, 185, 255, 0.09);
  color: var(--blue);
}

.url-field__icon svg {
  width: 17px;
}

.url-field input,
.lead-form input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.url-field input {
  height: 50px;
  font-size: 16px;
}

input::placeholder {
  color: #647d93;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.text-button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.button svg {
  width: 19px;
}

.button--primary {
  background: linear-gradient(135deg, #3cb8ff, #1587e1);
  color: white;
  box-shadow: 0 9px 28px rgba(22, 139, 232, 0.28), inset 0 1px rgba(255, 255, 255, 0.25);
}

.button--primary:hover {
  box-shadow: 0 12px 34px rgba(22, 139, 232, 0.38), inset 0 1px rgba(255, 255, 255, 0.25);
}

.button--wide {
  width: 100%;
}

.field-error {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  padding: 0 10px;
  color: #ff9b9b;
  font-size: 12px;
  text-align: left;
}

.field-error:not(:empty) {
  min-height: 18px;
  padding-top: 2px;
}

.start-consent {
  grid-column: 1 / -1;
  padding: 1px 10px 3px;
  font-size: 11px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row svg {
  width: 17px;
  color: #8adcbc;
}

.scanner-section,
.result-section {
  display: none;
  padding-bottom: 68px;
}

.scanner-section.is-visible,
.result-section.is-visible {
  display: block;
  animation: section-in 0.65s both;
}

.scanner-toolbar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(10, 23, 39, 0.66);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.target {
  display: flex;
  align-items: center;
  gap: 12px;
}

.target__status {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(73, 185, 255, 0.4);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 20px rgba(73, 185, 255, 0.8);
  animation: glow-pulse 2s infinite;
}

.target span:last-child {
  display: grid;
  gap: 2px;
}

.target small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.target strong {
  font-size: 14px;
}

.scanner-toolbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-badge {
  border-color: rgba(245, 189, 102, 0.18);
  background: rgba(245, 189, 102, 0.06);
  color: #f5cd8e;
}

.text-button {
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}

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

.scanner-layout,
.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(340px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(15, 33, 54, 0.86), rgba(8, 21, 36, 0.9));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 27px 0;
}

.panel-heading h2,
.progress-overview h2 {
  margin: 7px 0 0;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-top: 4px;
  color: #91dfff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.live-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 13px rgba(73, 185, 255, 0.8);
  animation: glow-pulse 1.5s infinite;
}

.radar {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  width: min(100%, 630px);
  aspect-ratio: 1;
  margin: 8px auto 0;
  overflow: hidden;
  isolation: isolate;
}

.radar::before {
  content: "";
  position: absolute;
  inset: 6%;
  z-index: -3;
  border-radius: 50%;
  background: radial-gradient(
    circle at var(--pointer-x) var(--pointer-y),
    rgba(73, 185, 255, 0.14),
    transparent 24%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.radar:hover::before {
  opacity: 1;
}

.radar::after {
  content: "";
  position: absolute;
  inset: 13%;
  z-index: -3;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 137, 204, 0.08), transparent 70%);
  box-shadow: inset 0 0 80px rgba(42, 161, 231, 0.04);
}

.radar__particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}

.radar.is-pulsing .radar__ring--two {
  animation: zone-wave 0.8s ease-out;
}

.radar.is-pulsing .radar__hub {
  box-shadow:
    0 0 0 12px rgba(73, 185, 255, 0.045),
    0 0 74px rgba(31, 153, 229, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.12);
}

.radar__grid {
  position: absolute;
  inset: 7%;
  z-index: -4;
  border-radius: 50%;
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(89, 176, 224, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 176, 224, 0.09) 1px, transparent 1px);
  background-size: 31px 31px;
  mask-image: radial-gradient(circle, black 45%, transparent 74%);
}

.radar__beam {
  position: absolute;
  inset: 15%;
  z-index: -2;
  border-radius: 50%;
  background: conic-gradient(from 215deg, transparent 0 78%, rgba(73, 185, 255, 0.025) 84%, rgba(73, 185, 255, 0.18) 94%, transparent 100%);
  animation: radar-turn 5.8s linear infinite;
}

.radar__beam::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  height: 1px;
  transform-origin: left;
  background: linear-gradient(to right, rgba(91, 206, 255, 0.9), transparent);
  box-shadow: 0 0 8px rgba(91, 206, 255, 0.6);
}

.radar__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -3;
  border: 1px solid rgba(94, 181, 231, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar__ring--one { width: 26%; height: 26%; }
.radar__ring--two { width: 52%; height: 52%; }
.radar__ring--three { width: 78%; height: 78%; }

.radar__links {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.radar__links line {
  stroke: rgba(93, 157, 195, 0.13);
  stroke-width: 1;
  stroke-dasharray: 4 7;
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
}

.radar__links line.is-active {
  stroke: rgba(73, 185, 255, 0.68);
  stroke-width: 1.4;
  animation: dash-flow 1.1s linear infinite;
}

.radar__links line.is-complete {
  stroke: rgba(84, 230, 164, 0.32);
}

.radar__links line.has-warning {
  stroke: rgba(245, 189, 102, 0.42);
}

.radar__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 132px;
  height: 132px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(73, 185, 255, 0.33);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(73, 185, 255, 0.24), rgba(10, 28, 46, 0.96) 67%);
  box-shadow:
    0 0 0 9px rgba(73, 185, 255, 0.025),
    0 0 50px rgba(31, 153, 229, 0.19),
    inset 0 1px rgba(255, 255, 255, 0.1);
  text-align: center;
}

.radar__hub::after {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(73, 185, 255, 0.1);
  border-radius: 50%;
  animation: hub-pulse 2.4s ease-out infinite;
}

.radar__hub-orbit {
  position: absolute;
  inset: -7px;
  border: 1px dashed rgba(87, 242, 220, 0.23);
  border-radius: 50%;
  animation: radar-turn 10s linear infinite reverse;
}

.radar__hub-letter {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 2px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 7px 20px rgba(22, 139, 232, 0.3);
  color: white;
  font-size: 17px;
  font-weight: 800;
}

.radar__hub strong {
  max-width: 100px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radar__hub small {
  max-width: 100px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zone {
  position: absolute;
  display: grid;
  width: 124px;
  min-height: 67px;
  align-content: center;
  padding: 10px 13px 10px 34px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(125, 171, 203, 0.16);
  border-radius: 13px;
  background: rgba(8, 21, 35, 0.88);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.035);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease, background 0.4s ease;
}

.zone__number {
  position: absolute;
  top: 13px;
  left: 11px;
  color: #58748a;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.zone strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zone small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zone__state {
  position: absolute;
  top: 11px;
  right: 10px;
  width: 6px;
  height: 6px;
  border: 1px solid #4c6477;
  border-radius: 50%;
  background: #243848;
}

.zone.is-active {
  z-index: 2;
  transform: translate(-50%, -50%) scale(1.045);
  border-color: rgba(73, 185, 255, 0.48);
  background: rgba(10, 32, 51, 0.96);
  box-shadow: 0 0 28px rgba(25, 148, 224, 0.16), inset 0 0 20px rgba(73, 185, 255, 0.035);
}

.zone.is-active .zone__number {
  color: var(--blue);
}

.zone.is-active .zone__state {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(73, 185, 255, 0.08), 0 0 12px rgba(73, 185, 255, 0.8);
  animation: glow-pulse 1.2s infinite;
}

.zone.is-complete {
  border-color: rgba(84, 230, 164, 0.25);
}

.zone.is-complete .zone__state {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 10px rgba(84, 230, 164, 0.5);
}

.zone.has-warning {
  border-color: rgba(245, 189, 102, 0.36);
  background: rgba(40, 34, 26, 0.92);
}

.zone.has-warning .zone__state {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 12px rgba(245, 189, 102, 0.5);
}

.zone--platform { top: 11.5%; left: 50%; }
.zone--modules { top: 23.5%; left: 80.5%; }
.zone--install { top: 53.2%; left: 89%; }
.zone--configs { top: 83.5%; left: 73%; width: 136px; }
.zone--logs { top: 88%; left: 40%; }
.zone--services { top: 69%; left: 13.5%; }
.zone--transport { top: 26.5%; left: 16%; }

.radar-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(5, 16, 28, 0.36);
}

.radar-stats > div {
  display: grid;
  gap: 7px;
  padding: 20px 25px;
  border-right: 1px solid var(--line);
}

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

.radar-stats small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.radar-stats strong {
  font-size: 22px;
}

.radar-stats em {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.progress-panel {
  padding: 25px 24px;
}

.progress-overview {
  display: flex;
  align-items: center;
  gap: 19px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.progress-ring {
  --progress: 0;
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--blue) calc(var(--progress) * 1%), rgba(91, 128, 155, 0.13) 0);
  box-shadow: 0 0 28px rgba(39, 157, 230, 0.08);
}

.progress-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #0b1c2e;
  box-shadow: inset 0 0 20px rgba(7, 17, 31, 0.8);
}

.progress-ring__inner {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.progress-ring strong {
  font-size: 24px;
  letter-spacing: -0.05em;
}

.progress-ring span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-overview__copy {
  min-width: 0;
}

.progress-overview h2 {
  font-size: 18px;
}

.progress-overview p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.stage-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.stage-list li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 51px;
  padding: 5px 3px;
  color: #6f879b;
  transition: color 0.3s ease;
}

.stage-list li::before {
  content: "";
  position: absolute;
  top: 35px;
  bottom: -16px;
  left: 10px;
  width: 1px;
  background: rgba(105, 147, 178, 0.13);
}

.stage-list li:last-child::before {
  display: none;
}

.stage-list__marker {
  position: relative;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(106, 143, 170, 0.28);
  border-radius: 50%;
  background: #0a1929;
}

.stage-list__marker::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4c6579;
}

.stage-list li > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.stage-list strong {
  font-size: 11px;
  font-weight: 650;
}

.stage-list small {
  font-size: 9px;
}

.stage-list em {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-style: normal;
}

.stage-list li.is-active {
  color: #dbefff;
}

.stage-list li.is-active .stage-list__marker {
  border-color: rgba(73, 185, 255, 0.65);
  box-shadow: 0 0 0 5px rgba(73, 185, 255, 0.055);
}

.stage-list li.is-active .stage-list__marker::after {
  background: var(--blue);
  box-shadow: 0 0 10px rgba(73, 185, 255, 0.8);
  animation: glow-pulse 1.2s infinite;
}

.stage-list li.is-complete {
  color: #91b6a9;
}

.stage-list li.is-complete .stage-list__marker {
  border-color: rgba(84, 230, 164, 0.45);
}

.stage-list li.is-complete .stage-list__marker::after {
  width: 7px;
  height: 4px;
  transform: translateY(-1px) rotate(-45deg);
  border-bottom: 1.5px solid var(--green);
  border-left: 1.5px solid var(--green);
  border-radius: 0;
  background: transparent;
}

.stage-list li.has-warning {
  color: #e5c38d;
}

.stage-list li.has-warning .stage-list__marker {
  border-color: rgba(245, 189, 102, 0.45);
}

.stage-list li.has-warning .stage-list__marker::after {
  background: var(--amber);
}

.event-feed {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(127, 169, 199, 0.12);
  border-radius: 15px;
  background: rgba(4, 14, 24, 0.48);
}

.event-feed__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  color: #70899e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-feed__pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: glow-pulse 1.3s infinite;
}

.event-feed__items {
  display: grid;
  min-height: 57px;
  align-content: end;
  gap: 6px;
}

.event-feed__placeholder,
.event-item {
  margin: 0;
  color: #7790a5;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  line-height: 1.45;
}

.event-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px;
  animation: log-in 0.35s both;
}

.event-item time {
  color: #4c687e;
}

.event-item.is-success span {
  color: #8bcbb0;
}

.event-item.is-warning span {
  color: #e2bd83;
}

.result-section {
  padding-top: 14px;
}

.result-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0 10px;
}

.result-heading h2 {
  margin: 18px 0 7px;
  font-size: clamp(28px, 4.6vw, 48px);
  letter-spacing: -0.045em;
}

.result-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.result-score {
  display: grid;
  min-width: 190px;
  justify-items: end;
  padding-bottom: 3px;
}

.result-score small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-score strong {
  margin-top: 4px;
  color: #ffd18b;
  font-size: 38px;
  letter-spacing: -0.05em;
}

.result-score strong span {
  color: #657e93;
  font-size: 14px;
}

.result-score em {
  color: #d8b883;
  font-size: 10px;
  font-style: normal;
}

.result-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
}

.findings-preview {
  padding-bottom: 25px;
}

.findings-preview__count {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(245, 189, 102, 0.22);
  border-radius: 13px;
  background: rgba(245, 189, 102, 0.07);
  color: var(--amber);
  font-size: 16px;
  font-weight: 800;
}

.finding {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 32px;
  gap: 15px;
  align-items: start;
  margin: 16px 25px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 16, 28, 0.42);
}

.finding__level {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.finding__level--high {
  background: rgba(255, 123, 123, 0.11);
  color: #ff9b9b;
}

.finding__level--medium {
  background: rgba(245, 189, 102, 0.11);
  color: #f2ca8a;
}

.finding__level--low {
  background: rgba(73, 185, 255, 0.1);
  color: #8bd5ff;
}

.finding strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
}

.masked-text {
  position: relative;
  max-width: 450px;
  margin: 8px 0 0;
  overflow: hidden;
  color: #758ca0;
  filter: blur(4px);
  font-size: 10px;
  line-height: 1.55;
  opacity: 0.7;
  user-select: none;
}

.finding__lock {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: rgba(116, 151, 179, 0.08);
  color: #667f94;
}

.finding__lock svg {
  width: 15px;
}

.report-includes {
  margin: 19px 25px 0;
  padding: 17px 19px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(73, 185, 255, 0.07), rgba(87, 242, 220, 0.035));
  color: var(--muted-strong);
  font-size: 11px;
}

.report-includes > span {
  color: #cfeeff;
  font-weight: 700;
}

.report-includes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 10px 0 0;
  padding: 0;
  list-style-position: inside;
}

.lead-card {
  position: relative;
  padding: 27px;
}

.lead-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(73, 185, 255, 0.24);
  border-radius: 14px;
  background: rgba(73, 185, 255, 0.08);
  color: #8fd8ff;
}

.lead-card__icon svg {
  width: 24px;
}

.lead-card h2 {
  margin: 19px 0 7px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.lead-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.lead-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.lead-form > label:not(.checkbox) {
  display: grid;
  gap: 8px;
}

.lead-form label > span:first-child {
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead-form label em {
  color: var(--blue);
  font-style: normal;
}

.lead-form label small {
  margin-left: 5px;
  color: #637c92;
  font-size: 8px;
  font-weight: 500;
  text-transform: none;
}

.lead-form input:not([type="checkbox"]) {
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(125, 170, 202, 0.17);
  border-radius: 12px;
  background: rgba(5, 16, 27, 0.52);
  font-size: 13px;
}

.lead-form input:not([type="checkbox"]):focus {
  border-color: rgba(73, 185, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(73, 185, 255, 0.055);
}

.checkbox {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #849caf;
  cursor: pointer;
  font-size: 10px;
  line-height: 1.45;
}

.checkbox input {
  position: absolute;
  opacity: 0;
}

.checkbox__control {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(129, 173, 203, 0.28);
  border-radius: 5px;
  background: rgba(5, 16, 27, 0.52);
}

.checkbox__control svg {
  width: 13px;
  opacity: 0;
}

.checkbox input:checked + .checkbox__control {
  border-color: var(--blue);
  background: var(--blue-strong);
  color: white;
}

.checkbox input:checked + .checkbox__control svg {
  opacity: 1;
}

.checkbox input:focus-visible + .checkbox__control {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.lead-form .field-error {
  padding: 0;
}

.lead-form__note {
  margin: -4px 0 0;
  color: #60778b;
  font-size: 9px;
  text-align: center;
}

.lead-success {
  display: none;
  min-height: 290px;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.lead-success.is-visible {
  display: grid;
  animation: section-in 0.5s both;
}

.lead-success > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: rgba(84, 230, 164, 0.08);
  color: var(--green);
}

.lead-success svg {
  width: 31px;
}

.lead-success h3 {
  margin: 18px 0 7px;
  font-size: 20px;
}

.lead-success p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

@keyframes signal {
  0% { transform: scale(0.65); opacity: 0.8; }
  85%, 100% { transform: scale(1.65); opacity: 0; }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

@keyframes radar-turn {
  to { transform: rotate(360deg); }
}

@keyframes hub-pulse {
  0% { transform: scale(0.88); opacity: 0; }
  25% { opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes dash-flow {
  to { stroke-dashoffset: -22; }
}

@keyframes section-in {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes log-in {
  from { transform: translateX(-6px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes zone-wave {
  0% {
    transform: translate(-50%, -50%) scale(0.82);
    border-color: rgba(73, 185, 255, 0.75);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.18);
    border-color: rgba(73, 185, 255, 0);
    opacity: 0;
  }
}

@keyframes danger-shimmer {
  0%, 72%, 100% { background-position: 0% 50%; }
  84% { background-position: 100% 50%; }
}

@keyframes danger-pulse {
  0%, 70%, 100% {
    transform: rotate(7.5deg) scale(1);
    filter: brightness(1);
  }
  78% {
    transform: rotate(7.25deg) scale(1.025);
    filter: brightness(1.28);
  }
  82% {
    transform: rotate(7.65deg) scale(0.995);
    filter: brightness(1.05);
  }
  87% {
    transform: rotate(7.5deg) scale(1.012);
    filter: brightness(1.18);
  }
}

@keyframes danger-glitch-top {
  0%, 75%, 80%, 84%, 100% {
    clip-path: inset(0 0 100% 0);
    transform: translate(0);
    opacity: 0;
  }
  76% {
    clip-path: inset(9% 0 58% 0);
    transform: translate(-4px, -1px);
    opacity: 0.72;
  }
  78% {
    clip-path: inset(46% 0 31% 0);
    transform: translate(3px, 1px);
    opacity: 0.58;
  }
  82% {
    clip-path: inset(18% 0 66% 0);
    transform: translate(-2px);
    opacity: 0.5;
  }
}

@keyframes danger-glitch-bottom {
  0%, 76%, 81%, 85%, 100% {
    clip-path: inset(100% 0 0 0);
    transform: translate(0);
    opacity: 0;
  }
  77% {
    clip-path: inset(63% 0 12% 0);
    transform: translate(4px, 1px);
    opacity: 0.45;
  }
  79% {
    clip-path: inset(35% 0 45% 0);
    transform: translate(-3px, -1px);
    opacity: 0.52;
  }
  83% {
    clip-path: inset(76% 0 6% 0);
    transform: translate(2px);
    opacity: 0.4;
  }
}

@media (max-width: 1040px) {
  .scanner-layout,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .progress-panel {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 24px;
    align-items: start;
  }

  .progress-overview {
    border-bottom: 0;
  }

  .stage-list {
    margin-top: 0;
  }

  .event-feed {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    padding-block: 18px;
  }

  .brand__text small {
    display: none;
  }

  .header-status {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .hero {
    min-height: 560px;
    padding-block: 60px 75px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero h1 .hero__danger-word {
    font-size: 0.84em;
    letter-spacing: -0.075em;
  }

  .hero__copy > p {
    font-size: 15px;
  }

  .start-form {
    grid-template-columns: 1fr;
    padding: 8px;
    border-radius: 17px;
  }

  .url-field {
    padding-inline: 8px;
  }

  .trust-row {
    display: grid;
    justify-content: start;
    gap: 10px;
    text-align: left;
  }

  .scanner-toolbar {
    align-items: flex-start;
    padding-block: 14px;
  }

  .scanner-toolbar__right {
    align-items: flex-end;
    flex-direction: column;
  }

  .demo-badge {
    min-height: 28px;
    padding-inline: 9px;
    font-size: 9px;
  }

  .panel {
    border-radius: 20px;
  }

  .panel-heading {
    padding: 20px 19px 0;
  }

  .panel-heading h2 {
    font-size: 17px;
  }

  .radar {
    width: 100%;
    max-width: 560px;
    margin-top: 8px;
    margin-bottom: 0;
    transform: none;
  }

  .radar__hub {
    width: 96px;
    height: 96px;
  }

  .radar__hub-letter {
    width: 27px;
    height: 27px;
    font-size: 14px;
  }

  .radar__hub strong {
    max-width: 75px;
    font-size: 9px;
  }

  .radar__hub small {
    max-width: 74px;
    font-size: 7px;
  }

  .zone {
    width: 92px;
    min-height: 53px;
    padding: 8px 8px 8px 27px;
    border-radius: 11px;
  }

  .zone__number {
    top: 10px;
    left: 9px;
    font-size: 7px;
  }

  .zone strong {
    font-size: 8px;
  }

  .zone small {
    font-size: 7px;
  }

  .zone__state {
    top: 8px;
    right: 8px;
    width: 5px;
    height: 5px;
  }

  .zone--modules { left: 79%; }
  .zone--install { left: 86%; }
  .zone--configs { left: 72%; }
  .zone--services { left: 15%; }
  .zone--transport { left: 18%; }
  }

  .radar-stats > div {
    padding: 16px 13px;
  }

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

  .radar-stats strong {
    font-size: 18px;
  }

  .progress-panel {
    display: block;
    padding: 20px 18px;
  }

  .progress-overview {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .progress-ring {
    width: 92px;
    height: 92px;
  }

  .stage-list {
    margin-top: 16px;
  }

  .event-feed {
    margin-top: 18px;
  }

  .result-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-score {
    min-width: 0;
    justify-items: start;
  }

  .finding {
    grid-template-columns: 72px minmax(0, 1fr);
    margin-inline: 14px;
    padding: 14px;
  }

  .finding__lock {
    display: none;
  }

  .report-includes {
    margin-inline: 14px;
  }

  .lead-card {
    padding: 22px;
  }

}

@media (max-width: 430px) {
  .brand__text strong {
    font-size: 12px;
  }

  .header-status {
    gap: 6px;
  }

  .header-status__dot {
    width: 6px;
    height: 6px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .scanner-toolbar {
    gap: 8px;
  }

  .target strong {
    display: block;
    max-width: 155px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .demo-badge {
    display: none;
  }

  .radar-panel .panel-heading {
    padding-bottom: 2px;
  }

  .radar {
    margin-top: 0;
  }

  .zone {
    width: 84px;
    min-height: 49px;
    padding-left: 24px;
  }

  .zone small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .hero h1 .hero__danger-word::before,
  .hero h1 .hero__danger-word::after {
    display: none;
  }
}
