/* Guides: shared styles for /guides and every /guides/<slug> article.
   Loaded after /styles.css so it can lean on its tokens (--text, --muted,
   --border, --card, --orange, --amber, --display, --body). CSP allows
   stylesheets from 'self' only, so this is a file, not inline. */

.guide-hero { padding: 76px 0 40px; }
.guide-hero .crumbs { font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.guide-hero .crumbs a { color: var(--muted); text-decoration: none; }
.guide-hero .crumbs a:hover { color: var(--text); }
.guide-hero h1 { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -0.02em; max-width: 22ch; margin-top: 14px; }
.guide-hero .lede { margin-top: 18px; max-width: 62ch; font-size: 18px; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.byline img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); }
.byline b { color: var(--text); font-weight: 600; }

.article { max-width: 72ch; padding-bottom: 40px; }
.article > * + * { margin-top: 18px; }
.article h2 { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(24px, 3vw, 31px); line-height: 1.12; margin-top: 46px; }
.article h3 { font-size: 18px; font-weight: 700; margin-top: 30px; }
.article p, .article li { color: #C9D1DD; font-size: 17px; line-height: 1.7; }
.article ul, .article ol { padding-left: 22px; }
.article li + li { margin-top: 8px; }
.article strong { color: var(--text); }
.article a { color: var(--amber); text-underline-offset: 3px; }
.article .answer { border: 1px solid rgba(255,90,0,0.35); background: linear-gradient(160deg, rgba(255,90,0,0.07), var(--card) 60%); border-radius: 16px; padding: 22px 24px; }
.article .answer .lab { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.article .answer p { color: var(--text); margin: 0; }
.article .note { border-left: 3px solid var(--blue); background: var(--card); border-radius: 0 12px 12px 0; padding: 16px 20px; }
.article .note p { font-size: 15.5px; margin: 0; }
.article .tablewrap { margin-top: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 14px; }
.article .tablewrap table { min-width: 560px; }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article th, .article td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.article th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.article td.n, .article th.n { text-align: right; font-variant-numeric: tabular-nums; }
.article tfoot td { font-weight: 700; color: var(--text); }
.article .caption { font-size: 13.5px; color: var(--dim); margin-top: 10px; }
.article .faq { margin-top: 22px; }

.guide-cta { margin: 10px 0 70px; border: 1px solid var(--border); border-radius: 20px; background: radial-gradient(420px 240px at 0% 0%, rgba(255,90,0,0.12), transparent 70%), var(--card); padding: 30px; max-width: 72ch; }
.guide-cta h2 { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 26px; line-height: 1.15; }
.guide-cta p { color: var(--muted); margin-top: 10px; }
.guide-cta .btns { margin-top: 20px; }

/* Hub */
.guide-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; margin: 10px 0 80px; }
@media (min-width: 760px) { .guide-list { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.guide-card { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(160deg, var(--card-hi), var(--card) 55%); padding: 24px; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.guide-card:hover { border-color: rgba(255,90,0,0.5); transform: translateY(-2px); }
.guide-card .lab { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.guide-card h2 { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 22px; line-height: 1.15; }
.guide-card p { color: var(--muted); font-size: 15px; }
.guide-card .more { margin-top: auto; color: var(--amber); font-weight: 600; font-size: 14px; }
