/* TaxMatrix 2026 WP theme. Ported from hubspot/taxmatrix-theme/css/main.css (HubSpot design system). */
/* ---- reset ---- */
*, *:before, *:after {
  box-sizing: border-box;
}
/* ---- normalize ---- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}/* ---- main ---- */

:root {
  --b-navy: #00306e;
  --b-navy-2: #21366c;
  --b-green: #00a04a;
  --b-green-2: #00803b;
  --b-green-soft: #b7d698;
  --b-paper: #ffffff;
  --b-paper-2: #f6f4ef;
  --b-rule: #dfdbd1;
  --b-ink: #0a1628;
  --b-ink-soft: #3d4757;
  --b-muted: #6c7686;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--b-paper); }
body {
  margin: 0;
  background: var(--b-paper);
  color: var(--b-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

h1, h2, h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  color: var(--b-navy);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p { margin: 0 0 1.1em; color: var(--b-ink-soft); }

a {
  color: var(--b-navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--b-green);
  padding-bottom: 1px;
  transition: color 120ms ease, border-color 120ms ease;
}
a:hover { color: var(--b-green); }

.b-container { max-width: 76rem; margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.b-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--b-green);
  font-weight: 600;
  margin: 0 0 1rem;
}
.b-lede { font-size: 1.3rem; line-height: 1.45; color: var(--b-ink); max-width: 46rem; }

.b-section { padding-block: clamp(4rem, 8vw, 7rem); }
.b-section--paper2 { background: var(--b-paper-2); }
.b-section--navy { background: var(--b-navy); color: var(--b-paper); }
.b-section--navy h1, .b-section--navy h2, .b-section--navy h3 { color: var(--b-paper); }
.b-section--navy p { color: #c4cfe3; }
.b-section--navy .b-lede { color: var(--b-paper); }
.b-section--navy .b-label { color: var(--b-green-soft); }
/* Clyde 6.3 item 2: bump the "Celebrating 25 years" hero eyebrow +3 */
.hero .b-label { font-size: 0.92rem; letter-spacing: 0.16em; }
/* Headline hard breaks (| in tm26_headline) are tuned for desktop; at phone
   widths they orphan short words, so let the text wrap naturally instead. */
@media (max-width: 640px) { .hero-service h1 br, .hero-industry h1 br { display: none; } }
.b-section--navy a { color: var(--b-paper); border-bottom-color: var(--b-green); }
.b-section--navy a:hover { color: var(--b-green); }

.b-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--b-green); color: var(--b-paper);
  padding: 0.95rem 1.5rem; border: 0; border-radius: 2px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
  transition: background 120ms ease, transform 120ms ease;
}
.b-cta:hover { background: var(--b-green-2); transform: translateY(-1px); border-bottom: 0; color: var(--b-paper); }
.b-cta-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--b-navy);
  padding: 0.95rem 1.5rem; border: 1.5px solid var(--b-navy);
  border-radius: 2px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}
.b-cta-ghost:hover { background: var(--b-navy); color: var(--b-paper); }
.b-section--navy .b-cta-ghost { color: var(--b-paper); border-color: var(--b-paper); }
.b-section--navy .b-cta-ghost:hover { background: var(--b-paper); color: var(--b-navy); }

/* Site header. */
.b-header {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--b-rule);
  z-index: 15;
}
.b-header-inner { display: flex; align-items: center; gap: 2rem; padding-block: 1.1rem; }
.b-brand {
  color: var(--b-navy); text-decoration: none;
  font-weight: 800; letter-spacing: -0.015em; font-size: 1.2rem;
  border-bottom: 0;
  display: inline-flex; align-items: center;
}
.b-brand .dot { color: var(--b-green); }
.b-logo { display: block; height: 38px; width: auto; }
.b-footer-logo { display: block; height: 38px; width: auto; margin-bottom: 0.85rem; }
.b-nav { display: flex; gap: 1.75rem; font-size: 0.92rem; margin-left: auto; }
.b-nav a { color: var(--b-ink); border-bottom: 0; font-weight: 500; }
.b-nav a:hover { color: var(--b-green); }
.b-header-cta { padding: 0.55rem 1.1rem; font-size: 0.86rem; }
@media (max-width: 900px) { .b-nav { display: none; } }
/* Nav links hide below 900px; keep the CTA pinned right, not hugging the logo.
   These header overrides MUST stay after the base rules above (same specificity,
   source order decides). */
@media (max-width: 900px) { .b-header-cta { margin-left: auto; } }
@media (max-width: 640px) {
  .b-logo { height: 32px; }
  .b-header-inner { gap: 1rem; }
  .b-header-cta { padding: 0.5rem 0.85rem; font-size: 0.8rem; }
}
@media (max-width: 400px) {
  .b-logo { height: 28px; }
  .b-header-inner { gap: 0.7rem; }
  .b-header-cta { padding: 0.4rem 0.6rem; font-size: 0.72rem; white-space: nowrap; flex-shrink: 0; }
  /* Sub-375 phones: nowrap, no-shrink CTAs (min-content ~318px) overflow the
     container; let button text wrap. The header CTA stays one line, smaller. */
  .b-cta { white-space: normal; text-align: left; flex-shrink: 1; }
}

/* Site footer. */
.b-footer {
  background: var(--b-navy); color: var(--b-paper);
  padding-block: 3.5rem 2rem; font-size: 0.9rem;
}
.b-footer a { color: var(--b-paper); border-bottom: 0; }
.b-footer a:hover { color: var(--b-green); }
.b-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.b-footer h4 {
  color: var(--b-green-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  margin: 0 0 0.7rem;
}
.b-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; font-size: 0.9rem; }
.b-footer p { color: #c4cfe3; }
@media (max-width: 760px) { .b-footer-grid { grid-template-columns: 1fr 1fr; } }
.b-foot-legal {
  border-top: 1px solid #1a3d6a;
  margin-top: 2.5rem; padding-top: 1.3rem;
  font-size: 0.78rem; color: #8ea2be;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

/* Home page sections. */
.hero { padding-block: clamp(5rem, 10vw, 9rem) clamp(4rem, 8vw, 7rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }
.hero-grid--solo { grid-template-columns: 1fr; }
.hero-grid--solo .hero-copy h1 { max-width: 18ch; }
.hero-grid--solo .hero-copy .b-lede { max-width: 42rem; }
.hero-copy h1 { margin-bottom: 1.5rem; line-height: 1; }
.hero-copy .accent { color: var(--b-green); }
.hero-ctas { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  border-top: 2px solid var(--b-green);
}
.stat {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.stat:nth-child(2n) { border-right: none; }
.stat:nth-last-child(-n+2) { border-bottom: none; }
.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--b-paper);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat:last-child .stat-num { color: var(--b-green); }
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: #c4cfe3;
  line-height: 1.4;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 0;
  border: 1px solid var(--b-rule);
  margin-top: 2.5rem;
  background: var(--b-paper);
}
.example {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--b-rule);
}
.example:last-child { border-right: none; }
@media (max-width: 760px) {
  .example { border-right: none; border-bottom: 1px solid var(--b-rule); }
  .example:last-child { border-bottom: none; }
}
.example-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--b-green);
  font-weight: 600;
}
.example h3 {
  margin: 0.85rem 0 0.6rem;
  color: var(--b-navy);
  font-size: 1.1rem;
  line-height: 1.25;
}
.example p {
  color: var(--b-ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}
.examples-close {
  margin-top: 2rem;
  color: var(--b-ink-soft);
  max-width: 50rem;
  line-height: 1.6;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0;
  border: 1px solid var(--b-rule);
  margin-top: 2.5rem;
  background: var(--b-paper);
}
.svc {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--b-rule);
  text-decoration: none;
  color: var(--b-navy);
  border-bottom: 0;
  display: flex;
  flex-direction: column;
  transition: background 120ms ease;
}
.svc:last-child { border-right: none; }
.svc:hover { background: var(--b-paper-2); color: var(--b-navy); }
@media (max-width: 760px) {
  .svc { border-right: none; border-bottom: 1px solid var(--b-rule); }
  .svc:last-child { border-bottom: none; }
}
.svc-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--b-green);
  font-weight: 600;
}
.svc h3 { margin: 0.85rem 0 0.5rem; color: var(--b-navy); font-size: 1.25rem; }
.svc p { color: var(--b-ink-soft); flex: 1; }
.svc-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b-green);
  font-weight: 600;
}

.state-grid {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0;
  border-top: 1px solid var(--b-rule);
  border-left: 1px solid var(--b-rule);
  background: var(--b-paper);
}
.state-grid li { margin: 0; display: flex; }
.state-grid a {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1rem;
  width: 100%;
  min-height: 3.25rem;
  background: var(--b-paper);
  border-right: 1px solid var(--b-rule);
  border-bottom: 1px solid var(--b-rule);
  color: var(--b-navy);
  text-decoration: none;
  border-bottom-color: var(--b-rule);
  transition: background 120ms ease, padding-left 120ms ease;
}
.state-grid a:hover { background: var(--b-paper-2); padding-left: 1.4rem; }
.state-abbr {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--b-green);
  font-weight: 600;
}
.state-name {
  font-size: 0.97rem;
  color: var(--b-navy);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}
.state-name .state-rate { margin-left: auto; flex-shrink: 0; }
.state-rate {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--b-muted);
  letter-spacing: 0;
}
.state-close { margin-top: 1.5rem; color: var(--b-ink-soft); font-size: 0.97rem; }

.trigger-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--b-rule);
}
.trigger-list > li { border-bottom: 1px solid var(--b-rule); }
.trigger-link {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 1.5rem;
  padding: 1.4rem 0.5rem;
  color: var(--b-navy);
  text-decoration: none;
  border-bottom: 0;
  align-items: baseline;
  transition: background 120ms ease, padding-left 120ms ease;
}
.trigger-link:hover { background: rgba(255,255,255,0.6); padding-left: 1.5rem; color: var(--b-navy); }
.trigger-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--b-green);
  font-weight: 600;
}
.trigger-body { display: flex; flex-direction: column; gap: 0.3rem; }
.trigger-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--b-navy);
  letter-spacing: -0.015em;
}
.trigger-situation {
  font-size: 0.93rem;
  color: var(--b-ink-soft);
  line-height: 1.45;
}
.trigger-arrow {
  font-size: 1.15rem;
  color: var(--b-navy);
  transition: color 120ms ease, transform 120ms ease;
}
.trigger-link:hover .trigger-arrow { color: var(--b-green); transform: translateX(4px); }
@media (max-width: 760px) {
  .trigger-link { grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.15rem 0.5rem; }
  .trigger-arrow { display: none; }
}
.trigger-close { margin-top: 1.5rem; color: var(--b-ink-soft); font-size: 0.97rem; }

.ind-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--b-rule);
}
.ind-list > li { border-bottom: 1px solid var(--b-rule); }
.ind-link {
  display: grid;
  grid-template-columns: 2.25rem 13rem 1fr auto;
  gap: 1.5rem;
  padding: 1.25rem 0.5rem;
  color: var(--b-navy);
  text-decoration: none;
  border-bottom: 0;
  align-items: baseline;
  transition: background 120ms ease, padding-left 120ms ease;
}
.ind-link:hover { background: var(--b-paper-2); padding-left: 1.5rem; color: var(--b-navy); }
.ind-icon { display: flex; align-items: center; color: var(--b-green); }
.ind-icon svg { width: 26px; height: 26px; }
.ind-link:hover .ind-icon { color: var(--b-green-2); }
.ind-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--b-navy);
  letter-spacing: -0.01em;
}
.ind-summary {
  font-size: 0.93rem;
  color: var(--b-ink-soft);
  line-height: 1.5;
}
.ind-arrow {
  font-size: 1.1rem;
  color: var(--b-navy);
  transition: color 120ms ease, transform 120ms ease;
}
.ind-link:hover .ind-arrow { color: var(--b-green); transform: translateX(4px); }
@media (max-width: 760px) {
  .ind-link { grid-template-columns: 2rem 1fr; gap: 0.5rem 0.75rem; padding: 1.1rem 0.5rem; }
  .ind-name, .ind-summary { grid-column: 2; }
  .ind-arrow { display: none; }
}
.ind-close { margin-top: 1.5rem; color: var(--b-ink-soft); font-size: 0.97rem; }

/* Anchor target offset so jumps land below the sticky header. */
.anchor-target {
  display: block;
  scroll-margin-top: 4.5rem;
  height: 0;
}

/* State browser toolbar + view tabs */
.state-browser-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--b-rule);
}
.state-browser-tabs { display: inline-flex; gap: 0; }
.state-browser-tab {
  appearance: none;
  background: transparent;
  border: 1px solid var(--b-rule);
  padding: 0.55rem 1.2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--b-muted);
  cursor: pointer;
  border-radius: 0;
}
.state-browser-tab + .state-browser-tab { border-left: 0; }
.state-browser-tab.is-active {
  background: var(--b-navy);
  color: var(--b-paper);
  border-color: var(--b-navy);
}
.state-browser-tab:hover:not(.is-active) { color: var(--b-navy); }
.state-browser-legend {
  display: inline-flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--b-muted);
  flex-wrap: wrap;
}
.state-browser-legend-swatch {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid var(--b-rule);
  vertical-align: middle;
  margin-right: 0.35rem;
}
.state-browser-legend-swatch--priority { background: var(--b-green); border-color: var(--b-green); }
.state-browser-legend-swatch--other { background: #21366c; border-color: #21366c; }
.state-browser-legend-swatch--none { background: #404040; border-color: #404040; }

/* SimpleMaps geographic US map */
.state-usmap { max-width: 56rem; margin: 0 auto; }
.state-usmap .map_text, .state-usmap a[href*="simplemaps"] { font-size: 10px !important; opacity: 0.5; }

/* Tile-grid US map (legacy renderer; retained for any other use) */
.state-map-wrap { position: relative; padding: 1rem 0; }
.state-map {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  gap: 0.35rem;
  max-width: 56rem;
  margin: 0 auto;
  aspect-ratio: 12 / 8;
}
.state-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  text-decoration: none;
  border-bottom: 0;
  border-radius: 2px;
  padding: 0.35rem 0.2rem;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  position: relative;
  overflow: hidden;
}
.state-tile-abbr {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.state-tile-rate {
  font-size: 0.65rem;
  margin-top: 0.25rem;
  line-height: 1;
  opacity: 0.85;
}
.state-tile--priority {
  background: var(--b-green);
  color: var(--b-paper);
  cursor: pointer;
}
.state-tile--priority:hover {
  background: var(--b-green-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 160, 74, 0.3);
  color: var(--b-paper);
}
.state-tile--other {
  background: var(--b-paper-2);
  color: var(--b-ink-soft);
  border: 1px solid var(--b-rule);
}
.state-tile--other:hover {
  background: var(--b-paper);
  border-color: var(--b-navy);
}

/* Tile highlight when a deep link lands the user on a specific state */
.state-tile--focus {
  outline: 3px solid var(--b-navy);
  outline-offset: 2px;
  z-index: 3;
  animation: state-tile-pulse 1.5s ease-out 1;
}
@keyframes state-tile-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 48, 110, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(0, 48, 110, 0); }
}

/* Focus panel — appears when /sales-tax-map/<state>/ redirects here */
.state-focus {
  max-width: 56rem;
  margin: 2.5rem auto;
  background: var(--b-paper-2);
  border: 1px solid var(--b-rule);
  border-left: 4px solid var(--b-navy);
  padding: 1.5rem 1.75rem;
  border-radius: 3px;
}
.state-focus-headline {
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--b-navy);
  margin: 0.3rem 0 1rem;
}
.state-focus-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.5rem 1.5rem;
  margin: 0 0 1.25rem;
}
.state-focus-meta > div {
  display: flex;
  flex-direction: column;
}
.state-focus-meta dt {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-muted);
  margin: 0;
}
.state-focus-meta dd {
  color: var(--b-ink);
  font-size: 1rem;
  margin: 0.2rem 0 0;
}
.state-focus-note {
  color: var(--b-ink-soft);
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.state-tooltip {
  position: absolute;
  transform: translate(-50%, -100%);
  background: var(--b-navy);
  color: var(--b-paper);
  padding: 0.55rem 0.8rem;
  border-radius: 3px;
  font-size: 0.8rem;
  line-height: 1.35;
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.state-tooltip em { font-style: italic; color: var(--b-green-soft); font-size: 0.72rem; }

@media (max-width: 720px) {
  .state-map { gap: 0.18rem; }
  .state-tile-abbr { font-size: 0.7rem; }
  .state-tile-rate { font-size: 0.55rem; }
}

.state-browser-filter {
  display: block;
  margin: 2rem 0 1.25rem;
  padding: 0.85rem 1rem;
  width: 100%;
  max-width: 28rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--b-rule);
  border-radius: 2px;
  background: var(--b-paper);
  color: var(--b-ink);
}
.state-browser-filter:focus {
  outline: 2px solid var(--b-green);
  outline-offset: 1px;
}
.state-browser-empty {
  margin-top: 1rem;
  color: var(--b-muted);
  font-size: 0.95rem;
}
.state-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1rem;
  width: 100%;
  min-height: 3.25rem;
  background: var(--b-paper);
  border-right: 1px solid var(--b-rule);
  border-bottom: 1px solid var(--b-rule);
  color: var(--b-muted);
}
.state-row--muted .state-name { color: var(--b-muted); }
.state-row--muted .state-abbr { color: var(--b-muted); }

/* State procedure section sits inside prose-wrap; pull next section closer */
.state-procedure-section + .b-section { padding-block-start: 0; }
.state-procedure-section .prose-wrap { max-width: 48rem; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.state-procedure-h2 {
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  margin-top: 3rem;
  margin-bottom: 0.85rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--b-green);
  display: inline-block;
  padding-right: 1rem;
}

.state-card {
  border: 1px solid var(--b-rule);
  border-left: 3px solid var(--b-green);
  padding: 1.25rem 1.5rem;
  background: var(--b-paper-2);
  margin: 2.5rem 0 2rem;
}
.state-card-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--b-green);
  font-weight: 600; margin: 0 0 0.5rem;
}
.state-card-body { color: var(--b-ink); font-size: 1rem; line-height: 1.55; }
.state-meta {
  margin: 0 0 2.5rem; padding: 0;
  border-top: 1px solid var(--b-rule);
}
.state-meta-row {
  display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--b-rule);
}
.state-meta-row dt {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--b-muted);
  font-weight: 600;
}
.state-meta-row dd { margin: 0; color: var(--b-ink); font-size: 0.95rem; }
.state-meta-row code {
  background: var(--b-paper-2);
  padding: 0.15em 0.45em;
  font-size: 0.85em;
}
@media (max-width: 620px) {
  .state-meta-row { grid-template-columns: 1fr; gap: 0.2rem; padding: 0.9rem 0; }
}
.state-steps, .state-pitfalls {
  margin: 0 0 2.5rem; padding-left: 1.3rem;
  color: var(--b-ink); line-height: 1.6;
}
.state-steps li, .state-pitfalls li { margin-bottom: 0.5rem; }
.state-pitfalls li::marker { color: var(--b-green); }

.prose-wrap { max-width: 48rem; }

/* Pop on h2 section headings — colored underline + uppercase mini-label vibe */
.prose h2 {
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  margin-top: 3rem;
  margin-bottom: 0.85rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--b-green);
  display: inline-block;
  padding-right: 1rem;
}
.prose h2:first-child { margin-top: 0.5rem; padding-top: 0; border-top: 0; }

/* Bulleted lists in prose get a colored marker + tighter line spacing */
.prose ul { padding-left: 0; list-style: none; }
.prose ul > li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7em;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5rem;
  height: 2px;
  background: var(--b-green);
}
.prose ul > li strong:first-child {
  color: var(--b-navy);
  font-weight: 700;
}

.prose-byline {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b-muted);
  margin-top: -0.5rem;
  margin-bottom: 1.75rem;
}
.prose { color: var(--b-ink); font-size: 1.05rem; line-height: 1.7; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 0.85rem; font-size: 1.55rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.5rem; font-size: 1.2rem; }
.prose p { margin: 0 0 1.1em; color: var(--b-ink); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; color: var(--b-ink); }
.prose li { margin-bottom: 0.5em; line-height: 1.55; }
.prose a { color: var(--b-navy); border-bottom-color: var(--b-green); }
.prose blockquote {
  border-left: 3px solid var(--b-green);
  padding: 0.4rem 0 0.4rem 1.2rem;
  margin: 1.5rem 0;
  color: var(--b-ink-soft);
  font-style: italic;
}
.prose code {
  background: var(--b-paper-2);
  padding: 0.1em 0.35em;
  font-size: 0.92em;
  border-radius: 2px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0;
  border: 1px solid var(--b-rule);
  margin-top: 2.5rem;
  background: var(--b-paper);
}
.why-card {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--b-rule);
}
.why-card:last-child { border-right: none; }
@media (max-width: 760px) {
  .why-card { border-right: none; border-bottom: 1px solid var(--b-rule); }
  .why-card:last-child { border-bottom: none; }
}
.why-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--b-green);
  font-weight: 600;
}
.why-card h3 {
  margin: 0.85rem 0 0.5rem;
  color: var(--b-navy);
  font-size: 1.25rem;
}
.why-card p {
  color: var(--b-ink-soft);
  margin: 0;
}

.referrer-wrap {
  border-top: 2px solid var(--b-green);
  padding-top: 1.75rem;
  max-width: 64rem;
}
.referrer-wrap .b-label--green { color: var(--b-green); }
.referrer-wrap h2 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}
.referrer-lede {
  color: var(--b-ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 48rem;
  margin: 0 0 1.75rem;
}
.referrer-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.cta-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; gap: 1.5rem; } }
.cta-band h2 {
  color: var(--b-paper);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 1rem;
}
.cta-band .b-lede { margin-bottom: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.cta-direct { color: #c4cfe3; font-size: 0.92rem; margin: 0; }
.cta-direct a { color: var(--b-paper); border-bottom-color: var(--b-green); }

/* Industry client-proof section: logos + testimonials + case studies */
.client-proof-headline { margin-bottom: 0.4rem; }
.proof-logos-intro { color: var(--b-muted); font-size: 0.95rem; margin: 0 0 1.25rem; }
.proof-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 2.25rem 3rem;
  margin: 1.5rem 0 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--b-rule);
  border-bottom: 1px solid var(--b-rule);
}
.proof-logo { display: flex; align-items: center; }
.proof-logo img {
  max-height: 46px; width: auto; max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%); opacity: 0.72;
  transition: filter 150ms ease, opacity 150ms ease;
}
.proof-logo img:hover { filter: grayscale(0); opacity: 1; }

.proof-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.proof-quote {
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--b-paper);
  border: 1px solid var(--b-rule);
  border-left: 3px solid var(--b-green);
}
.proof-quote-body { color: var(--b-ink); font-size: 1rem; line-height: 1.6; }
.proof-quote-body p { margin: 0; color: var(--b-ink); }
.proof-quote-cite {
  display: block; margin-top: 1rem;
  font-style: normal; font-weight: 600;
  font-size: 0.85rem; color: var(--b-navy);
}

.proof-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.proof-case {
  padding: 1.5rem 1.75rem;
  background: var(--b-paper);
  border: 1px solid var(--b-rule);
  border-top: 3px solid var(--b-green);
}
.proof-case-kind {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--b-green);
  font-weight: 600;
}
.proof-case-title {
  font-size: 1.1rem; line-height: 1.3;
  margin: 0.5rem 0 0.6rem; color: var(--b-navy);
}
.proof-case-result {
  font-weight: 700; color: var(--b-navy);
  font-size: 1rem; margin: 0 0 0.7rem;
}
.proof-case-summary { color: var(--b-ink-soft); font-size: 0.95rem; line-height: 1.6; }
.proof-case-summary p { margin: 0; color: var(--b-ink-soft); }
@media (max-width: 640px) {
  .proof-logos { gap: 1.5rem 2rem; }
  .proof-logo img { max-height: 38px; }
}

/* ============================================================
   WordPress-specific additions (not in the HubSpot source)
   ============================================================ */

/* Skip link */
.b-skip { position: absolute; left: -9999px; top: 0; background: var(--b-navy); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.b-skip:focus { left: 0; }

/* Client logo band */
.logo-band .b-container { text-align: center; }
.logo-row {
  list-style: none; margin: 0 0 1.1rem; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.75rem, 6vw, 4.5rem);
}
.logo-row li { display: flex; align-items: center; }
.logo-row img {
  height: 38px; width: auto; max-width: 170px; object-fit: contain;
  filter: grayscale(1); opacity: 0.62;
  transition: filter 160ms ease, opacity 160ms ease;
}
.logo-row img:hover { filter: grayscale(0); opacity: 1; }
.logo-row .logo-text {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600; letter-spacing: 0.14em; font-size: 1.15rem;
  color: var(--b-muted);
}
.logo-caption {
  font-size: 0.95rem; color: var(--b-muted); margin: 0;
}

/* Generic page hero (legacy pages) */
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* Prose body: left-aligned within the b-container (nested), so it lines up
   with the hero/header. Width is capped to a comfortable reading measure
   (~72 chars) for dense copy; wider elements (tables/images) break out below. */
/* Body column is wide enough to sit beside the hero/logos without looking
   like a thin lopsided column; reading text (p/li/simple lists/callouts) is
   capped to a comfortable measure, while grids/tables/comparison fill the width. */
.prose-wrap { max-width: 56rem; margin-inline: 0; }
.prose-wrap p { line-height: 1.7; margin-bottom: 1.25rem; max-width: 46rem; }
.prose-wrap > ul:not(.qual-grid):not(.exempt-list),
.prose-wrap > ol:not(.value-prop) { margin: 1.1rem 0 1.4rem; max-width: 46rem; }
.prose-wrap li { line-height: 1.6; margin-bottom: 0.5rem; }
.prose-wrap img { max-width: 100%; height: auto; border-radius: 5px;
  box-shadow: 0 18px 44px -30px rgba(0, 48, 110, 0.45); margin: 1.5rem 0; }
.prose-wrap h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.prose-wrap h2:first-child { margin-top: 0; }
.prose-wrap h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
/* wide elements fill the body column (grids/tables/comparison/callouts) */
.prose-wrap table, .prose-wrap .qual-grid, .prose-wrap .compare-2col,
.prose-wrap .exempt-list, .prose-wrap .state-callout { max-width: 56rem; }

/* Legacy OG tables (manufacturing/pharma statute tables) -> brand */
.prose-wrap table { width: 100%; border-collapse: collapse; margin: 1.6rem 0;
  font-size: 0.95rem; border: 1px solid var(--b-rule); }
.prose-wrap table th, .prose-wrap table thead td { background: var(--b-navy); color: #fff;
  text-align: left; padding: 0.7rem 1rem; font-weight: 700; }
/* the header cells wrap their label in <p><strong>, which inherited the gray
   paragraph color; force white so STATE/STATUTE/FILING reads on the navy band */
.prose-wrap table th p, .prose-wrap table th strong,
.prose-wrap table thead td p, .prose-wrap table thead td strong {
  color: #fff !important; margin: 0; font-weight: 700; }
.prose-wrap table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--b-rule);
  border-right: 1px solid var(--b-rule); color: var(--b-ink-soft); }
.prose-wrap table td p { margin: 0; }
.prose-wrap table tr:nth-child(even) td { background: var(--b-paper-2); }
.prose-wrap table a { border-bottom: 0 !important; padding-bottom: 0 !important;
  color: var(--b-navy) !important; font-weight: 600; }
.prose-wrap table a:hover { color: var(--b-green) !important; }
.prose-wrap table a span { text-decoration: none !important; }
.prose-byline {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem; letter-spacing: 0.04em; color: var(--b-muted);
}

/* Pagination */
.b-pagination { margin-top: 2.5rem; }
.b-pagination .page-numbers {
  display: inline-block; padding: 0.4rem 0.75rem; margin-right: 0.35rem;
  border: 1px solid var(--b-rule); border-bottom-width: 1px;
}
.b-pagination .page-numbers.current { background: var(--b-navy); color: #fff; border-color: var(--b-navy); }

/* WP alignment helpers for inherited post content */
.aligncenter { display: block; margin-inline: auto; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--b-muted); }

/* ============================================================
   Suppress leftover legacy-plugin chrome on the redesigned theme
   (simple-side-tab orange tab, Olark chat, Icegram popups).
   Reversible, theme-scoped. Revisit at cutover whether to keep
   live chat at all (Clyde's 6.3 doesn't ask for it).
   ============================================================ */
#rum_sst_tab,
.rum_sst_contents,
#olark-container,
.olark-launch-button-wrapper,
[id^="icegram"],
[class*="icegram"],
.simple-side-tab { display: none !important; }

/* ---- Logo band polish: uniform sizing, blend white logo backgrounds
   into the cream band so they don't read as boxes ---- */
.logo-band { padding-block: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.logo-band .logo-caption { text-align: center; margin-bottom: 1.5rem; }

/* Rotating marquee: two identical rows side by side, translate -50% for a
   seamless infinite loop. Pure CSS; pauses on hover; respects reduced motion.
   Clyde 6/9: smaller logos, slower scroll, contained window (was full-bleed
   60px logos at 42s, "takes up the whole screen"). */
.logo-marquee {
  position: relative;
  max-width: 56rem; margin-inline: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 70s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track .logo-row {
  display: flex; flex-wrap: nowrap; align-items: center;
  list-style: none; margin: 0; padding: 0;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-inline: clamp(0.9rem, 2vw, 1.5rem);
}
.logo-row li { flex: 0 0 auto; display: flex; align-items: center; }
.logo-row img {
  height: 38px; width: auto; max-width: 140px; object-fit: contain;
  filter: grayscale(1); opacity: 0.55;
  transition: filter 200ms ease, opacity 200ms ease;
}
/* Per-logo size tuning (Clyde 6/9): wordmark density varies, so a uniform
   height reads uneven. sm trims busy marks; lg boosts low-density ones. */
.logo-track .logo-row img.logo--sm { height: 32px; }
.logo-track .logo-row img.logo--lg { height: 44px; }
/* Clyde 6/22: MGM uses the horizontal lion-left lockup (gradient lion badge +
   "MGM RESORTS INTERNATIONAL", rebuilt from vector) so the wordmark reads at the
   row instead of being crushed by a stacked badge. It is wide (~5.2:1), so it
   gets its own larger max-width; width is the binding dimension here. The cap is
   tuned so it reads without crowding its neighbor. */
.logo-track .logo-row img.logo--mgm { height: 40px; max-width: 190px; }
.logo-row img:hover { filter: grayscale(0); opacity: 1; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-track .logo-row:nth-child(2) { display: none; }
  .logo-track .logo-row { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 640px) {
  .logo-row img { height: 46px; }
  .logo-track .logo-row img { height: 30px; }
  .logo-track .logo-row img.logo--sm { height: 24px; }
  .logo-track .logo-row img.logo--lg { height: 35px; }
  .logo-track .logo-row img.logo--mgm { height: 32px; max-width: 150px; }
}

/* ---- Browse-by-state lede should use full reading width ---- */
.home-state-cta .b-lede { max-width: 52rem; }

/* ============================================================
   US state map (uniform, OG-style; Clyde 6.3 item 9)
   Navy states, lift + soft shadow on hover, branded cursor tooltip,
   subtle distinction for no-statewide-sales-tax states (NOMAD).
   ============================================================ */
/* Framed plate + faint navy coordinate grid (shared; the map page's
   .us-map-wrap--lg overrides size + adds the FIG label). */
.us-map-wrap { max-width: 58rem; margin: 1.5rem auto 0.5rem; position: relative;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1rem, 2.5vw, 2rem);
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  border: 1px solid var(--b-rule); border-radius: 5px;
  box-shadow: 0 1px 0 rgba(0,48,110,.04), 0 22px 56px -42px rgba(0,48,110,.30); overflow: hidden; }
.us-map-wrap::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,48,110,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,48,110,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 46%, #000 52%, transparent 100%);
          mask-image: radial-gradient(120% 100% at 50% 46%, #000 52%, transparent 100%); }
.us-map-wrap .us-map { position: relative; z-index: 1; }
.us-map {
  width: 100%; height: auto; display: block; overflow: visible;
  /* soft depth under the whole map */
  filter: drop-shadow(0 18px 30px rgba(0, 48, 110, 0.16));
}
.us-map path {
  fill: var(--b-navy);
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 0.75;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 130ms ease,
    transform 260ms cubic-bezier(.34, 1.56, .64, 1),
    filter 200ms ease, stroke 130ms ease;
  outline: none;
}
/* dramatic pop on hover: bigger lift + scale, bright green, double glow halo,
   crisp white edge. JS raises the hovered state above its neighbors. */
.us-map path.is-hover,
.us-map path:hover,
.us-map path:focus-visible {
  fill: var(--b-green);
  transform: translateY(-7px) scale(1.09);
  filter:
    drop-shadow(0 16px 24px rgba(0, 160, 74, 0.5))
    drop-shadow(0 0 18px rgba(0, 160, 74, 0.7));
  stroke: #ffffff;
  stroke-width: 1.4;
}
.us-map-fallback { text-align: center; margin-top: 1rem; }

/* Branded cursor-following tooltip (replaces the native dark <title> box) */
.us-map-tip {
  position: fixed; z-index: 200; pointer-events: none;
  background: var(--b-navy); color: #fff; border-radius: 4px;
  padding: 0.45rem 0.7rem; font-size: 0.85rem; line-height: 1.2;
  box-shadow: 0 6px 18px rgba(0, 48, 110, 0.28);
  opacity: 0; transform: translateY(3px); transition: opacity 100ms ease, transform 100ms ease;
  display: flex; flex-direction: column; gap: 0.1rem; max-width: 220px;
}
.us-map-tip.is-on { opacity: 1; transform: translateY(0); }
.us-map-tip-name { font-weight: 700; }
.us-map-tip-sub {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem; letter-spacing: 0.04em; color: var(--b-green-soft);
}
@media (prefers-reduced-motion: reduce) {
  .us-map path { transition: fill 120ms ease; }
  .us-map path.is-hover, .us-map path:hover { transform: none; filter: none; }
}

/* Industry bar (Clyde 6.3 item 10): 6 entries in 2 columns, navy band */
.ind-bar { padding-block: clamp(2rem, 4vw, 3rem); }
.ind-bar-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2.5rem; max-width: 48rem;
}
.ind-bar-grid a {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--b-paper); border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 0.7rem 0.25rem; font-weight: 600; font-size: 1.05rem;
}
.ind-bar-grid a:hover { color: var(--b-green-soft); border-color: var(--b-green); }
@media (max-width: 600px) { .ind-bar-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TALK / contact page + Gravity Forms brand styling
   ============================================================ */
.hero-talk { padding-block: clamp(3rem, 6vw, 5rem); }
.talk-form-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.talk-form { max-width: 44rem; }
.talk-form .gform_wrapper { margin: 0; }
.talk-form .gfield { margin-bottom: 1.35rem; }
.talk-form .gfield_label,
.talk-form legend.gfield_label {
  font-weight: 600; color: var(--b-navy); font-size: 0.95rem;
  letter-spacing: -0.01em; margin-bottom: 0.4rem; display: block;
}
.talk-form input[type=text],
.talk-form input[type=email],
.talk-form input[type=tel],
.talk-form input[type=url],
.talk-form textarea,
.talk-form select {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1px solid var(--b-rule); border-radius: 2px;
  font-family: inherit; font-size: 1rem; color: var(--b-ink);
  background: var(--b-paper); transition: border-color 120ms ease;
}
.talk-form input:focus, .talk-form textarea:focus, .talk-form select:focus {
  outline: none; border-color: var(--b-green); box-shadow: 0 0 0 3px rgba(0,160,74,0.12);
}
.talk-form textarea { min-height: 120px; resize: vertical; }
.talk-form .gfield_required { color: var(--b-green-2); }
.talk-form .gfield_checkbox li, .talk-form .gfield_radio li,
.talk-form .gchoice { display: flex; align-items: center; gap: 0.5rem; margin: 0.35rem 0; }
.talk-form .gfield_checkbox label, .talk-form .gfield_radio label,
.talk-form .gchoice label { font-weight: 400; color: var(--b-ink-soft); margin: 0; }
.talk-form .gform_footer { margin-top: 1.5rem; }
.talk-form .gform_button,
.talk-form input[type=submit] {
  background: var(--b-green); color: #fff; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.8rem; border-radius: 2px;
  transition: background 120ms ease;
}
.talk-form .gform_button:hover,
.talk-form input[type=submit]:hover { background: var(--b-green-2); }
.talk-form .gform_confirmation_message {
  padding: 1.5rem; background: var(--b-paper-2);
  border-left: 3px solid var(--b-green); font-size: 1.05rem; color: var(--b-navy);
}
/* GF required marker + validation to brand (kill GF default orange/red) */
.talk-form .gfield_required, .talk-form .gfield_required_text,
.talk-form .gfield_required_asterisk { color: var(--b-green-2) !important; }
.talk-form .gfield_description.validation_message,
.talk-form .validation_message { color: var(--b-green-2); }
.talk-form .gfield_error input, .talk-form .gfield_error textarea { border-color: var(--b-green-2); }

/* ============================================================
   Service pages: process graphics (Slide 7/8), additional services
   ============================================================ */
.process-band { background: var(--b-paper-2); }

/* Clyde 6/9: body prose interleaves with full-width parts inside .svc-flow.
   Tighten the section rhythm so the page doesn't gap out, and size band
   headings to match the prose h2s ("font same as others"). */
.svc-flow .b-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.svc-flow .process-band h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 0.5rem; }
.util-types-lede { max-width: 46rem; }
/* Green cost bar placed inside prose (utility Pricing section). */
.prose-wrap p.proc-banner { max-width: 56rem; }
.proc-stages {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  counter-reset: none;
}
.proc-stages--5 { grid-template-columns: repeat(5, 1fr); }
.proc-stage {
  position: relative; background: var(--b-paper);
  border: 1px solid var(--b-rule); border-top: 3px solid var(--b-green);
  padding: 1.5rem 1.25rem; border-radius: 2px;
}
.proc-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--b-navy); color: #fff; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 0.75rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.proc-stage h3 { font-size: 1.02rem; margin: 0 0 0.4rem; }
.proc-stage p { font-size: 0.9rem; margin: 0; line-height: 1.5; }
.proc-banner {
  margin-top: 1.5rem; font-weight: 700; color: var(--b-navy);
  font-size: 1.05rem; padding: 1rem 1.1rem;
  background: var(--b-green-soft); border-radius: 2px;
  display: block; width: 100%; text-align: center;
}
.util-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.util-method { background: var(--b-paper); border: 1px solid var(--b-rule); border-left: 3px solid var(--b-navy); padding: 1.5rem; border-radius: 2px; }
.util-method h3 { color: var(--b-navy); margin: 0 0 0.5rem; }
.svc-grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) {
  .proc-stages, .proc-stages--5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .proc-stages, .proc-stages--5, .util-methods, .svc-grid--2 { grid-template-columns: 1fr; }
}

/* Static (non-marquee) logo row for industry pages */
.logo-band--static { overflow: visible; }
.logo-row--static {
  animation: none; width: auto; flex-wrap: wrap; justify-content: center;
  display: flex; gap: clamp(2rem, 5vw, 4rem); padding: 0;
}
.logo-row--static img { height: 56px; }
.value-prop { counter-reset: vp; list-style: none; padding: 0; margin: 1.5rem 0; }
.value-prop li {
  counter-increment: vp; position: relative; padding-left: 3rem; margin-bottom: 1.1rem;
  color: var(--b-ink-soft);
}
.value-prop li::before {
  content: counter(vp); position: absolute; left: 0; top: -0.1rem;
  width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center;
  background: var(--b-navy); color: #fff; border-radius: 50%; font-weight: 700;
  font-family: "JetBrains Mono", monospace; font-size: 0.9rem;
}
.prose-wrap ol.value-prop { max-width: none; }

/* Qualified-industries chip grid + state callout (utility service page) */
.prose-wrap .qual-grid { list-style: none; padding: 0; margin: 1.4rem 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.prose-wrap .qual-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .prose-wrap .qual-grid--3 { grid-template-columns: repeat(2, 1fr); } }
.prose-wrap .qual-grid li { display: flex; align-items: baseline; gap: .65rem;
  min-width: 0; overflow-wrap: break-word; word-break: break-word;
  padding: .85rem 1rem; background: var(--b-paper);
  border: 1px solid var(--b-rule); border-left: 3px solid var(--b-green); border-radius: 3px;
  font-weight: 600; color: var(--b-navy); line-height: 1.3; }
.prose-wrap .qual-grid li::before { content: "\2713"; flex: 0 0 auto;
  color: var(--b-green); font-weight: 800; font-size: .95rem; }
.prose-wrap .qual-grid .qual-note { font-weight: 400; color: var(--b-muted);
  font-size: .85rem; margin-left: .25rem; }
.prose-wrap .state-callout { margin: 1.4rem 0 0; padding: 1.1rem 1.3rem;
  background: var(--b-paper-2); border-left: 3px solid var(--b-green); border-radius: 3px;
  color: var(--b-ink-soft); font-size: 1.02rem; }
.prose-wrap .state-callout .state-name { display: block; font-weight: 700;
  color: var(--b-navy); font-size: 1.08rem; margin-bottom: .15rem; }
@media (max-width: 480px) { .prose-wrap .qual-grid { grid-template-columns: 1fr; } }

/* Clyde 6/8: collapsible rows for service-page FAQs + utility "by state" list.
   Each <details> sits in its own .state-accordion card so styling holds at any count. */
.prose-wrap .state-accordion { border: 1px solid var(--b-rule); border-radius: 3px;
  margin: .5rem 0; background: var(--b-paper); }
.prose-wrap .state-accordion summary { cursor: pointer; list-style: none;
  padding: .85rem 2.25rem .85rem 1rem; position: relative; font-weight: 600;
  color: var(--b-navy); line-height: 1.4; }
.prose-wrap .state-accordion summary::-webkit-details-marker { display: none; }
.prose-wrap .state-accordion summary::after { content: "+"; position: absolute;
  right: .9rem; top: 50%; transform: translateY(-50%); color: var(--b-green);
  font-weight: 700; font-size: 1.25rem; line-height: 1; }
.prose-wrap .state-accordion details[open] summary::after { content: "\2212"; }
.prose-wrap .state-accordion details > p,
.prose-wrap .state-accordion details > ul { margin: 0; padding: 0 1rem 1rem;
  color: var(--b-ink-soft); max-width: none; }
.prose-wrap .state-accordion details > ul { padding-left: 2.25rem; }

/* Clyde 6/8: per-logo shrink on industry pages (High Tech: Ansys/Radial; FinServ: BB&T/Radian). */
.logo-row--static img.logo--sm { height: 40px; }

/* Clyde 6/8: industry feature photo (High Tech = software; Financial Services = finance review). */
.ind-photo-section { padding-top: 0; }
.ind-photo { margin: 0; }
.ind-photo img { display: block; width: 100%; max-height: 420px; object-fit: cover;
  border-radius: 6px; }

/* About: staying-power stat band (Mike 6/8) */
.about-stats .stat-row { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.about-stats .stat-row li { display: flex; flex-direction: column; gap: .35rem;
  padding: 1.4rem 1.25rem; background: var(--b-paper); border: 1px solid var(--b-rule);
  border-top: 3px solid var(--b-green); border-radius: 2px; }
.about-stats .stat-num { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800;
  color: var(--b-navy); line-height: 1.05; letter-spacing: -0.01em; }
.about-stats .stat-label { font-size: .92rem; color: var(--b-ink-soft); line-height: 1.4; }
@media (max-width: 720px) { .about-stats .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .about-stats .stat-row { grid-template-columns: 1fr; } }
/* Tighten the gap between the stat boxes and the story prose below (Clyde 6/26) */
.about-stats + .b-section { padding-block-start: 0; }

/* About: senior team boxes */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.team-card { background: var(--b-paper); border: 1px solid var(--b-rule); border-top: 3px solid var(--b-green); padding: 1.5rem; border-radius: 2px; }
.team-card h3 { margin: 0 0 0.25rem; color: var(--b-navy); }
.team-role { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--b-muted); margin: 0 0 0.6rem; }
.team-edu { font-size: 0.85rem; color: var(--b-ink-soft); margin: 0 0 0.5rem; }
.team-fact { font-size: 0.85rem; color: var(--b-muted); font-style: italic; margin: 0; }
.team-email { font-size: 0.9rem; }
.team-linkedin { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.85rem;
  font-size: 0.85rem; font-weight: 600; color: var(--b-navy); border-bottom: 0; }
.team-linkedin svg { color: var(--b-green); }
.team-linkedin:hover { color: var(--b-green-2); }
.team-linkedin:hover svg { color: var(--b-green-2); }

/* FAQ list (service pages) */
.faq-list { margin: 1.5rem 0 0; max-width: 48rem; }
.faq-item { border-top: 1px solid var(--b-rule); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: 1px solid var(--b-rule); }
.faq-item dt { font-weight: 700; color: var(--b-navy); font-size: 1.08rem; margin-bottom: 0.5rem; }
.faq-item dd { margin: 0; color: var(--b-ink-soft); line-height: 1.55; }

/* ============================================================
   Sales Tax Map page — ATLAS INDEX layout (styling only; no copy changes)
   Numbered editorial register, framed digital map plate on a faint navy
   coordinate grid, scannable A-Z state index with running 01-51 counters.
   Selectors are scoped to .hero-compact / .us-map-wrap--lg / .map-content,
   so the homepage map is unaffected. Brand: navy + green, Inter + JetBrains Mono.
   ============================================================ */
/* HERO: left-aligned numbered register */
.hero-compact { padding-block: clamp(3rem, 5vw, 4.5rem) !important; }
.hero-compact .b-container { text-align: left !important; max-width: 74rem; }
.hero-compact h1 { max-width: none; margin: 0 !important; padding-bottom: 1.1rem;
  border-bottom: 4px solid rgba(255,255,255,0.22); }
.hero-compact .b-label::after { content: "  /  50 STATES + DC"; opacity: 0.65; }

/* MAP: bigger, framed plate with faint navy coordinate grid */
.map-page-map { padding: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.map-page-map .b-container { max-width: 74rem; }
.us-map-wrap--lg { max-width: none; margin: 0; position: relative;
  padding: clamp(1.5rem,3.5vw,3rem) clamp(1.2rem,3vw,2.5rem) clamp(1rem,2vw,1.5rem);
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  border: 1px solid var(--b-rule); border-radius: 5px;
  box-shadow: 0 1px 0 rgba(0,48,110,.04), 0 26px 64px -40px rgba(0,48,110,.34); overflow: hidden; }
.us-map-wrap--lg::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,48,110,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,48,110,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 46%, #000 52%, transparent 100%);
          mask-image: radial-gradient(120% 100% at 50% 46%, #000 52%, transparent 100%); }
.us-map-wrap--lg::after { content: "FIG. 01  /  NATIONAL COVERAGE"; position: absolute;
  left: clamp(1.2rem,3vw,2.5rem); top: 1rem; font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .62rem; font-weight: 600; letter-spacing: .2em; color: var(--b-green); pointer-events: none; }
.us-map-wrap--lg .us-map { position: relative; z-index: 1; }
.us-map-fallback { display: none; }

/* CONTENT register */
.map-content { padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.map-content .b-container { max-width: 74rem; counter-reset: sec; }
.map-content #map { display: none !important; }
.map-content p:empty { display: none; }

/* legacy inline-grey links -> brand; drop the theme's default green underline
   (border-bottom) so the directories read as a clean index */
.map-content a, .map-content a span { color: var(--b-navy) !important; text-decoration: none !important; }
.map-content a { border-bottom: 0 !important; padding-bottom: 0 !important; }
.map-content a:hover, .map-content a:hover span { color: var(--b-green) !important; }
.map-content span[style*="underline"] { text-decoration: none !important; }

/* "ABOUT THE MAP" explainer: a single centered, balanced block under the map
   (intro lede -> feature key -> CTA), symmetric margins, tight rhythm. */
.map-content .b-container > p:first-of-type { text-align: center !important; max-width: 54rem;
  margin: 1.5rem auto 1.6rem !important; font-size: 1.13rem; line-height: 1.55;
  border-top: 0 !important; padding-top: 0 !important; font-weight: 400; color: var(--b-ink-soft); }
.map-content .b-container > p:first-of-type::before { content: none !important; }

/* feature key: centered 2-column block with green dot markers */
.map-content .b-container > ul:nth-of-type(1) { list-style: none; padding: 0; columns: 2;
  column-gap: 3rem; max-width: 46rem; margin: 0 auto 2rem !important; }
.map-content .b-container > ul:nth-of-type(1) li { position: relative; padding-left: 1.5rem;
  margin-bottom: .65rem; break-inside: avoid; text-align: left; }
.map-content .b-container > ul:nth-of-type(1) li::before { content: ""; position: absolute; left: 0;
  top: .5em; width: 7px; height: 7px; background: var(--b-green); border-radius: 50%; }
/* CTA: centered, tight */
.map-content p[style*="center"] { text-align: center !important; font-weight: 700;
  color: var(--b-navy); margin: 0 auto .9rem; max-width: 40rem; }
.map-content .wp-block-buttons { display: flex !important; justify-content: center !important; }
.map-content .wp-block-button { text-align: center; margin: 0 auto .25rem; width: auto; }

/* numbered section headings (blog + state; NOT intro) -> navy top rule + green mono counter */
.map-content .b-container > p:has(+ ul):not(:first-of-type) { counter-increment: sec; position: relative;
  clear: both; border-top: 4px solid var(--b-navy); padding-top: 2rem; margin-top: 3rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; color: var(--b-navy);
  letter-spacing: -.02em; text-align: left; }
.map-content .b-container > p:has(+ ul):not(:first-of-type)::before {
  content: "0" counter(sec) "  /  "; display: block; font-family: "JetBrains Mono", ui-monospace, monospace;
  color: var(--b-green); font-size: .78rem; font-weight: 600; letter-spacing: .14em; margin-bottom: .5rem; }

/* blog post links: 2-col */
.map-content .b-container > ul:nth-of-type(2) { list-style: none; padding: 0; columns: 2; column-gap: 2.5rem; }
.map-content .b-container > ul:nth-of-type(2) li { padding: .5rem 0; break-inside: avoid;
  border-bottom: 1px solid var(--b-rule); font-weight: 600; }

/* STATE INDEX: 3-col, running 01-51 atlas counters, dividers */
.map-content .b-container > ul:nth-of-type(3) { list-style: none; padding: 0; counter-reset: st;
  columns: 3; column-gap: 2.75rem; }
.map-content .b-container > ul:nth-of-type(3) li { counter-increment: st; display: flex;
  align-items: baseline; gap: .65rem; padding: .5rem 0; break-inside: avoid;
  border-bottom: 1px solid var(--b-rule); }
.map-content .b-container > ul:nth-of-type(3) li::before { content: counter(st, decimal-leading-zero);
  font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--b-muted); font-size: .7rem;
  font-weight: 600; flex: 0 0 auto; }

/* "Contact Our Team Today" button -> brand green */
.map-content .wp-block-button a, .map-content .btn, .map-content .button, .map-content a[class*="button"] {
  display: inline-block !important; background: var(--b-green) !important; color: #fff !important;
  padding: .85rem 1.8rem !important; border-radius: 2px !important; font-weight: 700 !important;
  border: 0 !important; text-decoration: none !important; }
.map-content .wp-block-button a span { color: #fff !important; }
.map-content .wp-block-button a:hover { background: var(--b-green-2) !important; }

@media (max-width: 900px) { .map-content .b-container > ul:nth-of-type(3) { columns: 2; } }
@media (max-width: 560px) {
  .map-content .b-container > ul:nth-of-type(1),
  .map-content .b-container > ul:nth-of-type(2),
  .map-content .b-container > ul:nth-of-type(3) { columns: 1; } }
/* ============================================================
   Hands Off Sales Tax hand-off block (compliance routing).
   Secondary by design: paper-2 band, navy-outline CTA, never the
   primary green recovery CTA. Sits at the bottom of state pages + posts.
   ============================================================ */
.host-handoff { padding-block: clamp(2rem, 4vw, 3rem); }
.host-handoff-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1.75rem;
  max-width: 60rem;
  background: var(--b-paper-2); border: 1px solid var(--b-rule);
  border-left: 3px solid var(--b-green); border-radius: 4px;
  padding: clamp(1.25rem, 3vw, 1.9rem);
}
.host-handoff-eyebrow { font-weight: 700; color: var(--b-navy); font-size: 1.1rem; margin: 0 0 .4rem; }
.host-handoff-copy { margin: 0; color: var(--b-ink-soft); font-size: .97rem; line-height: 1.5; max-width: 38rem; }
.host-handoff-cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  border: 1.5px solid var(--b-navy); color: var(--b-navy); font-weight: 700;
  padding: .7rem 1.3rem; border-radius: 3px; transition: background 120ms ease, color 120ms ease;
}
.host-handoff-cta:hover { background: var(--b-navy); color: #fff; }
@media (max-width: 680px) {
  .host-handoff-card { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .host-handoff-cta { width: 100%; justify-content: center; }
}

/* ============================================================
   Blog index / archive / search: proper post list (replaces the
   industries-row layout that crushed long titles into a 14rem column)
   ============================================================ */
.post-list { list-style: none; padding: 0; margin: 0; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.post-card { margin: 0; }
.post-card-link { display: block; height: 100%; padding: 1.6rem 1.7rem;
  background: var(--b-paper); border: 1px solid var(--b-rule); border-top: 3px solid var(--b-green);
  border-radius: 4px; transition: box-shadow 140ms ease, transform 140ms ease; }
.post-card-link:hover { box-shadow: 0 20px 44px -30px rgba(0,48,110,.4); transform: translateY(-2px); }
.post-card-meta { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--b-muted); margin: 0 0 .6rem; }
.post-card-title { font-size: 1.2rem; line-height: 1.25; color: var(--b-navy);
  margin: 0 0 .65rem; letter-spacing: -.01em; }
.post-card-excerpt { font-size: .95rem; line-height: 1.55; color: var(--b-ink-soft); margin: 0 0 1rem; }
.post-card-more { font-weight: 700; font-size: .9rem; color: var(--b-green-2); }
.post-card-link:hover .post-card-more { color: var(--b-green); }
@media (max-width: 700px) { .post-list { grid-template-columns: 1fr; } }

/* ============================================================
   Pharma page sections: credit-vs-exemption comparison + dense
   exemptions checklist (reuses .qual-grid + .state-callout elsewhere)
   ============================================================ */
.prose-wrap .compare-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin: 1.25rem 0 0; max-width: 56rem; }
.prose-wrap .compare-box { background: var(--b-paper); border: 1px solid var(--b-rule);
  border-top: 3px solid var(--b-navy); border-radius: 4px; padding: 1.25rem 1.4rem; }
.prose-wrap .compare-box h4 { margin: 0 0 .5rem; color: var(--b-navy); font-size: 1.05rem; }
.prose-wrap .compare-box p { margin: 0; font-size: .94rem; line-height: 1.55; max-width: none; }

.prose-wrap .exempt-list { list-style: none; padding: 0; margin: 1.1rem 0 0;
  columns: 2; column-gap: 2.5rem; max-width: 56rem; font-size: .95rem; }
.prose-wrap .exempt-list li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem;
  break-inside: avoid; line-height: 1.4; }
.prose-wrap .exempt-list li::before { content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--b-green); font-weight: 800; }
@media (max-width: 680px) {
  .prose-wrap .compare-2col { grid-template-columns: 1fr; }
  .prose-wrap .exempt-list { columns: 1; }
}

/* ============================================================
   State pages (/sales-tax-map/<state>/): navy hero, drop the dated
   embedded OG SimpleMaps US map (redundant on a detail page), brand
   the legacy black buttons, lift the bold section labels to headings.
   ============================================================ */
.is-state-page.page-hero, .is-state-page .page-hero { } /* (article carries the class) */
.hero-state { padding-block: clamp(2.75rem, 5vw, 4rem) !important; }
.hero-state .b-container { text-align: left; }

/* hide the dated SimpleMaps embed + its "Created with Raphael" wrapper */
.is-state-page #map,
.is-state-page .prose-wrap > div:has(> svg),
.is-state-page .prose-wrap svg[width] { display: none !important; }

/* legacy black Gutenberg buttons -> brand green */
.is-state-page .prose-wrap .wp-block-button a,
.is-state-page .prose-wrap .wp-block-buttons a,
.is-state-page .prose-wrap a.wp-block-button__link {
  display: inline-block !important; background: var(--b-green) !important; color: #fff !important;
  padding: .8rem 1.5rem !important; border-radius: 2px !important; font-weight: 700 !important;
  border: 0 !important; text-decoration: none !important; }
.is-state-page .prose-wrap .wp-block-button a:hover { background: var(--b-green-2) !important; }
.is-state-page .prose-wrap .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0; }

/* button spacing (legacy blocks come with margin 0) */
.is-state-page .prose-wrap .wp-block-button { margin: 1.6rem 0 !important; }

/* bold standalone "labels" used as section headings -> real headings with air */
.is-state-page .prose-wrap > p > strong:only-child {
  display: block; color: var(--b-navy); font-size: 1.2rem; letter-spacing: -.01em;
  margin: 2.25rem 0 .35rem; }
/* inline "Label: value" fact lines (Statute for Refunds:, Utility Exemption:) */
.is-state-page .prose-wrap > p > strong { color: var(--b-navy); }

/* lists -> green markers, no default bullets/underlines */
.is-state-page .prose-wrap ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.is-state-page .prose-wrap ul li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem;
  line-height: 1.5; }
.is-state-page .prose-wrap ul li::before { content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; background: var(--b-green); border-radius: 50%; }
.is-state-page .prose-wrap p:empty { display: none; }
.is-state-page .prose-wrap a { border-bottom: 0 !important; padding-bottom: 0 !important;
  text-decoration: none !important; color: var(--b-navy); font-weight: 600; }
.is-state-page .prose-wrap a:hover { color: var(--b-green); }
.is-state-page .prose-wrap span[style*="underline"] { text-decoration: none !important; }
