:root {
  --ink: #171717;
  --muted: #5f625f;
  --paper: #cfcac2;
  --cream: #f7f4ee;
  --panel: #fffdf8;
  --line: #dfd8cc;
  --navy: #112842;
  --blue: #275a7a;
  --sage: #778475;
  --clay: #b96b4f;
  --gold: #c19a5b;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(27, 24, 20, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

body.nav-open { overflow: hidden; }

a { color: inherit; }

img { max-width: 100%; height: auto; }

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

.wrap.narrow { width: min(920px, calc(100% - 40px)); }
.wrap.legal-wrap { width: min(980px, calc(100% - 40px)); }

.site-shell {
  width: min(1480px, calc(100% - 28px));
  margin: 14px auto;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(20, 18, 15, .12);
}

.skip-link {
  position: absolute;
  left: 18px;
  top: 10px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 238, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: clamp(220px, 22vw, 336px);
  display: block;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, .64);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #353936;
  font-size: 13px;
  white-space: nowrap;
}

.nav a {
  position: relative;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: #ffffff;
  border-color: rgba(39, 90, 122, .16);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(27, 24, 20, .08);
  outline: none;
}

.nav a[aria-current="page"] {
  background: var(--clay);
  border-color: rgba(185, 107, 79, .28);
  color: #ffffff;
  box-shadow: 0 9px 24px rgba(185, 107, 79, .22);
}

.nav a[aria-current="page"]::after {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--navy);
  border-radius: 50%;
  transform: translateX(-50%);
}

.nav .nav-cta {
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.nav .nav-cta[aria-current="page"] {
  background: var(--clay);
  border-color: rgba(185, 107, 79, .28);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before { position: absolute; top: -6px; }
.menu-toggle-bars::after { position: absolute; top: 6px; }

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

.hero,
.subpage-hero { padding: 42px 0 34px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, .58fr);
  gap: 24px;
  align-items: stretch;
}

.hero-grid.compact { align-items: start; }

.how-works-hero-grid {
  grid-template-columns: minmax(250px, .56fr) minmax(0, 1.08fr);
  align-items: center;
}

.hero-standalone-copy {
  align-self: center;
  max-width: 430px;
}

.hero-standalone-copy h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.04;
}

.hero-standalone-copy p {
  max-width: 390px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at top right, rgba(193, 154, 91, .18), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f4efe5 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.marketing-open-hero {
  padding: 56px 0 44px;
}

.marketing-hero-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(260px, .36fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.marketing-hero-main h1 {
  max-width: 760px;
}

.marketing-hero-main .lead-flow {
  max-width: 820px;
}

.marketing-hero-rule {
  width: 1px;
  min-height: 250px;
  background: linear-gradient(180deg, transparent, rgba(23, 23, 23, .22), transparent);
}

.marketing-hero-count {
  max-width: 360px;
}

.marketing-hero-count h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 38px);
}

.marketing-hero-count p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  background: rgba(39, 90, 122, .10);
  border: 1px solid rgba(39, 90, 122, .16);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow::before,
.section-kicker::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--clay);
  border-radius: 50%;
}

h1,
h2,
h3,
h4 { letter-spacing: 0; }

h1 {
  max-width: 780px;
  margin: 22px 0 18px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

h3 {
  margin: 24px 0 8px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

h4 { margin: 20px 0 8px; font-size: 18px; }

p { margin: 0 0 14px; }

.flow > *:first-child { margin-top: 0; }
.flow > *:last-child { margin-bottom: 0; }

.hero-copy p,
.lead-flow p {
  max-width: 820px;
  color: #3e423f;
  font-size: 17px;
}

.actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 12px 30px rgba(23, 23, 23, .12);
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.button.inverse {
  width: fit-content;
  margin-top: 18px;
  background: #ffffff;
  color: var(--ink);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric {
  min-height: 96px;
  padding: 15px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.2;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.criteria-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.criteria-card.slim { min-height: 0; }
.criteria-card h2 { color: var(--white); font-size: 26px; }
.criteria-card p { color: #d8d4cc; }
.criteria-card .flow p { color: #d8d4cc; }

.record-preview {
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
}

.record-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
}

.record-row:last-child { border-bottom: 0; }
.record-row span:first-child { color: #d5ac6a; font-weight: 700; }

.criteria-note {
  padding: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  color: #e7e1d8;
  font-size: 14px;
}

.section,
.content-section { padding: 42px 0; }

.section-panel,
.table-card,
.support-card,
.form-card,
.legal-content,
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(27, 24, 20, .06);
}

.section-panel {
  padding: clamp(22px, 4vw, 34px);
}

.section-panel .flow {
  max-width: 940px;
  color: #3f433f;
}

.paired-info-section {
  padding-bottom: 34px;
}

.paired-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.info-gradient-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 88% 0%, rgba(193, 154, 91, .24), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #fbf8f1 58%, #f1eadf 100%);
}

.info-gradient-card .flow {
  max-width: 100%;
}

.data-sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.data-sample-card {
  padding: clamp(18px, 3vw, 26px);
}

.data-sample-card h2 {
  font-size: clamp(24px, 2.3vw, 30px);
}

.data-sample-card th,
.data-sample-card td {
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.35;
}

.data-sample-card th {
  font-size: 12px;
}

.tax-connected-panel,
.tax-fields-panel,
.tax-criteria-compact,
.tax-accordion-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(27, 24, 20, .06);
}

.tax-connected-panel,
.tax-fields-panel {
  padding: clamp(24px, 4vw, 38px);
}

.tax-fields-panel {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: 14px 34px;
  align-items: start;
}

.tax-fields-panel .section-kicker,
.tax-fields-panel .flow {
  grid-column: 1;
}

.tax-fields-panel > .tax-field-list {
  grid-column: 2;
  grid-row: 2;
}

.tax-fields-panel > .tax-field-list-label {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.tax-fields-panel > p {
  grid-column: 1 / -1;
}

.tax-connected-intro {
  max-width: 900px;
  margin-bottom: 28px;
}

.tax-connected-list {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 980px;
  margin-top: 30px;
  padding-left: 46px;
}

.tax-connected-list::before {
  position: absolute;
  top: 8px;
  bottom: 30px;
  left: 15px;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, var(--gold), var(--sage));
}

.tax-connected-item {
  position: relative;
  padding: 0 0 30px 24px;
}

.tax-connected-item:last-child {
  padding-bottom: 0;
}

.tax-connected-item h3 {
  margin-top: 0;
}

.tax-connected-item p {
  max-width: 860px;
  color: #3f433f;
}

.connector-dot {
  position: absolute;
  top: 4px;
  left: -40px;
  width: 18px;
  height: 18px;
  background: var(--clay);
  border: 4px solid #f2ece2;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(185, 107, 79, .20);
}

.tax-section-heading {
  max-width: 880px;
  margin-bottom: 24px;
}

.tax-criteria-section {
  padding: 28px 0;
}

.tax-criteria-compact {
  padding: clamp(18px, 3vw, 24px);
}

.tax-criteria-compact-head {
  max-width: 860px;
  margin-bottom: 14px;
}

.tax-criteria-compact-head h2 {
  margin-bottom: 8px;
}

.tax-criteria-compact-head p {
  margin-bottom: 8px;
  color: #3f433f;
}

.tax-criteria-rows {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.tax-criterion-row {
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}

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

.tax-criterion-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  cursor: pointer;
  padding: 12px 16px;
  color: var(--navy);
  list-style: none;
}

.tax-criterion-row summary::-webkit-details-marker {
  display: none;
}

.tax-criterion-row summary:hover,
.tax-criterion-row summary:focus-visible {
  background: #f7f4ee;
  outline: none;
}

.tax-criterion-row .flow {
  max-width: 780px;
  padding: 0 52px 14px 16px;
  color: #3f433f;
}

.tax-criterion-row[open] {
  background: #ffffff;
}

.tax-criterion-row[open] .accordion-mark::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.tax-note {
  margin: 12px 0 0;
  padding: 0;
  color: #5f625d;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.55;
}

.tax-fields-panel > p:not(.tax-field-list-label) {
  margin-top: 12px;
  color: #5f625d;
  font-size: 13px;
  line-height: 1.55;
}

.tax-fields-panel > .tax-field-list-label {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.tax-field-list {
  columns: 2;
  column-gap: 34px;
  margin: 4px 0 4px;
  padding: 0;
  list-style: none;
}

.tax-field-list li {
  position: relative;
  break-inside: avoid;
  padding: 9px 0 9px 18px;
  color: #343834;
  border-bottom: 1px solid var(--line);
}

.tax-field-list li::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.compact-field-list li {
  padding-top: 6px;
  padding-bottom: 6px;
  line-height: 1.35;
}

.compact-field-list li::before {
  top: 14px;
}

.marketing-design-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.about-support-section {
  padding-top: 50px;
  padding-bottom: 34px;
}

.about-support-open .tax-field-list {
  margin-top: 0;
}

.marketing-tabs {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(27, 24, 20, .06);
}

.marketing-tabs-list {
  display: flex;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  padding: 0 18px;
  background: #f7f4ee;
  border-bottom: 1px solid var(--line);
}

.marketing-tab {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 14px 18px;
  color: #4b4f4b;
  background: transparent;
  border: 0;
  border-bottom: 4px solid transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.marketing-tab:hover,
.marketing-tab:focus-visible {
  color: var(--ink);
  background: rgba(255, 253, 248, .76);
  outline: none;
}

.marketing-tab.is-active {
  color: var(--ink);
  background: var(--white);
  border-bottom-color: var(--clay);
}

.marketing-tab-panel {
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
}

.marketing-tabs.is-enhanced .marketing-tab-panel:not(.is-active) {
  display: none;
}

.marketing-tab-panel .flow {
  max-width: 900px;
  color: #3f433f;
}

.marketing-tab-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.marketing-tab-panel li {
  margin: 4px 0;
}

.tax-accordion-list {
  overflow: hidden;
}

.tax-accordion-item {
  border-bottom: 1px solid var(--line);
}

.tax-accordion-item:last-child {
  border-bottom: 0;
}

.tax-accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 22px 26px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  list-style: none;
  text-transform: uppercase;
}

.tax-accordion-item summary::-webkit-details-marker {
  display: none;
}

.tax-accordion-item summary:hover,
.tax-accordion-item summary:focus-visible {
  background: #f7f4ee;
  outline: none;
}

.tax-accordion-item .flow {
  max-width: 900px;
  padding: 0 26px 24px;
  color: #3f433f;
}

.accordion-mark {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.accordion-mark::before,
.accordion-mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  content: "";
  background: var(--ink);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.accordion-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.tax-accordion-item[open] .accordion-mark::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.section-panel ul,
.support-card ul,
.feature-list-card ul,
.legal-content ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.section-panel li,
.support-card li,
.feature-list-card li,
.legal-content li {
  margin: 8px 0;
}

.cta-section .section-panel {
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 20%, rgba(193, 154, 91, .24), transparent 30%),
    var(--ink);
}

.cta-section h2,
.cta-section .flow { color: #ffffff; }
.cta-section .flow p { color: #ddd8cf; }
.cta-section .section-kicker { background: rgba(255,255,255,.09); color: #ffffff; border-color: rgba(255,255,255,.16); }
.cta-section .button.primary { background: #ffffff; color: var(--ink); }
.cta-section .button.secondary { background: rgba(255,255,255,.08); color: #ffffff; border-color: rgba(255,255,255,.20); }

.process-band {
  background: #f0ebe2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, .43fr) minmax(0, .57fr);
  gap: 28px;
  align-items: start;
}

.full-process { grid-template-columns: minmax(280px, .34fr) minmax(0, .66fr); }

.process-intro {
  position: sticky;
  top: 98px;
  padding: 26px;
  background: var(--navy);
  color: #ffffff;
  border-radius: 18px;
}

.process-intro h2 { color: #ffffff; }
.process-intro p { color: #dbe3ea; }
.process-intro .section-kicker {
  margin-bottom: 12px;
  color: #ffffff;
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}

.steps { display: grid; gap: 12px; }

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: #e8dcc8;
  border-radius: 50%;
  font-size: 14px;
}

.step h3 {
  margin: 0 0 5px;
  font-size: 16.5px;
  line-height: 1.25;
}
.step p { color: var(--muted); }

.data-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.support-card,
.feature-list-card { padding: 24px; }

.support-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86)),
    linear-gradient(135deg, rgba(185,107,79,.24), rgba(39,90,122,.16));
}

.table-card { overflow: hidden; }
.table-card h2 { padding: 24px 24px 0; }
.table-scroll { width: 100%; overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  color: var(--navy);
  background: #f2ece2;
  font-size: 14px;
}

td { color: #3f433f; }

.cta-wrap { padding: 24px 0 64px; }

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 20%, rgba(193, 154, 91, .26), transparent 30%),
    var(--ink);
  border-radius: 22px;
}

.cta-panel h2 { color: #ffffff; }
.cta-panel p { max-width: 760px; color: #ddd8cf; }
.cta-panel .button.primary { background: #ffffff; color: var(--ink); }

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

.faq-item { padding: 0; overflow: hidden; }

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
}

.faq-item summary:focus-visible { outline: 3px solid rgba(39, 90, 122, .28); outline-offset: -3px; }
.faq-item .flow { padding: 0 24px 22px; color: #3f433f; }

.form-section { padding-top: 20px; }
.form-card { padding: clamp(18px, 3vw, 28px); }
.form-card iframe { display: block; width: 100% !important; max-width: 100%; border: 0; border-radius: 12px; background: #ffffff; }

.contact-wrap {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

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

.contact-form-section {
  padding-top: 12px;
}

.contact-form-card {
  padding: clamp(20px, 3vw, 34px);
}

.contact-zoho-frame {
  height: 1000px !important;
}

.count-form-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.count-form-section {
  padding-top: 12px;
}

.count-form-card {
  padding: clamp(20px, 3vw, 34px);
}

.count-zoho-frame {
  height: 1320px !important;
}

.legal-hero { padding: 48px 0 20px; }
.legal-hero h1 { margin-bottom: 0; }
.legal-section { padding-top: 20px; }
.legal-content { padding: clamp(24px, 4vw, 42px); color: #343834; }
.legal-content h2 { margin-top: 34px; font-size: 28px; }
.legal-content h3 { margin-top: 26px; font-size: 21px; }
.legal-content p strong { color: var(--navy); }

.site-footer {
  padding: 74px 0 28px;
  background: var(--ink);
  color: #d8d4cc;
}

.footer-layout {
  display: grid;
  gap: 18px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(320px, .58fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: start;
}

.footer-slogan {
  max-width: 560px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 700;
  hyphens: none;
  letter-spacing: 0;
  line-height: 1.06;
  overflow-wrap: normal;
  word-break: normal;
}

.footer-link-columns {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px 38px;
  justify-self: end;
  min-width: min(100%, 420px);
  padding-top: 12px;
}

.footer-link-columns::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 32px);
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, .24);
  transform: translateX(-50%);
}

.footer-link-columns div {
  display: grid;
  gap: 13px;
}

.footer-midline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.footer-logo {
  display: inline-flex;
  width: 220px;
  overflow: hidden;
  padding: 2px 6px;
  background: rgba(255, 253, 248, .94);
  border-radius: 12px;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: contain;
}

.back-to-top {
  font-weight: 700;
}

.footer-rule {
  height: 1px;
  background: rgba(255, 255, 255, .24);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #c8c0b4;
  font-size: 14px;
}

.footer-phone span {
  color: #a9a197;
  font-weight: 700;
}

.site-footer p { margin: 0; color: #c8c0b4; }
.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus-visible { text-decoration: underline; outline: none; }

@media (max-width: 1160px) {
  .topbar { align-items: flex-start; }
  .nav { flex-wrap: wrap; justify-content: flex-end; border-radius: 18px; white-space: normal; }
}

@media (max-width: 980px) {
  .topbar { align-items: center; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 92px;
    display: none;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 12px;
    background: rgba(255, 253, 248, .98);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: grid; grid-template-columns: 1fr; }
  .nav a { padding: 12px 14px; }
  .nav a[aria-current="page"]::after {
    left: auto;
    right: 14px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .hero-grid,
  .marketing-hero-open,
  .paired-info-grid,
  .data-sample-grid,
  .process,
  .data-section,
  .tax-fields-panel,
  .cta-panel,
  .footer-top { display: block; }
  .criteria-card,
  .support-card,
  .feature-list-card { margin-top: 18px; }
  .hero-standalone-copy {
    max-width: 100%;
  }
  .hero-standalone-copy + .hero-copy {
    margin-top: 18px;
  }
  .marketing-hero-rule {
    width: 100%;
    min-height: 1px;
    margin: 26px 0;
    background: linear-gradient(90deg, transparent, rgba(23, 23, 23, .22), transparent);
  }
  .marketing-hero-count,
  .marketing-hero-main .lead-flow {
    max-width: 100%;
  }
  .paired-info-grid .info-gradient-card + .info-gradient-card { margin-top: 18px; }
  .data-sample-grid .data-sample-card + .data-sample-card { margin-top: 18px; }
  .hero-meta { grid-template-columns: 1fr; }
  .tax-field-list {
    columns: 1;
  }
  .process-intro { position: static; margin-bottom: 16px; }
  .footer-link-columns {
    justify-self: start;
    margin-top: 30px;
    padding-top: 0;
  }
}

@media (max-width: 620px) {
  html { scroll-behavior: auto; }
  .site-shell {
    width: 100%;
    margin: 0;
    border-width: 0;
    border-radius: 0;
  }
  .wrap,
  .wrap.narrow,
  .wrap.legal-wrap { width: min(100% - 28px, 1180px); }
  .hero,
  .subpage-hero { padding-top: 30px; }
  .brand img { width: min(286px, 72vw); }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .hero-standalone-copy h2 { font-size: 32px; }
  .hero-standalone-copy p { font-size: 16px; }
  .hero-copy,
  .criteria-card,
  .section-panel,
  .tax-connected-panel,
  .tax-fields-panel,
  .tax-criteria-compact,
  .tax-accordion-list,
  .form-card,
  .legal-content { border-radius: 16px; }
  .tax-connected-list {
    padding-left: 32px;
  }
  .tax-connected-list::before {
    left: 10px;
  }
  .tax-connected-item {
    padding-left: 16px;
  }
  .connector-dot {
    left: -30px;
  }
  .tax-accordion-item summary {
    padding: 18px 18px;
    font-size: 15px;
    letter-spacing: .05em;
  }
  .tax-accordion-item .flow {
    padding: 0 18px 20px;
  }
  .tax-criterion-row summary {
    padding: 14px 16px;
  }
  .tax-criterion-row .flow {
    padding: 0 44px 16px 16px;
  }
  .marketing-tabs {
    border-radius: 16px;
  }
  .marketing-tabs-list {
    justify-content: flex-start;
    padding: 0 12px;
  }
  .marketing-tab {
    font-size: 16px;
  }
  .step,
  .record-row { grid-template-columns: 1fr; }
  .step b {
    width: fit-content;
    height: auto;
    padding: 8px 12px;
    border-radius: 999px;
  }
  th,
  td { padding: 12px; }
  .actions,
  .section-actions { align-items: stretch; }
  .button { width: 100%; }
  .site-footer {
    padding-top: 48px;
  }
  .footer-slogan {
    font-size: clamp(30px, 9vw, 38px);
  }
  .footer-link-columns {
    grid-template-columns: 1fr 1fr;
    gap: 10px 22px;
  }
  .footer-midline,
  .footer-bottom {
    display: grid;
    justify-items: start;
  }
  .footer-logo {
    width: 190px;
  }

  .footer-logo img {
    height: 50px;
  }

  .wrap.contact-wrap {
    width: min(100% - 28px, 1060px);
  }

  .contact-zoho-frame {
    height: 1340px !important;
  }

  .wrap.count-form-wrap {
    width: min(100% - 28px, 1180px);
  }

  .count-zoho-frame {
    height: 1760px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
