.detail-hero-band {
  background: radial-gradient(ellipse at 77% 33%, #172841 0, #0d141f 34%, transparent 72%);
}
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(28px, 6vw, 100px);
  padding-block: clamp(48px, 7vw, 105px) clamp(35px, 5vw, 76px);
}
.detail-intro .eyebrow { color: #b8c9e2; margin-bottom: 20px; }
.detail-intro h1 {
  font-size: clamp(55px, 6.35vw, 106px);
  font-weight: 780;
  line-height: .94;
  letter-spacing: -.076em;
}
.detail-intro h1 span { display: block; color: var(--accent); }
.detail-lead {
  color: #c5cfe0;
  max-width: 40ch;
  margin-top: 23px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.detail-actions .button { border-radius: 99px; padding-inline: 16px; }
.detail-jump { border-block: 1px solid var(--line); }
.detail-jump nav { display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 3.5vw, 48px); }
.detail-jump a { padding-block: 15px; color: var(--muted); font-size: 14px; }
.detail-jump a:hover, .detail-film a:hover { color: var(--accent); }

.detail-section { padding-block: clamp(44px, 6.6vw, 94px); }
.detail-section h2 { font-size: clamp(37px, 5.15vw, 69px); text-wrap: balance; }
.detail-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(22px, 6vw, 100px); }
.detail-prose, .detail-steps { max-width: 67ch; color: #c1ccde; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.72; }
.detail-prose p + p { margin-top: 13px; }
.detail-prose h3 { color: var(--text); font-size: clamp(22px, 2.35vw, 30px); line-height: 1.16; letter-spacing: -.043em; }
.detail-prose h3:first-child { margin: 3px 0 13px; }
.detail-prose h3:not(:first-child) { margin: 25px 0 12px; }
.detail-prose a, .demo-live a { color: var(--accent); text-decoration: underline; text-decoration-color: #75adff7d; text-underline-offset: .18em; }
.detail-prose a:hover, .demo-live a:hover { text-decoration-color: currentColor; }
.detail-list { margin: 14px 0 0; padding-inline-start: 1.1em; }
.detail-list li { padding-inline-start: .12em; margin-bottom: 5px; }
.detail-list li::marker, .detail-steps li::marker { color: var(--accent); }
.detail-band { border-block: 1px solid var(--line); background: #0f141d; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(22px, 3.1vw, 41px); }
.detail-card {
  border: 1px solid #293b55;
  border-radius: 8px;
  padding: clamp(19px, 2.5vw, 32px);
  background: linear-gradient(142deg, #152134, #101722 74%);
}
.detail-card h3 { font-size: clamp(21px, 2.15vw, 29px); line-height: 1.12; letter-spacing: -.047em; }
.detail-card p { margin-top: 12px; color: #c1ccde; font-size: 16px; line-height: 1.6; }
.detail-steps { margin: 0; padding-inline-start: 1.5em; }
.detail-steps li { padding: 0 0 16px .4em; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.detail-steps li:last-child { margin-bottom: 0; }
.detail-contact { padding-bottom: clamp(38px, 5.6vw, 81px); }
.detail-page-ai .detail-contact { padding-top: clamp(40px, 5.6vw, 79px); }
.detail-contact h2 { font-size: clamp(37px, 5.4vw, 77px); text-wrap: balance; }
.detail-contact .contact-content p { margin-top: 14px; font-size: 17px; }

.demo { min-width: 0; scroll-margin-top: 20px; }
.demo-panel {
  padding: clamp(16px, 2.5vw, 30px);
  border: 1px solid #365077;
  border-radius: 13px;
  background: linear-gradient(147deg, #17283f, #101824 74%);
  box-shadow: 0 28px 76px #02060f73;
}
.demo-header { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #3d567d73; }
.demo-icon {
  position: relative;
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #102039;
  background: var(--accent);
}
.demo-icon span {
  margin-bottom: 2px;
  width: 17px;
  height: 13px;
  border: 1.6px solid;
  border-radius: 4px;
}
.demo-icon span::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 15px;
  width: 5px;
  height: 5px;
  border-left: 1.6px solid;
  border-bottom: 1.6px solid;
  background: var(--accent);
  transform: skewY(-35deg);
}
.demo-header h2 { font-size: clamp(17px, 2vw, 24px); line-height: 1.1; letter-spacing: -.034em; }
.demo-header p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.demo-exchange { display: grid; align-content: start; gap: 12px; min-height: 170px; padding-block: 19px 15px; font-size: 15px; line-height: 1.5; }
.demo-question, .demo-answer { padding: 11px 13px; border-radius: 11px; }
.demo-question { justify-self: end; color: #0a172b; background: #91baff; border-end-end-radius: 2px; }
.demo-answer { justify-self: start; max-width: 45ch; color: #e0e8f7; background: #25354d; border-end-start-radius: 2px; }
.demo-questions { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 5px; }
.demo-questions button {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #52688b;
  border-radius: 99px;
  color: #d5e2f7;
  background: #132136;
  cursor: pointer;
  font-size: 13px;
}
.demo-questions button:hover, .demo-questions button[aria-pressed=true] { border-color: var(--accent); color: #a4c9ff; }
.demo-live { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 13px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.detail-film { min-width: 0; margin: 0; }
.detail-film-media {
  position: relative;
  aspect-ratio: 1.58;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #95b6e34a;
  border-radius: 8px;
  background: #0b1320;
  box-shadow: 0 26px 70px #03050b76;
}
.detail-film-media img, .detail-film-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.detail-film-media img { object-fit: cover; object-position: center; filter: saturate(.84); }
.detail-film-media::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(0deg, #080d1a80, transparent 65%);
  pointer-events: none;
}
.detail-film-media:has(iframe)::after { content: none; }
.detail-film-play {
  position: absolute;
  z-index: 1;
  left: clamp(11px, 2.6vw, 34px);
  bottom: clamp(11px, 2.6vw, 34px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 15px 5px 5px;
  border: 1px solid #c1d8fa72;
  border-radius: 99px;
  background: #080f1bd9;
  font-size: 14px;
  font-weight: 600;
}
.detail-play-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #0b1628; background: var(--accent); }
.detail-film figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: #c7d1e2; font-size: 13px; }
.detail-film figcaption a { color: var(--muted); }

@media (max-width: 920px) {
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  .detail-hero, .detail-split { grid-template-columns: 1fr; }
  .detail-hero { padding-block: 38px 28px; }
  .detail-intro h1 { font-size: clamp(48px, 12vw, 80px); }
  .detail-jump a { padding-block: 12px; font-size: 13px; }
  .detail-section h2 { text-wrap: pretty; }
}
@media (max-width: 510px) {
  .detail-grid { grid-template-columns: 1fr; }
  .demo-exchange { min-height: 160px; }
}
