/* Terms of Sale and Use: one reading column, a ruled contents list, numbered heads in ledger red. */
.terms { margin-top: 8px; }
.t-head h1 { font-size: clamp(2.25rem, 9vw, 4.5rem); }
.t-head .note { margin-top: 12px; }
.ph { background: rgb(163 34 27 / 0.08); border-bottom: 1px dotted var(--ledger-red); padding: 0 2px; }
.t-toc { margin: 24px 0 8px; border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: -5px; padding: 14px 16px 6px; }
.t-toc ol { counter-reset: t; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.t-toc li { counter-increment: t; border-top: 1px solid var(--rule); }
.t-toc li:nth-child(-n+2) { border-top: 0; }
.t-toc a { display: flex; gap: 8px; align-items: baseline; min-height: 44px; padding: 10px 0 6px; text-decoration: none; font-size: 0.9375rem; line-height: 1.25; }
.t-toc a::before { content: counter(t); min-width: 1.4em; color: var(--ledger-red); font-weight: 800; font-variant-numeric: tabular-nums lining-nums; }
.t-body { max-width: 66ch; }
.t-body > p, .t-body li, .t-body address { margin-top: 14px; }
.t-body li { margin-top: 8px; }
.t-body ul { margin: 12px 0 0 1.25rem; list-style: square; }
.t-body li::marker { color: var(--ledger-red); }
.t-body address { font-style: normal; }
.t-body b { font-weight: 700; }
.t-lead { font-size: 1.1875rem; font-style: italic; margin-top: 20px !important; }
.t-short { padding: 16px 18px; background: var(--newsprint-deep); border: 1px solid var(--ink); }
.t-body h2 { display: flex; gap: 12px; align-items: baseline; margin-top: 44px; padding-top: 14px; border-top: 3px solid var(--ink); font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.15; }
.t-body h2 .n { color: var(--ledger-red); font-weight: 800; min-width: 1.4em; }
.t-body a { text-decoration-color: var(--ledger-red); }
@media (min-width: 1024px) {
  .terms { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 24px; align-items: start; }
  .t-head { grid-column: 1 / -1; margin-bottom: 32px; }
  .t-toc { grid-column: 1 / 4; position: sticky; top: 24px; margin: 0; padding: 18px 20px 8px; }
  .t-toc ol { grid-template-columns: 1fr; }
  .t-toc li:nth-child(2) { border-top: 1px solid var(--rule); }
  .t-toc a { min-height: 36px; padding: 8px 0 4px; }
  .t-body { grid-column: 5 / 12; max-width: none; font-size: 1.125rem; }
  .t-body h2 { margin-top: 56px; }
}
@media (hover: hover) and (pointer: fine) { .t-toc a:hover { color: var(--ledger-red); } }
