/* Content pages (generated from site/content through site/templates/shell.html). Tokens only: no colour literals. */
.content-page { min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--font-text); -webkit-font-smoothing: antialiased; }
.nav-row { height: 68px; display: flex; align-items: center; gap: 28px; }
.nav-fill { flex: 1; }
.logo { display: inline-flex; align-items: center; gap: 1px; color: var(--ink); text-decoration: none; }
.logo-word { font: 760 22px/1 var(--font-display); letter-spacing: -0.03em; }
.logo-word-sm { font: 760 19px/1 var(--font-display); letter-spacing: -0.03em; }
.navlinks { display: flex; gap: 22px; position: relative; }
.foot-wrap { padding-top: 80px; padding-bottom: 40px; }
.footcols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(5, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 36px; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-brand .body { font-size: 14px; }
.foot-logo { display: inline-flex; align-items: center; gap: 1px; }
.foot-legal { margin-top: 32px; }

.content-main { padding-top: 40px; padding-bottom: 8px; max-width: 880px; display: flex; flex-direction: column; gap: 40px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 450 13px/20px var(--font-mono); color: var(--ink-muted); margin-bottom: 20px; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.prose { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.prose h1 { margin: 0; font: 760 clamp(34px, 5vw, 52px)/1.04 var(--font-display); letter-spacing: -0.035em; }
.prose .answer { margin: 0; font: 400 19px/30px var(--font-text); color: var(--ink); max-width: 44em; }
.prose h2 { margin: 28px 0 0; font: 700 clamp(24px, 3vw, 30px)/1.15 var(--font-display); letter-spacing: -0.025em; }
.prose h3 { margin: 16px 0 0; font: 680 20px/26px var(--font-display); letter-spacing: -0.015em; }
.prose p, .prose li, .prose dd { margin: 0; font: 400 16px/26px var(--font-text); color: var(--ink-muted); max-width: 46em; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.prose dt { font: 650 16px/24px var(--font-text); color: var(--ink); }
.prose a { color: var(--volt-text); font-weight: 600; text-underline-offset: 3px; }
.prose code { font: 450 14px/22px var(--font-mono); background: var(--surface-sunken); padding: 1px 6px; border-radius: var(--radius-xs); color: var(--ink); }
.prose pre { margin: 0; overflow-x: auto; padding: var(--space-4); border-radius: var(--radius-sm); background: var(--surface-sunken); border: 1px solid var(--line); }
.prose pre code { background: none; padding: 0; }
.prose .tag { vertical-align: middle; }
.prose .updated { margin-top: 12px; }

/* Tables scroll inside their wrapper rather than the page. */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background-color: var(--surface); }
/* edge shadows show on a side only while there is more table to scroll to */
@media (max-width: 760px) { .table-wrap { background-image: linear-gradient(to right, var(--surface), var(--surface)), linear-gradient(to left, var(--surface), var(--surface)), linear-gradient(to right, rgba(0, 0, 0, 0.22), transparent), linear-gradient(to left, rgba(0, 0, 0, 0.22), transparent); background-position: left, right, left, right; background-size: 24px 100%, 24px 100%, 12px 100%, 12px 100%; background-repeat: no-repeat; background-attachment: local, local, scroll, scroll; } }
.prose table { width: 100%; border-collapse: collapse; min-width: 480px; }
.prose caption { text-align: left; padding: 12px 16px; font: 450 13px/18px var(--font-mono); color: var(--ink-muted); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--line); font: 400 15px/22px var(--font-text); color: var(--ink-muted); }
.prose thead th { border-top: 0; font: 650 14px/20px var(--font-text); color: var(--ink); background: var(--surface-sunken); }
.prose tbody th { color: var(--ink); font-weight: 600; }

.callout { padding: 16px 18px; border-radius: var(--radius-md); background: var(--surface-sunken); border: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; padding: 0; }
.cards > li, .card { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); display: flex; flex-direction: column; gap: 8px; max-width: none; }
.card h3, .cards h3 { margin: 0; }

/* Calculators and small tools (lane D): plain labelled fields, same look as the pricing calculator. */
.tool { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; gap: 14px; }
.tool label { font: 600 14px/20px var(--font-text); color: var(--ink); }
.tool input[type="number"], .tool input[type="text"], .tool select { height: 44px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 450 16px/24px var(--font-text); max-width: 100%; }
.tool input:focus-visible, .tool select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tool-out { font: 760 34px/1.1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }

.cta-end { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface-sunken); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-end h2 { margin: 0; }
.cta-end p { margin: 0; font: 400 16px/25px var(--font-text); color: var(--ink-muted); max-width: 40em; }

@media (max-width: 980px) {
  .footcols { grid-template-columns: minmax(0, 1fr); }
  .nav-row { gap: 14px; }
  .content-main { padding-top: 28px; gap: 32px; }
}
@media (max-width: 480px) {
  .nav-row .btn1 { padding: 0 12px; }
}

/* Trial button right after the answer line (front matter "cta: hero") and the two buttons at the end of a page */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 4px 0 0; }
.hero-cta .btn1, .hero-cta .btn2 { height: 46px; padding: 0 20px; font-size: 15px; }
.hero-cta .btn1 { color: var(--on-volt); }
.hero-cta .hero-fine { font: 450 13px/20px var(--font-mono); color: var(--ink-muted); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 520px) { .hero-cta .btn1, .hero-cta .btn2 { flex: 1 1 100%; justify-content: center; } .cta-actions .btn1, .cta-actions .btn2 { flex: 1 1 100%; justify-content: center; } }

/* Trial band in the middle of a page (generated, see build-seo.mjs ctaBand): inside .prose, so it resets the prose link and paragraph styles */
.prose .cta-band { margin: 16px 0 8px; }
.prose .cta-band .btn1, .prose .cta-band .btn2 { margin: 0; padding: 0 22px; font-weight: 650; }
.prose .cta-band .btn2 { font-weight: 600; }

/* Touch targets (see site.css): links inside running text and footnote markers get 44px of hit area on a phone without moving the lines. */
@media (max-width: 760px), (pointer: coarse) {
  .prose a { padding: 13px 8px; margin: 0 -8px; }
  .prose sup a { padding: 14px 20px; margin: 0 -20px; }
  .prose .hero-cta .btn1, .prose .hero-cta .btn2, .prose .cta-band .btn1, .prose .cta-band .btn2 { margin: 0; padding: 0 20px; }
  .prose .cta-band .btn1, .prose .cta-band .btn2 { padding: 0 22px; }
}
