:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #647089;
  --line: #dfe5ee;
  --accent: #1677ff;
  --accent-strong: #0d4fcc;
  --good: #0f8f62;
  --good-soft: #edf8f2;
  --warn: #a15c00;
  --warn-soft: #fff6e5;
  --shadow: 0 18px 54px rgba(29, 43, 74, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
}

.brand-lockup,
.top-nav,
.topbar-action {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  text-decoration: none;
}

.brand-lockup img {
  border-radius: 7px;
}

.top-nav {
  gap: 26px;
  justify-content: center;
}

.top-nav a,
.topbar-action {
  color: #26334d;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.top-nav a:first-child {
  color: var(--accent-strong);
}

.topbar-action {
  min-height: 38px;
  justify-content: center;
  border: 1px solid #cfd8e8;
  border-radius: 8px;
  background: #fff;
  padding: 8px 12px;
}

main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 72px;
}

.home-main {
  display: flex;
  flex-direction: column;
}

.home-main > section {
  order: 10;
}

.home-main .hero {
  order: 0;
}

.home-main .calculator-workbench {
  order: 0;
}

.home-main .tool-shell {
  order: 1;
}

.home-main .search-entry-strip {
  order: 1;
}

.home-main .search-answer-block {
  order: 2;
}

.home-main .scenario-launcher {
  order: 3;
}

.home-main .decision-router {
  order: 4;
}

.calculator-workbench {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.intent-bar {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  border: 1px solid #d7e2f2;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
}

.intent-bar > span {
  display: grid;
  min-width: 104px;
  place-items: center;
  border-radius: 6px;
  background: #edf5ff;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.intent-bar a {
  display: grid;
  min-height: 58px;
  align-content: center;
  gap: 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  padding: 9px 10px;
  text-decoration: none;
}

.intent-bar a:hover {
  border-color: #b8cdf0;
  background: #f7fbff;
}

.intent-bar strong {
  font-size: 14px;
  line-height: 1.2;
}

.intent-bar small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.workbench-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr) minmax(310px, 0.82fr);
  gap: 16px;
  align-items: stretch;
}

.intro-rail {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px 0;
}

.intro-rail h1 {
  max-width: 420px;
  margin: 0;
  font-size: 54px;
  line-height: 0.98;
}

.intro-rail p {
  max-width: 430px;
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
}

.intro-lede {
  color: #455575;
  font-size: 19px !important;
  line-height: 1.45 !important;
}

.proof-list {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.proof-list div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 4px 10px;
  align-items: start;
}

.proof-list span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #cfe0fb;
  border-radius: 7px;
  background: #edf5ff;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
}

.proof-list strong {
  color: var(--ink);
  font-size: 14px;
}

.proof-list small {
  grid-column: 2;
  margin-top: -4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.source-note {
  display: grid;
  gap: 3px;
  max-width: 410px;
  border: 1px solid #f0d4a2;
  border-left: 3px solid #d99021;
  border-radius: 8px;
  background: #fffaf0;
  color: #5c4319;
  font-size: 13px !important;
  padding: 12px 14px;
}

.source-note strong {
  color: #4a3310;
}

.query-router {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 430px;
  margin-top: 2px;
}

.query-router > span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.query-router a {
  display: grid;
  min-height: 92px;
  gap: 5px;
  align-content: start;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  text-decoration: none;
}

.query-router a:hover {
  border-color: var(--accent);
  background: #f7fbff;
}

.query-router strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.query-router small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.workbench-panel,
.provider-comparison-panel {
  min-width: 0;
  border: 1px solid #d5deeb;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(29, 43, 74, 0.09);
}

.workbench-panel {
  padding: 20px;
}

.compact-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.compact-heading h2 {
  margin: 0;
  font-size: 20px;
}

.compact-heading p {
  margin: 0;
  font-size: 14px;
}

.provider-comparison-panel {
  overflow: hidden;
}

.provider-table-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}

.provider-table-heading h2 {
  margin: 0 0 2px;
  font-size: 18px;
}

.provider-table-heading p {
  margin: 0;
  font-size: 13px;
}

.provider-table-heading a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  padding: 7px 11px;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  max-width: none;
  margin-bottom: 32px;
}

.hero-redesign {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.66fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  display: grid;
  align-content: center;
  min-height: 500px;
}

.hero.compact {
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: 64px;
  line-height: 0.96;
}

h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

p {
  color: var(--muted);
}

.hero p {
  max-width: 760px;
  font-size: 19px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.trust-row span {
  min-height: 34px;
  border: 1px solid #cfd8e8;
  border-radius: 8px;
  background: #fff;
  color: #34405a;
  font-size: 13px;
  font-weight: 850;
  padding: 7px 10px;
}

.paddle-fee-hero .trust-row {
  margin: 8px 0 2px;
}

.paddle-fee-hero .trust-row span {
  min-height: 30px;
  font-size: 12px;
  padding: 6px 9px;
}

.hero-updated {
  display: inline-flex;
  max-width: 760px;
  margin: 2px 0 0;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #fff;
  color: #34405a;
  font-size: 14px;
  font-weight: 750;
  padding: 9px 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-actions .back-link {
  margin-bottom: 0;
}

.hero-tool-preview {
  display: grid;
  align-content: start;
  gap: 14px;
  align-self: center;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.preview-toolbar,
.preview-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.preview-toolbar span,
.preview-result span,
.preview-inputs span,
.preview-foot span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.preview-toolbar strong {
  color: var(--accent-strong);
}

.preview-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-inputs div {
  display: grid;
  gap: 6px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fbfcff;
  padding: 12px;
}

.preview-inputs strong {
  color: var(--ink);
  font-size: 17px;
}

.preview-result {
  display: grid;
  gap: 7px;
  border: 1px solid #b7dfc4;
  border-radius: 8px;
  background: var(--good-soft);
  padding: 18px;
}

.preview-result strong {
  color: var(--good);
  font-size: 32px;
  line-height: 1.05;
}

.preview-result small {
  color: #3a644f;
  font-weight: 700;
}

.preview-foot a {
  color: var(--accent-strong);
  font-weight: 850;
}

.hero-preset-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 14px;
}

.hero-preset-preview a {
  display: grid;
  gap: 4px;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 43, 74, 0.07);
  color: var(--ink);
  padding: 12px 14px;
  text-decoration: none;
}

.hero-preset-preview span {
  color: var(--good);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-preset-preview strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.tax-calculator-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.68fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.tax-calculator-copy {
  display: grid;
  align-content: center;
  min-height: 340px;
}

.tax-calculator-copy .back-link {
  justify-self: start;
}

.tax-calculator-copy h1 {
  max-width: 680px;
  font-size: 46px;
  line-height: 1.03;
}

.tax-calculator-copy p {
  max-width: 700px;
  font-size: 19px;
}

.tax-calculator-card {
  display: grid;
  align-content: start;
  gap: 16px;
  align-self: center;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.tax-card-heading {
  display: grid;
  gap: 4px;
}

.tax-card-heading span,
.tax-result-card span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tax-card-heading strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.tax-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tax-calculator-card label {
  margin: 0;
  gap: 8px;
  min-width: 0;
  color: #34405a;
  font-size: 13px;
  font-weight: 850;
}

.tax-calculator-card input,
.tax-calculator-card select {
  min-width: 0;
}

.tax-range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: center;
}

.tax-range-row output {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-align: right;
}

.tax-result-card {
  display: grid;
  gap: 9px;
  border: 1px solid #b9ddc8;
  border-radius: 8px;
  background: var(--good-soft);
  padding: 16px;
}

.tax-result-card strong {
  color: var(--good);
  font-size: 25px;
  line-height: 1.1;
}

.tax-result-card p {
  margin-bottom: 0;
  color: #3f5f50;
  font-size: 14px;
  font-weight: 650;
}

.tax-result-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 0;
}

.tax-result-metrics div {
  display: grid;
  gap: 3px;
  border: 1px solid #cce7d6;
  border-radius: 8px;
  background: #fff;
  padding: 9px;
}

.tax-result-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.tax-result-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.paddle-fee-hero .tax-result-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paddle-fee-hero .preset-row {
  margin-bottom: 12px;
}

.mini-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #d7e2f2;
  border-radius: 8px;
  background: #f7fbff;
  padding: 12px;
}

.mini-next-step div {
  display: grid;
  gap: 2px;
}

.mini-next-step span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-next-step strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.mini-next-step .primary-link {
  margin: 0;
  white-space: nowrap;
}

.paddle-fee-hero .inline-note {
  margin-bottom: 0;
}

.search-entry-strip {
  display: grid;
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 0.64fr);
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(29, 43, 74, 0.08);
}

.search-entry-strip span {
  display: block;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.search-entry-strip strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  line-height: 1.25;
}

.search-entry-strip small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.search-entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.search-entry-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #f7fbff;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 11px;
  text-decoration: none;
}

.search-answer-block {
  margin: 0 0 22px;
}

.section-kicker {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.search-answer-block h2 {
  max-width: 720px;
  margin-bottom: 14px;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.answer-grid article {
  display: flex;
  min-height: 232px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(29, 43, 74, 0.08);
  padding: 16px;
}

.answer-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.answer-grid p {
  margin-bottom: 14px;
  font-size: 14px;
}

.answer-grid a {
  margin-top: auto;
  color: var(--accent-strong);
  font-weight: 850;
  text-decoration: none;
}

.scenario-launcher {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: 16px;
  align-items: start;
  margin: 0 0 22px;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(29, 43, 74, 0.08);
  padding: 18px;
}

.scenario-launcher h2 {
  margin-bottom: 8px;
}

.scenario-launcher p {
  margin-bottom: 0;
  font-size: 14px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.scenario-grid a {
  display: grid;
  min-height: 140px;
  align-content: start;
  gap: 7px;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #f7fbff;
  color: var(--ink);
  padding: 14px;
  text-decoration: none;
}

.scenario-grid span {
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 850;
}

.scenario-grid strong {
  color: var(--ink);
  line-height: 1.2;
}

.scenario-grid small {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
}

.tool-shell {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.tool-shell > *,
.content-grid > * {
  min-width: 0;
}

.panel,
.content-grid article,
.links-section,
.faq,
.tool-redirect,
.audit-offer,
.decision-router,
.recommendations-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel {
  padding: 24px;
}

.panel-heading {
  margin-bottom: 18px;
}

.panel-step {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel-heading p {
  margin-bottom: 0;
  font-size: 14px;
}

label {
  display: grid;
  gap: 7px;
  position: relative;
  margin-bottom: 16px;
  color: #34405a;
  font-weight: 700;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workbench-panel .input-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cdd6e3;
  border-radius: 8px;
  background: #fbfcff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 10px 12px;
}

select,
textarea {
  width: 100%;
  border: 1px solid #cdd6e3;
  border-radius: 8px;
  background: #fbfcff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 10px 12px;
}

select {
  min-height: 44px;
}

textarea {
  resize: vertical;
}

.field-prefix + input {
  padding-left: 28px;
}

.field-prefix {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: var(--muted);
}

input[type="range"] {
  min-height: auto;
  padding: 0;
  accent-color: var(--accent);
}

output {
  color: var(--accent-strong);
  font-weight: 800;
}

.assumption-list {
  display: grid;
  gap: 12px;
}

.assumption-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.82fr) minmax(160px, 1fr) minmax(116px, 0.48fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #edf1f7;
  padding-bottom: 12px;
}

.assumption-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.assumption-label {
  gap: 3px;
  margin: 0;
}

.assumption-label strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
}

.assumption-label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.value-input {
  display: flex;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid #cdd6e3;
  border-radius: 8px;
  background: #fbfcff;
  padding: 0 10px;
}

.value-input span {
  color: var(--muted);
  font-weight: 800;
}

.value-input input {
  min-width: 0;
  min-height: 38px;
  border: 0;
  background: transparent;
  padding: 0;
  font-variant-numeric: tabular-nums;
}

.value-input input[type="number"] {
  appearance: textfield;
}

.value-input input[type="number"]::-webkit-inner-spin-button,
.value-input input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.value-output {
  justify-content: center;
  color: var(--accent-strong);
  font-weight: 850;
}

.assumption-list .inline-note {
  margin: -2px 0 0;
}

.range-stack {
  display: grid;
  gap: 12px;
}

.range-stack label {
  margin-bottom: 0;
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  background: #fbfcff;
  padding: 12px;
}

.range-stack label > span {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.input-context {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  border: 1px solid #f0d6a5;
  border-radius: 8px;
  background: var(--warn-soft);
  color: #64410c;
  padding: 12px;
}

.input-context strong {
  color: var(--warn);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.input-context span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.preset-row,
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.preset-row button,
.secondary-button,
.secondary-link {
  min-height: 38px;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #f7fbff;
  color: var(--accent-strong);
  font: inherit;
  font-weight: 800;
  padding: 8px 11px;
  cursor: pointer;
}

.preset-row button:hover,
.secondary-button:hover {
  border-color: var(--accent);
  background: #edf6ff;
}

.compact-heading .preset-row {
  margin-bottom: 0;
}

.preset-control-row {
  align-items: center;
  justify-content: space-between;
}

.compact-heading .preset-row button,
.compact-heading .preset-row select {
  min-height: 34px;
  font-size: 12px;
  padding: 6px 9px;
}

.compact-heading .preset-row select {
  width: auto;
  min-width: 168px;
  background: #fff;
  color: #26334d;
  font-weight: 750;
}

.share-row {
  align-items: center;
  margin: -2px 0 14px;
}

.share-row span {
  color: var(--good);
  font-size: 13px;
  font-weight: 800;
}

.secondary-link {
  align-items: center;
}

.inline-note {
  margin: -4px 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.inline-note strong {
  color: var(--ink);
}

.summary-card {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f0fbf4 0%, #e8f7ef 100%);
  border: 1px solid #b9ddc8;
}

.summary-card span,
.summary-card small {
  color: #4c5c78;
}

.summary-card strong {
  font-size: 30px;
  line-height: 1.03;
  color: var(--good);
}

.summary-card small {
  display: block;
  font-size: 14px;
  font-weight: 650;
}

.summary-card #best-net {
  display: block;
  margin-top: 4px;
  color: var(--good);
  font-size: 32px;
  font-weight: 850;
  line-height: 1.04;
}

.result-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.result-metrics div {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fbfcff;
  padding: 10px 12px;
}

.result-metrics span,
.decision-note span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.result-metrics strong {
  font-size: 15px;
  line-height: 1.25;
}

.decision-note {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  border: 1px solid #bfd9c8;
  border-radius: 8px;
  background: var(--good-soft);
  padding: 14px;
}

.decision-note p {
  margin: 0;
  color: #355442;
  font-size: 14px;
  font-weight: 700;
}

.result-audit {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border: 1px solid #b9d8c2;
  border-radius: 8px;
  background: #f4fbf5;
  padding: 14px;
}

.result-audit div {
  display: grid;
  gap: 4px;
}

.result-audit span {
  color: #217348;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.result-audit strong {
  font-size: 15px;
}

.result-audit p {
  margin: 0;
  color: #4c5c78;
  font-size: 13px;
}

.result-audit .primary-link {
  min-width: 128px;
  justify-content: center;
  white-space: nowrap;
}

.winner-action {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
}

.winner-action > div:first-child {
  display: grid;
  gap: 3px;
}

.winner-action span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.winner-action strong {
  font-size: 15px;
}

.winner-action a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  white-space: nowrap;
}

.winner-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.winner-action-links a:first-child {
  border: 1px solid #cbd9ee;
  background: #fff;
  color: var(--accent-strong);
}

.calculator-workbench .winner-action {
  display: flex;
  margin-top: 4px;
  margin-bottom: 0;
  border-color: #b9d8ff;
  background: #f3f8ff;
}

.table-wrap {
  overflow-x: auto;
}

.comparison-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1260px;
}

.comparison-table table {
  min-width: 760px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #4b5874;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

td {
  color: #26334d;
  font-size: 14px;
}

td small {
  display: block;
  max-width: 300px;
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.provider-lockup {
  display: flex;
  gap: 10px;
  align-items: center;
}

.provider-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.provider-mark svg {
  display: block;
  width: 20px;
  height: 20px;
}

.provider-mark-stripe {
  background: #635bff;
}

.provider-mark-paypal {
  background: #0069b8;
}

.provider-mark-paddle {
  background: #111827;
}

.provider-mark-lemonsqueezy {
  background: #f5b400;
  color: #fff;
}

.provider-mark-polar {
  background: #1f7aff;
}

.provider-mark-creem {
  background: #111827;
}

.table-pricing-link {
  display: inline-flex;
  margin-top: 0;
  font-size: 13px;
  font-weight: 850;
}

.winner-row {
  background: #f4fbf5;
}

.winner-badge {
  display: inline-flex;
  margin-left: 8px;
  border: 1px solid #b9d8c2;
  border-radius: 8px;
  background: #fff;
  color: var(--good);
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  vertical-align: middle;
}

.home-closeout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin: -2px 0 18px;
}

.estimate-card,
.compact-faq {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(29, 43, 74, 0.08);
}

.estimate-card {
  padding: 22px;
}

.estimate-card h2,
.compact-faq h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.method-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  position: relative;
  padding-left: 34px;
  color: #34405a;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.method-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #bcd7ff;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--accent-strong);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.next-page-list {
  display: grid;
}

.next-page-list a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf1f7;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.next-page-list a:last-child {
  border-bottom: 0;
}

.next-page-list a::after {
  color: #7d89a2;
  content: "›";
  font-size: 22px;
  line-height: 1;
}

.compact-faq {
  margin-bottom: 34px;
  padding: 18px;
}

.compact-faq details {
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  background: #fbfcff;
  padding: 0;
}

.compact-faq details + details {
  margin-top: 8px;
}

.compact-faq summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: #26334d;
  font-size: 14px;
  font-weight: 850;
}

.compact-faq summary::after {
  color: #647089;
  content: "⌄";
  font-size: 15px;
}

.compact-faq details[open] summary::after {
  transform: rotate(180deg);
}

.compact-faq details p {
  margin: 0;
  border-top: 1px solid #edf1f7;
  padding: 0 14px 13px;
  color: var(--muted);
  font-size: 14px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.content-grid article,
.links-section,
.faq,
.tool-redirect,
.audit-offer,
.decision-router,
.audit-detail,
.recommendations-section {
  padding: 24px;
}

.decision-router {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.decision-router p {
  margin-bottom: 0;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.decision-card {
  display: grid;
  min-height: 142px;
  gap: 7px;
  align-content: start;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #f8fbff;
  padding: 15px;
}

.decision-card span {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.decision-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.decision-card small {
  color: var(--muted);
  font-weight: 600;
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.link-grid a,
.source-list a,
.primary-link,
.back-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #f7fbff;
  padding: 8px 12px;
}

.primary-link {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.back-link {
  margin-bottom: 16px;
}

.links-section,
.faq,
.tool-redirect,
.audit-offer,
.recommendations-section {
  margin-bottom: 28px;
}

.audit-offer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.audit-offer p {
  margin-bottom: 12px;
}

.audit-offer p:last-child {
  margin-bottom: 0;
}

.audit-teaser {
  align-items: center;
}

.audit-teaser .primary-link {
  justify-content: center;
}

.teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.audit-report {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.report-section,
.report-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 24px;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.report-metric {
  display: grid;
  gap: 4px;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
}

.report-metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-metric strong {
  font-size: 20px;
}

.verdict {
  border-left: 4px solid var(--good);
  background: #f4fbf5;
}

.action-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.action-list li {
  color: #34405a;
  font-weight: 650;
}

.audit-form {
  display: grid;
  gap: 12px;
}

.quick-audit-form {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #fbfcff;
  padding: 14px;
}

.audit-form label {
  margin-bottom: 0;
}

.quick-audit-form label,
.audit-form label {
  margin-bottom: 0;
}

.quick-audit-form textarea {
  min-height: 72px;
}

.quick-audit-form button,
.audit-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.quick-audit-form button {
  justify-content: center;
}

.quick-audit-form button:disabled,
.audit-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.optional-fields {
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fbfcff;
  padding: 10px 12px;
}

.optional-fields summary {
  padding: 2px 0;
  color: var(--accent-strong);
  font-size: 14px;
}

.optional-fields label:first-of-type {
  margin-top: 12px;
}

.audit-note {
  font-size: 13px;
}

.audit-status {
  min-height: 20px;
  color: var(--good);
  font-size: 13px;
  font-weight: 800;
}

.audit-status[data-state="error"] {
  color: #b42318;
}

.audit-payment-link {
  justify-content: center;
  text-align: center;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding-left: 20px;
  color: #34405a;
  font-weight: 650;
}

.audit-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.audit-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.audit-detail p {
  margin-bottom: 0;
}

.sample-audit {
  background: #f4fbf5;
  border-color: #b9d8c2;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.recommendations-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 22px;
  align-items: start;
}

.recommendations-copy p {
  margin-bottom: 0;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.recommendation-card {
  display: grid;
  min-height: 132px;
  gap: 8px;
  align-content: start;
  border: 1px solid #cbd9ee;
  border-radius: 8px;
  background: #f8fbff;
  padding: 16px;
}

.recommendation-card span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.recommendation-card small {
  color: var(--muted);
  font-weight: 600;
}

.recommendation-card strong {
  margin-top: 6px;
  color: var(--accent-strong);
}

.content-section {
  max-width: 780px;
  margin: 0 auto 48px;
}

.content-section h2 {
  margin-top: 28px;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p {
  color: var(--muted);
  line-height: 1.7;
}

details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 10px 0 0;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin-bottom: 6px;
}

@media (max-width: 860px) {
  .site-topbar {
    position: static;
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 62px;
    padding: 10px 16px;
  }

  .brand-lockup {
    justify-content: flex-start;
  }

  .top-nav {
    display: none;
  }

  .topbar-action {
    justify-self: end;
  }

  main {
    width: min(100% - 20px, 680px);
    padding-top: 28px;
  }

  .site-footer {
    width: min(100% - 20px, 680px);
    margin-top: 0;
  }

  .tool-shell,
  .hero-redesign,
  .tax-calculator-hero,
  .tax-field-grid,
  .tax-result-metrics,
  .workbench-grid,
  .provider-table-heading,
  .preview-inputs,
  .content-grid,
  .home-closeout,
  .audit-offer,
  .audit-detail-grid,
  .report-summary,
  .search-entry-strip,
  .scenario-launcher,
  .decision-router,
  .recommendations-section,
  .decision-grid,
  .recommendation-grid,
  .answer-grid,
  .hero-preset-preview,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .intro-rail {
    padding: 0;
  }

  .intro-rail h1 {
    font-size: 42px;
  }

  .intent-bar > span {
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 34px;
  }

  .intent-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .query-router {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-tool-preview {
    display: none;
  }

  .tax-calculator-copy {
    min-height: 0;
  }

  .tax-calculator-copy h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .mini-next-step {
    grid-template-columns: 1fr;
  }

  .mini-next-step .primary-link {
    justify-content: center;
    width: 100%;
  }

  .tax-calculator-copy p {
    font-size: 16px;
  }

  .tax-calculator-copy .trust-row {
    display: none;
  }

  .tax-calculator-card {
    padding: 16px;
  }

  .tax-card-heading {
    order: -2;
  }

  .tax-result-card {
    order: -1;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-updated {
    font-size: 13px;
    padding: 8px 10px;
  }

  .input-grid,
  .workbench-panel .input-grid,
  .result-metrics {
    grid-template-columns: 1fr;
  }

  .assumption-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .value-input {
    width: 100%;
  }

  .provider-table-heading {
    align-items: start;
  }

  .search-entry-links {
    justify-content: stretch;
  }

  .search-entry-links a {
    flex: 1 1 190px;
  }

  .winner-action,
  .teaser-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .winner-action-links {
    justify-content: stretch;
  }

  .winner-action-links a {
    flex: 1 1 160px;
  }

  .teaser-actions a {
    justify-content: center;
    width: 100%;
  }

  .result-audit {
    align-items: stretch;
    flex-direction: column;
  }

  .table-wrap {
    overflow-x: visible;
  }

  table {
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tr {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }

  td {
    border-bottom: 0;
    padding: 6px 0;
  }

  td:nth-child(2)::before,
  td:nth-child(3)::before,
  td:nth-child(4)::before,
  td:nth-child(5)::before,
  td:nth-child(6)::before,
  td:nth-child(7)::before,
  td:nth-child(8)::before,
  td:nth-child(9)::before,
  td:nth-child(10)::before {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
  }

  td:nth-child(2)::before {
    content: "Integration type";
  }

  td:nth-child(3)::before {
    content: "Est. take-home";
  }

  td:nth-child(4)::before {
    content: "Est. fees";
  }

  td:nth-child(5)::before {
    content: "Fee drag";
  }

  td:nth-child(6)::before {
    content: "Runner-up gap";
  }

  td:nth-child(7)::before {
    content: "Payout speed";
  }

  td:nth-child(8)::before {
    content: "MoR";
  }

  td:nth-child(9)::before {
    content: "Key trade-offs";
  }

  td:nth-child(10)::before {
    content: "Pricing source";
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 1080px;
  }

  .comparison-table {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table table {
    min-width: 760px;
  }

  thead {
    display: table-header-group;
  }

  tbody {
    display: table-row-group;
  }

  tr {
    display: table-row;
    border-bottom: 0;
    padding: 0;
  }

  td {
    display: table-cell;
    width: auto;
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
  }

  td:nth-child(2)::before,
  td:nth-child(3)::before,
  td:nth-child(4)::before,
  td:nth-child(5)::before,
  td:nth-child(6)::before,
  td:nth-child(7)::before,
  td:nth-child(8)::before,
  td:nth-child(9)::before,
  td:nth-child(10)::before {
    display: none;
    content: none;
  }

  h1 {
    font-size: 40px;
  }
}
