/* ============================================================
   Spend Crumbs — screens
   Everything here reads from tokens.css. No colour literals.
   ============================================================ */

.skip {
  position: absolute; left: var(--sp-4); top: -60px; z-index: 20;
  background: var(--ink); color: var(--on-ink);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--radius);
  transition: top var(--t-base) var(--ease);
}
.skip:focus { top: var(--sp-4); }

/* ---------------- top bar ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: var(--paper);
  border-bottom: var(--border) solid var(--rule);
}
.topbar__in {
  max-width: 1240px; margin: 0 auto;
  padding: var(--sp-3) var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-4);
}
.lockup {
  display: flex; align-items: center; gap: var(--sp-2);
  color: var(--ink); text-decoration: none; flex: none;
}
.lockup__mark { width: 23px; height: 23px; flex: none; }
/* The depleted line carries the brand colour — the mark states the product's
   whole argument, and the lockup stops reading as five grey rectangles. */
.lockup__mark .mark__low { fill: var(--brand); }
/* One moment of motion on the whole site, and it is the mark stating the
   product's argument before a word is read: the fourth line of stock drops
   from full to nearly gone. Once, on load, never again. */
.lockup__mark .mark__low {
  transform-box: fill-box; transform-origin: bottom;
  animation: deplete 900ms var(--ease) 280ms both;
}
@keyframes deplete { from { transform: scaleY(4.2); } to { transform: scaleY(1); } }
.lockup__word {
  font-size: var(--fs-md); font-weight: 600; letter-spacing: -.022em; white-space: nowrap;
}
.lockup__word span { font-weight: 500; color: var(--brand); }
.lockup:hover .lockup__word span { color: var(--ink); }

.topbar__file {
  margin: 0; flex: 1 1 auto; min-width: 0;
  font-family: var(--font-num); font-size: var(--fs-xs); color: var(--muted);
  font-variant-numeric: tabular-nums;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.topbar__tools { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; flex: none; }

/* ---------------- buttons ---------------- */
.btn {
  font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600;
  border-radius: var(--radius); border: var(--border) solid transparent;
  padding: var(--sp-2) var(--sp-3); cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.btn--ink { background: var(--ink); color: var(--on-ink); padding: 11px var(--sp-5); }
.btn--sm { padding: var(--sp-2) var(--sp-4); }
.btn:disabled { opacity: .6; cursor: default; }
.btn--ink:hover { background: var(--muted); }
.btn--quiet { background: transparent; color: var(--muted); border-color: var(--rule); }
.btn--quiet:hover { color: var(--ink); border-color: var(--ink); }
.btn--icon {
  background: transparent; color: var(--muted); border-color: var(--rule);
  width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
}
.btn--icon:hover { color: var(--ink); border-color: var(--ink); }

.topbar__back {
  font-size: var(--fs-sm); color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent; white-space: nowrap;
}
.topbar__back:hover { color: var(--ink); border-bottom-color: var(--rule); }
@media (max-width: 640px) { .topbar__back { display: none; } }

.btn--lg { padding: 13px var(--sp-6); font-size: var(--fs-md); }
a.btn { text-decoration: none; display: inline-block; }

/* ---------------- hero (site page) ---------------- */
.hero { padding: clamp(44px, 6vw, 76px) var(--sp-5) clamp(40px, 5vw, 64px); }
.hero__in { max-width: 1080px; margin: 0 auto; }
.hero__eyebrow {
  font-family: var(--font-num); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--brand); margin: 0 0 var(--sp-5);
}
.hero__h {
  font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 600; line-height: 1.08;
  letter-spacing: -.038em; margin: 0 0 var(--sp-5); max-width: 19ch; text-wrap: balance;
}
.hero__p {
  font-size: clamp(1rem, 1.6vw, 1.125rem); color: var(--muted);
  line-height: 1.6; margin: 0 0 var(--sp-8); max-width: 58ch;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-5); }
.hero__free { font-size: var(--fs-sm); color: var(--muted); }

.hero__shot { max-width: 1080px; margin: clamp(36px, 5vw, 56px) auto 0; }
.hero__shot .showcase__frame {
  border: var(--border) solid var(--rule-strong); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--paper);
}
.hero__shot .kpis { border: 0; border-radius: 0; border-bottom: var(--border) solid var(--rule); }
.hero__shot .showcase__lead { border-bottom: var(--border) solid var(--rule); }
.hero__shot .tblwrap { margin-top: 0; }
.hero__shot .tbl th { border-top: 0; }
.hero__cap { margin: var(--sp-3) 0 0; font-size: var(--fs-xs); color: var(--muted); }

/* ---------------- row becomes a sentence ---------------- */
.swap {
  margin: var(--sp-10) 0 0; display: grid;
  grid-template-columns: 1fr 40px 1fr; gap: var(--sp-5); align-items: start;
}
@media (max-width: 860px) {
  .swap { grid-template-columns: 1fr; gap: var(--sp-6); }
  .swap__arrow { transform: rotate(90deg); justify-self: start; }
}
.swap__k {
  font-family: var(--font-num); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--muted); margin: 0 0 var(--sp-3);
}
.swap__arrow { color: var(--rule-strong); align-self: center; }
.swap__arrow svg { width: 40px; height: 12px; display: block; }

.swap__sheet {
  border: var(--border) solid var(--rule); background: var(--ground);
  font-family: var(--font-num); font-size: var(--fs-xs); overflow-x: auto;
}
.mk--alt .swap__sheet { background: var(--ground); }
.swap__row {
  display: grid; grid-template-columns: minmax(150px, 2fr) repeat(4, minmax(48px, 1fr));
  border-bottom: var(--border) solid var(--rule);
}
.swap__row:last-child { border-bottom: 0; }
.swap__row span {
  padding: var(--sp-2) var(--sp-3); border-right: var(--border) solid var(--rule);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.swap__row span:last-child { border-right: 0; }
.swap__row--head span { color: var(--muted); background: var(--head); }

.swap__out {
  border: var(--border) solid var(--rule); border-left: 3px solid var(--act);
  background: var(--paper); padding: var(--sp-4) var(--sp-5);
}
.mk--alt .swap__out { background: var(--paper); }
.swap__decision { margin: 0 0 var(--sp-3); }
.swap__line { margin: 0; font-size: var(--fs-md); line-height: 1.5; }
.swap__line strong { font-weight: 600; }
.swap__meta { margin: var(--sp-3) 0 0; font-size: var(--fs-sm); color: var(--muted); }
.swap__meta .fig, .swap__line .fig {
  font-family: var(--font-num); font-variant-numeric: tabular-nums; color: var(--ink);
}
.swap__d { margin: var(--sp-3) 0 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }

/* ---------------- intake ---------------- */
.intake { padding: clamp(40px, 8vw, 88px) var(--sp-5) var(--sp-12); }
.intake__in { max-width: 780px; margin: 0 auto; }
.intake__h {
  font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 600;
  line-height: 1.08; letter-spacing: -.035em; margin: 0 0 var(--sp-5); text-wrap: balance;
}
.intake__p {
  font-size: var(--fs-md); color: var(--muted);
  max-width: 60ch; margin: 0 0 var(--sp-8); line-height: 1.6;
}

.drop {
  position: relative;
  border: 2px dashed var(--rule-strong); border-radius: var(--radius-lg);
  background: var(--paper);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.drop.is-over { border-color: var(--ink); background: var(--head); }
.drop__input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.drop__label {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-1);
  padding: var(--sp-10) var(--sp-5); text-align: center; pointer-events: none;
}
.drop__strong { font-size: var(--fs-md); font-weight: 600; }
.drop__weak { font-size: var(--fs-base); color: var(--muted); }
.drop__input:focus-visible + .drop__label { outline: 2px solid var(--focus); outline-offset: 4px; }

.intake__row {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.intake__privacy {
  margin: 0; font-size: var(--fs-sm); color: var(--muted);
  max-width: 46ch; line-height: 1.5;
}
.intake__privacy strong { color: var(--ink); font-weight: 600; display: block; }

.intake__error {
  margin: var(--sp-5) 0 0; padding: var(--sp-3) var(--sp-4);
  background: var(--act-wash); color: var(--act);
  border-radius: var(--radius); font-size: var(--fs-base); font-weight: 500;
}

.intake__needs {
  margin: var(--sp-8) 0 0; padding: var(--sp-5) 0 0;
  border-top: var(--border) solid var(--rule);
  font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; max-width: 68ch;
}
.intake__needs .label { display: block; margin-bottom: var(--sp-1); }

/* ============================================================
   the page below the fold
   Ruled like the paper it is named after: every section closed by
   a hairline, every group of items divided by one. No cards, no
   shadows - those belong to a different studio's project.
   ============================================================ */

.mk { border-top: var(--border) solid var(--rule); padding: clamp(48px, 7vw, 84px) var(--sp-5); }
.mk--alt { background: var(--paper); }
.mk__in { max-width: 1080px; margin: 0 auto; }
.mk__head { max-width: 62ch; }
.mk__label {
  font-family: var(--font-num); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--brand); margin: 0 0 var(--sp-4);
}
.mk__h {
  font-size: clamp(1.5rem, 3.4vw, 2.15rem); font-weight: 600; line-height: 1.16;
  letter-spacing: -.032em; margin: 0 0 var(--sp-4); text-wrap: balance;
}
.mk__p { font-size: var(--fs-md); color: var(--muted); line-height: 1.62; margin: 0; }

/* ---- the real screen, shown rather than described ---- */
.showcase { margin: var(--sp-10) 0 0; }
.showcase__frame {
  border: var(--border) solid var(--rule-strong); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--paper);
}
.mk--alt .showcase__frame { background: var(--ground); }
.showcase__frame .kpis { border: 0; border-radius: 0; border-bottom: var(--border) solid var(--rule); }
.showcase__lead { padding: var(--sp-5) var(--sp-6) var(--sp-6); }
.showcase__h {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 600; letter-spacing: -.028em;
  line-height: 1.24; margin: var(--sp-3) 0 0; text-wrap: balance;
}
.showcase__h .urgent { color: var(--act); }
.showcase__d { margin: var(--sp-3) 0 0; font-size: var(--fs-base); color: var(--muted); max-width: 60ch; }
.showcase__d .fig { font-family: var(--font-num); font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.showcase__cap { margin: var(--sp-3) 0 0; font-size: var(--fs-xs); color: var(--muted); }

/* ---- guardrails ---- */
.guards {
  list-style: none; margin: var(--sp-10) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: var(--border) solid var(--rule);
}
@media (max-width: 900px) { .guards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guards { grid-template-columns: 1fr; } }
.guards__i {
  padding: var(--sp-5) var(--sp-5) var(--sp-5) 0;
  border-right: var(--border) solid var(--rule);
}
.guards__i:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 900px) {
  .guards__i:nth-child(2n) { border-right: 0; padding-right: 0; }
  .guards__i:nth-child(-n+2) { border-bottom: var(--border) solid var(--rule); }
}
@media (max-width: 560px) {
  .guards__i { border-right: 0; padding-right: 0; border-bottom: var(--border) solid var(--rule); }
  .guards__i:last-child { border-bottom: 0; }
}
.guards__t { margin: 0; font-size: var(--fs-md); font-weight: 600; letter-spacing: -.015em; }
.guards__eg { margin: var(--sp-3) 0; }
.guards__row {
  display: inline-block; font-family: var(--font-num); font-size: var(--fs-xs);
  color: var(--muted); background: var(--head); border-left: 2px solid var(--act);
  padding: var(--sp-2) var(--sp-3); line-height: 1.45;
}
.mk--alt .guards__row { background: var(--ground); }
.guards__d { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
.guards__foot {
  margin: var(--sp-6) 0 0; padding-top: var(--sp-5);
  border-top: var(--border) solid var(--rule);
  font-size: var(--fs-sm); color: var(--muted); max-width: 76ch; line-height: 1.6;
}

/* ---- the three files ---- */
.outs {
  list-style: none; margin: var(--sp-10) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: var(--border) solid var(--rule);
}
@media (max-width: 780px) { .outs { grid-template-columns: 1fr; } }
.outs__i {
  padding: var(--sp-5) var(--sp-5) var(--sp-5) 0;
  border-right: var(--border) solid var(--rule);
}
.outs__i:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 780px) {
  .outs__i { border-right: 0; padding-right: 0; border-bottom: var(--border) solid var(--rule); }
  .outs__i:last-child { border-bottom: 0; }
}
.outs__k {
  margin: 0 0 var(--sp-3); font-family: var(--font-num); font-size: var(--fs-label);
  font-weight: 600; letter-spacing: var(--ls-label); color: var(--brand);
}
.outs__t { margin: 0; font-size: var(--fs-md); font-weight: 600; letter-spacing: -.015em; }
.outs__d { margin: var(--sp-2) 0 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }

/* ---- close ---- */
.close__row {
  margin-top: var(--sp-8); padding-top: var(--sp-6);
  border-top: var(--border) solid var(--rule);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5) var(--sp-6);
}
.close__row .btn { text-decoration: none; display: inline-block; }
.close__note { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.close__note strong { color: var(--ink); font-weight: 600; }
.close__note a { color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--rule); }
.close__note a:hover { border-bottom-color: var(--brand); }

/* ---------------- board ---------------- */
.board {
  max-width: 1240px; margin: 0 auto;
  padding: var(--sp-6) var(--sp-5) var(--sp-12);
  display: flex; flex-direction: column; gap: var(--sp-4);
}

.panel {
  background: var(--paper);
  border: var(--border) solid var(--rule);
  border-radius: var(--radius-lg);
}

/* tabs — a ruled row, not pills. Ledgers have columns, not buttons. */
.tabs {
  display: flex; gap: var(--sp-5); overflow-x: auto;
  border-bottom: var(--border) solid var(--rule);
  margin-bottom: var(--sp-2);
}
.tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: var(--fs-base); font-weight: 500;
  color: var(--muted); padding: var(--sp-2) 0 var(--sp-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); font-weight: 600; border-bottom-color: var(--brand); }

.view { display: flex; flex-direction: column; gap: var(--sp-4); }

.viewhead {
  display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: flex-end;
  justify-content: space-between; padding: 0 var(--sp-5);
}
.viewhead__note { margin: var(--sp-2) 0 0; font-size: var(--fs-sm); color: var(--muted); max-width: 62ch; }
.viewhead__note b { color: var(--ink); font-weight: 600; }
.viewhead__empty { margin: var(--sp-5); font-size: var(--fs-base); color: var(--muted); }

.filter { display: flex; flex-direction: column; gap: var(--sp-1); }
.filter__label {
  font-family: var(--font-num); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted);
}
.filter__input {
  font-family: var(--font-ui); font-size: var(--fs-base); color: var(--ink);
  background: var(--ground); border: var(--border) solid var(--rule);
  border-radius: var(--radius); padding: var(--sp-2) var(--sp-3); min-width: 230px;
}
.filter__input::placeholder { color: var(--muted); }
.filter__input:focus { border-color: var(--ink); outline: none; }

/* sortable headers */
.tbl--sortable th[data-sort] { cursor: pointer; user-select: none; }
.tbl--sortable th[data-sort]:hover { color: var(--ink); }
.tbl--sortable th[aria-sort] { color: var(--ink); }
.tbl--sortable th[data-sort]::after {
  content: ""; display: inline-block; width: 0; height: 0; margin-left: 5px;
  vertical-align: middle; opacity: 0;
}
.tbl--sortable th[aria-sort="ascending"]::after {
  opacity: 1; border-left: 3px solid transparent; border-right: 3px solid transparent;
  border-bottom: 4px solid var(--brand);
}
.tbl--sortable th[aria-sort="descending"]::after {
  opacity: 1; border-left: 3px solid transparent; border-right: 3px solid transparent;
  border-top: 4px solid var(--brand);
}

/* performance and recommendation read as words, not colour */
.perf { font-size: var(--fs-xs); color: var(--muted); }
.perf--above { color: var(--ink); font-weight: 600; }
.perf--below { color: var(--review); font-weight: 600; }
.score-cell { font-weight: 600; }

/* lead — the most expensive decision in the file, with the score as evidence */
.lead {
  background: var(--paper);
  border: var(--border) solid var(--rule); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: minmax(0, 1fr) 250px;
}
@media (max-width: 800px) { .lead { grid-template-columns: 1fr; } }
.lead__main { padding: var(--sp-6); }
.lead__h {
  font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.028em;
  line-height: 1.22; margin: var(--sp-3) 0 0; text-wrap: balance;
}
.lead__h .urgent { color: var(--act); }
.lead__d {
  margin: var(--sp-3) 0 0; font-size: var(--fs-base); color: var(--muted);
  max-width: 56ch; line-height: 1.55;
}
.lead__d .fig { font-family: var(--font-num); font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.lead__aside { padding: var(--sp-6); border-left: var(--border) solid var(--rule); }
@media (max-width: 800px) {
  .lead__aside { border-left: 0; border-top: var(--border) solid var(--rule); }
}
.score { display: flex; align-items: baseline; gap: var(--sp-2); margin: var(--sp-3) 0 0; }
.score__n {
  font-family: var(--font-num); font-size: 2.2rem; font-weight: 600;
  line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums;
}
.score__of { font-family: var(--font-num); font-size: var(--fs-sm); color: var(--muted); }
.score__state { margin: var(--sp-2) 0 0; font-size: var(--fs-sm); font-weight: 600; }
.score__state[data-tone="act"] { color: var(--act); }
.score__state[data-tone="review"] { color: var(--review); }
.score__state[data-tone="settled"] { color: var(--muted); }
.meter {
  height: 5px; background: var(--head); margin-top: var(--sp-3);
  border: var(--border) solid var(--rule); overflow: hidden;
}
.meter i { display: block; height: 100%; background: var(--review); transition: width var(--t-base) var(--ease); }
.meter i[data-tone="act"] { background: var(--act); }
.meter i[data-tone="settled"] { background: var(--muted); }
.score__note { margin: var(--sp-3) 0 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; }

/* kpis */
.kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--paper); border: var(--border) solid var(--rule);
  border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { padding: var(--sp-4) var(--sp-5); border-right: var(--border) solid var(--rule); }
.kpi:last-child { border-right: 0; }
@media (max-width: 760px) {
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:nth-child(-n+2) { border-bottom: var(--border) solid var(--rule); }
}
.kpi__v {
  font-family: var(--font-num); font-size: 1.15rem; font-weight: 600;
  letter-spacing: var(--ls-num); font-variant-numeric: tabular-nums;
  margin: var(--sp-2) 0 0;
}
.kpi__v[data-tone="act"] { color: var(--act); }
.kpi__v[data-tone="review"] { color: var(--review); }
.kpi__v small { font-size: var(--fs-xs); font-weight: 400; color: var(--muted); letter-spacing: 0; }
.kpi__note { margin: var(--sp-1) 0 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }

/* split: priorities beside the table */
.split { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: var(--sp-4); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
/* A grid item defaults to min-width:auto, which lets the 640px-wide table
   stretch its own column instead of scrolling inside .tblwrap. */
.split > *, .lead > *, .kpis > * { min-width: 0; }
.panel--pri { padding: var(--sp-5); }
.pri { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.pri__i { display: grid; grid-template-columns: 20px 1fr; gap: var(--sp-3); }
.pri__n {
  font-family: var(--font-num); font-size: var(--fs-xs); font-weight: 500;
  color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums;
}
.pri__t { margin: 0; font-size: var(--fs-base); font-weight: 600; line-height: 1.35; }
.pri__t[data-tone="act"] { color: var(--act); }
.pri__t[data-tone="review"] { color: var(--review); }
.pri__d { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }
.pri__d .fig { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.pri__none { margin: var(--sp-4) 0 0; font-size: var(--fs-base); color: var(--muted); }

/* table */
.panel--tbl { padding: var(--sp-5) 0 var(--sp-2); }
.panel--tbl > .label, .health__head { padding-left: var(--sp-5); padding-right: var(--sp-5); }
.tblwrap { overflow-x: auto; margin-top: var(--sp-3); }
.tbl { border-collapse: collapse; width: 100%; min-width: 640px; }
.tbl th {
  text-align: left; font-family: var(--font-num);
  font-size: 0.625rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); padding: var(--sp-2) var(--sp-3); background: var(--head);
  border-top: var(--border) solid var(--rule); border-bottom: var(--border) solid var(--rule);
  white-space: nowrap;
}
.tbl th:first-child, .tbl td:first-child { padding-left: var(--sp-5); }
.tbl th:last-child, .tbl td:last-child { padding-right: var(--sp-5); }
.tbl td {
  padding: var(--sp-3); font-size: var(--fs-sm);
  border-bottom: var(--border) solid var(--rule); white-space: nowrap;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .num { font-family: var(--font-num); font-variant-numeric: tabular-nums; text-align: right; }
.tbl th.num { text-align: right; }
.tbl .prod { font-weight: 500; white-space: normal; min-width: 190px; }
.tbl .br { color: var(--muted); font-size: var(--fs-xs); }
.tbl .v-act { color: var(--act); font-weight: 600; }
.tbl .v-review { color: var(--review); font-weight: 600; }
.tbl--health td { white-space: normal; }
.tbl--health .why { color: var(--muted); min-width: 260px; }

/* data health */
.panel--health { padding: var(--sp-5) 0 var(--sp-2); }
.health__head { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); align-items: baseline; }
.health__sum { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.health__clean {
  padding: 0 var(--sp-5) var(--sp-4); margin: var(--sp-3) 0 0;
  font-size: var(--fs-base); color: var(--muted);
}

/* take it with you */
.panel--take { padding: var(--sp-5); }
.take { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 860px) { .take { grid-template-columns: 1fr; gap: var(--sp-4); } }
.take__i {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  padding-right: var(--sp-5); border-right: var(--border) solid var(--rule);
}
.take__i:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 860px) {
  .take__i { border-right: 0; padding-right: 0; padding-bottom: var(--sp-4); border-bottom: var(--border) solid var(--rule); }
  .take__i:last-child { border-bottom: 0; padding-bottom: 0; }
}
.take__t { margin: 0; font-size: var(--fs-base); font-weight: 600; }
.take__d { margin: var(--sp-1) 0 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.take__i .btn { flex: none; }

/* footer */
.foot { border-top: var(--border) solid var(--rule); margin-top: var(--sp-6); }
.foot__in {
  max-width: 1240px; margin: 0 auto; padding: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); justify-content: space-between;
  font-size: var(--fs-xs); color: var(--muted);
}
.foot__in p { margin: 0; }
.foot__credit a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--rule); }
.foot__credit a:hover { color: var(--ink); border-bottom-color: var(--ink); }
