:root {
  color-scheme: dark;
  --bg: #050608;
  --panel: rgba(16, 18, 24, 0.76);
  --panel-strong: #111318;
  --ink: #f5f7fb;
  --muted: #969ba5;
  --dim: #676c76;
  --blue: #0a84ff;
  --cyan: #64d2ff;
  --violet: #8e8cff;
  --line: rgba(255, 255, 255, 0.09);
  --blue-line: rgba(125, 196, 255, 0.16);
  --page-pad: clamp(18px, 4vw, 58px);
  --max-width: 1380px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

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

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

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 72%, rgba(10, 132, 255, 0.14), transparent 25%),
    radial-gradient(circle at 74% 78%, rgba(142, 140, 255, 0.07), transparent 22%),
    var(--bg);
}

.page-shell::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background-image:
    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: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%);
}

.site-header,
.site-footer,
.hero {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.site-header {
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding-top: max(14px, env(safe-area-inset-top));
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 20px;
  font-weight: 730;
  letter-spacing: -0.045em;
}

.brand strong {
  margin-left: 4px;
  color: var(--blue);
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #aeb3bc;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.01em;
  backdrop-filter: blur(18px);
}

.status-dot,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(10, 132, 255, 0.08), 0 0 16px rgba(10, 132, 255, 0.6);
}

.hero {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: calc(100svh - 158px);
  padding-top: clamp(40px, 8vh, 94px);
  padding-bottom: clamp(30px, 6vh, 70px);
  text-align: center;
}

.ambient {
  position: absolute;
  z-index: -2;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.13;
  pointer-events: none;
}

.ambient-one {
  top: 4%;
  left: 2%;
  background: var(--blue);
}

.ambient-two {
  right: -7%;
  bottom: -2%;
  background: var(--violet);
}

.hero-copy {
  position: relative;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #8b8e95;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.2em;
}

h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(58px, 7.7vw, 122px);
  font-weight: 780;
  line-height: 0.91;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

h1 span {
  display: inline-block;
  padding-right: 0.06em;
  background: linear-gradient(90deg, #ffffff 0%, #c3e2ff 46%, #bba9ff 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 760px;
  margin: 24px auto 0;
  color: #aeb1b8;
  font-size: clamp(17px, 1.38vw, 21px);
  line-height: 1.48;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  color: #737780;
  font-size: 12px;
  font-weight: 620;
}

.status-line i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #4e535c;
}

.radar-stage {
  position: relative;
  width: min(440px, 78vw);
  min-height: 0;
  aspect-ratio: 1;
  margin-top: clamp(12px, 2vh, 22px);
  padding: 0;
}

.radar {
  position: absolute;
  inset: 0;
  width: 100%;
  aspect-ratio: 1;
  transform: none;
  border-radius: 50%;
  pointer-events: none;
  transition: translate 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.radar-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.2), rgba(41, 151, 255, 0.055) 34%, transparent 66%);
  box-shadow: 0 0 110px rgba(10, 132, 255, 0.11);
}

.ring,
.cross,
.sweep,
.origin,
.signal {
  position: absolute;
}

.ring {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(125, 196, 255, 0.145);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one { width: 29%; height: 29%; }
.ring-two { width: 54%; height: 54%; }
.ring-three { width: 80%; height: 80%; }

.cross {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cross-horizontal {
  width: 74%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 132, 255, 0.14), transparent);
}

.cross-vertical {
  width: 1px;
  height: 74%;
  background: linear-gradient(180deg, transparent, rgba(10, 132, 255, 0.14), transparent);
}

.sweep {
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 76%, rgba(10, 132, 255, 0.04) 78%, rgba(10, 132, 255, 0.3) 89%, transparent 100%);
  transform-origin: 50% 50%;
  transform: rotate(0deg) translateZ(0);
  -webkit-transform: rotate(0deg) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  animation: scan 7s linear infinite;
  -webkit-animation: scan 7s linear infinite;
}

.origin {
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(10, 132, 255, 0.06), 0 0 26px rgba(10, 132, 255, 0.5);
}

.signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(100, 210, 255, 0.05), 0 0 18px rgba(100, 210, 255, 0.45);
  animation: signal 3.8s ease-in-out infinite;
}

.signal-one { top: 43%; left: 69%; }
.signal-two { top: 66%; left: 34%; animation-delay: -1.4s; opacity: 0.58; }
.signal-three { top: 30%; left: 42%; animation-delay: -2.7s; opacity: 0.38; }

.signal-card {
  position: relative;
  z-index: 6;
  width: min(700px, calc(100vw - 32px));
  margin-inline: auto;
  padding: 22px 24px 20px;
  border: 1px solid var(--blue-line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014)), var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.43), 0 0 60px rgba(10, 132, 255, 0.05);
  text-align: left;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: reveal 0.85s 0.12s both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #7d828c;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.card-meta span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
}

.question {
  margin: 17px 0 14px;
  color: #e8ebf1;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 710;
  letter-spacing: -0.035em;
}

.answer-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.028);
}

.answer-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #d9efff;
  background: rgba(10, 132, 255, 0.15);
  font-size: 17px;
}

.answer-row small,
.answer-row strong {
  display: block;
}

.answer-row small {
  margin-bottom: 4px;
  color: #6e737d;
  font-size: 8px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.answer-row strong {
  color: #7dc4ff;
  font-size: 13px;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.source-row span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  color: #6f747e;
  font-size: 9px;
  font-weight: 620;
}

.site-footer {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  color: #565b64;
  font-size: 12px;
}

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

@-webkit-keyframes scan {
  from { -webkit-transform: rotate(0deg) translateZ(0); }
  to { -webkit-transform: rotate(360deg) translateZ(0); }
}

@keyframes signal {
  0%, 100% { opacity: 0.2; transform: scale(0.72); }
  42%, 68% { opacity: 0.95; transform: scale(1); }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; }
  .launch-pill { min-height: 34px; padding-inline: 13px; font-size: 12px; }
  .hero { min-height: calc(100svh - 152px); padding-top: 30px; padding-bottom: 18px; }
  .eyebrow { margin-bottom: 14px; font-size: 10px; line-height: 1.45; }
  h1 { max-width: 570px; font-size: clamp(48px, 12.5vw, 74px); line-height: 0.95; letter-spacing: -0.058em; }
  .lead { max-width: 510px; margin-top: 18px; font-size: 17px; line-height: 1.5; }
  .status-line { font-size: 12px; line-height: 1.4; }
  .radar-stage { width: min(390px, 86vw); min-height: 0; padding: 0; }
  .radar { inset: 0; width: 100%; }
}

@media (max-width: 520px) {
  .site-header { padding-inline: 16px; }
  .brand { font-size: 18px; }
  .launch-pill { gap: 7px; }
  .hero { padding-inline: 14px; padding-top: 24px; }
  h1 { max-width: 390px; font-size: clamp(42px, 12.8vw, 58px); }
  .lead { max-width: 370px; font-size: 16px; line-height: 1.5; }
  .status-line { gap: 8px; font-size: 12px; }
  .radar-stage {
    width: min(360px, 86vw);
    max-width: none;
    min-height: 0;
    margin: 12px auto 0;
    padding: 0;
  }
  .radar { inset: 0; width: 100%; }
  .signal-card {
    width: calc(100vw - 32px);
    max-width: 398px;
    margin-right: auto;
    margin-left: auto;
    padding: 17px 16px 15px;
    border-radius: 20px;
  }
  .card-meta { font-size: 7.5px; letter-spacing: 0.1em; }
  .question { margin-top: 14px; font-size: 19px; }
  .answer-row { padding: 11px; }
  .source-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  .source-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 30px;
    padding: 4px 6px;
    text-align: center;
    white-space: nowrap;
    font-size: 8px;
  }
  .site-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 82px;
    padding: 18px 16px max(24px, env(safe-area-inset-bottom));
    text-align: center;
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  .launch-pill { font-size: 11px; }
  .status-line { flex-wrap: wrap; justify-content: center; }
  .radar-stage { width: min(296px, 84vw); margin-top: 10px; }
  .site-footer { align-items: center; justify-content: center; gap: 5px; text-align: center; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .hero { padding-top: 24px; padding-bottom: 18px; }
  h1 { font-size: clamp(54px, 6.5vw, 90px); }
  .lead { margin-top: 17px; }
  .radar-stage { width: min(330px, 46vh); min-height: 0; padding: 0; }
  .radar { inset: 0; width: 100%; }
}

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

.waapi-radar .sweep {
  animation: none;
  -webkit-animation: none;
}

.is-paused .sweep,
.is-paused .signal {
  animation-play-state: paused;
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .launch-pill,
  .signal-card { background: var(--panel-strong); }
}
