.guides-hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 70px;
  padding: 82px 0 96px;
}

.guides-hero h1 {
  max-width: 520px;
  margin: 18px 0 24px;
  font-size: clamp(54px, 7vw, 92px);
}

.guides-hero-copy > p:not(.section-kicker) {
  max-width: 510px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.guides-hero-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #353545;
  border-radius: 28px;
  background: #f8f9fb;
  box-shadow: 0 35px 100px #0009;
}

.guides-hero-image img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
}

.guides-hero-image figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 13px 16px;
  border: 1px solid #ffffff25;
  border-radius: 12px;
  background: #08080dcc;
  color: #fff;
  font: 800 10px ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-align: center;
  backdrop-filter: blur(12px);
}

.visual-walkthrough {
  padding: 108px 0 70px;
  border-top: 1px solid var(--line);
}

.walkthrough-heading {
  max-width: 720px;
  margin-bottom: 56px;
}

.walkthrough-heading h2,
.guide-outcomes h2,
.guides-cta h2 {
  margin: 14px 0 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.walkthrough-step {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 80px;
  min-height: 430px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.walkthrough-step.reverse {
  grid-template-columns: 1.28fr 0.72fr;
}

.walkthrough-step.reverse .step-copy {
  grid-column: 2;
  grid-row: 1;
}

.walkthrough-step.reverse .step-visual {
  grid-column: 1;
  grid-row: 1;
}

.step-copy span {
  color: var(--pink);
  font: 800 12px ui-monospace, monospace;
  letter-spacing: 0.14em;
}

.step-copy h3 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.step-copy p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.step-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #353545;
  border-radius: 28px;
  background: linear-gradient(145deg, #171722, #0d0d14);
  box-shadow: 0 26px 70px #0007;
}

.visual-browser-bar {
  display: flex;
  gap: 7px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.visual-browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #565567;
}

.video-frame {
  display: grid;
  place-items: center;
  height: 220px;
  background: radial-gradient(circle at 50% 50%, #f43b913b, transparent 42%), #09090f;
}

.video-frame b {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  padding-left: 5px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--coral), var(--pink));
  font-size: 24px;
  box-shadow: 0 0 55px #f43b9170;
}

.video-frame span {
  position: absolute;
  bottom: 72px;
  color: #c9c7d5;
  font-size: 12px;
}

.caption-strip {
  display: flex;
  gap: 7px;
  padding: 18px 24px;
}

.caption-strip i,
.answer-lines i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #3d3c4a;
}

.caption-strip i:nth-child(1) { width: 16%; }
.caption-strip i:nth-child(2) { width: 31%; }
.caption-strip i:nth-child(3) { width: 24%; }
.caption-strip i:nth-child(4) { width: 18%; }

.link-visual {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #865dff55, transparent 43%), #0e0e17;
}

.link-window {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(84%, 590px);
  padding: 24px;
  border: 1px solid #ffffff25;
  border-radius: 18px;
  background: #0b0b12e8;
  box-shadow: 0 22px 80px #0009;
}

.link-window small {
  grid-column: 1 / -1;
  color: #ff8dbf;
  font: 800 10px ui-monospace, monospace;
  letter-spacing: 0.13em;
}

.link-window strong {
  overflow: hidden;
  color: #e1dfeb;
  font: 700 15px ui-monospace, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-window b {
  padding: 9px 12px;
  border-radius: 10px;
  background: #865dff;
  font: 800 12px ui-monospace, monospace;
}

.chat-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 42px;
  background: radial-gradient(circle at 78% 65%, #57d7ff24, transparent 35%), #0e0e16;
}

.chat-bubble {
  width: fit-content;
  max-width: 88%;
  padding: 16px 19px;
  border: 1px solid #343443;
  border-radius: 18px;
  color: #dad8e4;
  font-size: 16px;
}

.url-bubble {
  color: var(--cyan);
  font: 700 13px ui-monospace, monospace;
}

.question-bubble {
  align-self: flex-end;
  background: linear-gradient(125deg, #f43b9126, #865dff2e);
  font-size: 20px;
  font-weight: 700;
}

.send-dot {
  display: grid;
  place-items: center;
  align-self: flex-end;
  width: 44px;
  height: 44px;
  margin-top: 10px;
  border-radius: 50%;
  background: #fff;
  color: #09090f;
  font-size: 22px;
  font-weight: 900;
}

.answer-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 48px;
  background: radial-gradient(circle at 30% 20%, #f43b9129, transparent 36%), #0e0e16;
}

.answer-lines {
  display: grid;
  gap: 12px;
}

.answer-lines i:nth-child(1) { width: 91%; }
.answer-lines i:nth-child(2) { width: 76%; }
.answer-lines i:nth-child(3) { width: 56%; }

.timestamp-pill,
.followup-pill {
  width: fit-content;
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
}

.timestamp-pill {
  border: 1px solid #57d7ff45;
  background: #57d7ff12;
  color: var(--cyan);
}

.followup-pill {
  align-self: flex-end;
  margin-top: 18px;
  background: linear-gradient(120deg, var(--pink), var(--violet));
  color: #fff;
}

.guide-outcomes {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.guide-outcomes h2 {
  margin-bottom: 50px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.outcome-card {
  overflow: hidden;
  border: 1px solid #30303f;
  border-radius: 24px;
  background: #101018;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.outcome-card:hover {
  transform: translateY(-4px);
  border-color: #666581;
}

.outcome-art {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 210px;
  padding: 26px;
  border-bottom: 1px solid #30303f;
}

.outcome-art b {
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -0.07em;
}

.outcome-art span {
  padding: 9px 11px;
  border: 1px solid #ffffff25;
  border-radius: 999px;
  background: #08080d99;
  font: 800 10px ui-monospace, monospace;
  letter-spacing: 0.1em;
}

.outcome-ask .outcome-art { color: #ff8dbf; background: radial-gradient(circle at 25% 30%, #f43b9152, transparent 38%), #18101a; }
.outcome-learn .outcome-art { color: #ae9cff; background: radial-gradient(circle at 30% 30%, #865dff58, transparent 38%), #151126; }
.outcome-check .outcome-art { color: #65dcff; background: radial-gradient(circle at 30% 30%, #57d7ff48, transparent 38%), #0d2028; }

.outcome-card h3,
.outcome-card p,
.outcome-card strong {
  margin-right: 26px;
  margin-left: 26px;
}

.outcome-card h3 {
  margin-top: 25px;
  margin-bottom: 8px;
  font-size: 25px;
}

.outcome-card p {
  margin-top: 0;
  margin-bottom: 22px;
  color: var(--muted);
}

.outcome-card strong {
  display: block;
  margin-bottom: 28px;
  color: var(--pink);
  font-size: 13px;
}

.guide-library {
  padding: 116px 0 82px;
  border-top: 1px solid var(--line);
}

.guide-library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 28px 70px;
  align-items: end;
  margin-bottom: 44px;
}

.guide-library-heading .section-kicker,
.guide-library-heading h2 {
  grid-column: 1;
}

.guide-library-heading h2 {
  max-width: 720px;
  margin: 8px 0 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.guide-library-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.guide-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-shelf {
  overflow: hidden;
  border: 1px solid #30303f;
  border-radius: 24px;
  background: linear-gradient(150deg, #171722, #0e0e15);
}

.guide-shelf-art {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 10px;
  height: 130px;
  padding: 28px;
  border-bottom: 1px solid #30303f;
  background:
    radial-gradient(circle at 14% 75%, #ff3b8d2e, transparent 36%),
    radial-gradient(circle at 88% 18%, #57d7ff27, transparent 34%),
    #0c0c14;
}

.guide-shelf-art span,
.guide-shelf-art b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #ffffff2b;
  border-radius: 14px;
  background: #171722;
  color: #fff;
  font: 850 13px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.guide-shelf-art i {
  height: 2px;
  background: linear-gradient(90deg, #ff3b8d, #9b5cff, #57d7ff);
  box-shadow: 0 0 18px #9b5cff66;
}

.guide-shelf > p,
.guide-shelf > h3,
.guide-shelf > nav {
  margin-inline: 24px;
}

.guide-shelf > p {
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--cyan);
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-shelf > h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.guide-shelf > nav {
  display: grid;
  margin-bottom: 22px;
}

.guide-shelf nav a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #292936;
  color: #c9c7d5;
  font-size: 13px;
  line-height: 1.35;
}

.guide-shelf nav a:hover,
.guide-shelf nav a:focus-visible {
  color: #fff;
}

.guide-shelf nav a span {
  color: var(--pink);
}

.guides-cta {
  padding: 110px 0 130px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.guides-cta .hero-actions {
  margin-top: 36px;
}

@media (max-width: 820px) {
  .guides-hero,
  .walkthrough-step,
  .walkthrough-step.reverse,
  .outcome-grid,
  .guide-library-grid,
  .guide-library-heading {
    grid-template-columns: 1fr;
  }

  .guide-library-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .guides-hero {
    gap: 38px;
    padding-top: 64px;
  }

  .walkthrough-step,
  .walkthrough-step.reverse {
    gap: 30px;
    min-height: 0;
    padding: 54px 0;
  }

  .walkthrough-step.reverse .step-copy,
  .walkthrough-step.reverse .step-visual {
    grid-column: 1;
  }

  .walkthrough-step.reverse .step-copy { grid-row: 1; }
  .walkthrough-step.reverse .step-visual { grid-row: 2; }
  .step-visual { min-height: 280px; }
}

@media (max-width: 520px) {
  .guides-hero h1 { font-size: 56px; }
  .chat-visual,
  .answer-visual { padding: 28px; }
  .link-window { width: 88%; padding: 18px; }
  .link-window strong { font-size: 12px; }
}
