.guide-page {
  min-height: 100vh;
  color: #f3ead7;
  background:
    radial-gradient(circle at 50% -10%, rgba(45, 111, 177, .2), transparent 35rem),
    linear-gradient(180deg, #08111f 0%, #050b14 55%, #03070d 100%);
}

.guide-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(211, 164, 68, .2);
  background: rgba(4, 10, 19, .88);
  backdrop-filter: blur(18px);
}

.guide-nav,
.guide-shell,
.guide-footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.guide-nav {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #f3cf78;
  text-decoration: none;
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  letter-spacing: .04em;
}

.guide-brand img { width: 36px; height: 36px; object-fit: contain; }
.guide-links { display: flex; align-items: center; gap: 22px; }
.guide-links a { color: rgba(244, 238, 224, .76); text-decoration: none; font-size: .9rem; }
.guide-links a:hover, .guide-links a:focus-visible { color: #f2c768; }

.guide-hero {
  padding: clamp(80px, 12vw, 145px) 0 85px;
  text-align: center;
}

.guide-kicker {
  display: inline-block;
  color: #78c9ff;
  font: 700 .72rem/1.4 Inter, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 880px;
  margin: 22px auto;
  color: #f2c768;
  font: 600 clamp(2.5rem, 7vw, 5rem)/1.08 Cinzel, Georgia, serif;
  text-wrap: balance;
}

.guide-hero p {
  max-width: 730px;
  margin: 0 auto 32px;
  color: rgba(239, 239, 241, .78);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.guide-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.guide-actions .button { text-decoration: none; }

.guide-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(34px, 7vw, 80px);
  padding-bottom: 100px;
}

.guide-article { min-width: 0; }
.guide-article section { padding: 34px 0; border-top: 1px solid rgba(211, 164, 68, .16); }
.guide-article section:first-child { border-top: 0; }
.guide-article h2 { margin: 0 0 18px; color: #f1c76a; font: 600 clamp(1.6rem, 3vw, 2.3rem)/1.25 Cinzel, Georgia, serif; }
.guide-article h3 { margin: 28px 0 8px; color: #f4e1ae; font-size: 1.12rem; }
.guide-article p, .guide-article li { color: rgba(238, 238, 240, .76); line-height: 1.8; }
.guide-article ul, .guide-article ol { padding-left: 1.3rem; }
.guide-article li + li { margin-top: 9px; }
.guide-article a { color: #78c9ff; }

.guide-callout {
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid rgba(89, 180, 242, .28);
  border-radius: 14px;
  background: rgba(21, 52, 82, .26);
}

.guide-callout strong { display: block; margin-bottom: 6px; color: #9ed9ff; }
.guide-callout p { margin: 0; }

.guide-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 24px;
  border: 1px solid rgba(211, 164, 68, .24);
  border-radius: 16px;
  background: rgba(9, 20, 36, .8);
}

.guide-toc strong { display: block; margin-bottom: 14px; color: #f2c768; font-family: Cinzel, Georgia, serif; }
.guide-toc a { display: block; padding: 8px 0; color: rgba(239, 239, 241, .72); text-decoration: none; font-size: .9rem; }
.guide-toc a:hover, .guide-toc a:focus-visible { color: #7dcbff; }

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

.guide-related a {
  padding: 20px;
  border: 1px solid rgba(211, 164, 68, .22);
  border-radius: 13px;
  background: rgba(10, 22, 39, .72);
  text-decoration: none;
}

.guide-related a strong { display: block; margin-bottom: 5px; color: #f1c76a; }
.guide-related a span { color: rgba(239, 239, 241, .68); font-size: .9rem; line-height: 1.55; }

.guide-footer { border-top: 1px solid rgba(211, 164, 68, .18); background: #03070d; }
.guide-footer-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 34px; color: rgba(239, 239, 241, .58); font-size: .86rem; }
.guide-footer a { color: rgba(239, 239, 241, .72); }

@media (max-width: 800px) {
  .guide-links > a:not(.button) { display: none; }
  .guide-content { grid-template-columns: 1fr; }
  .guide-toc { position: static; order: -1; }
  .guide-related { grid-template-columns: 1fr; }
  .guide-footer-inner { flex-direction: column; }
}

@media (max-width: 520px) {
  .guide-nav, .guide-shell, .guide-footer-inner { width: min(100% - 26px, 1120px); }
  .guide-brand { font-size: .88rem; }
  .guide-links .button { padding-inline: 14px; }
}
