/* ═══════════════════════════════════════════════════════════════════════
   TREATMENT: ledger
   For the pages a buyer reads line by line. JT: "page like pricing perhaps
   gets yellow, its going to be inspected anyway."

   The table is the furniture, not an afterthought. Rows arrive in sequence
   as the table enters view, which is the one place sequential motion earns
   its keep: it walks the eye down the column the way a reader would.

   Deloitte carries ZERO table bands across all 48 pages crawled. We carry
   23, and they are the device that lets a librarian audit a claim, so this
   treatment is ours rather than ported. The motion vocabulary is theirs.

   Scoped to main.
   ═══════════════════════════════════════════════════════════════════════ */

[data-treatment="ledger"] main .tw,
[data-treatment="ledger"] main .tbl{
  border:1px solid var(--rule-light);background:#fff;
  box-shadow:0 20px 48px -40px rgba(4,20,36,.5)}
[data-treatment="ledger"] main .tw table,
[data-treatment="ledger"] main .tbl table{min-width:640px}
[data-treatment="ledger"] main .tw thead th,
[data-treatment="ledger"] main .tbl thead th{
  position:sticky;top:0;z-index:2;background:var(--deep);
  color:var(--on-deep)}
[data-treatment="ledger"] main .tw tbody tr:nth-child(even) td{
  background:rgba(4,20,36,.022)}
[data-treatment="ledger"] main .tw tbody tr:hover td{
  background:var(--hue-soft,rgba(4,20,36,.04))}
[data-treatment="ledger"] main .num{font-size:16px;font-weight:600}

@media (prefers-reduced-motion:no-preference){
  html.js-motion[data-treatment="ledger"] main .tw.is-in tbody tr{
    animation:t-row .42s cubic-bezier(.22,.61,.36,1) both}
  html.js-motion[data-treatment="ledger"] main .tw tbody tr{opacity:1}
  html.js-motion[data-treatment="ledger"] main .tw.mo-armed tbody tr{
    opacity:0}
  html.js-motion[data-treatment="ledger"] main .tw.is-in tbody tr:nth-child(1){animation-delay:.02s}
  html.js-motion[data-treatment="ledger"] main .tw.is-in tbody tr:nth-child(2){animation-delay:.06s}
  html.js-motion[data-treatment="ledger"] main .tw.is-in tbody tr:nth-child(3){animation-delay:.10s}
  html.js-motion[data-treatment="ledger"] main .tw.is-in tbody tr:nth-child(4){animation-delay:.14s}
  html.js-motion[data-treatment="ledger"] main .tw.is-in tbody tr:nth-child(5){animation-delay:.18s}
  html.js-motion[data-treatment="ledger"] main .tw.is-in tbody tr:nth-child(6){animation-delay:.22s}
  html.js-motion[data-treatment="ledger"] main .tw.is-in tbody tr:nth-child(n+7){animation-delay:.26s}
}
@keyframes t-row{from{opacity:0;transform:translateY(7px)}
                 to{opacity:1;transform:none}}

/* The tier grid is the hero of these pages, so it gets the weight. */
[data-treatment="ledger"] main .tier-card{
  box-shadow:0 18px 44px -38px rgba(4,20,36,.55)}
[data-treatment="ledger"] main .tier-card[data-featured="true"]{
  transform:translateY(-6px)}
[data-treatment="ledger"] main .tier-price{
  font-size:clamp(32px,3.6vw,46px)}

/* Figures sit beside the numbers they explain, never above them. */
[data-treatment="ledger"] main .band-media .band-in{align-items:start}
[data-treatment="ledger"] main>section{padding:clamp(30px,3.8vw,56px) 0}
