/* Phoenix AI Solutions · money.css
   The money pages only: /pricing/ and /compare/. Everything is prefixed money-; .todo, .tile-full, .tile-words, .tile-media and the
   section rhythm (DEC-015) come from site.css. Loads after site.css; never edits it.
   Spacing maps: docs/spacing-maps/pricing.md and compare.md.

    1  Plan cards (the two prices)            6  Hero grid, split layout, FAQ grid, closing, sources
    2  What is not in the price (3 columns)   7  tile-full pieces: the threshold chart
    3  Small helpers (notes), proof strip     8  Number sizes: one step below the line; pill ink; wrapping
    4  Tables (compare, matrix, builds)       9  Phone pass (390): stacked rows, bars, 44 targets
    5  Figure card, answer row, team toggle
*/

.money-hero-copy > * + * { margin-top: var(--s-16); }

/* ============================================================ 1. Plan cards: one white card per price, on the grey band */
.money-plan { display: flex; flex-direction: column; }
.money-plan > .pill { align-self: flex-start; }
.money-plan > h2 { margin-top: var(--s-16); }
.money-plan-line { margin-top: var(--s-8); color: var(--ink-2); }
.money-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-4) var(--s-8); margin-top: var(--s-24); }
/* the big headline price stays in Display 600 (DEC-010); every other number on these pages is .num */
.money-amount { color: var(--ink); font: 600 56px/60px var(--font-display); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.money-from, .money-unit { color: var(--ink-2); font: 400 17px/24px var(--font-text); }
.money-price-sub { margin-top: var(--s-8); color: var(--ink-2); }
.money-btn-full { width: 100%; margin-top: var(--s-24); }
.money-plan-list { margin-top: var(--s-24); padding-top: var(--s-24); border-top: 1px solid var(--line); }
.money-plan-list .ticks { margin-top: var(--s-16); }
.money-app-label { display: none; }
@media (min-width: 900px) { .money-plan-line { min-height: 48px; } }           /* two lines on both cards, so the buttons line up */

/* ============================================================ 2. What is not in the price: three plain columns on a hairline (no tiles, no icon chips) */
.money-extras { gap: var(--s-32) var(--s-48); }
.money-extra { padding-top: var(--s-24); border-top: 1px solid var(--line-strong); }
.money-extra > p { margin-top: var(--s-8); color: var(--ink-2); }

/* ============================================================ 3. Small helpers, proof strip */
.money-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.money-note { margin-top: var(--s-8); }
.table-wrap + .money-note { margin-top: var(--s-24); }
.money-note .link-arrow { font-size: inherit; line-height: inherit; vertical-align: baseline; }

/* Brex's proof strip: one quiet row of marks right under the headline. Here the six connections (the same six the
   Reach page draws): the four outside brands in their real colours, email and phone as plain icons. No status label. */
.money-proof { display: grid; justify-items: center; gap: var(--s-16); margin-top: var(--s-48); }
.money-proof-cap { display: flex; align-items: center; gap: var(--s-8); }
.money-proof-cap .sample { align-self: center; }
.money-proof-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-16) var(--s-48); padding: 0; list-style: none; color: var(--ink-2); }
.money-proof-list li { display: flex; align-items: center; gap: var(--s-8); font: 500 15px/20px var(--font-text); }
.money-proof-list .ic { opacity: .8; }
.money-proof-list .money-logo { display: block; flex: none; width: 24px; height: 24px; object-fit: contain; }          /* real brand logos in colour, never recoloured */

/* ============================================================ 4. Tables */
.money-table th.money-r, .money-table td.money-r, .money-r { text-align: right; }
.money-table td, .money-table tbody th[scope="row"], .money-table tfoot th { padding-block: var(--s-24); }
.money-table tbody th[scope="row"], .money-table tfoot th[scope="row"] {      /* a row label reads like the table's first column, not like a column head */
  padding-inline: 0 var(--s-16); border-bottom: 1px solid var(--line); color: var(--ink);
  font: 500 15px/20px var(--font-text); text-align: left; vertical-align: middle;
}
.money-table tbody tr:last-child th[scope="row"] { border-bottom: 0; }
.money-sub { display: block; margin-top: var(--s-4); color: var(--ink-2); font: 400 13px/16px var(--font-text); }
.money-soon { margin-left: var(--s-8); vertical-align: middle; }
.money-group th {                                                            /* "Every app includes" / "Built for you" label rows */
  padding: var(--s-32) 0 var(--s-8); border-bottom: 0; color: var(--ink-2); font: 500 13px/16px var(--font-text); text-align: left;
}
.money-matrix-wrap + .money-builds-wrap { margin-top: var(--s-48); }

/* pricing, the three builds: the row is set in the 21 line, so its Mono price lands one step below it, at 17, the largest thing in the row;
   price and "one time" both end on the right edge of the rules */
.money-table.money-builds td, .money-table.money-builds tbody th[scope="row"] { padding-block: var(--s-16); }
.money-builds tbody tr:not(.money-group) { font-size: 21px; line-height: 28px; }
.money-builds .money-group th { padding-top: 0; }
.money-builds td.num { padding-right: var(--s-8); text-align: right; white-space: nowrap; }
.money-builds :is(th, td).money-paid { padding-left: var(--s-8); text-align: right; }
.money-builds td.money-paid { color: var(--ink-2); font: 400 15px/20px var(--font-text); white-space: nowrap; }
.money-builds td:nth-child(2) { font: 400 15px/20px var(--font-text); }

/* compare: one table, a 36-month total with its monthly sum under it, the chosen team size lightly shaded, the difference row
   on a strong rule. The cell is set in the 21 line so its Mono total lands one step below it, at 17. */
.money-compare { table-layout: fixed; }
.money-compare thead th:first-child { width: 34%; }
.money-compare :is(th, td):last-child { padding-right: var(--s-16); }
.money-compare thead th { white-space: nowrap; }
.money-compare td[data-team], .money-compare th[data-team] { text-align: right; }
.money-compare .is-on { background: var(--grey); }
.money-table.money-compare td { padding-block: var(--s-16); font-size: 21px; line-height: 28px; }
.money-table.money-compare tbody th[scope="row"], .money-table.money-compare tfoot th[scope="row"] { padding-block: var(--s-16); font: 500 17px/24px var(--font-text); }
.money-compare tfoot :is(th, td), .money-compare tfoot th[scope="row"] { border-top: 1px solid var(--line-strong); border-bottom: 0; vertical-align: top; }
.money-total, .money-compare tfoot td > .num { display: block; }
.money-per { display: block; margin-top: var(--s-4); color: var(--ink-2); font: 400 13px/16px var(--font-text); }
.money-meter { display: none; }                                              /* the bars are for the phone */
.money-compare tfoot td .money-sub { margin-top: var(--s-4); }

/* pricing, the three apps side by side. The plan header (name and price) sticks under the nav from 1024 up, while the rows scroll. */
.money-matrix { table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.money-matrix thead th {
  padding: var(--s-16) var(--s-16) var(--s-16) 0; background: var(--paper); border-bottom: 1px solid var(--line-strong);
  color: var(--ink); font: 400 15px/20px var(--font-text); text-align: left; vertical-align: bottom;
}
.money-matrix thead th:first-child { width: 34%; }
.money-matrix thead th.money-matrix-corner { color: var(--ink-2); font: 500 13px/16px var(--font-text); }
.money-h-name { display: block; font: 600 21px/28px var(--font-display); }
.money-h-price { display: block; margin-top: var(--s-4); font: 400 21px/28px var(--font-text); }
.money-h-unit { color: var(--ink-2); font: 400 15px/20px var(--font-text); }
.money-table.money-matrix td, .money-table.money-matrix tbody th[scope="row"] { padding-block: var(--s-16); }
.money-table.money-matrix td { padding-inline: 0 var(--s-16); border-bottom: 1px solid var(--line); vertical-align: middle; font: 400 15px/20px var(--font-text); }
.money-matrix tbody tr:last-child td { border-bottom: 0; }
.money-says td { color: var(--ink-2); }
.money-yes { display: block; width: 20px; height: 20px; color: var(--ink); }
@media (min-width: 1024px) {
  .money-matrix-wrap { overflow: visible; }                                  /* a scrolling wrapper would stop the header sticking to the page */
  .money-matrix thead th { position: sticky; top: var(--nav-h); z-index: 3; }
}

/* ============================================================ 5. Figure card (Brex way: one white card on a grey tile, the figures, the answer) */
.money-tile { display: grid; place-items: center; padding: var(--s-48); background: var(--grey); border-radius: 24px; }
.money-card { width: 100%; max-width: 420px; padding: var(--s-24); background: var(--paper); border-radius: 20px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.money-card > * + *, .money-card-body > * + * { margin-top: var(--s-24); }
.money-card > .eyebrow + * { margin-top: var(--s-16); }
.money-card-body { display: flex; flex-direction: column; }
.money-fig-name { font: 500 15px/20px var(--font-text); }
.money-fig-total { margin-top: var(--s-4); font: 600 28px/32px var(--font-display); }
/* a big figure in the card is a headline number: Display 600 like the pricing cards (DEC-010), lining figures, no wide comma gaps */
.money-big { color: var(--ink); font: 600 28px/32px var(--font-display); letter-spacing: 0; font-variant-numeric: lining-nums; }
.money-bar { height: 8px; margin-top: var(--s-12); overflow: hidden; border-radius: 980px; background: var(--grey); }
.money-bar > i { display: block; height: 100%; background: var(--line-strong); transform-origin: left center; transition: transform var(--d-tab) var(--ease); }
.money-bar.is-flat > i { background: var(--ink); }
.money-fig-sum { margin-top: var(--s-8); color: var(--ink-2); font: 400 13px/16px var(--font-text); }

/* the answer: the saving is the loudest thing in the card. Last row on a desktop (under a hairline); first row on a phone. */
.money-answer { order: 3; margin-top: var(--s-24); padding-top: var(--s-24); border-top: 1px solid var(--line); }
.money-answer .money-big { display: block; font-size: 44px; line-height: 48px; }
.money-answer-words { display: block; margin-top: var(--s-4); color: var(--ink-2); font: 400 15px/20px var(--font-text); }
.money-card-body > .money-answer + .money-fig { margin-top: 0; }

/* the team-size toggle: a grey pill with the chosen size lifted onto white (script un-hides it) */
.money-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); padding: var(--s-4); background: var(--grey); border-radius: 980px; }
.money-seg[hidden] { display: none; }
.money-seg button {
  height: 44px; border-radius: 980px; color: var(--ink-2); font: 500 15px/1 var(--font-text);
  transition: background-color var(--d-tab) var(--ease), color var(--d-tab) var(--ease), transform var(--d-hover) var(--ease);
}
.money-seg button:active { transform: scale(.98); }
@media (hover: hover) { .money-seg button:hover { color: var(--ink); } }
.money-seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .06); }

/* ============================================================ 6. Hero grid, split layout, FAQ grid, closing, sources */
/* /compare/ hero: words | card on a desktop, the head and the lead on the left with the card spanning both rows; on a phone the card
   follows the headline so the answer comes first. The H1 sits on the .wrap left edge, like the home page. */
.money-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.money-hero-head > .eyebrow + * { margin-top: var(--s-12); }
.money-hero-grid > .money-tile { margin-top: var(--s-32); }
.money-hero-more { margin-top: var(--s-32); }
.money-hero-more > .money-hero-actions { margin-top: var(--s-32); }
.money-hero-more > .money-hero-actions + p { margin-top: var(--s-16); }
@media (min-width: 900px) {
  .money-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: var(--s-64); }
  .money-hero-head { grid-column: 1; grid-row: 1; align-self: end; }
  .money-hero-more { grid-column: 1; grid-row: 2; align-self: start; margin-top: var(--s-16); }
  .money-hero-grid > .money-tile { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

.money-split { display: grid; gap: var(--s-48); align-items: center; }
.money-split.is-top { align-items: start; }
@media (min-width: 900px) { .money-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-64); } }
.money-split-copy > * + * { margin-top: var(--s-16); }
.money-split-copy > .eyebrow + * { margin-top: var(--s-12); }
.money-hero-actions { margin-top: var(--s-32); }

.money-sums { display: grid; gap: var(--s-12); padding: 0 0 0 var(--s-24); border-left: 1px solid var(--line-strong); list-style: none; color: var(--ink-2); }
.money-nowrap { white-space: nowrap; }

.money-faq-grid { display: grid; gap: var(--s-32); }
@media (min-width: 900px) { .money-faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-64); align-items: start; } }
.money-faq-grid > .section-head { margin-bottom: 0; }

.money-same { display: grid; gap: var(--s-16); margin-top: var(--head-gap); }
.money-same > p { max-width: 680px; }
@media (min-width: 900px) { .money-same { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-64); align-items: start; } }

.money-closing-copy > * + * { margin-top: var(--s-16); }
.money-closing-copy .lead { text-wrap: balance; }
.money-closing-actions { margin-top: var(--s-32); }
.money-closing-line { margin-top: var(--s-24); }
.money-closing-line .link-arrow { font-size: inherit; line-height: inherit; vertical-align: baseline; }

.money-sources > .wrap { padding-top: var(--s-24); border-top: 1px solid var(--line); }                /* the footnotes are marked off from the closing call above them */
.money-source-list { margin-top: var(--s-12); padding: 0; list-style: none; max-width: 800px; color: var(--ink-2); font: 400 13px/16px var(--font-text); }
.money-source-list li + li { margin-top: var(--s-8); }

/* ============================================================ 7. tile-full pieces */
/* .tile-full, .tile-words and .tile-media are site.css's; here only what goes inside them. The card sits in the middle of its column;
   the link under a lead takes 24 from it (12 on a phone, where the link is a 44 line whose text sits in the middle). */
.tile-full > .tile-media > .money-card { margin-inline: auto; }
.money-band .tile-words > .lead + p { margin-top: var(--s-24); }

/* the threshold chart: a per-person CRM's monthly cost by team size (1 to 10 people) against the flat 5,000.
   Heights are people x 799 / 7,990, so 6 people reach 60% and the flat line sits at 62.6%. */
.money-thresh { max-width: 460px; }
.money-thresh-plot { position: relative; }
.money-thresh-cols { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: var(--s-4); align-items: end; height: 160px; }
.money-thresh-cols > i { display: block; height: calc(var(--h) * 100%); border-radius: var(--r-14) var(--r-14) 0 0; background: var(--line-strong); }
.money-thresh-cols > i.is-over { background: var(--ink); }
.money-thresh-line {                                                         /* top = 160 x (1 - 5,000 / 7,990) */
  position: absolute; left: 0; right: 0; top: 60px; margin: 0; padding-top: var(--s-4); z-index: 1;
  border-top: 1px dashed var(--ink-2); color: var(--ink-2); font: 500 13px/16px var(--font-text);
}
.money-thresh-axis { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-8); text-align: center; color: var(--ink-2); font-size: 15px; line-height: 20px; }
.money-thresh-axis .is-edge { color: var(--ink); }
.money-thresh-key { display: grid; gap: var(--s-8); padding: 0; list-style: none; color: var(--ink); }
.money-thresh-key li { display: flex; align-items: baseline; gap: var(--s-12); }
.money-key { flex: none; width: 12px; height: 12px; border-radius: var(--r-14); background: var(--line-strong); }
.money-key.is-over { background: var(--ink); }

/* ============================================================ 8. Pill ink, wrapping */
/* Mono numbers take their size from the line they sit in (site.css, SYSTEM.md section 3). The one figure this page sizes itself: a price or total in a
   row set in the 21 line (18 on a phone) is Mono at 17, one step below it, and the largest thing in the row; the page class sits on the figure. */
.money-fig-lg { font-size: 17px; }

/* neutral pill text at 5.4:1 (the site-wide pill is 4.15:1 on the grey band); the same value site.css will carry */
:is(.money-band, .money-slab) .pill { color: #5c5c61; }

/* no widows in running text */

/* ============================================================ 9. Phone pass (13 Oct) */
/* The tables never scroll sideways on a phone. Pricing builds: name and price on one line, what it does and when it is paid under
   them. Pricing apps: a three-column header, one block for what each does, the shared inclusions as a tick list. Compare: one block
   per tool, one line per team size with a bar under it (all bars on one scale, so the flat tool stays flat while the others grow). */
@media (max-width: 767px) {
  .table-wrap > .money-table { min-width: 0; }
  .money-table:not(.money-matrix) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .money-table, .money-table :is(thead, tbody, tfoot) { display: block; }

  /* the two plan cards: one column that can shrink, padding 24, so a 320 phone does not push the page sideways */
  .money-amount { font-size: 36px; line-height: 40px; }   /* the h1 step on a phone: 44 was an eighth size at 390 (14 Oct QA) */
  .money-band .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .money-plan { padding: var(--s-24); }
  .money-btn-full { padding-inline: var(--s-16); }
  .money-extra > h3 { font-size: 19px; line-height: 24px; }                  /* one size fewer on the page: the lead's 19 */

  /* the proof strip: three across, mark over name */
  .money-proof { margin-top: var(--s-32); }
  .money-proof-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-16) var(--s-8); width: 100%; }
  .money-proof-list li { flex-direction: column; gap: var(--s-4); text-align: center; font: 500 13px/16px var(--font-text); }

  /* /pricing/ builds */
  .money-builds tbody tr:not(.money-group) { font-size: 19px; line-height: 24px; }
  .money-prices tbody tr:not(.money-group) {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-16); align-items: baseline;
    padding: var(--s-16) 0; border-bottom: 1px solid var(--line);
  }
  .money-prices tbody tr:not(.money-group):last-child { border-bottom: 0; }
  .money-prices tbody tr.money-group { display: block; }
  .money-prices tbody tr.money-group th { display: block; }                                    /* the rule above the second group runs the full width */
  .money-table.money-prices tbody tr:not(.money-group) > :is(th, td) { display: block; padding: 0; border: 0; text-align: left; }
  .money-table.money-prices tbody tr:not(.money-group) > th[scope="row"] { grid-column: 1; grid-row: 1; font: 500 17px/24px var(--font-text); }
  .money-table.money-prices tbody tr:not(.money-group) > td:nth-child(2) { grid-column: 1; grid-row: 2; margin-top: var(--s-4); color: var(--ink-2); font: 400 15px/20px var(--font-text); }
  .money-table.money-prices tbody tr:not(.money-group) > td.num { grid-column: 2; grid-row: 1; text-align: right; }
  .money-table.money-prices tbody tr:not(.money-group) > td.money-paid { grid-column: 2; grid-row: 2; margin-top: var(--s-4); text-align: right; font: 400 15px/20px var(--font-text); }
  .money-matrix-wrap + .money-builds-wrap { margin-top: var(--s-32); }

  /* /pricing/ apps */
  .money-matrix thead tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s-8); padding-bottom: var(--s-16); border-bottom: 1px solid var(--line-strong); }
  .money-table.money-matrix thead th { display: block; padding: 0; border: 0; }
  .money-table.money-matrix thead th.money-matrix-corner { grid-column: 1 / -1; width: auto; padding-bottom: var(--s-16); }
  .money-h-name { font-size: 19px; line-height: 24px; }
  .money-h-name > span { display: block; }                                  /* "Phoenix" over the app word on all three, so the prices line up */
  .money-h-price { font-size: 19px; line-height: 24px; }
  .money-h-unit { display: block; }
  .money-matrix .money-soon { display: flex; width: fit-content; margin: var(--s-4) 0 0; }
  .money-matrix tbody tr { display: block; }
  .money-matrix tbody tr:last-child td { border-bottom: 0; }
  .money-table.money-matrix tr.money-says { padding-top: var(--s-24); }
  .money-table.money-matrix tr.money-says > th { display: block; padding: 0 0 var(--s-4); border: 0; }
  .money-table.money-matrix tr.money-says > td { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--s-12); padding: var(--s-8) 0 0; border: 0; color: var(--ink); }
  .money-says .money-app-label { display: block; color: var(--ink-2); font: 500 13px/20px var(--font-text); }
  .money-matrix tr.money-group { display: block; }
  .money-matrix tr.money-group th { display: block; }
  .money-table.money-matrix tr.money-tick-row { display: flex; align-items: flex-start; gap: var(--s-12); padding: var(--s-8) 0; }
  .money-table.money-matrix tr.money-tick-row > th {
    display: block; flex: 1; min-width: 0; padding: 0; border: 0; color: var(--ink); font: 400 17px/24px var(--font-text);
  }
  .money-matrix tr.money-tick-row::before {                                  /* one tick per line: the three apps share every row, so one mark says it */
    content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: var(--ink);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4.5 12.5 5 5L19.5 7' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4.5 12.5 5 5L19.5 7' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .money-matrix tr.money-tick-row > td { display: none; }

  /* /compare/ */
  .money-compare tbody tr, .money-compare tfoot tr { display: block; padding: var(--s-24) 0; border-bottom: 1px solid var(--line); }
  .money-compare tbody tr:last-child { border-bottom: 0; }
  .money-compare tfoot tr { border-top: 1px solid var(--line-strong); border-bottom: 0; }
  .money-table.money-compare :is(tbody, tfoot) th[scope="row"] { display: block; padding: 0 0 var(--s-12); border: 0; }
  .money-table.money-compare :is(tbody, tfoot) td {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-16); align-items: start;
    padding: var(--s-8) var(--s-12); border: 0; border-radius: var(--r-14); text-align: right; font-size: 19px; line-height: 24px;
  }
  .money-compare td[data-team]::before {
    content: attr(data-team) " people"; grid-column: 1; grid-row: 1; text-align: left; color: var(--ink-2); font: 400 15px/20px var(--font-text);
  }
  .money-compare tbody td > .money-total { grid-column: 2; grid-row: 1 / span 2; }
  .money-compare tbody td > .money-per { grid-column: 1; grid-row: 2; margin-top: 0; text-align: left; }
  .money-compare tbody td > .money-meter {
    display: block; grid-column: 1 / -1; grid-row: 3; height: 8px; margin-top: var(--s-8); overflow: hidden; border-radius: 980px; background: var(--grey); text-align: left;
  }
  .money-compare .is-on .money-meter { background: var(--paper); }
  .money-meter > i { display: block; width: calc(var(--w) * 100%); height: 100%; border-radius: 980px; background: var(--line-strong); }
  .money-meter.is-flat > i { background: var(--ink); }
  .money-compare tfoot td > .num { grid-column: 2; grid-row: 1; }
  .money-compare tfoot td .money-sub { grid-column: 1 / -1; grid-row: 2; margin-top: var(--s-4); text-align: right; }

  /* the answer comes first on /compare/: the card sits under the headline and the saving leads it; the figures follow */
  .money-fig-total, .money-big { font-size: 24px; line-height: 28px; }
  .money-answer .money-big { font-size: 30px; line-height: 36px; }
  .money-answer-words { font-size: 17px; line-height: 24px; }
  .money-card-body > .money-answer { order: 0; margin-top: 0; padding-top: 0; border-top: 0; }
  .money-card-body > .money-answer + .money-fig { margin-top: var(--s-24); }

  /* the team-size toggle is thumb-sized: 44 high everywhere, 8 between the three */
  .money-tile { padding: var(--s-16); }
  .money-seg { gap: var(--s-8); }

  /* tile-full stacks: words, then the card; 24 of padding all round (site.css gives 48); the link takes its 44 line, so 12 of margin puts its text 24 under the lead */
  .money-band .tile-full { --pad: var(--s-24); }
  .money-band .tile-words > .lead + p { margin-top: var(--s-12); }
  .money-same { gap: var(--s-12); }
  .money-thresh { max-width: none; }

  /* a link after a sentence gets its own 44 line (a link inside a sentence cannot be made 44 high without breaking the line) */
  .money-note .link-arrow, .money-closing-line .link-arrow { display: flex; }
  .money-closing-line .link-arrow { justify-content: center; }
  .money-dot { display: none; }
  .money-dot + .link-arrow { margin-top: var(--s-8); }
}

/* a standalone text link is a 44 target for the mouse too: it keeps its 20 line, an invisible 12 above and below makes the hit area (phones get a real 44 line below) */
@media (min-width: 768px) {
  .money-band a.link-arrow, .money-slab a.link-arrow, .money-closing a.link-arrow { position: relative; }
  .money-band a.link-arrow::before, .money-slab a.link-arrow::before, .money-closing a.link-arrow::before { content: ""; position: absolute; inset: -12px -4px; }
}

/* a 320 phone: the three plan columns are 90 wide, so the "Coming next" chip gives up side padding rather than push the table sideways */
@media (max-width: 359px) {
  .money-matrix .money-soon { padding-inline: var(--s-4); max-width: 100%; }
}
