/* Guides (/guides/*) and comparisons (/compare/*): long answers to the questions clubs ask.
   Loaded after features.css and reuses its tokens, crumbs, FAQ, versus table and closing band.
   Layout language: a short answer first, then a readable column with a sticky contents list,
   real numbers in plain tables, and a byline with the date it was last checked. */

.guide-hero { padding-block: 28px 40px; }
.guide-hero .wrap { display: grid; gap: 18px; }
.guide-hero h1 { font-size: clamp(36px, 4.8vw, 58px); max-width: 17em; }
.guide-hero .lede { max-width: 36em; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 15px; color: var(--stone); }
.byline .who { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.byline .who b { color: var(--ink); }
.byline .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--peel-tint); color: var(--peel); display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.byline time { white-space: nowrap; }

.answer { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 14px; padding: 22px 24px; display: grid; gap: 10px; max-width: 46em; }
.answer h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--peel); line-height: 1.2; }
.answer p { font-size: 18px; color: var(--ink); }
.answer ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-2); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: start; padding-block: 24px 84px; }
.article aside { position: sticky; top: 92px; display: grid; gap: 22px; font-size: 15px; }
.article aside h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; line-height: 1.2; }
.article aside ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.article aside ol a { color: var(--ink-2); text-decoration: none; }
.article aside ol a:hover { color: var(--peel); text-decoration: underline; }
.article aside .try { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 10px; }
.article aside .try p { color: var(--ink-2); }
.article aside .try .btn { justify-self: start; }
@media (max-width: 960px) {
  .article { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .article aside { position: static; order: -1; }
  .article aside .try { display: none; }
}

.prose { max-width: 44em; display: grid; gap: 18px; color: var(--ink-2); }
.prose > h2 { font-size: clamp(26px, 3vw, 34px); color: var(--ink); margin-top: 30px; scroll-margin-top: 92px; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { color: var(--ink); margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--peel); }
.prose b, .prose strong { color: var(--ink); }
.prose .note { font-size: 15px; color: var(--stone); }
.prose code { font-size: .9em; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; overflow-wrap: anywhere; }
.prose blockquote { margin: 0; padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 17px; }
.prose blockquote p + p { margin-top: 10px; }
.prose .tie { background: var(--peel-tint); border-radius: 14px; padding: 18px 20px; color: var(--ink); display: grid; gap: 8px; }
.prose .tie b { color: var(--peel-dark); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.data { width: 100%; border-collapse: collapse; font-size: 15px; }
.data.wide { min-width: 600px; }
.data caption { text-align: left; padding: 12px 14px 0; font-size: 13px; color: var(--stone); caption-side: bottom; padding-bottom: 12px; }
.data th, .data td { text-align: left; vertical-align: top; padding: 10px 14px; border-top: 1px solid var(--hair); }
.data thead th { border-top: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); background: var(--ground); }
.data tbody th { font-weight: 700; color: var(--ink); }
.data td.num, .data th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data tr.total td, .data tr.total th { font-weight: 800; color: var(--ink); border-top: 2px solid var(--line); }

.versus.wide tbody th { width: 20%; }
.versus.wide td { font-size: 15px; }

.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-list a { display: grid; gap: 6px; height: 100%; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink-2); }
.guide-list a:hover { border-color: var(--peel); }
.guide-list a b { color: var(--ink); font-size: 20px; letter-spacing: -0.015em; line-height: 1.2; }
.guide-list a small { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--peel); }
@media (max-width: 760px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }

/* Narrow tables become one card per row on phones. */
@media (max-width: 560px) {
  .data:not(.wide) thead { display: none; }
  .data:not(.wide) tr { display: grid; gap: 4px; padding: 12px 14px; border-top: 1px solid var(--hair); }
  .data:not(.wide) tbody tr:first-child { border-top: 0; }
  .data:not(.wide) th, .data:not(.wide) td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
  .data:not(.wide) td.num { color: var(--ink); font-weight: 700; }
  .data:not(.wide) td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--stone); }
  .data:not(.wide) td.num::before { color: var(--peel); }
}

/* Hub: jump links to each section; article footers: related guides. */
.jump { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 600; }
.jump a:hover { border-color: var(--peel); color: var(--peel); }
.hub-sec { padding-block: 40px; scroll-margin-top: 80px; }
.hub-sec + .hub-sec { padding-top: 40px; border-top: 1px solid var(--line); }
.guide-list.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .guide-list.three { grid-template-columns: minmax(0, 1fr); } }
.sec.more { padding-block: 64px 24px; }
.all-guides { margin-top: 22px; font-weight: 700; }
.prose ol.sources { font-size: 15px; gap: 6px; color: var(--stone); padding-left: 24px; }
.prose ol.sources a { overflow-wrap: anywhere; }
