/* Guide pages (templates/guides/): long-form reading layout. Tokens and
   components come from rf.css; this file only sets the reading rhythm. */
.gd { max-width: 760px; margin: 0 auto; padding: 32px 0 64px; }
.gd-crumbs { display: flex; gap: 8px; font-size: 0.875rem; color: var(--graphite); margin-bottom: 24px; }
.gd-crumbs a { color: var(--graphite); }
.gd-head h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 12px; }
.gd-meta { font-size: 0.875rem; color: var(--graphite); }

.gd-answer { background: var(--white); border: 1px solid var(--ash); border-radius: var(--radius-inner); padding: 20px 24px; margin: 28px 0 8px; }
.gd-answer-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; margin-bottom: 6px; }
.gd-answer p + p { margin-top: 8px; }

.gd-body h2, .gd-sources h2, .gd-related h2, .gd-faq h2 { font-size: 1.5rem; line-height: 1.2; margin: 40px 0 12px; }
.gd-body h3, .gd-faq h3 { font-size: 1.125rem; font-weight: 500; margin: 24px 0 8px; }
.gd-body p, .gd-faq p { margin-top: 12px; line-height: 1.65; }
.gd-body ul, .gd-body ol { margin: 12px 0 0 24px; line-height: 1.6; }
.gd-body ul { list-style: disc; }
.gd-body ol { list-style: decimal; }
.gd-body li + li { margin-top: 6px; }
.gd-body .table { margin-top: 16px; }
.gd-body .alert { margin-top: 16px; }
.gd-table-wrap { overflow-x: auto; }
.gd-body blockquote { margin: 16px 0 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--ink); }
.gd-body blockquote p { margin-top: 6px; }
.gd-body blockquote footer { margin-top: 8px; font-size: 0.875rem; color: var(--graphite); }
.gd-body dl { margin-top: 12px; }
.gd-body dt { font-weight: 500; margin-top: 12px; }
.gd-body dd { margin: 4px 0 0; line-height: 1.6; }

.gd-cta { margin: 40px 0 8px; padding: 28px; }
.gd-cta-doc { display: flex; align-items: center; gap: 12px; font-weight: 500; margin-top: 8px; }
.gd-cta-price { margin-left: auto; }
.gd-cta-sub { font-weight: 400; margin-top: 4px; }
.gd-cta-note { margin: 12px 0 20px; font-size: 0.9375rem; }

.gd-sources ol { margin-left: 24px; list-style: decimal; font-size: 0.9375rem; line-height: 1.6; }
.gd-sources li + li { margin-top: 6px; }
.gd-related ul { margin-left: 24px; list-style: disc; line-height: 1.8; }
.gd-disclaimer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--ash); font-size: 0.875rem; color: var(--graphite); }

.gd-hub { display: grid; gap: 16px; margin-top: 32px; }
.gd-hub .card-title a { color: var(--ink); }
.gd-hub .card-meta { margin-top: 6px; }

@media (max-width: 640px) {
  .gd { padding-top: 16px; }
  .gd-answer { padding: 16px 18px; }
  .gd-cta { padding: 22px; }
}
