.guide-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid hsl(var(--border));
  background: color-mix(in srgb, hsl(var(--background)) 88%, transparent);
  backdrop-filter: blur(18px);
}

.guide-nav,
.guide-main,
.guide-footer-inner {
  width: min(100% - 2rem, 56rem);
  margin-inline: auto;
}

.guide-nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font: 700 1rem/1 var(--font-display);
}

.guide-brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
}

.guide-nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: hsl(var(--muted-foreground));
}

.guide-nav-links a:hover,
.guide-sources a:hover,
.guide-related a:hover {
  color: hsl(var(--primary));
}

.guide-main {
  padding-block: 3.5rem 5rem;
}

.guide-kicker {
  color: hsl(var(--gold));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.guide-main h1 {
  max-width: 48rem;
  margin-top: 0.8rem;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
}

.guide-deck {
  max-width: 44rem;
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 1.08rem;
  line-height: 1.75;
}

.guide-byline {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
}

.guide-figure {
  margin-top: 2rem;
  padding: 0.65rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1.35rem;
  background: hsl(var(--surface));
}

.guide-figure img {
  width: 100%;
  max-height: 34rem;
  border-radius: 0.95rem;
  object-fit: contain;
  background: #08090c;
}

.guide-figure figcaption {
  padding: 0.8rem 0.45rem 0.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
}

.guide-content {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.guide-card {
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 1px solid hsl(var(--border));
  border-radius: 1.35rem;
  background: color-mix(in srgb, hsl(var(--surface)) 82%, transparent);
}

.guide-card h2 {
  font-size: 1.35rem;
  font-weight: 750;
}

.guide-card h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.guide-card p,
.guide-card li {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

.guide-card p,
.guide-card ul,
.guide-card ol {
  margin-top: 0.75rem;
}

.guide-card ul,
.guide-card ol {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.2rem;
}

.guide-card ul {
  list-style: disc;
}

.guide-card ol {
  list-style: decimal;
}

.guide-note {
  border-left: 3px solid hsl(var(--gold));
}

.guide-sources,
.guide-related {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  color: hsl(var(--muted-foreground));
}

.guide-sources strong,
.guide-related strong {
  display: block;
  margin-bottom: 0.65rem;
  color: hsl(var(--foreground));
}

.guide-sources ul,
.guide-related ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.guide-footer {
  border-top: 1px solid hsl(var(--border));
}

.guide-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .guide-nav-links a:first-child {
    display: none;
  }

  .guide-main {
    padding-top: 2.3rem;
  }

  .guide-footer-inner {
    flex-direction: column;
  }
}
