/* Guides: long-form pages under /guides/. Builds on /styles.css tokens. */
::selection { background: var(--accent); color: var(--chip-ink); }

.crumbs { padding-top: 28px; font-size: 13.5px; color: var(--text-3); }
.crumbs a { color: var(--text-2); }
.guide-hero { padding-top: 24px; }
.guide-hero h1 { text-wrap: balance; }
.guide-meta { margin-top: 18px; font-size: 14px; color: var(--text-3); }

.prose { max-width: 70ch; }
.prose h2 { font-family: var(--serif); font-size: clamp(23px, 3.2vw, 28px); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin: 56px 0 14px; text-wrap: balance; }
.prose p, .prose li { color: var(--text-2); font-size: 17px; line-height: 1.72; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 12px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { text-decoration-color: var(--accent); }

.answer {
  margin-top: 8px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-strong);
}
.answer p { color: var(--text); font-size: 17.5px; }

/* Wide tables scroll inside their own box on small screens; the box is focusable for keyboard scrolling. */
.table-wrap { margin-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.data-table caption { caption-side: bottom; text-align: left; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.data-table th, .data-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-weight: 600; color: var(--text); background: var(--surface); white-space: nowrap; }
.data-table td { color: var(--text-2); }
.data-table .num { text-align: right; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }

.cta { margin-top: 44px; padding: 24px; border-radius: var(--radius); background: var(--surface-2); }
.cta p { color: var(--text); font-size: 17px; }
.cta .btn {
  display: inline-block; margin-top: 14px; padding: 12px 18px; min-height: 44px; border-radius: 10px;
  background: var(--accent); color: var(--chip-ink); font-weight: 600; text-decoration: none;
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cta .btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .cta .btn { transition: none; } }

.sources li { font-size: 15px; }

.guide-list { margin-top: 40px; max-width: 70ch; }
.guide-list li + li { margin-top: 36px; }
.guide-list h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 26px); font-weight: 600; line-height: 1.3; text-wrap: balance; }
.guide-list h2 a { text-decoration: none; }
.guide-list h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.guide-list p { margin-top: 8px; color: var(--text-2); font-size: 16.5px; line-height: 1.65; }
