/* ── DUSK CANVAS GUIDE PAGES ──
   Gives the guide pages the homepage treatment: the fixed forest scene from dusk-scene.js behind
   everything, a hero set directly on the sky, and each content section floating as a parchment
   panel in a single centred column (mirrors .home-main / .problem / .capabilities in home.css).
   Activated by body.dusk-guide; remove that class and this stylesheet to return to the light layout. */

body.dusk-guide {
  --nav-bg: rgba(22, 35, 58, 0.55);
  background: var(--dusk-top);
}

.dusk-guide .page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ── MAIN COLUMN ── */
.dusk-guide main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px 120px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ── HERO ON THE SKY ── */
.dusk-guide .hero {
  background: transparent;
  color: var(--cream-text);
  padding: 72px 0 72px;
  overflow: visible;
  isolation: auto;
}

.dusk-guide .hero::before,
.dusk-guide .hero::after {
  display: none;
}

.dusk-guide .page-hero .hero-top {
  max-width: none;
  gap: 56px;
}

.dusk-guide .hero-badge {
  background: rgba(246, 240, 228, 0.12);
  color: var(--cream-text);
  border-color: rgba(246, 240, 228, 0.22);
  box-shadow: none;
}

.dusk-guide .page-h1 {
  color: var(--cream-text);
}

.dusk-guide .page-h1 .accent {
  color: var(--amber-pale);
}

.dusk-guide .hero-sub {
  color: var(--cream-text-soft);
}

.dusk-guide .hero .btn-outline {
  color: var(--cream-text);
  border-color: rgba(246, 240, 228, 0.4);
}

.dusk-guide .hero .btn-outline:hover {
  border-color: var(--cream-text);
}

.dusk-guide .page-visual {
  border: 0;
  box-shadow: var(--shadow-float);
}

/* ── DEFINITION STRIP → TRUST STRIP ── */
.dusk-guide .definition-strip {
  background: rgba(246, 240, 228, 0.14);
  border: 0;
  border-radius: var(--radius-inner);
  padding: 0;
  overflow: hidden;
  color: var(--cream-text);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dusk-guide .definition-inner {
  max-width: none;
  gap: 1px;
}

.dusk-guide .definition-item {
  padding: 22px 24px;
  background: rgba(22, 35, 58, 0.5);
  color: var(--cream-text-muted);
}

.dusk-guide .definition-item strong {
  color: var(--cream-text);
}

/* ── CONTENT SECTIONS → PARCHMENT PANELS ── */
.dusk-guide .content-section,
.dusk-guide .content-section.alt,
.dusk-guide .faq-section {
  background: var(--parchment);
  border: 0;
  border-radius: var(--radius-card);
  padding: 56px;
  box-shadow: var(--shadow-card);
}

.dusk-guide .faq-section {
  padding: 64px 56px;
}

.dusk-guide .content-inner,
.dusk-guide .faq-inner {
  max-width: none;
}

/* Cards that were parchment-on-white become white-on-parchment so they still read as cards. */
.dusk-guide .answer-panel.on-bg,
.dusk-guide .faq-item {
  background: var(--white);
}

/* ── CTA BAND → INK PANEL ── */
.dusk-guide .cta-band {
  border-radius: var(--radius-card);
  padding: 56px;
  box-shadow: var(--shadow-card);
}

.dusk-guide .cta-inner {
  max-width: none;
}

/* ── PRICING PANEL (payments) already floats; drop its white wrapper ── */
.dusk-guide .pricing-partner {
  background: transparent;
  border: 0;
  padding: 0;
  overflow: visible;
}

.dusk-guide .pp-inner {
  max-width: none;
  box-shadow: var(--shadow-card);
}

/* ── RESPONSIVE (tracks home.css breakpoints) ── */
@media (max-width: 960px) {
  .dusk-guide main {
    padding: 0 32px 96px;
  }

  .dusk-guide .hero {
    padding: 56px 0 64px;
  }

  .dusk-guide .content-section,
  .dusk-guide .content-section.alt,
  .dusk-guide .faq-section,
  .dusk-guide .cta-band {
    padding: 44px 32px;
  }
}

@media (max-width: 640px) {
  .dusk-guide main {
    padding: 0 16px 72px;
    gap: 20px;
  }

  .dusk-guide .hero {
    padding: 40px 0 56px;
  }

  .dusk-guide .content-section,
  .dusk-guide .content-section.alt,
  .dusk-guide .faq-section,
  .dusk-guide .cta-band {
    padding: 36px 22px;
    border-radius: 20px;
  }

  .dusk-guide .definition-item {
    padding: 16px 18px;
  }

  /* Keep the moon clear of the heading on small screens (scene styles are inline, hence !important). */
  .dusk-guide [data-layer="moon"] {
    top: 5% !important;
    right: 6% !important;
    width: 56px !important;
    height: 56px !important;
  }
}
