/* Detection introduction uses the existing blue-gray canvas and type. */
.detection-intro {
  --intro-ink: #f6f8fd;
  --intro-muted: #b8c9dc;
  color: var(--intro-ink);
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(70px, 12vh, 150px) 0 58px;
}
.intro-content { text-align: center; position: relative; z-index: 1; font-size: 16px; line-height: 1.6; }
.detection-intro h1 {
  margin: 0;
  font-size: min(42px, 10.5vw);
  line-height: 1.5;
  text-wrap: balance;
}
.detection-intro .intro-tagline {
  margin: 8px 0 0;
  font-size: clamp(18px, 2vw, 20px);
  color: #d4deea;
  line-height: 1.5;
  text-wrap: balance;
}
.intro-description {
  max-width: 720px;
  margin: clamp(20px, 3vh, 32px) auto 0;
  color: var(--intro-muted);
  text-wrap: balance;
}
.intro-description p { margin: 0; }
.intro-description p + p { margin-top: 4px; }
.detection-intro .intro-start {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  margin-top: clamp(34px, 6vh, 60px);
  padding: 13px 17px 13px 24px;
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  color: #18232f;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 5px 25px #0003;
}
.intro-start:focus-visible { outline: 3px solid #a8d3ff; outline-offset: 5px; }
.intro-arrow {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-left: 1px solid #d9dfe6;
  padding-left: 12px; box-sizing: content-box;
  font-size: 21px; font-weight: 400; line-height: 1;
}
.intro-preview {
  margin: clamp(85px, 14vh, 160px) auto 0;
  border: 1px solid rgb(199 214 233 / 27%);
  border-radius: 20px;
  background: #16191f;
  overflow: hidden;
  box-shadow: 0 20px 56px rgb(8 15 24 / 25%);
  text-align: left;
}
.intro-preview-head {
  min-height: 55px; display: flex; align-items: center; gap: 11px; padding: 0 24px;
  color: #e6ecf4; background: #323b49; border-bottom: 1px solid #465364;
  font-size: 14px;
}
.intro-preview-mark { width: 9px; height: 9px; border-radius: 50%; background: #a6c9f1; box-shadow: 0 0 14px #96c9ff; }
.intro-preview-body { padding: clamp(25px, 4vw, 44px); }
.intro-preview-copy h2 { margin: 0; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.4; }
.intro-preview-copy p { color: var(--intro-muted); margin: 8px 0 0; font-size: 16px; line-height: 1.6; }
.intro-stages { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.intro-stages > div { display: grid; gap: 7px; min-width: 0; padding: 17px; border: 1px solid #36495e; border-radius: 13px; background: #1d2a39; }
.intro-stage-symbol { color: #a6c9f1; font-size: 12px; font-variant-numeric: tabular-nums; }
.intro-stages strong { font-size: 15px; }
.intro-stages small { color: var(--intro-muted); font-size: 12px; }
@media (hover:hover) {
  .detection-intro .intro-start { transition: transform .2s, box-shadow .2s; }
  .detection-intro .intro-start:hover { transform: translateY(-2px); box-shadow: 0 8px 35px #9ec8ff55; }
}
@media (prefers-reduced-motion:no-preference) {
  .detection-intro.is-launching .intro-start { animation: intro-button-launch .68s ease both; pointer-events: none; }
  .detection-intro.is-launching .intro-content { animation: intro-content-launch .68s ease both; }
  .detection-intro.is-launching .intro-preview { animation: intro-preview-launch .68s ease both; }
  @keyframes intro-button-launch {
    0% { transform: scale(1); box-shadow: 0 0 0 0 #9dcaff88; }
    40% { transform: scale(.96); box-shadow: 0 0 0 16px #9dcaff44, 0 0 48px #b0d7ff99; }
    100% { transform: scale(1.08); opacity: 0; box-shadow: 0 0 0 55px #9dcaff00, 0 0 70px #b0d7ff00; }
  }
  @keyframes intro-content-launch { 60% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }
  @keyframes intro-preview-launch { 100% { opacity: 0; transform: translateY(24px); } }
}
@media (max-width:650px) {
  .detection-intro { padding-top: 70px; }
  .intro-preview { margin-top: 88px; }
  .intro-preview-head { min-height: 48px; padding-inline: 18px; }
  .intro-preview-body { padding: 22px 18px; }
  .intro-stages { gap: 7px; margin-top: 20px; }
  .intro-stages > div { padding: 11px 9px; }
  .intro-stages strong { font-size: 13px; }
  .intro-stages small { font-size: 11px; }
}
