.guide-hero{
  position:relative;
  max-width:100%;
  overflow-x:clip;
  padding-top:88px;
  padding-bottom:92px;
  background:linear-gradient(180deg,var(--color-hero-top),var(--color-hero-bottom));
}
.guide-hero::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-280px;
  width:720px;
  height:720px;
  transform:translateX(-50%);
  border-radius:var(--radius-pill);
  background:radial-gradient(circle at 42% 30%,var(--color-circle-a),var(--color-circle-b));
  opacity:.72;
  pointer-events:none;
}
.guide-hero-inner{
  position:relative;
  z-index:2;
  text-align:center;
}
.guide-hero .badge{
  margin-inline:auto;
}
.guide-hero h1{
  max-width:850px;
  margin:18px auto 0;
}
.guide-hero h1::after{
  content:"";
  width:92px;
  height:5px;
  margin:22px auto 0;
  display:block;
  border-radius:var(--radius-pill);
  background:linear-gradient(90deg,var(--color-accent),var(--color-sky));
}
.guide-lede{
  max-width:760px;
  margin:22px auto 0;
  color:var(--color-muted);
  font-size:18px;
}
.guide-facts{
  margin-top:24px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.guide-facts span{
  min-height:34px;
  padding:6px 13px;
  display:inline-flex;
  align-items:center;
  border:1px solid var(--color-border);
  border-radius:var(--radius-pill);
  background:var(--color-panel);
  box-shadow:0 8px 20px var(--shadow-small);
  color:var(--color-accent-dark);
  font-size:13px;
  font-weight:700;
}
.guide-update{
  margin-top:18px;
  color:var(--color-muted);
  font-family:var(--font-mono);
  font-size:12px;
}
.guide-hero-shape{
  position:absolute;
  z-index:1;
  pointer-events:none;
}
.guide-shape-yellow{
  left:8%;
  top:110px;
  width:22px;
  height:22px;
  border-radius:var(--radius-pill);
  background:var(--color-yellow);
}
.guide-shape-pink{
  right:9%;
  bottom:90px;
  width:0;
  height:0;
  border-left:15px solid transparent;
  border-right:15px solid transparent;
  border-bottom:27px solid var(--color-pink);
  transform:rotate(16deg);
}

.guide-intro{
  position:relative;
  margin-top:-40px;
  padding-top:92px;
  padding-bottom:54px;
  border-radius:var(--radius-section) var(--radius-section) 0 0;
  background:var(--color-paper);
}
.guide-intro-card{
  padding:28px;
  border:1px solid var(--color-border);
  border-radius:var(--radius-card);
  background:var(--color-panel);
  box-shadow:0 18px 40px var(--shadow-soft),inset 0 0 0 1px var(--color-highlight);
  color:var(--color-muted);
  font-size:16px;
}
.guide-intro-card a{
  color:var(--color-accent);
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}

.guide-article{
  padding-top:20px;
  padding-bottom:96px;
}
.guide-article .toc-tabs{
  top:12px;
}
.guide-chapter{
  padding-top:24px;
  padding-bottom:54px;
  border-bottom:1px solid var(--color-border);
}
.guide-chapter:last-of-type{
  border-bottom:0;
}
.guide-chapter h2{
  margin-top:0;
  color:var(--color-text);
}
.guide-chapter h2::after{
  content:"";
  width:58px;
  height:4px;
  margin-top:14px;
  display:block;
  border-radius:var(--radius-pill);
  background:var(--color-accent);
}
.guide-chapter h3{
  margin-top:34px;
  color:var(--color-accent-dark);
}
.guide-chapter p{
  color:var(--color-text);
  font-size:16px;
  line-height:1.82;
}
.guide-chapter .table-scroll{
  margin-top:24px;
  margin-bottom:28px;
  box-shadow:0 14px 32px var(--shadow-soft);
}
.guide-chapter pre{
  border:1px solid var(--color-border);
  box-shadow:0 14px 32px var(--shadow-soft);
}
.guide-chapter .callout{
  margin-top:30px;
  margin-bottom:0;
}
.guide-chapter a{
  font-weight:700;
}
.guide-article .promo-block{
  margin-top:64px;
  margin-bottom:0;
}
.guide-article .promo-block h2{
  margin-top:0;
  color:var(--color-white);
}
.guide-article .promo-block h2::after{
  display:none;
}
.guide-article .promo-block .btn{
  color:var(--color-white);
  text-decoration:none;
}

@media (max-width:768px){
  .guide-hero{
    padding-top:64px;
    padding-bottom:74px;
  }
  .guide-hero::after{
    bottom:-350px;
  }
  .guide-hero-shape{
    display:none;
  }
  .guide-lede{
    font-size:16px;
  }
  .guide-intro{
    margin-top:-28px;
    padding-top:72px;
    padding-bottom:38px;
  }
  .guide-article{
    padding-top:12px;
    padding-bottom:74px;
  }
  .guide-chapter{
    padding-top:18px;
    padding-bottom:44px;
  }
  .guide-chapter p{
    font-size:15px;
    line-height:1.78;
  }
}

@media (max-width:640px){
  .guide-hero{
    padding-top:48px;
    padding-bottom:62px;
  }
  .guide-hero h1::after{
    margin-top:18px;
  }
  .guide-facts{
    gap:8px;
  }
  .guide-facts span{
    font-size:12px;
  }
  .guide-intro-card{
    padding:22px;
  }
  .guide-article .toc-tabs{
    border-radius:var(--radius-card);
  }
  .guide-chapter h3{
    margin-top:28px;
  }
}