/* The public site's reading pages (SEO pass 2026-11-26): feature and audience pages, pricing, the
   calculators and the blog. Loaded after home.css and built from its tokens - the same paper, ink,
   graphite and the one blue - so a reader moving from the front page sees one site. */
:root { --danger: #E64242; --gain: var(--ledger); }
:root[data-theme="dark"] { --danger: #FF6060; --gain: #63D894; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --danger: #FF6060; --gain: #63D894; } }
.crumbs { padding-top: 40px; font-size: 14px; line-height: 20px; color: var(--faint); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.page-head { padding-top: 28px; padding-bottom: 56px; }
.page-head::after { content: ""; display: block; height: 1px; background: var(--line); margin-top: 56px; margin-bottom: -56px; }
.page-head h1 { font-size: 52px; line-height: 58px; letter-spacing: -0.025em; max-width: 20ch; }
.page-head .lede { margin-top: 20px; max-width: 62ch; font-size: 19px; line-height: 30px; }
.page-head .cta { margin-bottom: 0; }

.prose { padding-top: 56px; padding-bottom: 88px; }
.prose-col { max-width: 72ch; }
.prose h2 { font-size: 30px; line-height: 38px; letter-spacing: -0.02em; margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; line-height: 28px; font-weight: 500; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li strong, .prose p strong, .prose-col > dl > dt { color: var(--text); font-weight: 500; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose figure { margin: 32px 0; }
.prose figure.shot { max-width: 100%; }
.prose figcaption { color: var(--faint); font-size: 15px; line-height: 24px; margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0 0; font-size: 16px; line-height: 24px; }
.prose th, .prose td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { color: var(--faint); font-weight: 400; font-size: 14px; }
.prose td { color: var(--muted); }
.prose td.num, .prose th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose .table-wrap { margin-top: 20px; overflow-x: auto; }
.prose .table-wrap table { margin: 0; min-width: 520px; }
.prose .note { margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.prose .note p { color: var(--text); }
.article-meta { color: var(--faint); font-size: 15px; margin-top: 16px; }

.related { padding-top: 56px; padding-bottom: 88px; border-top: 1px solid var(--line); }
.related h2 { font-size: 24px; line-height: 32px; letter-spacing: -0.01em; font-weight: 500; }
.related ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.related li { border-top: 1px solid var(--line); padding: 16px 0; }
.related a { color: var(--text); text-decoration: none; font-weight: 500; }
.related a:hover { text-decoration: underline; text-underline-offset: 3px; }
.related li p { color: var(--muted); font-size: 15px; line-height: 24px; margin-top: 4px; }

/* The calculators: the fields on the left, the answer beside them, the answer read aloud on change. */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; margin: 8px 0 0; }
.calc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.calc-form .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; line-height: 20px; color: var(--muted); }
.field .in { position: relative; display: flex; align-items: center; }
.field input, .field select { width: 100%; height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--white); color: var(--text); font: 400 16px/24px var(--font); box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.field input:focus, .field select:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
.field .pre { position: absolute; left: 16px; color: var(--faint); pointer-events: none; }
.field .pre + input { padding-left: 30px; }
.field .suf { position: absolute; right: 16px; color: var(--faint); pointer-events: none; }
.field .hint { font-size: 13px; line-height: 18px; color: var(--faint); }
.calc-out { position: sticky; top: 96px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shot-shadow); padding: 24px; }
.calc .calc-out h2 { font-size: 16px; line-height: 24px; font-weight: 500; margin: 0; }
.calc-out dl { margin: 12px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.calc-out dt, .calc-out dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.calc-out dt { color: var(--muted); font-weight: 400; }
.calc-out dd { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-out .big { font-size: 28px; line-height: 34px; font-weight: 500; }
.calc-out .cents { opacity: .4; }
.calc-out .neg { color: var(--danger); }
.calc-out .pos { color: var(--gain); }
.calc-out p { color: var(--faint); font-size: 14px; line-height: 20px; margin-top: 14px; }
.calc-out .cta { margin: 18px 0 0; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-top: 1px solid var(--line); padding: 24px 0; }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list a { font-size: 22px; line-height: 30px; color: var(--text); text-decoration: none; }
.post-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-list p { color: var(--muted); margin-top: 6px; max-width: 70ch; }

@media (max-width: 960px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-out { position: static; }
  .related ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .page-head h1 { font-size: 36px; line-height: 42px; }
  .page-head .lede { font-size: 17px; line-height: 28px; }
  .prose h2 { font-size: 26px; line-height: 32px; }
  .calc-form { grid-template-columns: minmax(0, 1fr); }
}

/* The reading pages' footer has four columns: the note, product, tools, company. */
.foot-row.four { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); }
@media (max-width: 960px) { .foot-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-row.four .foot-about { grid-column: 1 / -1; } }
@media (max-width: 600px) { .foot-row.four { grid-template-columns: minmax(0, 1fr); } }
.prose .shot-cap { margin-top: 10px; }
.foot h3.foot-sub { margin-top: 20px; }
.prose-col > dl { margin: 14px 0 0; }
.prose-col > dl > dt { margin-top: 20px; }
.prose-col > dl > dd { margin: 4px 0 0; }
.calc + .prose-col { margin-top: 56px; }
/* The TDP logo tile in the brand mark (2026-11-28). */
.mark img { display: block; width: 100%; height: 100%; }
/* The TDP letters in place of a mark (2026-11-28): blue on light, white on dark. */
.mark.logo { width: auto; height: 28px; border-radius: 0; background: none; overflow: visible; display: inline-flex; align-items: center; }
.mark.logo img { width: auto; height: 28px; }
.mark.logo .on-dark { display: none; }
:root[data-theme="dark"] .mark.logo .on-light { display: none; }
:root[data-theme="dark"] .mark.logo .on-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mark.logo .on-light { display: none; } :root:not([data-theme="light"]) .mark.logo .on-dark { display: block; } }
