/* Guide-page-only styles. Loaded on top of style.css so the page
   inherits all the tokens (--navy, --accent, etc.) and base shells.

   Mobile-first; the @media rules promote layout to two-column on
   wider viewports. Print rules at the bottom strip nav/footer and
   ensure dark text on a white background so a landlord can print the
   guide and stick it in a folder. */

/* ─────────────────────────  Page shell  ───────────────────────── */

.guide main {
  background: var(--bg-soft);
}

.guide-doc {
  padding: 56px 24px 96px;
  max-width: 880px;
}

.guide-hero {
  text-align: center;
  margin-bottom: 40px;
}

.guide-hero h1 {
  margin-top: 14px;
  letter-spacing: -0.02em;
}

.guide-hero .lede {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-pill {
  display: inline-block;
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ─────────────────────────  Table of contents  ───────────────────────── */

.guide-toc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.guide-toc strong {
  display: block;
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.guide-toc ol {
  margin: 0;
  padding-left: 22px;
  color: var(--text-soft);
}

.guide-toc li {
  padding: 3px 0;
}

.guide-toc a {
  color: var(--navy);
  font-weight: 500;
}

.guide-toc a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

/* ─────────────────────────  Sections  ───────────────────────── */

.guide-section {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}

.guide-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.guide-section-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.guide-est {
  margin: 4px 0 0;
  color: var(--text-mute);
  font-size: 0.88rem;
}

.guide-icon {
  font-size: 2.25rem;
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 14px;
}

.guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
  line-height: 1.6;
}

.guide-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
}

.guide-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-deep);
  font-weight: 700;
}

.guide-section .btn {
  margin-top: 18px;
}

/* ─────────────────────────  Two-column (Step 2)  ───────────────────────── */

.guide-twocol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 720px) {
  .guide-twocol {
    grid-template-columns: 1fr 1fr;
  }
}

.guide-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 22px;
}

.guide-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.guide-card p {
  margin-bottom: 8px;
}

.guide-tip {
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* ─────────────────────────  Toolkit glossary  ───────────────────────── */

.guide-glossary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
}

@media (min-width: 720px) {
  .guide-glossary {
    grid-template-columns: max-content 1fr;
  }
}

.guide-glossary dt {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
}

.guide-glossary dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

@media (max-width: 719px) {
  .guide-glossary dd {
    margin-bottom: 10px;
  }
}

/* ─────────────────────────  Feature grid  ───────────────────────── */

.guide-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .guide-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.guide-feature {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 22px;
}

.guide-feature h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.guide-feature p {
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ─────────────────────────  Help + bottom CTA  ───────────────────────── */

.guide-help .guide-list a {
  color: var(--accent-deep);
}

.guide-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  margin-top: 12px;
  color: #fff;
}

.guide-cta h2 {
  color: #fff;
  margin-bottom: 8px;
}

.guide-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

/* .nav-current is styled in style.css (white on dark header) so the
 * marketing nav stays consistent across pages.
 */

/* ─────────────────────────  Print  ───────────────────────── */

@media print {
  .site-header,
  .site-footer,
  .guide-toc,
  .guide-cta,
  .guide-section .btn {
    display: none !important;
  }

  body, .guide main {
    background: #fff !important;
  }

  .guide-section {
    border: 1px solid #d0d0d0;
    box-shadow: none;
    page-break-inside: avoid;
    margin-bottom: 14px;
    padding: 18px;
  }

  .guide-doc {
    padding: 0;
    max-width: 100%;
  }

  .guide-hero {
    margin-bottom: 16px;
  }

  h1, h2, h3 {
    color: #000 !important;
  }

  p, dd, .guide-list, .guide-list li {
    color: #333 !important;
  }
}
