/* Content pages (features, guides, compare, hubs, 404). Loaded after assets/landing.css, which tools/build.cjs
   copies from the landing on every build, so tokens, buttons, header, footer, waitlist and chat match the home page. */

.page { background: var(--bg); }
.article section { padding: 0; }   /* the landing gives every <section> 96px padding */
.article { max-width: 760px; padding-top: 40px; padding-bottom: 96px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-current] { color: var(--ink); }

.article h1 { margin-top: 18px; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -0.035em; color: var(--ink); }
.article .answer { margin-top: 20px; font-size: 20px; line-height: 1.5; color: var(--ink); }
.article .meta { margin-top: 14px; font-size: 14px; color: var(--muted); }

.prose { margin-top: 40px; font-size: 17px; line-height: 1.65; color: var(--ink); }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 48px; font-size: 28px; line-height: 1.15; letter-spacing: -0.025em; }
.prose h3 { margin-top: 32px; font-size: 20px; line-height: 1.25; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28, 58, 19, .35); }
.prose a:hover { text-decoration-color: var(--ink); }
.prose blockquote { padding: 4px 0 4px 18px; border-left: 3px solid var(--line); color: var(--muted); font-style: italic; }
.prose figure img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.prose .shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 210px)); gap: 16px; }
.prose .shots img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(28, 58, 19, .05); }
.prose .table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; background: #fff; }
.prose .note { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }

.cta-box { margin-top: 48px; padding: 28px; border-radius: 18px; background: var(--ink); color: var(--on-dark); }
.cta-box .cta-box-t { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--on-dark); }
.cta-box p { margin-top: 8px; color: var(--on-dark-muted); }
.cta-box .cta { margin-top: 20px; }

.page-faq { margin-top: 56px; }
.page-faq h2 { font-size: 28px; letter-spacing: -0.025em; }
.page-faq details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.page-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq details p { margin-top: 10px; color: var(--ink); line-height: 1.6; }

.related { margin-top: 48px; }
.related h2 { font-size: 20px; }
.related ul { margin-top: 12px; padding: 0; list-style: none; display: grid; gap: 10px; }
.related a, .hub-list a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(28, 58, 19, .04); }
.related a:hover, .hub-list a:hover { border-color: rgba(28, 58, 19, .35); }
.related a b, .hub-list a b { display: block; font-weight: 600; }
.related a span, .hub-list a span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.hub-list { margin-top: 32px; padding: 0; list-style: none; display: grid; gap: 12px; }

/* Scenario charts (the landing's swimlane, drawn by tools/build.cjs) break out of the text column */
.prose .scn-embed { width: min(1040px, calc(100vw - 32px)); margin-top: 28px; margin-left: calc(50% - min(520px, 50vw - 16px)); }
.scn-embed .chead h3 { margin-top: 0; font-size: 24px; }
.scn-embed figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }

/* Tall footer: one column per group of pages (written by tools/build.cjs) */
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; padding: 48px 0 40px; border-top: 1px solid rgba(252, 252, 247, .14); }
.fcol-h { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-muted); }
.fcol ul { margin-top: 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.fcol a { font-size: 15px; color: var(--on-dark); text-decoration: none; }
.fcol a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 640px) {
  .article { padding-top: 24px; }
  .article .answer { font-size: 18px; }
  .prose { font-size: 16px; }
  .cta-box { padding: 22px 18px; }
}
