/* TaxPilot marketing pages: the palette (start.mjs brand, warm paper and deep green) and the product-mock styles every page shares */
:root {
  --p-bg: #f7f5f0; --p-surface: #ece8df; --p-ink: #17201b; --p-muted: #636863;
  --p-accent: #1e4d3b; --p-accent-ink: #f7f5f0; --p-action: #1e4d3b; --p-action-ink: #f7f5f0;
  --p-inv-bg: #17201b; --p-inv-surface: #242c27; --p-inv-ink: #f7f5f0; --p-inv-muted: #999c97;
  --p-inv-accent: #f7f5f0; --p-inv-accent-ink: #17201b; --p-inv-action: #f7f5f0; --p-inv-action-ink: #17201b;
  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --font-text: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.035em;
  --ly-scale: 0.98;
}

/* the lit sage ground used behind product mocks */
.lit { background:
    radial-gradient(80% 70% at 20% 0%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%),
    var(--ground-bg); }

/* product mocks: a TaxPilot window, its rows, chips and cards */
.d-win { background: #fff; color: #16181a; border-radius: 12px; overflow: hidden; font: 400 14px/1.4 var(--font-text); box-shadow: 0 0 0 1px rgb(0 0 0 / .07), 0 30px 70px -30px rgb(0 0 0 / .35); }
.d-win__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 13px; color: #5d6268; }
.d-win__bar .d-ex { margin-left: auto; }
.d-win__dots { display: flex; gap: 6px; } .d-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdfe2; }
.d-win__body { display: grid; grid-template-columns: 160px 1fr; min-height: 420px; }
.d-side { padding: 14px 10px; border-right: 1px solid rgb(0 0 0 / .07); display: grid; align-content: start; gap: 2px; font-size: 13px; color: #4d5257; }
.d-side > span { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 7px; }
.d-side > span.is-on { background: rgb(0 0 0 / .05); color: #16181a; font-weight: 500; }
.d-side > span i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .3; flex: none; }
.d-main { padding: 16px 18px; display: grid; align-content: start; gap: 12px; min-width: 0; }
.d-main__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.d-main__title { display: block; font: 500 16px/1.2 var(--font-text); letter-spacing: -0.01em; margin: 0; color: inherit; }
.d-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 7px; background: #17201b; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.d-ex { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; background: #f1efe9; color: #4f5450; font-size: 12px; font-weight: 500; white-space: nowrap; }
.d-rows { display: grid; border-top: 1px solid rgb(0 0 0 / .07); }
.d-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 118px; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 13px; }
.d-row:last-child { border-bottom: 0; }
.d-row--head { padding: 6px 2px; color: #5d6268; font-size: 12px; }
.d-row b { display: block; font-weight: 500; color: #16181a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-row small { color: #5f6469; font-size: 13px; }
.d-row .num, .d-row--head .num { text-align: right; font-variant-numeric: tabular-nums; }
.d-code { display: grid; place-items: center; height: 32px; border-radius: 7px; background: #eef1ec; font: 500 12px/1 var(--font-mono); color: #3d4540; }
.d-chip { justify-self: end; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 13px; font-weight: 500; background: #e7f4ec; color: #17673f; white-space: nowrap; }
.d-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.d-chip--low { background: #fdf0dc; color: #8a5300; }
.d-chip--out { background: #fbe6e3; color: #a3271b; }
.d-chip--zero { background: #e9eef3; color: #2f4d68; }
.d-card { background: #fff; color: #16181a; border-radius: 12px; padding: 14px 16px; font: 400 14px/1.4 var(--font-text); text-align: left; box-shadow: 0 0 0 1px rgb(0 0 0 / .07), 0 18px 44px -20px rgb(0 0 0 / .45); }
.d-card__title { display: block; margin: 0 0 4px; font: 500 14px/1.3 var(--font-text); }
.d-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .06); }
.d-note__line:first-of-type { border-top: 0; }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e7f4ec; color: #17673f; font-style: normal; font-size: 13px; font-weight: 500; }
.d-note__line i.warn { background: #fdf0dc; color: #8a5300; }
.d-note__line b { font-weight: 500; color: #16181a; }

/* the return overview's four figures */
.d-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.d-sum > div { padding: 10px 12px; border-radius: 9px; background: #f6f5f1; }
.d-sum span { display: block; font-size: 12px; color: #5d6268; }
.d-sum b { display: block; margin-top: 2px; font: 500 19px/1.2 var(--font-text); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: #16181a; }
.d-sum b small { font: 400 12px/1 var(--font-text); color: #5d6268; margin-left: 4px; letter-spacing: 0; }
.d-sum .is-key { background: #17201b; } .d-sum .is-key span { color: #c9ccc7; } .d-sum .is-key b { color: #fff; }

/* review notes beside a figure */
.d-thread { display: grid; gap: 10px; padding: 14px 16px; }
.d-msg { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: 13px; color: #3d4247; }
.d-msg__av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e2e8e3; color: #1e4d3b; font-size: 12px; font-weight: 600; }
.d-msg__av--b { background: #f1e7d6; color: #6f4a12; }
.d-msg b { font-weight: 500; color: #16181a; }
.d-msg time { color: #5f6469; margin-left: 6px; }
.d-msg p { margin: 2px 0 0; }
.d-fig { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid rgb(0 0 0 / .07); background: #fbfaf7; font-size: 13px; }
.d-fig b { font-weight: 500; } .d-fig .num { font-variant-numeric: tabular-nums; font-weight: 500; }

@media (max-width: 639px) {
  .d-win__body { grid-template-columns: 1fr; } .d-side { display: none; }
  .d-row { grid-template-columns: minmax(0, 1fr) 104px; } .d-row .num--opt { display: none; }
}
