/* Guide articles (guides/*). Shared so each guide page carries only its content. */
main { flex: 1; position: relative; z-index: 1; padding: 64px 20px 96px; }
.container { max-width: 720px; margin: 0 auto; }

.breadcrumb { font-size: 13px; color: var(--text-tertiary); margin-bottom: 32px; text-align: center; }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: #FFFFFF; }
.breadcrumb .sep { margin: 0 8px; }

.article-header { text-align: center; margin-bottom: 56px; }
.article-header .eyebrow { margin-bottom: 24px; }
.article-header h1 { font-size: 44px; font-weight: 700; color: white; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 24px; }
.article-header .lede { font-size: 19px; line-height: 1.55; color: var(--text-secondary); max-width: 640px; margin: 0 auto; }
.meta-line { margin-top: 18px; font-size: 13px; color: var(--text-tertiary); }

article { font-size: 17px; line-height: 1.75; color: var(--text-primary); }
article h2 { font-size: 26px; font-weight: 600; color: white; line-height: 1.3; letter-spacing: -0.01em; margin: 48px 0 16px; }
article h3 { font-size: 19px; font-weight: 600; color: white; line-height: 1.35; margin: 32px 0 8px; }
article p { margin-bottom: 18px; color: var(--text-secondary); }
article strong { color: var(--text-primary); font-weight: 600; }
article ul, article ol { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: ol-counter; }
article li { position: relative; padding-left: 22px; color: var(--text-secondary); margin-bottom: 10px; }
article ul li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-primary); }
article ol li { counter-increment: ol-counter; }
article ol li::before { content: counter(ol-counter) '.'; position: absolute; left: 0; top: 0; font-size: 14px; font-weight: 600; color: var(--text-tertiary); line-height: 1.95; }
article a { color: #ECEAE4; text-decoration: underline; text-underline-offset: 3px; }
article code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9em; color: #ECEAE4; background: rgba(255, 255, 255, 0.06); border-radius: 5px; padding: 1px 6px; overflow-wrap: anywhere; }

.trust { margin-top: 56px; padding: 22px 24px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); }
.trust h2 { font-size: 15px; margin: 0 0 8px; }
.trust p { font-size: 15px; margin: 0; }

.cta-strip { margin: 80px 0 0; }
.related-links { margin: 64px auto 0; text-align: center; }
.related-links h2 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 18px; }
.related-links ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.related-links a { font-size: 14px; color: var(--text-primary); text-decoration: none; }
.related-links a:hover { color: #FFFFFF; }

@media (max-width: 600px) {
    .article-header h1 { font-size: 32px; }
    .article-header .lede { font-size: 17px; }
    article { font-size: 16px; }
    article h2 { font-size: 22px; margin-top: 40px; }
    article h3 { font-size: 18px; margin-top: 28px; }
}
/* Table of contents beside the reading column (assets/toc.js), wide screens only. */
.toc { display: none; }
@media (min-width: 1500px) {
    .toc { display: block; position: fixed; top: 120px; left: calc(50% - 360px - 100px - 260px); width: 260px; max-height: calc(100vh - 160px); overflow-y: auto; transition: opacity 0.2s; }
    .toc.toc-hidden { opacity: 0; pointer-events: none; }
    .toc-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin: 0 0 12px; }
    .toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(255, 255, 255, 0.1); }
    .toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; line-height: 1.45; color: var(--text-secondary); text-decoration: none; }
    .toc a:hover { color: var(--text-primary); }
    .toc a.active { color: #FFFFFF; border-left-color: var(--accent-primary); }
}

/* Tables in guides scroll sideways on a phone instead of widening the page. */
.table-wrap { overflow-x: auto; margin: 0 0 24px; }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-default); color: var(--text-secondary); vertical-align: top; }
.table-wrap th { color: white; font-weight: 600; }
