.ux-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  padding-top: 70px;
  padding-bottom: 92px;
  border-top: 1px solid var(--line, #2b2b3a);
}

.ux-story-copy h2 {
  max-width: 690px;
  margin: 14px 0 18px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ux-story-copy > p:not(.section-kicker) {
  max-width: 610px;
  margin: 0;
  color: var(--muted, #b2b2c7);
  font-size: 17px;
  line-height: 1.58;
}

.ux-story-steps {
  display: grid;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ux-story-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #eeedf7;
  font-size: 14px;
  font-weight: 760;
}

.ux-story-steps span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff28;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff4c5728, #9b5cff32, #3db7ff24);
  color: #fff;
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ux-story-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #38384a;
  border-radius: 26px;
  background: #f8f8fb;
  box-shadow: 0 32px 90px #0008;
}

.ux-story-media > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ux-story-media > img[src*="youtube-conversation-three-step"] {
  object-fit: contain;
  background: #f8f9fb;
}

.ux-story-media figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border: 1px solid #ffffff25;
  border-radius: 999px;
  background: #08080edb;
  color: #fff;
  font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.ux-story-media--compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  background: #2e2e40;
}

.ux-story-media--compare > img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  background: #09090f;
}

.ux-boundary-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 330px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #38384a;
  border-radius: 26px;
  background:
    radial-gradient(circle at 15% 15%, #ff3b8d25, transparent 28%),
    radial-gradient(circle at 86% 82%, #3db7ff1e, transparent 33%),
    #101019;
  box-shadow: 0 32px 90px #0007;
}

.ux-boundary-node {
  min-width: 0;
  padding: 20px 14px;
  border: 1px solid #353548;
  border-radius: 17px;
  background: #171722;
  text-align: center;
}

.ux-boundary-node span {
  display: block;
  margin-bottom: 10px;
  color: #57d7ff;
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ux-boundary-node strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.ux-boundary-map > i {
  color: #ff3b8d;
  font-style: normal;
}

.ux-scanbar {
  margin: 0 0 54px;
  padding: 22px;
  border: 1px solid #30303f;
  border-radius: 20px;
  background: linear-gradient(145deg, #15151f, #0e0e15);
}

.ux-scanbar > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan, #57d7ff);
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ux-scanbar > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.ux-scanbar a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #d9d7e4;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.ux-scanbar a:hover,
.ux-scanbar a:focus-visible {
  border-color: #3d3d52;
  background: #ffffff08;
}

.ux-scanbar a span {
  flex: 0 0 auto;
  color: var(--pink, #ff3b8d);
  font: 800 9px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.guide-content .ux-step-list,
.guide-content .ux-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
  counter-reset: ux-step;
}

.guide-content .ux-step-list li,
.guide-content .ux-check-list li {
  position: relative;
  min-height: 132px;
  margin: 0;
  padding: 46px 18px 18px;
  border: 1px solid #30303f;
  border-radius: 17px;
  background: linear-gradient(145deg, #15151f, #0f0f17);
  color: #d4d2df;
  font-size: 15px;
  line-height: 1.52;
}

.guide-content .ux-step-list li {
  counter-increment: ux-step;
}

.guide-content .ux-step-list li::before,
.guide-content .ux-check-list li::before {
  position: absolute;
  top: 15px;
  left: 18px;
  color: var(--cyan, #57d7ff);
  font: 900 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.guide-content .ux-step-list li::before {
  content: "0" counter(ux-step);
}

.guide-content .ux-check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3b8d, #9b5cff, #3db7ff);
  color: #fff;
}

.ux-faq {
  margin: 10px 0;
  border: 1px solid #30303f;
  border-radius: 15px;
  background: #111119;
}

.ux-faq summary {
  position: relative;
  padding: 18px 52px 18px 18px;
  color: #f7f6fc;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.ux-faq summary::-webkit-details-marker {
  display: none;
}

.ux-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  translate: 0 -50%;
  color: var(--pink, #ff3b8d);
  font-size: 24px;
}

.ux-faq[open] summary::after {
  content: "–";
}

.ux-faq > :not(summary) {
  margin: 0;
  padding: 0 18px 18px;
}

.ux-ready .guide-hero {
  padding-bottom: 52px;
}

.ux-ready .guide-hero .hero-copy {
  max-width: 720px;
}

.ux-ready .guide-hero::after {
  background-color: #f8f9fb;
  background-image:
    linear-gradient(180deg, #ffffff12, #eceef422),
    var(--ux-story-hero);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 900px) {
  .ux-story {
    grid-template-columns: 1fr;
  }

  .ux-story-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.55fr);
    column-gap: 24px;
  }

  .ux-story-copy .section-kicker,
  .ux-story-copy h2,
  .ux-story-copy > p:not(.section-kicker) {
    grid-column: 1;
  }

  .ux-story-steps {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .ux-story {
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 62px;
  }

  .ux-story-copy {
    display: block;
  }

  .ux-story-copy h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .ux-story-copy > p:not(.section-kicker) {
    font-size: 16px;
  }

  .ux-story-steps {
    margin-top: 24px;
  }

  .ux-story-media {
    width: 100%;
    border-radius: 18px;
  }

  .ux-story-media > img {
    aspect-ratio: auto;
    object-fit: contain;
  }

  .ux-story-media:not(.ux-story-media--compare) > img[src*="youtube-conversation-three-step"] {
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center;
  }

  .ux-story-media--compare {
    grid-template-columns: 1fr;
  }

  .ux-story-media--compare > img {
    aspect-ratio: auto;
    object-fit: contain;
  }

  .ux-story-media figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    text-align: center;
  }

  .ux-boundary-map {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
  }

  .ux-boundary-map > i {
    rotate: 90deg;
    text-align: center;
  }

  .ux-scanbar {
    margin-bottom: 38px;
    padding: 16px;
  }

  .ux-scanbar > div,
  .guide-content .ux-step-list,
  .guide-content .ux-check-list {
    grid-template-columns: 1fr;
  }

  .guide-content .ux-step-list li,
  .guide-content .ux-check-list li {
    min-height: 0;
    padding: 42px 16px 16px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ux-story *,
  .ux-scanbar * {
    scroll-behavior: auto !important;
  }
}
