:root {
  --bg: #f3f5f7;
  --text: #111827;
  --muted: #647083;
  --line: #dce3ec;
  --line-strong: #c8d2df;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --accent: #166f63;
  --accent-dark: #0d4f49;
  --blue: #2454c6;
  --amber: #9a5a17;
  --soft: #e9eef5;
  --green-soft: #e7f3ee;
  --red-soft: #f8eeeb;
  --ink: #1d2533;
  --shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 1px 2px rgba(17, 24, 39, 0.05), 0 10px 24px rgba(17, 24, 39, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7f9fb 0, var(--bg) 220px),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(36, 84, 198, 0.2);
  outline-offset: 2px;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(200, 210, 223, 0.75);
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 24px rgba(17, 24, 39, 0.04);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--text);
  line-height: 1;
}

.brand img {
  display: block;
  width: 184px;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.nav-toggle,
.nav-toggle-button {
  display: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.95rem;
}

.nav-group {
  position: relative;
  padding-bottom: 8px;
}

.nav-top {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  font-weight: 800;
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-top::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-right: 2px solid #8a94a6;
  border-bottom: 2px solid #8a94a6;
  transform: rotate(45deg) translateY(-2px);
}

.nav-top:hover,
.nav-group:focus-within .nav-top,
.nav-group:hover .nav-top {
  background: #edf2f7;
  text-decoration: none;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 230px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  font-weight: 720;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: #f1f6f6;
  text-decoration: none;
}

.site-search {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 250px;
}

.site-search input {
  flex: 1 1 auto;
  width: min(220px, 24vw);
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.site-search button {
  min-height: 38px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 8px 11px;
  background: linear-gradient(180deg, #1d8173 0%, var(--accent) 100%);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
}

.site-search button:hover,
.site-search button:focus {
  background: var(--accent-dark);
}

.hero {
  padding: 44px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

h1 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 3.45vw, 3.45rem);
  color: var(--text);
}

h2 {
  margin: 0 0 18px;
  font-size: 1.6rem;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
}

.lead {
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.13rem;
  overflow-wrap: anywhere;
}

.hero-grid > *,
.provider-hero > *,
.global-hero > *,
.comparison-hero > *,
.grid > *,
.fact-grid > *,
.pricing-row > *,
.usecase-grid > *,
.split-grid > *,
.summary-strip > *,
.alternative-grid > *,
.topic-grid > *,
.comparison-list > *,
.decision-grid > *,
.market-grid > *,
.home-path-grid > *,
.quick-link-grid > *,
.forum-hero-grid > *,
.forum-layout > *,
.forum-row > *,
.forum-thread-layout > *,
.forum-post > *,
.category-grid > *,
.service-grid > *,
.scenario-bar > *,
.scenario-grid > *,
.score-grid > *,
.score-type-grid > *,
.method-strip > *,
.fee-rule-grid > *,
.ranking-card > *,
.calculator-result-card > * {
  min-width: 0;
}

.provider-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 34px;
  align-items: start;
}

.global-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.provider-hero .hero-copy {
  max-width: 700px;
}

.provider-hero h1 {
  max-width: 690px;
}

.provider-hero .lead {
  max-width: 650px;
}

.provider-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.provider-hero-facts div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.provider-hero-facts span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.provider-hero-facts strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.1;
}

.provider-hero-facts small {
  color: var(--muted);
  line-height: 1.35;
}

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

.score-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.provider-trust-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid #bde5d7;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fffc 0%, #eef9f5 100%);
  box-shadow: 0 18px 45px rgba(20, 71, 56, 0.1);
  min-width: 0;
}

.trust-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #bde5d7;
}

.score-ring {
  --score: 0;
  display: inline-grid;
  align-content: center;
  justify-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #f7fffc 0 55%, transparent 56%),
    conic-gradient(#37a982 calc(var(--score) * 1%), #e2edf0 0);
  color: var(--ink);
}

.score-ring strong {
  font-size: 1.65rem;
  line-height: 0.95;
}

.score-ring span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.trust-score > div:not(.score-ring) {
  display: grid;
  gap: 3px;
}

.trust-score span,
.trust-list span,
.quick-facts-panel span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.trust-score strong {
  font-size: 1.35rem;
}

.trust-score small {
  color: var(--muted);
}

.provider-cta {
  width: 100%;
  justify-content: center;
}

.provider-floating-affiliate {
  position: fixed;
  z-index: 35;
  right: 20px;
  bottom: 20px;
  display: grid;
  min-width: 190px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.28);
}

.provider-floating-affiliate:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.provider-floating-affiliate span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.provider-floating-affiliate strong {
  font-size: 1rem;
}

@media (max-width: 620px) {
  .provider-floating-affiliate {
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-width: 0;
    text-align: center;
  }
}

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

.trust-list div {
  display: grid;
  gap: 4px;
  align-items: start;
  border: 1px solid rgba(129, 184, 166, 0.38);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.58);
}

.quick-facts-panel div {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(129, 184, 166, 0.38);
}

.trust-list strong,
.quick-facts-panel strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.35;
}

.quick-facts-panel {
  display: grid;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.quick-facts-panel h2 {
  margin: 0;
  padding: 13px 14px;
  background: #1f2937;
  color: #fff;
  font-size: 1rem;
}

.provider-fact-strip-section {
  padding-top: 0;
}

.provider-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.provider-fact-strip article {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.provider-fact-strip span {
  color: #9a5a17;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.provider-fact-strip p {
  margin: 0;
  color: var(--text);
  font-weight: 750;
  line-height: 1.45;
}

.decision-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.decision-summary h2 {
  margin: 4px 0 0;
}

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

.provider-verdict-grid article {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.provider-verdict-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.provider-verdict-grid strong {
  color: var(--ink);
  line-height: 1.35;
}

.provider-verdict-grid small {
  color: var(--muted);
  line-height: 1.45;
}

.payroll-plan-grid {
  display: grid;
  gap: 14px;
}

.payroll-plan-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.payroll-plan-card__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.2fr);
  gap: 18px;
  align-items: start;
}

.payroll-plan-card__head span,
.payroll-plan-details span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payroll-plan-card__head h3 {
  margin: 4px 0 0;
}

.payroll-plan-card__head strong {
  border-left: 3px solid #d6b179;
  padding-left: 14px;
  line-height: 1.45;
}

.payroll-plan-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payroll-plan-details div {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfe;
}

.payroll-plan-details p {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}

.compact-comparison {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.compact-comparison__row {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(130px, 0.7fr) minmax(260px, 1.5fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.compact-comparison__row:last-child {
  border-bottom: 0;
}

.compact-comparison a.compact-comparison__row:hover {
  background: #f7fafc;
  text-decoration: none;
}

.compact-comparison__head {
  background: #eef3f8;
  color: #354052;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compact-comparison__row.is-current {
  background: #f6fbf8;
}

.compact-comparison__row span {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.compact-comparison__head span {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.compact-comparison__row small {
  color: var(--muted);
  line-height: 1.4;
}

.compact-comparison__row em {
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.inline-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid #bfd0df;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.inline-cta span {
  color: var(--muted);
}

.score-panel-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.score-panel-top span:not(.provider-mark) {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.provider-mark {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #111827 0%, #263247 100%);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

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

.score-bar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.score-bar-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.score-bar-card > div:first-child {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
}

.score-bar-card h3 {
  margin: 0;
  font-size: 1rem;
}

.score-bar-card strong {
  color: var(--accent-dark);
}

.score-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.score-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #42bc92 0%, #2f8f74 100%);
}

.score-bar-card p {
  margin: 0;
  color: var(--muted);
}

.metric-grid div,
.summary-strip div {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, var(--panel-soft) 100%);
  padding: 13px;
  min-width: 0;
}

.metric-grid span,
.summary-strip span,
.summary-strip small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.metric-grid strong,
.summary-strip strong {
  display: block;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1.15;
  margin-top: 3px;
}

.source-link {
  font-weight: 800;
}

.compact-section {
  padding-top: 8px;
}

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

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

.market-card {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.market-card:hover,
.market-card:focus {
  border-color: #9aaec2;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  text-decoration: none;
}

.market-card span,
.market-card small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.market-card strong {
  font-size: 1.7rem;
}

.market-card p {
  margin: 0;
  color: var(--muted);
}

.market-card.active {
  border-color: #86b7a8;
  background: linear-gradient(180deg, #ffffff 0%, #eef8f4 100%);
  box-shadow: var(--shadow-soft);
}

.market-card.planned {
  background: #fbfcfe;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-path-card {
  display: grid;
  gap: 12px;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.home-path-card.primary {
  border-color: #86b7a8;
  background: linear-gradient(180deg, #ffffff 0%, #eef8f4 100%);
  box-shadow: var(--shadow-soft);
}

.home-path-card:hover {
  border-color: #8da6ba;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  text-decoration: none;
}

.home-path-card span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.home-path-card h2,
.home-path-card p {
  margin: 0;
}

.home-path-card p {
  color: var(--muted);
}

.home-path-card strong {
  align-self: end;
  color: var(--accent-dark);
}

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

.quick-link-grid a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.quick-link-grid a::after {
  content: "›";
  color: var(--accent-dark);
  font-size: 1.35rem;
}

.quick-link-grid a:hover {
  border-color: #9aabc0;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  text-decoration: none;
}

.scenario-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.scenario-bar a,
.scenario-card,
.fee-rule-grid article,
.ranking-evidence {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.scenario-bar a {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 14px;
  color: var(--ink);
}

.scenario-bar a:hover {
  border-color: #8da6ba;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.scenario-bar span,
.scenario-card p,
.scenario-card small,
.ranking-evidence span,
.ranking-evidence small,
.fee-rule-grid small {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
}

.quick-panel,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.quick-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.section {
  padding: 34px 0;
}

.content-band {
  padding: 36px 0;
  background: linear-gradient(180deg, #edf2f7 0%, #e8edf4 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.forum-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(22, 111, 99, 0.08) 0%, rgba(36, 84, 198, 0.06) 54%, rgba(154, 90, 23, 0.05) 100%),
    #f7f9fb;
}

.forum-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.forum-panel,
.forum-category-head,
.forum-list,
.forum-sidebar-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.forum-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.33fr);
  gap: 18px;
  align-items: start;
}

.forum-main {
  display: grid;
  gap: 12px;
}

.forum-category-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 16px;
  align-items: end;
  padding: 16px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fa 100%);
}

.forum-category-head h2 {
  margin: 3px 0 0;
}

.forum-category-head > span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.forum-list {
  display: grid;
  overflow: hidden;
}

.forum-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(124px, 0.22fr) minmax(220px, 0.34fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

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

.forum-row:hover,
.forum-row:focus {
  background: #f8fbfc;
  text-decoration: none;
}

.forum-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e7f3ee;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.forum-info {
  display: grid;
  gap: 5px;
}

.forum-info span {
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.forum-info h3 {
  font-size: 1.04rem;
}

.forum-info p,
.forum-latest span,
.forum-thread-list span,
.forum-sidebar-panel p {
  margin: 0;
  color: var(--muted);
}

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

.forum-counts div {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #fbfcfe;
  text-align: center;
}

.forum-counts strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.05;
}

.forum-counts span,
.forum-latest span,
.forum-thread-list span {
  font-size: 0.82rem;
}

.forum-latest {
  display: grid;
  gap: 4px;
  line-height: 1.35;
}

.forum-latest strong,
.forum-thread-list strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.forum-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 86px;
}

.forum-sidebar-panel h2 {
  margin: 3px 0 0;
  font-size: 1.12rem;
}

.forum-thread-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.forum-thread-list a {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.forum-thread-list a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.forum-thread-list a:hover {
  text-decoration: none;
}

.forum-thread-section {
  background: #f6f8fb;
}

.forum-thread-summary {
  margin-bottom: 24px;
}

.forum-thread-summary + .forum-post-list,
.forum-post-list + .forum-thread-summary {
  margin-top: 24px;
}

.forum-thread-summary .table-wrap {
  margin: 20px 0;
}

.forum-thread-summary ol {
  margin-bottom: 0;
}

.practice-reply {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.practice-reply-head h2 {
  margin: 5px 0 7px;
}

.practice-reply-head p {
  margin: 0;
  color: var(--muted);
}

.practice-reply-form {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.practice-reply-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
}

.practice-reply-form input,
.practice-reply-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.practice-reply-form textarea {
  min-height: 150px;
  resize: vertical;
}

.practice-reply-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.practice-reply-actions small {
  color: var(--muted);
}

.practice-reply-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #edf7f4;
  color: var(--accent-dark);
  font-weight: 750;
}

.practice-local-replies {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.practice-local-reply {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.practice-local-reply-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.practice-local-reply-head span {
  color: var(--muted);
  font-size: 0.8rem;
}

.practice-local-reply p {
  margin: 0;
  white-space: pre-wrap;
}

.forum-editorial-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.listing-step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.listing-step-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.listing-step-list li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.listing-step-list p {
  margin: 4px 0 0;
}

.listing-featured-update {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: stretch;
}

.listing-featured-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table-cell-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.listing-plan-row {
  background: #f8fbfa;
}

.listing-plan-row td {
  border-bottom-color: #d7e8e2;
}

.listing-plan-row td:first-child {
  border-left: 3px solid var(--accent);
}

.business-start-hero h1 {
  max-width: 900px;
}

.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.editorial-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: var(--line);
}

.industry-editorial-strip {
  border-top: 1px solid rgba(200, 210, 223, 0.65);
  border-bottom: 1px solid rgba(200, 210, 223, 0.65);
  padding: 11px 0;
  background: rgba(255, 255, 255, 0.68);
}

.industry-editorial-strip .editorial-meta {
  margin: 0;
}

.industry-editorial-strip .editorial-meta a {
  color: var(--accent-dark);
  font-weight: 800;
}

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

.direct-answer-card {
  padding: 18px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.direct-answer-card h3 {
  margin: 0 0 7px;
  font-size: 1.04rem;
}

.direct-answer-card p {
  margin: 0;
  color: var(--muted);
}

.business-start-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-start-timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 24px;
}

.business-start-timeline > li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 46px;
  bottom: 0;
  left: 25px;
  width: 2px;
  background: #b9dcd2;
}

.business-start-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}

.business-start-timeline article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.business-start-timeline h3 {
  margin: 5px 0 8px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.business-start-timeline article > p:last-child,
.business-start-timeline article > ul:last-child {
  margin-bottom: 0;
}

.business-start-timeline article > .eyebrow:first-child {
  display: block;
  margin-bottom: 5px;
}

.start-step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px;
}

.start-step-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf7f4;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.start-check {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.start-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-dark);
}

.start-step-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 750;
}

.start-step-links span {
  color: var(--muted);
}

.step-source {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.payment-table td:first-child small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.payment-calculator {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.payment-calculator-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.payment-calculator-fields label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
}

.payment-calculator-fields input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

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

.payment-calculator-results article {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 9px;
  background: #edf7f4;
}

.payment-calculator-results span,
.payment-calculator-results small {
  color: var(--muted);
}

.payment-calculator-results strong {
  color: var(--accent-dark);
  font-size: 1.06rem;
}

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

.payment-provider-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.payment-provider-head > span {
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.payment-provider-head h3 {
  margin: 5px 0 8px;
  font-size: 1.3rem;
}

.payment-provider-head p {
  color: var(--muted);
}

.payment-provider-card dl {
  display: grid;
  gap: 0;
  margin: 18px 0;
}

.payment-provider-card dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.payment-provider-card dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.payment-provider-card dd {
  margin: 0;
}

.start-assistant {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: stretch;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.start-assistant-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.start-assistant-fields label {
  display: grid;
  grid-template-rows: auto 48px;
  align-content: center;
  gap: 7px;
  min-width: 0;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
}

.start-assistant-fields select {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  text-overflow: ellipsis;
}

.start-assistant-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-radius: 10px;
  background: var(--accent-dark);
  color: #fff;
}

.start-assistant-result span,
.start-assistant-result strong {
  display: block;
}

.start-assistant-result span {
  margin-bottom: 7px;
  color: #bde5d9;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.start-assistant-result strong {
  font-size: 1.12rem;
}

.start-assistant-result p {
  margin: 8px 0 0;
  color: #f3fbf8;
}

.industry-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.industry-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.industry-card h3 {
  margin: 6px 0 10px;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.28;
}

.industry-card-kicker {
  display: block;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.industry-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.industry-card strong {
  color: var(--accent-dark);
}

a.industry-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.industry-directory {
  padding-top: 24px;
}

.industry-directory-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.industry-directory-head h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
}

.industry-directory-head p {
  margin: 0;
  color: var(--muted);
}

.industry-search {
  position: relative;
}

.industry-search::before {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  width: 13px;
  height: 13px;
  border: 2px solid #66758a;
  border-radius: 50%;
  content: "";
  transform: translateY(-58%);
}

.industry-search::after {
  position: absolute;
  z-index: 1;
  top: calc(50% + 7px);
  left: 27px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #66758a;
  content: "";
  transform: rotate(45deg);
}

.industry-search input {
  min-height: 50px;
  padding-left: 43px;
  border-color: #bcc9d8;
  box-shadow: var(--shadow-soft);
}

.industry-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.industry-subhead > span {
  color: var(--ink);
  font-weight: 900;
}

.industry-subhead p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.industry-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.industry-featured-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 14px 12px;
  min-height: 262px;
  border: 1px solid #bfd2cd;
  border-top: 4px solid var(--accent);
  border-radius: 10px;
  padding: 20px;
  background:
    linear-gradient(150deg, rgba(232, 246, 241, 0.72) 0%, rgba(255, 255, 255, 0) 45%),
    #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.industry-featured-card:hover {
  border-color: #77a99c;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.industry-featured-number {
  color: #7ca297;
  font-size: 0.82rem;
  font-weight: 900;
}

.industry-featured-card h3 {
  margin: 6px 0 10px;
  font-size: 1.25rem;
}

.industry-featured-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  color: var(--muted);
}

.industry-featured-card > strong {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--accent-dark);
}

.industry-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.industry-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.industry-group > header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  min-height: 112px;
  padding: 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f6f9 100%);
  border-bottom: 1px solid var(--line);
}

.industry-group-marker {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e5f2ee;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.industry-group h3 {
  margin: 1px 0 6px;
  font-size: 1.08rem;
}

.industry-group header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.industry-directory-list {
  display: grid;
}

.industry-directory-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 13px 17px;
  color: var(--ink);
  transition: background 0.14s ease;
}

.industry-directory-list a:last-child {
  border-bottom: 0;
}

.industry-directory-list a:hover {
  background: #f5faf8;
  text-decoration: none;
}

.industry-directory-list a > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.industry-directory-list a > div span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.industry-directory-list small {
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef2f7;
  color: #596579;
  font-weight: 800;
  white-space: nowrap;
}

.industry-directory-arrow {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 900;
  transition: transform 0.14s ease;
}

.industry-directory-list a:hover .industry-directory-arrow {
  transform: translateX(3px);
}

.industry-search-empty {
  margin-top: 24px;
  border: 1px dashed #aab8c8;
  border-radius: 10px;
  padding: 24px;
  background: #fff;
  text-align: center;
}

.industry-search-empty p {
  margin: 5px 0 10px;
  color: var(--muted);
}

.industry-featured[hidden],
.industry-group[hidden],
.industry-directory-list a[hidden],
.industry-search-empty[hidden] {
  display: none !important;
}

.industry-foundation-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.industry-foundation-head h2 {
  margin: 6px 0 0;
}

.industry-foundation-head p {
  margin: 0;
  color: var(--muted);
}

.industry-foundation-steps {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.industry-foundation-steps article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.industry-foundation-steps article:last-child {
  border-right: 0;
}

.industry-foundation-steps article > span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.industry-foundation-steps h3 {
  margin-bottom: 7px;
}

.industry-foundation-steps p {
  margin: 0;
  color: var(--muted);
}

.related-industry-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-industry-links a {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 17px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.related-industry-links a:hover {
  border-color: #91aaa2;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.related-industry-links span {
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.related-industry-links small {
  color: var(--accent-dark);
  font-weight: 800;
}

.business-topic-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.3fr) minmax(0, 0.7fr);
  gap: 34px;
  align-items: start;
}

.business-topic-toc {
  position: sticky;
  top: 88px;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.business-topic-toc > span {
  padding: 13px 15px;
  background: #edf5f2;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.business-topic-toc a {
  border-top: 1px solid var(--line);
  padding: 11px 15px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.business-topic-toc a:hover {
  background: #f7faf9;
  text-decoration: none;
}

.business-topic-article {
  display: grid;
  gap: 34px;
}

.business-topic-article section {
  scroll-margin-top: 88px;
}

.business-topic-article h2 {
  margin: 7px 0 15px;
}

.business-topic-article p {
  max-width: 74ch;
  color: #465366;
  font-size: 1.03rem;
  line-height: 1.75;
}

.business-topic-table th:first-child {
  width: 25%;
}

.business-topic-checklist {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.business-topic-checklist h2 {
  margin-top: 7px;
}

.business-topic-checklist ol {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 22px;
}

.business-topic-checklist li {
  padding-left: 5px;
  color: #465366;
}

@media (max-width: 620px) {
  .business-start-timeline > li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .business-start-number {
    width: 40px;
    height: 40px;
  }

  .business-start-timeline > li:not(:last-child)::before {
    top: 36px;
    left: 19px;
  }

  .editorial-meta {
    display: grid;
    gap: 4px;
  }

  .editorial-meta span::after {
    display: none;
  }
}

.footer-cookie-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.footer-cookie-link:hover,
.footer-cookie-link:focus {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(720px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.16);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__copy strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.cookie-banner__copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .start-assistant,
  .start-assistant-fields,
  .industry-card-grid,
  .direct-answer-grid,
  .payment-calculator-results,
  .payment-provider-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .payment-calculator-fields,
  .payment-provider-card dl div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .listing-featured-update {
    grid-template-columns: 1fr;
  }
}

.programmatic-hub-grid .topic-card {
  min-height: 220px;
}

.programmatic-criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.programmatic-criteria-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.programmatic-criteria-grid article > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.programmatic-criteria-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.programmatic-warning {
  margin-top: 18px;
}

.programmatic-provider-list {
  display: grid;
  gap: 16px;
}

.programmatic-provider-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(180px, 0.25fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.programmatic-provider-copy h3 {
  margin: 4px 0 8px;
}

.programmatic-provider-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.programmatic-provider-facts span {
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 0.88rem;
}

.programmatic-provider-copy details {
  margin-top: 12px;
}

.programmatic-provider-copy summary {
  color: var(--blue);
  cursor: pointer;
  font-weight: 700;
}

.programmatic-provider-actions {
  display: grid;
  gap: 10px;
}

.programmatic-provider-actions .button {
  width: 100%;
  text-align: center;
}

@media (max-width: 900px) {
  .programmatic-criteria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .programmatic-provider-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .programmatic-provider-actions {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .programmatic-criteria-grid {
    grid-template-columns: 1fr;
  }

  .programmatic-provider-card {
    grid-template-columns: 1fr;
  }

  .programmatic-provider-card .rank-number,
  .programmatic-provider-actions {
    grid-column: 1;
  }

  .programmatic-provider-actions {
    grid-template-columns: 1fr;
  }
}

.campaign-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.campaign-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.campaign-header-inner > span {
  color: var(--muted);
  font-size: 0.88rem;
}

.paid-interest-hero {
  padding: 64px 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(36, 84, 198, 0.16), transparent 28%),
    linear-gradient(135deg, #0d4f49, #123f68);
  color: #fff;
}

.paid-interest-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 32px;
  align-items: center;
}

.paid-interest-hero h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.98;
}

.paid-interest-hero .lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.85);
}

.paid-kicker {
  color: #9ce8d6;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.paid-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 22px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.paid-rate-highlight {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.paid-rate-highlight > span,
.paid-rate-highlight small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.paid-rate-highlight > strong {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: 3.2rem;
  line-height: 1;
}

.paid-rate-highlight .button {
  width: 100%;
  margin-top: 12px;
  text-align: center;
}

.paid-calculator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.35fr) minmax(220px, 0.3fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.paid-calculator-panel form {
  display: grid;
  gap: 10px;
}

.paid-calculation-result {
  padding: 18px;
  border-radius: 10px;
  background: var(--green-soft);
}

.paid-calculation-result span,
.paid-calculation-result small {
  display: block;
  color: var(--muted);
}

.paid-calculation-result strong {
  display: block;
  margin: 6px 0;
  color: var(--accent-dark);
  font-size: 1.8rem;
}

.paid-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.paid-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.paid-offer-card.is-featured {
  border: 2px solid var(--accent);
  transform: translateY(-6px);
}

.paid-offer-badge {
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 99px;
  background: var(--green-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.paid-offer-card h3 {
  margin: 0;
}

.paid-offer-rate {
  color: var(--accent-dark);
  font-size: 2rem;
  font-weight: 900;
}

.paid-offer-card ul {
  flex: 1;
  margin: 0;
  padding-left: 20px;
}

.paid-offer-card > .button {
  width: 100%;
  text-align: center;
}

.paid-offer-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

.paid-disclosure {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-soft);
}

.paid-disclosure p {
  margin-bottom: 0;
}

.paid-sticky-bar {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: 760px;
  margin: auto;
  padding: 12px 14px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #102f3d;
  color: #fff;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.28);
}

.paid-sticky-bar span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.paid-interest-popup {
  max-width: 430px;
  padding: 30px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.35);
}

.paid-interest-popup::backdrop {
  background: rgba(15, 23, 42, 0.65);
}

.paid-interest-popup .button,
.paid-interest-popup small {
  display: block;
  width: 100%;
  margin-top: 14px;
  text-align: center;
}

.paid-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .paid-interest-hero-grid,
  .paid-calculator-panel {
    grid-template-columns: 1fr;
  }

  .paid-offer-grid {
    grid-template-columns: 1fr;
  }

  .paid-offer-card.is-featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .campaign-header-inner {
    min-height: 62px;
  }

  .campaign-header-inner > span {
    display: none;
  }

  .paid-interest-hero {
    padding: 42px 0;
  }

  .paid-interest-hero h1 {
    font-size: 2.65rem;
  }

  .paid-sticky-bar {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: space-between;
  }

  .paid-sticky-bar span {
    display: none;
  }

  .paid-offer-links {
    flex-direction: column;
  }
}

.forum-locked-section {
  background:
    linear-gradient(135deg, rgba(22, 111, 99, 0.08) 0%, rgba(36, 84, 198, 0.06) 100%),
    #f6f8fb;
}

.forum-thread-layout,
.forum-locked-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 18px;
  align-items: start;
}

.forum-thread-main,
.forum-thread-sidebar,
.forum-locked-side {
  display: grid;
  gap: 14px;
}

.forum-locked-card {
  display: grid;
  gap: 16px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.forum-locked-card h1 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.forum-lock-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  font-weight: 900;
}

.forum-login-box {
  display: grid;
  gap: 12px;
  max-width: 460px;
  margin-top: 4px;
}

.forum-login-box label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.forum-login-box input {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 9px 11px;
  background: #fbfcfe;
  color: var(--text);
  font: inherit;
}

.forum-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.forum-breadcrumb a {
  font-weight: 800;
}

.forum-thread-header,
.forum-post {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.forum-thread-header {
  padding: 20px;
}

.forum-thread-header h1 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.forum-thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.forum-thread-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: #fbfcfe;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

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

.forum-post {
  display: grid;
  grid-template-columns: minmax(150px, 0.22fr) minmax(0, 1fr);
  overflow: hidden;
}

.forum-post-author {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f2f6f8 100%);
  text-align: center;
}

.forum-post-author strong {
  color: var(--ink);
}

.forum-post-author span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.forum-avatar {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  font-weight: 900;
}

.forum-post-content {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
}

.forum-post-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.forum-post-content p {
  margin: 0;
  color: var(--text);
}

.forum-post-content blockquote {
  margin: 0;
  border-left: 3px solid var(--line-strong);
  border-radius: 0 8px 8px 0;
  padding: 10px 12px;
  background: #f6f8fb;
  color: var(--muted);
  font-size: 0.94rem;
}

.forum-thread-sidebar {
  position: sticky;
  top: 86px;
}

.forum-back-link {
  justify-content: center;
}

@media (max-width: 1100px) {
  .forum-layout {
    grid-template-columns: 1fr;
  }

  .forum-thread-layout,
  .forum-locked-layout {
    grid-template-columns: 1fr;
  }

  .forum-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forum-thread-sidebar,
  .forum-locked-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forum-row {
    grid-template-columns: 54px minmax(0, 1fr) minmax(190px, 0.35fr);
  }

  .forum-counts {
    grid-column: 2;
    max-width: 260px;
  }
}

@media (max-width: 900px) {
  .forum-hero-grid,
  .forum-category-head,
  .forum-sidebar,
  .forum-thread-sidebar,
  .forum-locked-side,
  .forum-post {
    grid-template-columns: 1fr;
  }

  .forum-post-author {
    justify-items: start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .forum-category-head > span {
    display: none;
  }

  .forum-row {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    padding: 14px;
  }

  .forum-icon {
    width: 40px;
    height: 40px;
  }

  .forum-counts,
  .forum-latest {
    grid-column: 2;
  }

  .forum-counts {
    max-width: none;
  }
}

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

.card {
  padding: 18px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.card:hover {
  border-color: #9aaec2;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.account-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 4px solid #2f7d6d;
}

.account-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
}

.account-head > div {
  min-width: 0;
}

.account-head h3 {
  margin-bottom: 5px;
}

.account-head p {
  margin: 0;
  line-height: 1.35;
}

.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  border-radius: 8px;
  background: #e6f4ef;
  color: #0b5e45;
  font-weight: 850;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(76px, auto);
  gap: 10px;
  margin: 0;
}

.facts.single {
  grid-template-columns: 1fr;
}

.facts div {
  display: grid;
  align-content: start;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfd;
  min-width: 0;
}

.facts dd {
  overflow-wrap: anywhere;
  line-height: 1.28;
}

.facts .account-target-fact {
  grid-column: 1 / -1;
  min-height: 72px;
}

.account-target-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.account-target-list span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border: 1px solid #d6e2df;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef7f4;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
}

.account-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
  flex: 1 1 auto;
}

.account-card .account-summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-height: 1.55;
}

.account-card-body .score-note {
  margin-top: 0;
}

.account-card-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 2px;
}

.account-card-footer .button {
  width: 100%;
}

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

.fact-card {
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.fact-card h3 {
  color: var(--ink);
}

.fact-card p {
  margin: 0;
  color: var(--muted);
}

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

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

.decision-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.decision-card span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.decision-card p {
  margin: 0;
  color: var(--muted);
}

.decision-card.caution {
  border-color: #e2c8a4;
  background: #fffaf4;
}

.category-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.category-card p {
  margin: 0;
  color: var(--muted);
}

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

.overview-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.overview-strip > div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.overview-strip span,
.overview-strip small,
.provider-segment-row a {
  color: var(--muted);
}

.overview-strip span,
.provider-segment-row a {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.overview-strip strong {
  font-size: 1.9rem;
  line-height: 1;
}

.provider-segment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.provider-segment-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
}

.provider-segment-row a:hover {
  border-color: #8da6ba;
  color: var(--ink);
  text-decoration: none;
}

.provider-table-note {
  display: grid;
  gap: 4px;
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--muted);
}

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

.provider-overview-table {
  margin-bottom: 18px;
}

.provider-overview-table table {
  min-width: 860px;
  table-layout: fixed;
}

.provider-overview-table th:nth-child(1) {
  width: 28%;
}

.provider-overview-table th:nth-child(2) {
  width: 20%;
}

.provider-overview-table th:nth-child(3) {
  width: 42%;
}

.provider-overview-table th:nth-child(4) {
  width: 10%;
}

.provider-overview-table th,
.provider-overview-table td {
  vertical-align: top;
}

.provider-name-cell,
.provider-price-cell {
  display: grid;
  gap: 5px;
}

.provider-name-cell span,
.provider-price-cell small {
  color: var(--muted);
}

.provider-name-cell span {
  font-size: 0.9rem;
}

.provider-price-cell a {
  width: fit-content;
  font-weight: 800;
}

.price-status {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.72rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.price-status.is-public {
  background: #dff3ea;
  color: #0b5e45;
}

.price-status.is-quote {
  background: #fff3d8;
  color: #7a4c00;
}

.table-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.provider-card-disclosure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.provider-card-disclosure summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 850;
}

.provider-card-disclosure .service-grid {
  padding: 0 16px 16px;
}

.alternative-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.alternative-list a {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(130px, 0.65fr) minmax(260px, 1.6fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

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

.alternative-list a:hover {
  background: #f7fafc;
  text-decoration: none;
}

.alternative-list span {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.alternative-list small {
  color: var(--muted);
  line-height: 1.4;
}

.alternative-list em {
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.service-card,
.stack-list a,
.stack-list-static,
.search-result-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.service-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 18px;
}

.service-card:hover,
.stack-list a:hover,
.search-result-card:hover {
  border-color: #8da6ba;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  text-decoration: none;
}

.service-card span,
.service-card p,
.stack-list span,
.stack-list-static span,
.search-result-card span,
.search-result-card p {
  color: var(--muted);
}

.service-card span {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
}

.stack-list {
  display: grid;
  gap: 10px;
}

.stack-list a {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.stack-list-static {
  display: grid;
  gap: 6px;
  padding: 14px;
}

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

.search-result-card {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.search-result-card span {
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.search-result-card h3 {
  margin: 0;
}

.search-result-card p {
  margin: 0;
}

.search-panel {
  align-content: start;
}

.fee-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.fee-rule-grid article {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.fee-rule-grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fee-rule-grid p {
  margin: 0;
  color: var(--muted);
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
}

dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #aebdcd;
}

textarea {
  resize: vertical;
}

.check {
  grid-template-columns: 18px 1fr;
  align-items: center;
  font-weight: 650;
}

.check input {
  min-height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #1c8173 0%, var(--accent) 100%);
  color: white;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(22, 111, 99, 0.18);
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.button:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(13, 79, 73, 0.22);
  transform: translateY(-1px);
  text-decoration: none;
}

.button.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover {
  background: #f4f7fa;
  box-shadow: var(--shadow-soft);
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.pricing-row-scroll {
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-gutter: stable;
}

.provider-plan-group-head {
  margin: 28px 0 14px;
}

.provider-plan-group-head:first-of-type {
  margin-top: 0;
}

.provider-plan-group-head h3 {
  margin: 4px 0 6px;
  font-size: 1.35rem;
}

.provider-plan-group-head p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
}

.provider-product-model {
  margin-bottom: 18px;
}

.price-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.provider-price-card {
  align-content: start;
  overflow: hidden;
  min-height: 100%;
  padding: 20px;
  border-color: #dce5ee;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.06);
}

.provider-price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #94a3b8 0%, #cbd5e1 100%);
}

.price-card.featured {
  border-color: #86b7a8;
  background: linear-gradient(180deg, #ffffff 0%, #edf7f3 100%);
  box-shadow: var(--shadow-soft);
}

.provider-price-card.featured {
  border: 2px solid #42bc92;
  box-shadow: 0 18px 44px rgba(47, 143, 116, 0.16);
}

.provider-price-card.featured::before {
  background: linear-gradient(90deg, #42bc92 0%, #1c8173 100%);
}

.recommended-badge {
  position: absolute;
  top: 0;
  right: 16px;
  border-radius: 0 0 8px 8px;
  background: #42bc92;
  color: #fff;
}

.price-card h3 {
  font-size: 1.2rem;
}

.price-card p,
.price-card small {
  margin: 0;
  color: var(--muted);
}

.price {
  font-size: 1.65rem;
  font-weight: 900;
  color: #111827;
}

.price span {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 650;
}

.price-card ul {
  display: grid;
  gap: 9px;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
}

.provider-price-card li {
  position: relative;
  padding-left: 22px;
  line-height: 1.35;
}

.provider-price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.badge,
.fit-label {
  width: max-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 850;
  background: #dff3ea;
  color: #0b5e45;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

th,
td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: normal;
}

th {
  background: #eef3f8;
  font-size: 0.88rem;
  color: #354052;
  font-weight: 850;
}

tbody tr:nth-child(even) {
  background: #fbfcfe;
}

tbody tr:hover {
  background: #f2f7f6;
}

.nowrap {
  white-space: nowrap;
}

.provider-plan-table {
  min-width: 940px;
  table-layout: fixed;
}

.provider-plan-table th:nth-child(1) {
  width: 12%;
}

.provider-plan-table th:nth-child(2) {
  width: 23%;
}

.provider-plan-table th:nth-child(3) {
  width: 20%;
}

.provider-plan-table th:nth-child(4) {
  width: 24%;
}

.provider-plan-table th:nth-child(5) {
  width: 21%;
}

.plan-price-cell {
  display: grid;
  gap: 3px;
}

.plan-price-cell strong {
  color: var(--ink);
  font-weight: 900;
}

.plan-price-cell span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.article {
  max-width: 820px;
}

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

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

.scenario-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.scenario-card p {
  margin: 0;
}

.scenario-results {
  display: grid;
  gap: 8px;
}

.scenario-results div {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.scenario-results span,
.scenario-results small {
  color: var(--muted);
}

.scenario-results strong {
  font-size: 1.2rem;
}

.ranking-evidence {
  display: grid;
  gap: 5px;
  margin: 10px 0;
  padding: 10px;
  background: #f8fafc;
}

.usecase-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.usecase-card.good {
  border-top: 4px solid #17845f;
}

.usecase-card.limited {
  border-top: 4px solid #b45309;
}

.usecase-card.limited .fit-label {
  background: #fff1df;
  color: #92400e;
}

.usecase-card p {
  margin: 0;
  color: var(--muted);
}

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

.analysis-panel {
  display: grid;
  gap: 12px;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.analysis-panel h3 {
  font-size: 1.2rem;
}

.analysis-panel article {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.analysis-panel article:first-of-type {
  border-top: 0;
}

.analysis-panel p {
  margin: 5px 0 0;
  color: var(--muted);
}

.pro-panel {
  background: var(--green-soft);
}

.con-panel {
  background: var(--red-soft);
}

.article li {
  color: var(--muted);
  margin: 6px 0;
}

.table-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.source-list {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.source-list span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.source-list p {
  margin: 4px 0 0;
  color: var(--muted);
}

.alternative-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.alternative-card,
.topic-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.alternative-card:hover,
.topic-card:hover {
  border-color: #9aabc0;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.alternative-card p,
.topic-card p {
  margin: 0;
  color: var(--muted);
}

.alternative-card span {
  align-self: end;
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ink);
  font-weight: 750;
}

.topic-card {
  background: #fbfcfe;
}

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

.comparison-card {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.comparison-card:hover {
  border-color: #8fa2b8;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  text-decoration: none;
}

.comparison-card span,
.winner-panel span,
.versus-strip span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.comparison-card h2 {
  margin: 0;
}

.comparison-card p {
  margin: 0;
  color: var(--muted);
}

.comparison-card strong {
  align-self: end;
  color: var(--accent-dark);
}

.comparison-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.winner-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid #8ab7a7;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #edf7f3 100%);
  box-shadow: var(--shadow-soft);
}

.winner-panel strong {
  font-size: 1.7rem;
  line-height: 1.1;
}

.winner-panel p {
  margin: 0;
  color: var(--muted);
}

.versus-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.versus-strip a,
.versus-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  color: var(--text);
  text-align: center;
}

.versus-strip a:hover {
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.versus-strip strong {
  display: block;
  font-size: 1.35rem;
}

.versus-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(145deg, #111827 0%, #263247 100%);
  color: #fff;
  font-weight: 900;
}

.winner-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e7f5ee;
  color: #0b5e45;
  font-weight: 850;
  font-size: 0.84rem;
}

td small {
  color: var(--muted);
}

.decision-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.decision-panel p {
  color: var(--muted);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) repeat(4, minmax(150px, 0.8fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.score-grid,
.score-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.score-card,
.score-type-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.score-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.score-card span {
  color: var(--muted);
  font-weight: 850;
}

.score-card strong {
  font-size: 2rem;
  line-height: 1;
}

.score-card p,
.score-type-card p {
  margin: 0;
  color: var(--muted);
}

.score-card small,
.score-type-card small,
.score-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.method-strip {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 12px;
}

.method-strip div {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.method-strip span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.method-strip strong {
  font-size: 1.15rem;
}

.method-strip small {
  color: var(--muted);
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(96px, max-content);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
  overflow: hidden;
}

.rank-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #111827 0%, #263247 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.ranking-card h3 {
  margin-top: 8px;
}

.ranking-card p {
  color: var(--muted);
  margin: 8px 0;
}

.ranking-card small {
  color: var(--muted);
}

.ranking-score {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  text-align: right;
}

.ranking-score span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ranking-score strong {
  font-size: 2.1rem;
  line-height: 1;
}

.ranking-score .quality-badge {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

@media (max-width: 1100px) {
  .ranking-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .ranking-score {
    grid-column: 2;
    justify-items: start;
    text-align: left;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }
}

.quality-badge {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef2f7;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-align: center;
}

.quality-badge.official {
  background: #e7f5ee;
  color: #0b5e45;
}

.quality-badge.attention {
  background: #fff1df;
  color: #92400e;
}

.data-status-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.data-status-panel p {
  color: var(--muted);
}

.status-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.status-metrics div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.status-metrics dd {
  font-size: 1.45rem;
}

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

.methodology-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.methodology-card p {
  color: var(--muted);
}

.legal-panel {
  max-width: 720px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.legal-panel-wide {
  max-width: 880px;
}

.legal-panel-wide + .legal-panel-wide {
  margin-top: 18px;
}

.legal-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.legal-panel strong {
  color: var(--ink);
}

.contact-panel {
  margin-top: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form .button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline.compact {
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.timeline-item time {
  color: var(--muted);
  font-weight: 850;
}

.timeline-item h2,
.timeline-item h3 {
  margin-top: 8px;
}

.timeline-item p {
  color: var(--muted);
}

.explain-box {
  padding: 18px;
  border: 1px solid #bfd0df;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.explain-box p {
  color: var(--muted);
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.calculator-check {
  min-height: 44px;
}

.calculator-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.calculator-intro-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.calculator-intro-grid h2 {
  margin-top: 6px;
  font-size: 1.25rem;
}

.calculator-intro-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.sort-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
}

.sort-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: var(--text);
  font-weight: 850;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.sort-tabs a.active {
  border-color: #2f7d6d;
  background: #e8f4ef;
  color: #14584d;
}

.sort-tabs a:hover {
  border-color: #9aaec2;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
  text-decoration: none;
}

.calculator-data-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  border: 1px solid #c6d7e7;
  border-radius: 8px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  color: var(--muted);
}

.calculator-data-note strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.calculator-results {
  display: grid;
  gap: 14px;
}

.calculator-result-card {
  display: grid;
  grid-template-columns: minmax(112px, 132px) minmax(0, 1fr);
  gap: 16px 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.calculator-result-card .rank-number {
  width: auto;
  min-width: 108px;
  padding: 0 10px;
  font-size: 1rem;
}

.calculator-result-card p {
  color: var(--muted);
}

.calculator-result-card .quality-badge {
  white-space: normal;
}

.calculator-fit {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.calculator-fit-head,
.calculator-fit-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.calculator-fit-meta {
  flex-wrap: wrap;
}

.calculator-fit-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.calculator-fit-head strong {
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
}

.calculator-fit-meta em {
  color: var(--ink);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 850;
}

.calculator-fit-meta small {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.fit-meter {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.fit-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b45309 0%, #d97706 34%, #2f7d6d 100%);
}

.calculator-explainer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calculator-explainer div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.calculator-explainer strong {
  display: block;
  margin-bottom: 5px;
}

.calculator-explainer p {
  margin: 0;
  font-size: 0.92rem;
}

.calculator-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calculator-actions a,
.calculator-link-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  background: #fff;
  color: var(--text);
  font-weight: 850;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.calculator-actions a:first-child {
  border-color: #2f7d6d;
  background: #2f7d6d;
  color: #fff;
}

.calculator-actions a:hover,
.calculator-link-grid a:hover {
  border-color: #9aaec2;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
  text-decoration: none;
}

.calculator-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.finder-section {
  padding-top: 12px;
}

.finder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: start;
}

.finder-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.finder-form-head {
  grid-column: 1 / -1;
}

.finder-form-head h2 {
  margin: 6px 0;
}

.finder-form-head p {
  margin: 0 0 4px;
  color: var(--muted);
}

.finder-check {
  min-height: 44px;
  align-self: end;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--panel-soft);
}

.finder-submit {
  align-self: end;
}

.finder-summary {
  position: sticky;
  top: 82px;
  border: 1px solid #bfd0df;
  border-radius: 10px;
  padding: 20px;
  background: linear-gradient(180deg, #fff 0%, #f3f8f7 100%);
  box-shadow: var(--shadow-soft);
}

.finder-summary h2 {
  margin: 8px 0 16px;
  font-size: 1.3rem;
}

.finder-summary dl {
  display: grid;
  gap: 0;
  margin: 0 0 16px;
}

.finder-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

.finder-summary dt {
  color: var(--muted);
}

.finder-summary dd {
  max-width: 60%;
  text-align: right;
}

.finder-copy {
  width: 100%;
}

.finder-copy-status {
  display: block;
  min-height: 22px;
  margin-top: 7px;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 750;
  text-align: center;
}

.finder-results {
  display: grid;
  gap: 14px;
}

.finder-result-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.finder-result-card--winner {
  border-color: #78aa9e;
  box-shadow: 0 16px 36px rgba(22, 111, 99, 0.12);
}

.finder-rank {
  display: grid;
  align-content: start;
  justify-items: center;
  border-radius: 8px;
  padding: 14px 10px;
  background: var(--green-soft);
  color: var(--accent-dark);
  text-align: center;
}

.finder-rank span,
.finder-rank small {
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.finder-rank strong {
  margin: 5px 0 1px;
  font-size: 2rem;
  line-height: 1;
}

.finder-badge {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--green-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.finder-result-main h3 {
  font-size: 1.35rem;
}

.finder-plan {
  margin: 6px 0 12px;
  color: var(--muted);
}

.finder-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.finder-reason-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--panel-soft);
}

.finder-reason-grid ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.finder-reason-grid li + li {
  margin-top: 5px;
}

.finder-reason-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.industry-reading {
  padding: 44px 0 50px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 5%, rgba(22, 111, 99, 0.08), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #f2f5f8 100%);
}

.industry-reading-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.industry-reading-head h2 {
  max-width: 720px;
  margin: 6px 0 8px;
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
}

.industry-reading-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.industry-reading-count {
  flex: 0 0 auto;
  border: 1px solid #b9d5cd;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.industry-reading-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.32fr) minmax(0, 0.68fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.industry-reading-nav {
  align-self: stretch;
  border-right: 1px solid var(--line);
  padding: 28px 24px;
  background: linear-gradient(180deg, #edf6f3 0%, #f7faf9 100%);
}

.industry-reading-nav > span {
  display: block;
  margin-bottom: 15px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.industry-reading-nav ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-reading-nav li {
  border-top: 1px solid rgba(115, 153, 143, 0.24);
}

.industry-reading-nav li:last-child {
  border-bottom: 1px solid rgba(115, 153, 143, 0.24);
}

.industry-reading-nav li a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  padding: 13px 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.industry-reading-nav li a span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
}

.industry-reading-nav li a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

.industry-reading-next {
  display: inline-flex;
  margin-top: 20px;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 850;
}

.industry-reading-sections {
  display: grid;
  padding: 10px 42px;
}

.industry-reading-sections section {
  border-top: 1px solid var(--line);
  padding: 34px 0 30px;
  scroll-margin-top: 86px;
}

.industry-reading-sections section:first-child {
  border-top: 0;
}

.industry-reading-sections h3 {
  max-width: 28ch;
  margin: 6px 0 16px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.industry-reading-number {
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.industry-reading-sections p {
  max-width: 70ch;
  margin: 0 0 14px;
  color: #465366;
  font-size: 1.02rem;
  line-height: 1.75;
}

.industry-reading-sections p:last-child {
  margin-bottom: 0;
}

.warning-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.warning-list span {
  display: inline-flex;
  max-width: 100%;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff1df;
  color: #92400e;
  font-size: 0.82rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.affiliate-slot {
  margin-top: 18px;
  border: 1px dashed #9aa5b1;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  color: var(--muted);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #bfd0df;
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  box-shadow: var(--shadow-soft);
}

.cta-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  background: #f8fafc;
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}


@media (max-width: 900px) {
  .hero-grid,
  .provider-hero,
  .global-hero,
  .comparison-hero,
  .grid,
  .fact-grid,
  .pricing-row,
  .usecase-grid,
  .split-grid,
  .summary-strip,
  .alternative-grid,
  .topic-grid,
  .comparison-list,
  .decision-grid,
  .decision-summary,
  .versus-strip,
  .filter-panel,
  .market-grid,
  .home-path-grid,
  .quick-link-grid,
  .category-grid,
  .service-grid,
  .overview-strip,
  .provider-hero-facts,
  .provider-fact-strip,
  .provider-verdict-grid,
  .payroll-plan-card__head,
  .payroll-plan-details,
  .compact-comparison__row,
  .inline-cta,
  .scenario-bar,
	  .scenario-grid,
	  .score-grid,
	  .score-bar-list,
	  .score-type-grid,
	  .method-strip,
	  .fee-rule-grid,
  .calculator-intro-grid,
	  .calculator-explainer,
	  .finder-layout,
	  .finder-form,
	  .finder-result-card,
	  .finder-reason-grid,
	  .ranking-card {
	    grid-template-columns: 1fr;
	  }

  .data-status-panel,
  .methodology-grid,
  .timeline-item,
  .calculator-form,
  .calculator-result-card {
    grid-template-columns: 1fr;
  }

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

  .ranking-score {
    justify-items: start;
  }

  .versus-strip div {
    justify-self: center;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-top {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .facts {
    grid-template-columns: 1fr;
  }

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

  .provider-trust-panel {
    position: static;
  }

  .provider-hero .hero-copy {
    max-width: none;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 1100px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 8px;
    scrollbar-width: thin;
  }

  .nav-group {
    flex: 0 0 auto;
    padding-bottom: 0;
  }

  .nav-top {
    min-height: 36px;
    padding: 8px 11px;
    background: #fff;
    border: 1px solid var(--line);
    white-space: nowrap;
  }

  .nav-dropdown {
    left: 0;
    min-width: 220px;
  }

  .site-search {
    width: 100%;
    min-width: 0;
  }

  .site-search input {
    width: min(420px, 100%);
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    position: sticky;
  }

  .brand {
    max-width: calc(100% - 104px);
  }

  .brand img {
    width: 164px;
  }

  .nav {
    min-height: 58px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }

  .nav-toggle {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .nav-toggle-button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 40px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 11px;
    background: #fff;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 850;
    cursor: pointer;
    user-select: none;
  }

  .nav-toggle-icon {
    display: grid;
    gap: 4px;
    width: 18px;
  }

  .nav-toggle-icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
  }

  .nav-toggle:focus-visible + .nav-toggle-button {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .nav-links {
    order: 3;
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    overflow-x: hidden;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding: 10px 0 4px;
    align-items: start;
    flex: 0 0 100%;
  }

  .nav-toggle:checked ~ .nav-links {
    display: grid;
  }

  .site-search {
    order: 2;
    flex: 0 0 100%;
    width: 100%;
  }

  .site-search input {
    width: 100%;
    min-width: 0;
  }

  .nav-group {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0;
    background: #fff;
  }

  .nav-top {
    width: 100%;
    min-height: 40px;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
    padding: 9px 11px;
    background: #f8fafc;
    font-size: 0.94rem;
    white-space: normal;
  }

  .nav-top::after {
    display: none;
  }

  .nav-dropdown {
    position: static;
    display: grid;
    gap: 2px;
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 6px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: #fff;
  }

  .nav-dropdown a {
    padding: 8px 9px;
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .hero {
    padding: 24px 0 14px;
  }

  .section,
  .content-band {
    padding: 24px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .lead {
    font-size: 1rem;
  }

	  .hero-actions,
	  .warning-list,
	  .calculator-data-note,
	  .calculator-fit-head,
	  .calculator-actions,
	  .calculator-link-grid,
	  .cta-panel {
	    flex-direction: column;
	    align-items: stretch;
	  }

  .cta-actions {
    justify-content: stretch;
  }

	  .button {
	    width: 100%;
	  }

	  .sort-tabs a,
	  .calculator-actions a,
	  .calculator-link-grid a {
	    justify-content: center;
	    width: 100%;
	  }

  .score-panel,
  .winner-panel,
  .quick-panel,
  .card,
  .price-card,
  .fact-card,
  .category-card,
  .service-card,
  .decision-card,
  .usecase-card,
  .analysis-panel,
  .decision-panel,
  .comparison-card,
  .ranking-card,
  .calculator-result-card {
    padding: 14px;
  }

  .metric-grid,
  .status-metrics,
  .facts {
    grid-template-columns: 1fr;
  }

  .market-card,
  .home-path-card,
  .category-card,
  .service-card,
  .decision-card,
  .comparison-card,
  .alternative-card,
  .topic-card {
    min-height: auto;
  }

  .price {
    font-size: 1.35rem;
  }

  .provider-price-card {
    min-height: auto;
  }

  .alternative-list a {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .table-wrap {
    margin-inline: -12px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  table {
    min-width: 680px;
  }

  .provider-plan-table {
    min-width: 860px;
  }

  th,
  td {
    padding: 10px;
    font-size: 0.9rem;
  }

  .calculator-form {
    padding: 14px;
  }

  .finder-summary {
    position: static;
  }

  .finder-rank {
    justify-items: start;
    text-align: left;
  }

  .calculator-result-card .rank-number,
  .rank-number {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 42px;
  }

  .ranking-score {
    justify-items: start;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

  .ranking-score strong {
    font-size: 1.55rem;
  }

  .versus-strip div {
    width: 44px;
    height: 44px;
  }

  .source-list {
    padding-left: 16px;
  }

  .meta-row {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 18px, 1180px);
  }

  .nav {
    padding: 10px 0;
  }

  .nav-links {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nav-group {
    min-width: 0;
  }

  .nav-dropdown a {
    font-size: 0.84rem;
  }

  h1 {
    font-size: 1.72rem;
  }

  h2 {
    font-size: 1.22rem;
  }

  h3 {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  .section-head {
    gap: 8px;
    margin-bottom: 14px;
  }

  .score-panel-top {
    align-items: flex-start;
  }

  .provider-mark {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .trust-score,
  .trust-list,
  .trust-list div,
  .quick-facts-panel div,
  .score-bar-card > div:first-child {
    grid-template-columns: 1fr;
  }

  .provider-hero-facts div,
  .provider-fact-strip article {
    padding: 12px;
  }

  .provider-hero-facts strong {
    font-size: 1.18rem;
  }

  .score-bar-card > div:first-child {
    display: grid;
    gap: 4px;
  }

  .scenario-bar a,
  .home-path-card,
  .quick-link-grid a,
  .stack-list a {
    min-height: auto;
  }

  .filter-panel,
  .calculator-form {
    gap: 10px;
    padding: 12px;
  }

  .check {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .warning-list span,
  .badge,
  .fit-label,
  .winner-chip,
  .quality-badge {
    width: fit-content;
    max-width: 100%;
  }

  table {
    min-width: 620px;
  }

  .provider-plan-table {
    min-width: 780px;
  }

  th,
  td {
    padding: 9px;
    font-size: 0.84rem;
  }

  .site-footer {
    padding: 20px 0;
  }

}

@media (max-width: 900px) {
  .business-topic-layout {
    grid-template-columns: 1fr;
  }

  .business-topic-toc {
    position: static;
  }

  .related-industry-links {
    grid-template-columns: 1fr;
  }

  .industry-directory-head,
  .industry-foundation-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industry-featured-grid {
    grid-template-columns: 1fr;
  }

  .industry-featured-card {
    min-height: 0;
  }

  .industry-group-grid {
    grid-template-columns: 1fr;
  }

  .industry-foundation-steps {
    grid-template-columns: 1fr;
  }

  .industry-foundation-steps article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .industry-foundation-steps article:last-child {
    border-bottom: 0;
  }

  .industry-reading-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .industry-reading-layout {
    grid-template-columns: 1fr;
  }

  .industry-reading-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .industry-reading-sections {
    padding: 4px 24px;
  }
}

@media (max-width: 520px) {
  .industry-subhead {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .industry-featured-card {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 16px;
  }

  .industry-directory-list a {
    grid-template-columns: minmax(0, 1fr) 22px;
  }

  .industry-directory-list small {
    display: none;
  }

  .industry-group > header {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 0;
    padding: 15px;
  }

  .industry-group-marker {
    width: 36px;
    height: 36px;
  }

  .industry-reading {
    padding: 30px 0;
  }

  .industry-reading-count {
    white-space: normal;
  }

  .industry-reading-nav {
    padding: 22px 18px;
  }

  .industry-reading-sections {
    padding: 0 18px;
  }

  .industry-reading-sections section {
    padding: 26px 0 24px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .button {
    flex: 1 1 140px;
  }
}
.access-log-agent {
    max-width: 34rem;
    overflow-wrap: anywhere;
    font-size: 0.88rem;
    line-height: 1.4;
}

.access-log-login {
    display: grid;
    gap: 0.75rem;
    max-width: 28rem;
    margin-top: 1.5rem;
}

.access-log-login input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #d7dee8;
    border-radius: 0.65rem;
    font: inherit;
}

.access-log-login .button {
    justify-self: start;
}

.form-error {
    color: #a52a2a;
    font-weight: 700;
}

/* UG/GmbH long-form comparison */
.legal-form-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(21, 128, 111, 0.16), transparent 27rem),
    linear-gradient(145deg, #f8fbfa 0%, #eef4f2 55%, #f6f7f9 100%);
}

.legal-form-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.legal-form-signal-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.legal-form-signal-grid article:nth-child(2) {
  border-top: 4px solid #137668;
}

.legal-form-signal-grid article > span,
.capital-example-grid article > span,
.legal-form-scenarios article > span {
  display: block;
  margin-bottom: 8px;
  color: #137668;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-form-signal-grid h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.legal-form-signal-grid p,
.capital-example-grid p,
.legal-form-scenarios p {
  margin-bottom: 0;
}

.legal-form-reading {
  padding-top: 30px;
}

.legal-form-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 790px);
  justify-content: center;
  gap: 58px;
  align-items: start;
}

.legal-form-toc {
  top: 92px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.legal-form-article {
  min-width: 0;
}

.legal-form-intro {
  margin-bottom: 14px;
  padding: 30px 34px;
  border-left: 5px solid #137668;
  border-radius: 0 18px 18px 0;
  background: #edf7f4;
}

.legal-form-intro p {
  margin: 0;
  color: #314052;
  font-size: 1.08rem;
  line-height: 1.85;
}

.legal-form-intro p + p {
  margin-top: 18px;
}

.legal-form-article > section {
  padding: 46px 0 42px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.legal-form-article > section:last-child {
  border-bottom: 0;
}

.legal-form-article h2 {
  max-width: 680px;
  margin: 8px 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.12;
}

.legal-form-article > section > p {
  max-width: 760px;
  margin: 0 0 20px;
  color: #455469;
  font-size: 1.04rem;
  line-height: 1.86;
}

.legal-form-callout {
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid #b8ddd3;
  border-radius: 14px;
  background: #f2faf7;
}

.legal-form-callout p {
  margin: 6px 0 0;
}

.capital-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.capital-example-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafb;
}

.capital-example-grid strong {
  display: block;
  font-size: 1.08rem;
}

.capital-example-grid p {
  font-size: 0.92rem;
  line-height: 1.6;
}

.legal-form-scenarios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 28px;
}

.legal-form-scenarios article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.legal-form-scenarios h3 {
  margin: 0 0 8px;
}

.legal-form-table th:first-child {
  width: 20%;
}

.legal-form-table td {
  line-height: 1.55;
}

.legal-form-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-form-check;
}

.legal-form-checklist li {
  position: relative;
  min-height: 155px;
  padding: 24px 24px 24px 68px;
  counter-increment: legal-form-check;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.legal-form-checklist li::before {
  content: counter(legal-form-check);
  position: absolute;
  top: 23px;
  left: 22px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #137668;
  color: #fff;
  font-weight: 850;
}

.legal-form-checklist strong,
.legal-form-checklist span {
  display: block;
}

.legal-form-checklist span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .legal-form-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-form-toc {
    position: static;
    max-height: none;
  }

  .legal-form-signal-grid,
  .capital-example-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .legal-form-intro {
    padding: 24px 22px;
  }

  .legal-form-article > section {
    padding: 36px 0 32px;
  }

  .legal-form-scenarios,
  .legal-form-checklist {
    grid-template-columns: 1fr;
  }
}
