/* Content pages (channels, guides, comparisons). Builds on site.css. */
.doc { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.doc-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--cx-border); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 28px; padding: 0; font-size: 13px; color: var(--cx-muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--cx-border-strong); }
.crumbs a:hover { color: var(--cx-ink); }
.doc-hero .eyebrow { font: 500 11px/1.6 var(--mono) !important; letter-spacing: .14em; color: var(--cx-ink-2); }
.doc-hero h1 { margin: 14px 0 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.04em !important; max-width: 18ch; color: var(--cx-ink); }
.lede { margin-top: 20px !important; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--cx-ink-2) !important; }
.doc-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.updated { display: block; margin-top: 18px; font-size: 12.5px; color: var(--cx-muted); }

.doc-body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 64px; padding: 56px 0 24px; }
.toc { position: sticky; top: 88px; align-self: start; font-size: 13.5px; }
.toc b { display: block; font: 500 11px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cx-muted); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 1px solid var(--cx-border); color: var(--cx-ink-3); }
.toc a:hover { color: var(--cx-ink); border-color: var(--cx-ink); }

.prose { max-width: 720px; }
.prose section { padding-bottom: 44px; }
.prose section + section { padding-top: 44px; border-top: 1px solid var(--cx-border); }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; color: var(--cx-ink); margin: 0 0 16px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; color: var(--cx-ink); letter-spacing: -.02em !important; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--cx-ink-3); }
.prose p + p { margin-top: 14px; }
.prose strong, .prose b { color: var(--cx-ink); font-weight: 600; }
.prose a { color: var(--cx-accent); }
.prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 8px; }
.prose code { font-size: 13.5px; background: var(--cx-accent-soft); color: var(--cx-ink); padding: 1px 5px; border-radius: 5px; }
.prose .answer { font-size: 17px; color: var(--cx-ink-2); padding: 18px 20px; background: var(--cx-surface); border-radius: var(--cx-radius-sm); box-shadow: 0 0 0 1px var(--cx-border); }
.prose .note { font-size: 14px; padding: 12px 16px; border-radius: var(--cx-radius-sm); background: rgba(245, 158, 11, .08); color: #92400E; margin-top: 16px; }

.table-wrap { overflow-x: auto; margin-top: 18px; border-radius: var(--cx-radius-sm); box-shadow: 0 0 0 1px var(--cx-border); background: var(--cx-surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--cx-border); line-height: 1.55; color: var(--cx-ink-3); }
.prose th { font-weight: 600; color: var(--cx-ink); background: #fbfbfa; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--cx-ink); font-weight: 500; }
.status { display: inline-block; font: 500 11px/1 var(--mono); padding: 4px 7px; border-radius: 999px; white-space: nowrap; }
.status.live { background: rgba(34, 197, 94, .12); color: #15803D; }
.status.soon { background: #f1f2f0; color: var(--cx-ink-3); }

.steps-list { list-style: none; counter-reset: s; padding: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 40px; }
.steps-list li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 500 12px/1.7 var(--mono); color: var(--cx-accent); }

.prose .faq-items details { border-top: 1px solid var(--cx-border); padding: 16px 0; }
.prose .faq-items details:last-child { border-bottom: 1px solid var(--cx-border); }
.prose .faq-items summary { list-style: none; cursor: pointer; font-size: 16px; font-weight: 500; color: var(--cx-ink); display: flex; justify-content: space-between; gap: 16px; }
.prose .faq-items summary::-webkit-details-marker { display: none; }
.prose .faq-items summary::after { content: '+'; color: var(--cx-muted); }
.prose .faq-items details[open] summary::after { content: '−'; }
.prose .faq-items details p { margin-top: 10px; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.related a { display: block; padding: 16px 18px; background: var(--cx-surface); border-radius: var(--cx-radius-sm); box-shadow: 0 0 0 1px var(--cx-border); color: var(--cx-ink) !important; text-decoration: none !important; transition: box-shadow .15s; }
.related a:hover { box-shadow: 0 0 0 1px var(--cx-border-strong); }
.related b { display: block; font-size: 15px; font-weight: 600; }
.related span { display: block; margin-top: 4px; font-size: 13px; color: var(--cx-ink-3); line-height: 1.5; }

.doc-cta { margin: 24px 0 72px; padding: 32px; border-radius: var(--cx-radius-lg); background: var(--cx-surface); box-shadow: 0 0 0 1px var(--cx-border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.doc-cta h2 { font-size: 26px; margin: 0; color: var(--cx-ink); }
.doc-cta p { margin-top: 6px !important; font-size: 14.5px; }
.doc-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer link grid, shared with the home page */
.site-footer { border-top: 1px solid var(--cx-border); padding: 48px 0 40px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer .brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; color: var(--cx-ink); }
.site-footer .brand img { width: 26px; height: 26px; }
.site-footer p { margin-top: 10px !important; font-size: 13.5px; max-width: 260px; }
.site-footer h2 { font: 500 11px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cx-muted); margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.site-footer a { color: var(--cx-ink-3); }
.site-footer a:hover { color: var(--cx-ink); }
.site-footer .legal { margin-top: 36px; font-size: 12.5px; color: var(--cx-muted); }

@media (max-width: 1000px) {
  .doc-body { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .related { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .doc { padding: 0 16px; }
  .doc-hero { padding-top: 32px; }
  .doc-cta { padding: 22px; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

/* Base rules the home page gets from gateway.css. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.skip { position: fixed; top: -100px; left: 20px; padding: 10px; background: #fff; z-index: 100; }
.skip:focus { top: 10px; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: max(48px, calc((100vw - 1144px) / 2)); }
.header .brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.header nav { display: flex; }
.icon { width: 25px; height: 25px; flex-shrink: 0; }
@media (max-width: 560px) { .header { padding-inline: 16px; } }
