/* LiveSeller Profit: site CSS on top of the tasteskill system (system.css, ui/cards.css, motion.css).
   Tokens, type, grid, buttons, nav and footer come from the system and the dealt :root block in each
   page's head (palette cool-white-slate, Schibsted Grotesk, soft radius, pill buttons, sage lit ground).
   This file adds only what the system lacks: the calculator window, its result cards and breakdown
   tables, the homepage's section visuals, and reading styles for the guide pages and the tracker. */

:root {
  --pos: #18704a;            /* profit */
  --neg: #b4283a;            /* loss */
  --pos-tint: #e3f1e9;
  --neg-tint: #fbe9ec;
  --warn-bg: #fbf3dc;
  --warn-ink: #5c440e;
  --warn-edge: #d6a72a;
  --paper: #ffffff;
  --win-line: color-mix(in oklab, var(--p-ink) 12%, transparent);
}
[hidden], .hide { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.note { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
:is(.prose, .faq, .note, .calc-meta, .flag, .sources, .src-list, .doc-lede, .cta, .trk-top, .side, .drop, .pro-card) a:not(.btn) {
  color: var(--action); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
:is(.prose, .faq, .note, .calc-meta, .flag, .sources, .src-list, .doc-lede, .cta) a:not(.btn):hover { color: var(--ink); }

/* nav extras: the Pro flag shows only once Pro is on in this browser; the menu card's ledger picture */
.nav .pro-badge { display: none; gap: 6px; align-items: center; }
html.is-pro .nav .pro-badge { display: inline-flex; }
.menu-ledger { --p-h: 160px; display: grid; align-content: center; gap: 0; padding: 18px 20px; }
.menu-ledger > span { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; background: var(--paper); font-size: 13px; color: var(--p-ink); }
.menu-ledger > span:first-child { border-radius: 8px 8px 0 0; }
.menu-ledger > span:last-child { border-radius: 0 0 8px 8px; border-top: 1px solid var(--win-line); font-weight: 500; }
.menu-ledger b { font-weight: 400; } .menu-ledger i { font-style: normal; }

/* ======================================================================
   The calculator window: one app window on the sage lit ground
   ====================================================================== */
.calc-stage { background: var(--ground-bg); border-radius: var(--r-lg); padding: clamp(12px, 2.4vw, 32px); }
.calc-win {
  container-type: inline-size; background: var(--paper); color: var(--p-ink);
  border-radius: var(--r-md); border: 1px solid color-mix(in oklab, var(--ground-ink) 14%, transparent);
  box-shadow: 0 1px 2px rgb(31 48 56 / .06), 0 12px 32px -12px rgb(31 48 56 / .22);
  --bg: var(--paper); --ink: var(--p-ink); --muted: var(--p-muted); --line: var(--win-line);
}
.calc-win__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 0 20px;
  border-bottom: 1px solid var(--win-line); font-size: var(--t-small); background: color-mix(in oklab, var(--p-surface) 55%, var(--paper)); border-radius: var(--r-md) var(--r-md) 0 0; }
.calc-win__bar b { font-weight: 500; }
.calc-win__bar span { color: var(--p-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calc-loading { padding: 24px 20px; color: var(--p-muted); }

.calc { display: grid; grid-template-columns: minmax(0, 1fr); }
.calc > * { min-width: 0; }
.calc-in { padding: 20px; display: grid; gap: 14px; align-content: start; }
.calc-out { padding: 20px; border-top: 1px solid var(--win-line); background: color-mix(in oklab, var(--p-surface) 35%, var(--paper)); border-radius: 0 0 var(--r-md) var(--r-md); }
@container (min-width: 620px) {
  .calc { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); }
  .calc-out { border-top: 0; border-left: 1px solid var(--win-line); border-radius: 0 0 var(--r-md) 0; }
}
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 12px 12px; }
.calc-fields > .f-full { grid-column: 1 / -1; }
.calc-fields > * { min-width: 0; }
.calc-fields > .f-wide { grid-column: 1 / -1; }
@container (max-width: 459px) { .calc-fields > .f-sel { grid-column: 1 / -1; } }
.calc label, .trk-top label, .filters label, #mapping label { display: block; font-size: 13px; font-weight: 500; color: var(--p-ink); margin-bottom: 6px; line-height: 1.3; }
.calc :is(input[type=number], input[type=text], select),
.doc :is(input[type=number], input[type=text], input[type=date], select) {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid color-mix(in oklab, var(--p-ink) 22%, transparent); border-radius: var(--r-sm);
  background: var(--paper); color: var(--p-ink); font: 400 16px/1.2 var(--font-text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.calc :is(input, select):hover, .doc :is(input, select):hover { border-color: color-mix(in oklab, var(--p-ink) 40%, transparent); }
.calc :is(input, select):focus-visible, .doc :is(input, select):focus-visible { outline: none; border-color: var(--p-action); box-shadow: 0 0 0 3px color-mix(in oklab, var(--p-action) 22%, transparent); }
.calc select { font-size: 15px; }
.calc select, .doc select { appearance: none; -webkit-appearance: none; padding-right: 36px; text-overflow: ellipsis; white-space: nowrap;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%231f3038' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.doc select[multiple] { height: auto; min-height: 110px; background-image: none; }
.money { position: relative; }
.money .cur, .money .suf { position: absolute; top: 50%; transform: translateY(-50%); color: var(--p-muted); pointer-events: none; font-size: 15px; }
.money .cur { left: 12px; } .money .suf { right: 12px; }
.money.has-cur input { padding-left: 28px; }
.money.has-suf input { padding-right: 32px; }
.money.big input { font-weight: 500; }
input[type=checkbox] { width: 20px; height: 20px; margin: 0 10px 0 0; accent-color: var(--p-action); flex: none; }
.chk { display: flex !important; align-items: center; min-height: 44px; font-size: 15px !important; font-weight: 400 !important; cursor: pointer; margin: 0 !important; }
details.adv { border-top: 1px solid var(--win-line); }
details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 10px; list-style: none; font-weight: 500; font-size: 15px; }
details summary::-webkit-details-marker { display: none; }
details:not(.faq details) > summary::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform var(--dur) var(--ease); flex: none; margin: 0 2px; }
details:not(.faq details)[open] > summary::before { transform: rotate(45deg); }
details.adv > .calc-fields { padding: 4px 0 8px; }
.calc-meta { margin: 0; font-size: 13px; color: var(--p-muted); }

/* results: one card per platform */
.tags { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-bottom: 12px; }
@container (min-width: 460px) and (max-width: 619px) { .tags.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tagwrap { min-width: 0; }
.tag { background: var(--paper); border: 1px solid var(--win-line); border-radius: var(--r-md); padding: 16px 18px 14px; }
.tag-plat { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; line-height: 1.2; }
.tag-plat > span:not(.win) { color: var(--p-muted); font-weight: 400; font-size: 13px; }
.tags.two .tag-plat > span:not(.win) { display: none; }
.tag-k { margin-top: 10px; font-size: 13px; color: var(--p-muted); }
.tag-num { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 9cqi, 40px); line-height: 1.05; letter-spacing: -0.03em; margin: 2px 0 12px; white-space: nowrap; color: var(--pos); }
.tag.is-neg .tag-num { color: var(--neg); }
.tag-dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--win-line); padding-top: 10px; }
.tag-dl div { display: grid; gap: 2px; min-width: 0; }
.tag-dl dt { font-size: 13px; color: var(--p-muted); }
.tag-dl dd { margin: 0; font-size: 15px; font-weight: 500; white-space: nowrap; }
.win { margin-left: auto; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  background: color-mix(in oklab, var(--p-action) 12%, var(--paper)); color: color-mix(in oklab, var(--p-action) 80%, var(--p-ink)); font-size: 13px; font-weight: 500; white-space: nowrap; }
.win.pop { animation: win-in .3s var(--ease); }
@keyframes win-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.verdict { padding: 2px 2px 0; }
.verdict b { font-weight: 500; font-size: 16px; line-height: 1.4; display: block; }
.verdict .note { margin: 6px 0 0; }

/* the itemized breakdown */
details.bd { background: var(--paper); border: 1px solid var(--win-line); border-radius: var(--r-md); padding: 2px 16px 12px; margin: 0 0 12px; }
details.bd > summary { font-size: 15px; }
.res table { width: 100%; border-collapse: collapse; font-size: 15px; }
.res td { padding: 8px 0; border-bottom: 1px solid var(--win-line); vertical-align: top; }
.res td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.res .tot td { font-weight: 500; border-bottom: 1px solid color-mix(in oklab, var(--p-ink) 45%, transparent); }
.res .tot.final td { border-bottom: 0; font-size: 16px; }
.res .note { margin: 10px 0 0; }
.pos { color: var(--pos); } .neg { color: var(--neg); }

/* phones: a fixed profit bar while the results are off screen (calc.js hides it when they show) */
.calc-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; gap: 18px; min-height: 60px;
  padding: 8px 24px; border-radius: 999px; box-shadow: 0 8px 24px rgb(15 30 36 / .22); background: var(--p-action); color: #fff; transition: transform .2s var(--ease); }
.calc-bar.off { transform: translateY(calc(100% + 24px)); }
.calc-bar .bk { display: block; font-size: 13px; color: rgb(255 255 255 / .78); line-height: 1.2; }
.calc-bar .bv { display: block; font: 400 22px/1.1 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.calc-bar .bv.neg { color: #ffd9de; }
.calc-bar .icon { margin-left: auto; }
@media (min-width: 960px) { .calc-bar { display: none; } }

/* ======================================================================
   Homepage
   ====================================================================== */
.hero .hero__proof { margin-top: var(--s-5); font-size: var(--t-small); color: var(--muted); }
.hero__art--calc { overflow: visible; display: flex; flex-direction: column; justify-content: flex-start; }
.hero__art--calc > .calc-stage { background: none; padding: 24px; flex: 1 1 auto; display: flex; flex-direction: column; }
.hero__art--calc .calc-win { flex: 1 1 auto; display: flex; flex-direction: column; }
.hero__art--calc .spcalc { flex: 1 1 auto; display: flex; flex-direction: column; }
.hero__art--calc .calc { flex: 1 1 auto; }
.hero--calc .hero__text { display: flex; flex-direction: column; height: 100%; }
.hero--calc .hero-facts { margin-top: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.hero--calc .hero-facts dd { font: 400 28px/1.1 var(--font-display); letter-spacing: -0.02em; }
.hero--calc .calc-in { padding: 18px 20px; gap: 12px; }
.hero--calc .calc-out { padding: 18px 20px; }
.hero--calc .calc-meta { display: none; }
.calc-win__bar a { color: var(--p-action); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .hero--calc .hero__text { padding-top: var(--s-2); }
}
/* the working calculator never hides under the fold: on a short or narrow screen the hero grows with it */
@media (max-width: 1023px), (max-height: 860px) {
  main > .hero--calc { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero--calc > .wrap { height: auto; }
  .hero--calc .hero__art { height: auto; flex: none; }
}
@media (max-width: 639px) {
  /* the nav's button goes into the menu sheet on a phone (the hero shows it on the first screen) */
  .nav:not(.is-open) .nav__actions { display: none; }
  .nav:not(.is-open) .nav__actions + .nav__toggle { margin-left: auto; }
  .hero--calc .calc-win__bar span { display: none; }
  .hero--calc .calc-meta { display: block; }
  .hero__art--calc { margin-top: var(--s-6); border-radius: var(--r-md); }
  .hero__art--calc > .calc-stage { padding: 10px; }
  .hero--calc .calc-in, .hero--calc .calc-out { padding: 14px; }
  .calc-win__bar { padding: 0 14px; }
}

/* breakdown: the two live tables side by side */
.bd-grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); align-content: start; }
@media (min-width: 900px) { .bd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bd-grid .bd { margin: 0; padding: 2px 24px 14px; border-radius: var(--r-lg); border-color: var(--line); }
.bd-grid details.bd > summary { font-size: var(--t-card); }
.bd-grid .bd-note { grid-column: 1 / -1; }
.bd-grid .bd-note .note { margin: 0; max-width: 72ch; }
.bd-grid .bd .note { font-size: 13px; line-height: 1.45; margin-top: 8px; }
.bd-grid table td { padding-block: 7px; }

/* rates table and the sources under it */
.rates-table { flex: none; border-top: 1px solid var(--line-strong); }
.tbl.tbl--rates { font-size: var(--t-body); background: none; }
.tbl.tbl--rates th, .tbl.tbl--rates td { padding: 24px 32px 24px 0; }
.tbl.tbl--rates th { padding-block: 16px; background: none; font-weight: 500; font-size: var(--t-small); color: var(--muted); border-bottom: 1px solid var(--line); }
.tbl--rates td:first-child { font-weight: 500; white-space: nowrap; }
.tbl--rates tr:last-child td { border-bottom: 0; }
.src-block { margin-top: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); padding: 0 16px; }
.src-block > summary { display: flex; align-items: center; gap: 12px; min-height: 56px; cursor: pointer; font-size: var(--t-small); font-weight: 500; list-style: none; }
.src-block > summary::-webkit-details-marker { display: none; }
.src-block > summary::before { display: none !important; }
.src-ico { flex: none; color: var(--p-action); }
.src-block[open] > summary { border-bottom: 1px solid var(--line); }
.src-block .src-list { padding: 8px 0 12px; }
.src-list { font-size: var(--t-small); line-height: 1.4; }
.src-list li a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; }
@media (min-width: 1024px) { .src-list li a { min-height: 32px; } }

/* the statement: one large paragraph, the word-highlight moment */
.statement .t-label { color: var(--muted); margin-bottom: var(--s-5); }
#difference > .wrap { justify-content: flex-start; }
#difference .mo-wh__text { font-size: clamp(34px, 2.9vw + 22px, 64px); line-height: 1.12; max-width: 19em; }

/* tracker: text left, the tracker window on the lit ground right */
.split-col h2 { margin-bottom: var(--s-2); }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.trk-frame { align-self: stretch; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 48px 0 0 48px; min-height: 480px; }
.trk-win { width: calc(100% + 1px); background: var(--paper); color: var(--p-ink); border: 1px solid color-mix(in oklab, var(--ground-ink) 14%, transparent); border-right: 0; border-bottom: 0;
  border-radius: var(--r-md) 0 0 0; box-shadow: 0 12px 32px -12px rgb(31 48 56 / .22); --ink: var(--p-ink); --muted: var(--p-muted); }
.trk-win .calc-win__bar { border-radius: var(--r-md) 0 0 0; }
.trk-win__body { padding: 20px 48px 28px 22px; display: grid; gap: 18px; }
.trk-chip { justify-self: start; max-width: 100%; padding: 4px 12px; border-radius: 999px; background: var(--pos-tint); color: var(--pos); font-size: 13px; font-weight: 500; }
.trk-map { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.trk-map div { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 1px solid var(--win-line); border-radius: var(--r-sm); font-size: 13px; }
.trk-map dt { font-family: var(--font-mono); font-size: 12px; color: var(--p-muted); }
.trk-map dd { margin: 0; font-weight: 500; }
.trk-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.trk-tbl th { text-align: right; font-weight: 500; font-size: 13px; color: var(--p-muted); padding: 8px 0 8px 12px; border-bottom: 1px solid var(--win-line); }
.trk-tbl td { text-align: right; padding: 10px 0 10px 12px; border-bottom: 1px solid var(--win-line); white-space: nowrap; }
.trk-tbl :is(th, td):first-child { text-align: left; padding-left: 0; }
.trk-tbl td:last-child { color: var(--pos); }
.trk-tbl tr:nth-child(2) td:last-child { color: var(--neg); }
.trk-tbl .is-tot td { font-weight: 500; border-bottom: 0; }
@media (max-width: 1023px) { .trk-frame { margin-top: var(--s-6); min-height: 0; } }
@media (max-width: 639px) {
  .trk-frame { padding: 24px 0 0 16px; }
  .trk-win__body { padding: 16px 20px 20px 16px; }
  .trk-map { grid-template-columns: minmax(0, 1fr); }
  .trk-map div:nth-child(n+3) { display: none; }
}

/* calculators: four linked rate cards, then the guides */
.calc-list { align-self: start; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.calc-list li + li { border-top: 1px solid var(--line); }
.calc-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 150px; gap: 8px 24px; align-items: center; padding: 22px 0; color: var(--ink); }
.calc-row__fig { font: 400 clamp(30px, 1vw + 22px, 36px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--p-action); }
.calc-row__text { display: grid; gap: 4px; font-size: var(--t-small); color: var(--muted); }
.calc-row__text h3 { margin: 0; color: var(--ink); transition: color var(--dur) var(--ease); }
.calc-row:hover h3 { color: var(--p-action); }
.calc-row__bar { display: grid; gap: 8px; }
.rate-bar { display: block; height: 8px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 10%, transparent); overflow: hidden; }
.rate-bar i { display: block; height: 100%; border-radius: inherit; background: var(--p-action); }
.rate-panel__note { font-size: 13px; color: var(--muted); }
@media (max-width: 1023px) { .calc-list { margin-top: var(--s-6); } }
@media (max-width: 639px) { .calc-row { grid-template-columns: 64px minmax(0, 1fr); } .calc-row__bar { grid-column: 2; } }
.guide-rows { margin-top: var(--s-6); }
.guide-rows > li { display: block; padding: 0; }
.guide-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); min-height: 56px; padding-block: var(--s-3); }
.guide-row .rows__name { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: text-decoration-color var(--dur) var(--ease); }
.guide-row:hover .rows__name { text-decoration-color: currentColor; }
@media (max-width: 639px) { .guide-row { flex-direction: column; align-items: flex-start; gap: 2px; } }

/* ======================================================================
   Guide and calculator pages (reading flow; the same header, footer and tokens)
   ====================================================================== */
.doc { padding-top: var(--nav); }
.doc-head { padding: var(--s-9) 0 var(--s-7); }
.doc-head h1 { font-size: clamp(36px, 2.8vw + 22px, 60px); max-width: 18ch; }
.doc-lede { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.5; max-width: 60ch; color: var(--ink); }
.doc-body { padding-bottom: var(--s-9); }
.doc-body > * + * { margin-top: var(--s-8); }
.doc-body > .calc-stage + .cta { margin-top: var(--s-6); }

.prose { max-width: 760px; }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: clamp(26px, 1vw + 20px, 36px); line-height: 1.15; margin-top: var(--s-8); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; margin-top: var(--s-6); }
.prose p, .prose li { line-height: 1.65; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose b { font-weight: 500; }

.flag { display: flex; gap: 10px; align-items: flex-start; background: var(--warn-bg); color: var(--warn-ink); border-left: 3px solid var(--warn-edge); border-radius: var(--r-sm); padding: 12px 14px; font-size: 15px; line-height: 1.5; }
.flag.bad { background: var(--neg-tint); color: #6e1622; border-left-color: var(--neg); }
.flag b { font-weight: 500; }
.badge { display: inline-flex; align-items: center; height: 24px; font-size: 13px; font-weight: 500; padding: 0 10px; border-radius: 999px; margin-right: 4px; white-space: nowrap; }
.badge.ok { color: var(--pos); background: var(--pos-tint); }
.badge.unv { color: var(--warn-ink); background: var(--warn-bg); }

.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.prose .scroll { border: 1px solid var(--line); border-radius: var(--r-md); }
.tbl th, .tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { font-weight: 500; font-size: 14px; color: var(--muted); background: color-mix(in oklab, var(--p-surface) 50%, var(--paper)); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.n, .tbl th.n { text-align: right; white-space: nowrap; }
.tbl td:nth-child(2) { min-width: 6.6em; }
.tbl .note { font-weight: 400; font-size: 13px; }

/* the tracker teaser */
.cta { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); align-items: center; background: var(--p-surface); border-radius: var(--r-lg); padding: var(--s-6); }
.cta h2 { font-size: clamp(24px, .8vw + 20px, 32px); margin-bottom: var(--s-3); }
.cta p { max-width: 62ch; }
.cta .tiers { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: var(--s-4); font-size: 15px; }
.cta .tiers span { display: inline-flex; align-items: center; gap: 8px; }
.cta .tiers .icon { color: var(--p-action); }
@media (min-width: 760px) { .cta { grid-template-columns: minmax(0, 1fr) auto; padding: var(--s-7); } }

.faq-block { max-width: 860px; }
.faq-block h2 { font-size: clamp(26px, 1vw + 20px, 36px); margin-bottom: var(--s-6); }
.sources > details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sources > details > summary { min-height: 56px; }
.sources ul { font-size: var(--t-small); padding: 0 0 var(--s-5) 20px; list-style: disc; }
.sources li + li { margin-top: 6px; }
.sources p.note { margin-bottom: var(--s-3); }

.site-foot .footer__legal span { max-width: 80ch; }
.footer__legal { font-size: var(--t-small); }
.footer .nav__logo .mark--initial { width: 28px; height: 28px; font-size: 16px; vertical-align: 0; }

/* ======================================================================
   Tracker page
   ====================================================================== */
.trk-top { display: grid; gap: var(--s-5); align-items: start; grid-template-columns: minmax(0, 1fr); margin-bottom: var(--s-5); }
@media (min-width: 860px) { .trk-top { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.drop { border: 1.5px dashed color-mix(in oklab, var(--p-ink) 30%, transparent); background: var(--paper); border-radius: var(--r-lg); padding: var(--s-6); }
.drop.over { border-color: var(--p-action); background: color-mix(in oklab, var(--p-action) 6%, var(--paper)); }
.drop h2, .side h2 { margin: 0 0 var(--s-3); font-size: clamp(22px, .6vw + 18px, 28px); }
.drop .note b, .side .note i { color: var(--ink); font-weight: 500; }
.drop .btn-row { margin: var(--s-5) 0 var(--s-3); }
.filebtn { position: relative; cursor: pointer; }
.filebtn:focus-within { outline: 2px solid var(--action); outline-offset: 2px; }
.filebtn input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.side { background: var(--p-surface); border-radius: var(--r-lg); padding: var(--s-6); }
.side .btn { margin-top: var(--s-4); }
.privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: var(--s-4); }
.privacy b { font-weight: 500; }
.privacy .icon { color: var(--pos); margin-top: 2px; }
.meter-k { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.meter-bar { height: 8px; background: color-mix(in oklab, var(--p-ink) 10%, transparent); border-radius: 99px; overflow: hidden; }
.meter-bar i { display: block; height: 100%; background: var(--p-action); border-radius: 99px; }
.meter.full .meter-bar i { background: var(--neg); }
.meter-pro { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--pos); }
#tmsg:empty { display: none; }
#tmsg.note { background: var(--pos-tint); color: var(--ink); border-radius: var(--r-sm); padding: 12px 14px; margin: 0 0 var(--s-4); }
#tmsg.flag { margin: 0 0 var(--s-4); }
#mapping { margin-bottom: var(--s-5); padding: var(--s-6); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: visible; }
#mapping::before, #mapping::after { display: none; }
#mapping h3 { margin: 0 0 var(--s-2); font-size: 24px; }
#mapping .grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: var(--s-4) 0; }
#mapping .btn-row { margin-top: var(--s-5); }
.maprow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.maprow > * { min-width: 0; }
.maprow b { font-weight: 500; }
@media (min-width: 700px) { .maprow { grid-template-columns: 240px minmax(0, 1fr); align-items: center; } }
.empty { text-align: center; padding: var(--s-7) var(--s-5); background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted); margin-bottom: var(--s-5); }
.empty b { color: var(--ink); font-weight: 500; }
.empty .icon { width: 32px; height: 32px; color: var(--p-action); display: block; margin: 0 auto 10px; }
.filters { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: var(--s-5); }
.filters > * { min-width: 0; }
.filters > div:last-child { grid-column: 1 / -1; }
@media (min-width: 760px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; } .filters > div:last-child { grid-column: auto; } }
.summary { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); margin-bottom: var(--s-4); align-items: start; container-type: inline-size; }
@media (min-width: 760px) { .summary { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); } }
.summary .tag-dl { grid-template-columns: minmax(0, 1fr); }
.kpi-list { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 18px; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; }
@media (min-width: 560px) { .kpi-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kpi-list dt { color: var(--muted); }
.kpi-list dd { margin: 0; font-weight: 500; white-space: nowrap; }
#tabs { display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-top: var(--s-5); padding: 4px; background: var(--p-surface); border-radius: var(--r-md) var(--r-md) 0 0; }
#tabs::-webkit-scrollbar { display: none; }
#tabs button { flex: none; background: transparent; color: var(--muted); border: 0; border-radius: var(--r-sm); min-height: 44px; padding: 0 16px; font: 500 15px/1 var(--font-text); cursor: pointer; }
#tabs button:hover { color: var(--ink); background: color-mix(in oklab, var(--p-ink) 6%, transparent); }
#tabs button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(31 48 56 / .12); }
.ledger-wrap { background: var(--paper); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); padding: 4px 0 8px; }
#report > .note, #report > p { padding: 12px 16px 0; margin: 0; }
#report > p input[type=text] { max-width: 420px; }
table.ledger { width: 100%; border-collapse: collapse; font-size: 15px; }
table.ledger th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
table.ledger td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.ledger td.n, table.ledger th.n { text-align: right; white-space: nowrap; }
table.ledger tr.tot td { font-weight: 500; border-top: 1px solid var(--ink); border-bottom: 0; }
table.ledger input[type=number] { width: 110px; height: 44px; text-align: right; display: inline-block; }
table.ledger .note { font-size: 13px; }
.locked { position: relative; margin: 10px 14px 4px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); overflow: hidden; background: var(--paper); }
.locked table { width: 100%; border-collapse: collapse; font-size: 15px; filter: blur(2px); opacity: .85; user-select: none; }
.locked td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.locked td.n { text-align: right; }
.locked-msg { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 12px; text-align: center; background: rgb(255 255 255 / .6); font-weight: 500; }
.exports { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--s-5) 0 var(--s-6); }
.pro-card { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); background: var(--p-ink); color: var(--p-inv-ink); border-radius: var(--r-lg); padding: var(--s-7);
  --bg: var(--p-ink); --ink: var(--p-inv-ink); --muted: var(--p-inv-muted); --line: color-mix(in oklab, var(--p-inv-ink) 16%, transparent); --action: var(--p-inv-action); --action-ink: var(--p-inv-action-ink); }
@media (min-width: 760px) { .pro-card { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; } }
.pro-card h2 { margin: 0 0 var(--s-3); font-size: clamp(26px, 1vw + 20px, 36px); }
.pro-card ul { padding: 0; margin: var(--s-4) 0 0; }
.pro-card li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.pro-card li .icon { color: #9fe0c0; margin-top: 3px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--s-4); font-size: 14px; }
.plans div { padding: 12px 16px; color: var(--muted); }
.plans div + div { border-left: 1px solid var(--line); background: color-mix(in oklab, var(--p-inv-ink) 8%, transparent); }
.plans b { display: block; font: 400 28px/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.pro-card .price { margin: var(--s-3) 0 0; font-size: 14px; color: var(--muted); }
.pro-card .btn { width: 100%; }
.pro-on { display: flex; gap: 10px; align-items: center; background: var(--pos-tint); border-radius: var(--r-md); padding: 16px 18px; }
.pro-on b { font-weight: 500; }
.pro-on .icon { color: var(--pos); }
details.manage { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.manage .btn-row { padding-bottom: var(--s-5); }
details.manage .btn-row label { margin: 0; }

@media (max-width: 759px) {
  table.ledger thead, table.ledger tr.hd { display: none; }
  table.ledger, table.ledger tbody, table.ledger tr, table.ledger td { display: block; width: 100%; }
  table.ledger tr { padding: 10px 16px; border-bottom: 1px solid var(--line); }
  table.ledger td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  table.ledger td[data-label]::before { content: attr(data-label); color: var(--muted); text-align: left; }
  table.ledger td.key { font-weight: 500; font-size: 16px; text-align: left; display: block; padding-bottom: 4px; }
  table.ledger td.key::before { display: none; }
  table.ledger tr.tot { border-top: 1px solid var(--ink); }
  table.ledger tr.tot td { border: 0; }
  table.ledger td:empty { display: none; }
}
@media (max-width: 599px) {
  .tbl { font-size: 14px; }
  .tbl th, .tbl td { padding: 8px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .win.pop { animation: none; }
  .calc-bar { transition: none; }
}

/* the tracker and calculators splits fill their screen: the visual runs to the section's bottom padding */
@media (min-width: 1024px) {
  #tracker > .wrap.grid, #calculators > .wrap.grid { flex: 1 1 auto; grid-template-rows: minmax(0, 1fr); align-items: stretch; }
  .trk-win { flex: 1 1 auto; }
  .calc-list { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
  .calc-list > ul { display: flex; flex-direction: column; flex: 1; justify-content: space-evenly; }
}

@media (max-width: 639px) {
  /* the rates table reads as stacked rows on a phone */
  .tbl.tbl--rates thead { display: none; }
  .tbl.tbl--rates tr { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .tbl.tbl--rates td { display: block; padding: 0; border: 0; white-space: normal; }
  .tbl.tbl--rates td:nth-child(2)::before { content: "Whatnot: "; font-weight: 500; }
  .tbl.tbl--rates td:nth-child(3)::before { content: "TikTok Shop: "; font-weight: 500; }
  .trk-chip { font-size: 12px; }
}
.trk-win { min-width: 0; }
.trk-win__body { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 639px) {
  .trk-tbl { font-size: 13px; }
  .trk-tbl :is(th, td):nth-child(2) { display: none; }
  .trk-tbl td:first-child { white-space: normal; }
}
/* the hero's calculator ends a nav's height above the fold, so the next section framed under the nav shows none of it */
.hero--calc { --hpadb: calc(var(--nav) + 24px); }
/* the tracker's file buttons are labels: keep the button look over the form-label rule */
.trk-top label.btn { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 500; line-height: 1; }
.trk-top label.btn--primary { color: var(--action-ink); }
.trk-top label.btn--secondary { color: var(--ink); margin-top: 12px; }
.trk-top label.btn .icon { width: 18px; height: 18px; flex: none; }

/* ---- Tool-site rhythm: sections size to their content (no forced full-screen heights / empty bands) ---- */
@media (min-width: 0px) {
  main > section.section { min-height: 0 !important; height: auto !important; }
  main > section.section > .wrap { height: auto !important; min-height: 0 !important; justify-content: flex-start !important; }
  main > section.section { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(32px, 3vw, 48px); }
  main > section.statement { padding-block: clamp(56px, 6vw, 96px); }
}
@media (min-width: 1024px) {
  main > .hero--calc { min-height: 0 !important; height: auto !important; padding-bottom: 32px; }
  .hero--calc > .wrap, .hero--calc .hero__grid { height: auto !important; }
  .hero--calc .hero__grid { align-items: start; }
  .hero--calc .hero__text { display: flex; flex-direction: column; justify-content: flex-start !important; }
  .hero--calc .hero-facts { margin-top: var(--s-7) !important; }
}
/* tracker preview: the window sits whole, centred on its frame */
.trk-frame { align-self: start !important; min-height: 0 !important; padding: 40px !important; justify-content: center !important; border-radius: var(--r-lg, 20px); }
.trk-win { width: 100% !important; border: 1px solid color-mix(in oklab, var(--ground-ink) 14%, transparent) !important; border-radius: var(--r-md) !important; overflow: hidden; }
.trk-win .calc-win__bar { border-radius: 0 !important; }
.trk-win__body { padding: 20px 22px 24px !important; }
@media (max-width: 639px) { .trk-frame { padding: 16px !important; } .trk-map { grid-template-columns: minmax(0, 1fr); } }
.trk-frame { --ratio: 0px; }
.trk-frame::before { display: none; }
@media (min-width: 1024px) { #tracker .wrap { align-items: center; } #tracker .split-col { height: auto; } #tracker .split-col__end { margin-top: var(--s-6); } }

/* ---- Taxes tab (Pro) ---- */
.pro-pill { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 999px; font-size: 11px; line-height: 1.2; background: var(--p-ink); color: var(--p-inv-ink); vertical-align: 1px; }
.tax { padding: var(--s-4) var(--s-5) var(--s-5); }
.tax h3 { margin: var(--s-6) 0 var(--s-2); font-size: 20px; }
.tax-bar { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: flex-end; justify-content: space-between; margin-bottom: var(--s-4); }
.tax-bar select { min-width: 120px; }
.tax-h { margin: var(--s-2) 0 var(--s-2); font-size: 24px; }
table.taxtbl { margin-top: var(--s-4); }
table.taxtbl td.ln { width: 64px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tax-net { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: var(--s-4) 0; padding: 14px 18px; border-radius: var(--r-md); background: var(--p-ink); color: var(--p-inv-ink); }
.tax-net b { font: 400 32px/1.1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tax-net.is-neg { background: var(--neg); }
.tax-sa .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-4); margin-bottom: var(--s-4); }
.tax-sa label, .tax-bar label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.tax-sa input, .tax-sa select { width: 100%; }
.tax-edit { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); margin-top: var(--s-4); }
@media (min-width: 980px) { .tax-edit { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.addrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-3); }
.addrow > * { flex: 1 1 130px; min-width: 0; }
.addrow select { flex: 2 1 220px; }
.addrow .btn { flex: 0 0 auto; }
.textbtn { background: none; border: 0; padding: 6px 4px; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.textbtn:hover { color: var(--neg); }
.tax-lock { position: relative; padding: var(--s-5); min-height: 320px; }
.tax-lock__blur { filter: blur(5px); opacity: .55; pointer-events: none; user-select: none; }
.tax-lock__msg { position: absolute; inset: var(--s-5); display: flex; gap: 14px; align-items: center; justify-content: center; }
.tax-lock__msg > div { max-width: 520px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); box-shadow: 0 12px 30px -18px rgb(31 48 56 / .45); }
.tax-lock__msg > .icon { display: none; }
.tax-lock__msg p { margin: 8px 0 16px; color: var(--muted); }
#printbox { display: none; }
@media print {
  body.printing > *:not(#printbox) { display: none !important; }
  body.printing #printbox { display: block; color: #000; font-size: 12pt; }
  #printbox .print-brand { font-size: 10pt; color: #555; }
  #printbox table { width: 100%; border-collapse: collapse; }
  #printbox td, #printbox th { border-bottom: 1px solid #ccc; padding: 6px 8px; text-align: left; }
  #printbox td.n, #printbox th.n { text-align: right; }
  #printbox .tax-net { background: none; color: #000; border: 2px solid #000; }
  #printbox .tax-sa .row2, #printbox .flag .icon { display: none; }
}

/* ---- extra calculators ---- */
.bd-t { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 4px; }
.bd-t td { padding: 8px 0; border-bottom: 1px solid var(--win-line); vertical-align: top; }
.bd-t td + td { text-align: right; white-space: nowrap; padding-left: 12px; font-variant-numeric: tabular-nums; }
.bd-t tr.tot td { font-weight: 500; border-top: 1px solid var(--ink); }
.sptool .calc-meta { margin-top: 12px; }

/* ---- FAQ: heading stays put on the left, questions scroll on the right (wide screens) ---- */
@media (min-width: 900px) {
  .faq-block { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s-8); align-items: start; }
  .faq-block > h2 { position: sticky; top: calc(var(--nav) + 32px); margin: 0; }
  #faq > .wrap.grid > .span-5 { position: sticky; top: calc(var(--nav) + 32px); align-self: start; }
}

/* ---- nav dropdown: a shade darker than the page, with a soft shadow, so it reads as a panel ---- */
@media (min-width: 1024px) {
  .nav__menu { background: color-mix(in oklab, var(--p-ink) 6%, var(--bg)); box-shadow: 0 18px 32px -22px rgb(31 48 56 / .45); }
  .nav__menu .menu-col > a:hover { background: color-mix(in oklab, var(--p-ink) 6%, transparent); }
}
.nav__menu .menu-card { align-self: start; }

/* ---- nav: heavier, higher-contrast text ---- */
.nav__link { font-weight: 600; }
.menu-col a { font-weight: 600; }
.menu-col a span { color: color-mix(in oklab, var(--ink) 72%, var(--bg)); }
.menu-col > .t-label { color: var(--ink); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; }

/* ---- Pro pitch under each calculator ---- */
.pitch { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); align-items: center; margin: var(--s-5) 0 var(--s-7); padding: var(--s-5) var(--s-6);
  border: 1px solid var(--line); border-left: 4px solid var(--p-action); border-radius: var(--r-md); background: var(--paper); }
@media (min-width: 860px) { .pitch { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6); } }
.pitch p { margin: 0; color: var(--muted); }
.pitch .pitch__h { color: var(--ink); font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.pitch__btns { display: flex; flex-wrap: wrap; gap: 10px; }
html.is-pro .pitch { display: none; }

/* ---- Trust and polish pass ---- */
html[data-buttons="pill"] .btn--secondary { background: var(--paper, #fff); border-color: color-mix(in oklab, var(--ink) 22%, transparent); }
html[data-buttons="pill"] .btn--secondary:hover { background: color-mix(in oklab, var(--ink) 5%, var(--paper, #fff)); border-color: color-mix(in oklab, var(--ink) 40%, transparent); }
html[data-buttons] .ground-inverse .btn--secondary { background: transparent; color: var(--ink); border-color: color-mix(in oklab, var(--ink) 40%, transparent); }
html[data-buttons] .ground-inverse .btn--secondary:hover { background: color-mix(in oklab, var(--ink) 10%, transparent); }
.proof { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--muted); }
.proof li { display: inline-flex; align-items: center; gap: 7px; }
.proof svg { width: 16px; height: 16px; color: var(--pos, #1a7f5a); flex: none; }
.pitch { margin-bottom: var(--s-6); }
#breakdown .pitch { margin: var(--s-6) 0 0; }
.site-foot .closing__cta { padding-bottom: var(--s-8); margin-bottom: var(--s-8); border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.site-foot .closing__cta { padding-top: var(--s-4); }
.site-foot .closing__cta .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.site-foot .closing__cta .btn { width: auto; }
@media (max-width: 600px) { .site-foot .closing__cta .btn { width: 100%; } }
.site-foot .closing__cta .btn, .pitch .btn { text-decoration: none; }
.bd-grid .bd { background: var(--paper); border: 1px solid var(--line); }
.bd-grid .bd__h { font-size: var(--t-card); font-weight: 500; margin: 16px 0 8px; }
.tbl--ship tr.is-sel td { font-weight: 600; background: color-mix(in oklab, var(--p-accent) 8%, transparent); }
.calc-out .flag { margin-top: 12px; font-size: 14px; }

/* ======================================================================
   Colour pass (Dec 2026): deep teal bands, mint and sand tints, an amber accent,
   and the calculator form in three numbered groups
   ====================================================================== */
.band-deep { --bg: var(--deep); --surface: var(--deep-2); --ink: #ffffff; --muted: #b9d6d8; --line: rgb(255 255 255 / .16); --line-strong: rgb(255 255 255 / .3);
  --action: var(--amber); --action-ink: var(--amber-ink); background: var(--deep); color: #fff; }
.band-mint { --bg: var(--mint); --surface: #fff; background: var(--mint); }
.band-sand { --bg: var(--sand); --surface: #fff; background: var(--sand); }
html[data-buttons] .band-deep .btn--secondary { background: transparent; color: #fff; border-color: rgb(255 255 255 / .45); }
html[data-buttons] .band-deep .btn--secondary:hover { background: rgb(255 255 255 / .1); }
.band-deep .btn--primary { background: var(--amber); color: var(--amber-ink); }
.band-deep .btn--primary:hover { background: color-mix(in oklab, var(--amber) 88%, #fff); }

/* hero: white calculator card on the deep band */
.hero--calc.band-deep .hero-facts { border-top-color: rgb(255 255 255 / .2); }
.hero--calc.band-deep .hero-facts dt { color: #b9d6d8; }
.hero--calc.band-deep .hero-facts dd { color: var(--amber); }
.hero--calc.band-deep .hero__lead { color: #e4f1f2; }
.hero--calc.band-deep .calc-win { border: 0; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .45), 0 2px 6px rgb(0 0 0 / .12); }
.hero--calc.band-deep .calc-win, .doc-body .calc-win { --bg: var(--paper); --ink: var(--p-ink); --muted: var(--p-muted); --line: var(--win-line); color: var(--p-ink); }

/* inner pages: a deep band head, the calculator card rising into it */
.doc-head.band-deep { padding: var(--s-9) 0 calc(var(--s-9) + 72px); }
.doc-head.band-deep .doc-lede { color: #e4f1f2; }
.doc-head.band-deep .doc-lede a { color: #fff; }
.doc-head.band-deep .proof { color: #cfe5e6; }
.doc-head.band-deep .proof svg { color: var(--amber); }
.doc-head.band-deep + .doc-body > .calc-stage:first-child { margin-top: -72px; position: relative; background: none; padding: 0; }
.doc-head.band-deep + .doc-body > .calc-stage:first-child .calc-win { border: 0; box-shadow: 0 24px 60px -24px rgb(10 74 82 / .5), 0 2px 6px rgb(10 74 82 / .1); }
.doc-head.band-deep + .doc-body > :not(.calc-stage):first-child { margin-top: var(--s-7); }

/* the statement section on the deep band */
.statement.band-deep .mo-wh__text strong, .statement.band-deep strong { color: var(--amber); }
.statement.band-deep .t-label { color: #b9d6d8; }

/* form: three numbered groups, softer fields */
.fgroup { border: 0; margin: 0; padding: 0; min-width: 0; }
.fgroup + .fgroup { padding-top: 14px; border-top: 1px dashed var(--win-line); }
.fgroup legend { display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--deep-2); }
.fgroup__n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--deep-2); color: #fff; font-size: 11px; letter-spacing: 0; }
.calc :is(input[type=number], input[type=text], select) { background-color: #f5f8f9; border-color: color-mix(in oklab, var(--p-ink) 14%, transparent); }
.calc :is(input, select):focus-visible { background-color: #fff; }
.calc .money.big input { font-size: 18px; font-weight: 600; }
.calc label { font-weight: 600; }

/* results: the better platform tinted, numbers larger */
.calc-out { background: linear-gradient(180deg, var(--mint) 0, color-mix(in oklab, var(--mint) 40%, #fff) 100%); }
.tag { border-color: color-mix(in oklab, var(--deep) 14%, transparent); box-shadow: 0 1px 2px rgb(10 74 82 / .06); }
.tag-num { font-weight: 500; }

/* tables, pitch and FAQ pick up the tints */
.tbl th, .tbl thead th { background: var(--mint); color: var(--deep); }
.pitch { background: var(--sand); border-color: color-mix(in oklab, var(--amber) 45%, transparent); border-left-color: var(--amber); }
.pitch .pitch__h { color: var(--amber-ink); }
.doc-body .faq-block { background: var(--mint); border-radius: var(--r-lg); padding: var(--s-7) var(--s-6); margin-top: var(--s-8); }
.prose h2 { color: var(--deep); }
.band-deep { --accent: var(--amber); }
.band-deep .mo-wh .mo-w { color: rgb(255 255 255 / .38); }
.band-deep .mo-wh .mo-w.is-on { color: #fff; }
.band-deep .mo-wh strong .mo-w.is-on { color: var(--amber); }
.hero--calc.band-deep .hero__art--calc { background: none; }
.band-deep .calc-win, .calc-win { --action: var(--p-action); --action-ink: var(--p-action-ink); --accent: var(--p-accent); }
.band-deep .btn { text-decoration: none; }
/* Chrome extension: the real popup as a picture, and the not-yet-published button */
.ext-shot { align-self: center; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 24px 60px -24px rgb(10 74 82 / .45), 0 2px 6px rgb(10 74 82 / .1); }
.ext-shot img { display: block; width: 100%; height: auto; }
.ext-shot--lead { max-width: 760px; }
.ext-page > .btn-row { margin: var(--s-6) 0 var(--s-7); display: flex; flex-wrap: wrap; gap: 12px; }
.btn.is-soon { opacity: .75; cursor: default; pointer-events: none; }
.doc-head.band-deep + .doc-body > .ext-page:first-child { margin-top: -72px; position: relative; }
@media (min-width: 1024px) and (max-width: 1199px) { .nav__links > .nav__item:nth-child(2), .nav__links > .nav__item:nth-child(3) { display: none; } }
