/* Long-form guides: a single readable column, answer first, data in tables. */
.guide { padding: clamp(40px, 6vw, 80px) 0 var(--space-section); }
.guide .guide__wrap { max-width: 760px; }
.guide h1 { font-size: clamp(2.25rem, 3vw + 1.25rem, 3.5rem); line-height: 1.04; letter-spacing: -0.035em; margin-top: var(--space-3); }
.guide__crumbs { font-family: var(--font-family-mono); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; }
.guide__crumbs a { text-decoration: none; }
.guide__byline { margin-top: var(--space-5); color: var(--color-text-muted); font-size: var(--font-size-sm); }
.guide__lede { margin-top: var(--space-5); color: var(--color-text-muted); font-size: 1.125rem; line-height: 1.6; max-width: 60ch; }

/* The short answer: quotable on its own, so it's set apart. */
.guide__answer { margin-top: var(--space-8); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--color-surface-muted); }
.guide__answer-label, .guide__toc-label { font-family: var(--font-family-mono); font-size: var(--font-size-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent-text); margin-bottom: var(--space-2); }
.guide__answer p:last-child { font-size: 1.125rem; line-height: 1.6; }

.guide__toc { margin-top: var(--space-8); padding: var(--space-5) var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-xl); }
.guide__toc ol { margin: 0; padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--font-size-sm); }

.guide__section { margin-top: var(--space-12); }
.guide__section h2 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem); line-height: 1.15; letter-spacing: -0.025em; }
.guide__section p, .guide__section ul, .guide__section ol { margin-top: var(--space-4); line-height: 1.7; }
.guide__section ul, .guide__section ol { padding-left: var(--space-6); }
.guide__section li + li { margin-top: var(--space-2); }
.guide__section code { font-family: var(--font-family-mono); font-size: 0.9em; background: var(--color-surface-muted); padding: 1px 6px; border-radius: 6px; }

.guide__table-wrap { margin-top: var(--space-5); overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.guide__table { width: 100%; border-collapse: collapse; font-size: var(--font-size-sm); }
.guide__table caption { text-align: left; padding: var(--space-3) var(--space-4); font-family: var(--font-family-mono); font-size: var(--font-size-xs); color: var(--color-text-muted); }
.guide__table th, .guide__table td { text-align: left; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--color-border); vertical-align: top; }
.guide__table th { font-weight: var(--font-weight-semibold); background: var(--color-surface-muted); }
.guide__table--data td:not(:first-child) { font-family: var(--font-family-mono); }
.guide__table-cliff td { background: var(--color-coral-soft); color: var(--color-coral-soft-text); font-weight: var(--font-weight-semibold); }

.guide__sources li { font-size: var(--font-size-sm); }

.guide__cta { margin-top: var(--space-16); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-2xl); background: var(--color-ink-bg); color: var(--color-ink-text); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.guide__cta h2 { color: var(--color-ink-text); font-size: clamp(1.5rem, 1.5vw + 1rem, 2.25rem); line-height: 1.1; }
.guide__cta p { color: var(--color-ink-text-muted); max-width: 52ch; line-height: 1.6; }


.guide__index { list-style: none; padding: 0; margin: var(--space-10) 0 0; display: flex; flex-direction: column; gap: var(--space-4); }
.guide__index a { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-xl); text-decoration: none; color: var(--color-text); box-shadow: var(--shadow-rest); transition: border-color 0.15s var(--ease-out-quart), transform 0.15s var(--ease-out-quart); }
.guide__index a:hover { border-color: var(--color-accent); transform: translateY(-1px); }
.guide__index-title { font-family: var(--font-family-display); font-weight: var(--font-weight-heavy); font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
.guide__index-desc { color: var(--color-text-muted); line-height: 1.6; }
.guide__index-date { font-family: var(--font-family-mono); font-size: var(--font-size-xs); color: var(--color-text-muted); }

@media (prefers-reduced-motion: reduce) {
  .guide__index a { transition: border-color 0.15s linear; }
  .guide__index a:hover { transform: none; }
}

/* Marketing-kit buttons inside the dark call-to-action, and the index under the shared page header. */
.guide__cta .mk-btn--quiet { background: transparent; color: var(--color-ink-text); border-color: rgba(255, 255, 255, 0.3); }
.guide__cta .mk-btn--quiet:hover { border-color: var(--color-ink-text); color: var(--color-ink-text); }
.guide--index { padding-top: var(--space-6); }
.guide--index .guide__index { margin-top: 0; }
