/* Guide pages under /guides/. Loaded after style.css and reuses its tokens. */

.guide {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.guide h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0.4rem 0 1rem;
  letter-spacing: -0.02em;
}

.guide h2 {
  font-size: 1.45rem;
  margin: 2.6rem 0 0.8rem;
  line-height: 1.25;
}

.guide h3 { font-size: 1.12rem; margin: 1.8rem 0 0.5rem; }

.guide p, .guide li { color: var(--fg); }
.guide .lede { font-size: 1.15rem; color: var(--muted); }
.guide .meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 2rem; }

.guide ol, .guide ul { padding-left: 1.4rem; }
.guide li { margin: 0.35rem 0; }

.guide a:not(.btn) { color: var(--accent); }

.guide code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.05rem 0.35rem;
  font-size: 0.92em;
}

.guide figure { margin: 1.6rem 0; }

.guide figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.guide figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 0.5rem; }

.guide table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.97rem; }
.guide th, .guide td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.guide th { color: var(--muted); font-weight: 600; }

.guide-cta {
  margin: 2.8rem 0 0;
  padding: 1.4rem 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.guide-cta p { margin: 0 0 1rem; }

.guide-more { margin-top: 2.4rem; }
.guide-more h2 { font-size: 1.1rem; margin-top: 0; }

.guide-footer {
  border-top: 1px solid var(--border);
  padding: 1.6rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.guide-footer a { color: var(--muted); }
