/* MiTax - components.css
   Nav, buttons, pills, cards, footer, accordion.
   Shared across home + all subpages. */

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 40px;
  padding-inline: 20px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.btn-sm { height: 32px; padding-inline: 14px; font-size: 13px; }
.btn-lg { height: 48px; padding-inline: 24px; font-size: 15px; }

.btn-primary {
  background: var(--primary);
  color: var(--snow);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  box-shadow: 0 4px 12px rgba(3, 87, 237, .25);
  color: var(--snow);
}
.btn-primary:active { background: var(--primary-700); box-shadow: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-200);
}
.btn-ghost:hover {
  background: var(--ink-100);
  color: var(--ink);
  border-color: var(--ink-200);
}

.btn-onhero {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--surface);
}
.btn-onhero:hover {
  background: var(--snow);
  color: var(--primary-700);
  border-color: var(--snow);
}

.btn-onhero-ghost {
  background: transparent;
  color: var(--snow);
  border-color: rgba(255, 255, 255, .35);
}
.btn-onhero-ghost:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--snow);
  border-color: rgba(255, 255, 255, .55);
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding-inline: 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--ink-100);
  white-space: nowrap;
}
.pill-accent { background: var(--accent-050); color: var(--accent-600); border-color: var(--accent-100); }
.pill-primary { background: var(--primary-050); color: var(--primary); border-color: var(--primary-100); }
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9;
}

/* ---------- Top social-utility bar ---------- */
.social-bar {
  background: var(--ink);
  color: var(--ink-300);
  font-size: 12px;
  line-height: 1;
}
.social-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}
.social-bar-tag {
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-300);
}

.btn-primary::after,
.btn-accent::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 24%;
  height: 2px;
  background: var(--accent);
  transition: width 220ms var(--ease);
}
.btn-accent::after { background: var(--primary); }
.btn-primary:hover::after,
.btn-primary:focus-visible::after,
.btn-accent:hover::after,
.btn-accent:focus-visible::after {
  width: 100%;
}
.social-bar-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.social-bar-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--ink-300);
  transition: color 140ms ease;
}
.social-bar-links a:hover { color: var(--snow); }
.social-bar-links svg { width: 16px; height: 16px; }
@media (max-width: 560px) {
  .social-bar-tag { display: none; }
  .social-bar-inner { justify-content: center; }
}

/* ---------- Footer social row ---------- */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--ink-300);
  transition: color 140ms ease;
}
.footer-social a:hover { color: var(--snow); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Sticky nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 60px;
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: 100%;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ink);
}
.nav-brand img { height: 24px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-left: auto;
}
.nav-links a {
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 2px;
  border-radius: var(--r-sm);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a[aria-current="page"] { color: var(--primary); }

.nav-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 0 0 auto;
}

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--ink-100);
  background: var(--surface);
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
}
.nav-burger svg { width: 18px; height: 18px; }
.nav-burger .icon-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-open { display: none; }
.nav-burger[aria-expanded="true"] .icon-close { display: block; }

.nav-scrim {
  position: fixed; inset: 0;
  background: rgba(11, 18, 38, .35);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease);
  z-index: 60;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(86vw, 320px);
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--ink-100);
  padding: 80px var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  z-index: 70;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 4px;
  border-radius: var(--r-sm);
}
.nav-drawer-ctas {
  margin-top: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--ink-100);
}
.nav-drawer-ctas .btn { width: 100%; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-ctas .btn { display: none; }
  .nav-burger { display: inline-flex; margin-left: auto; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--ink-300);
  padding: var(--sp-9) 0 var(--sp-7);
  margin-top: var(--sp-9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--sp-7);
  margin-bottom: var(--sp-8);
}
.footer-brand img { height: 32px; width: auto; margin-bottom: var(--sp-4); }
.footer-brand p {
  color: var(--ink-300);
  font-size: 14px;
  max-width: 28ch;
}
.footer-address {
  font-style: normal;
  color: var(--ink-300);
  font-size: 13px;
  line-height: 1.6;
  margin-top: var(--sp-4);
  max-width: 36ch;
}
.footer-address a { color: var(--ink-300); text-decoration: none; }
.footer-address a:hover { color: var(--snow); text-decoration: underline; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--snow);
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--sp-3); }
.footer-col a {
  display: block;
  margin-bottom: var(--sp-3);
  color: var(--ink-300);
  font-size: 14px;
  line-height: 1.4;
  width: fit-content;
}
.footer-col a:last-child { margin-bottom: 0; }
.footer-col a:hover { color: var(--snow); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: var(--ink-300);
}
.footer-bottom .disclosure {
  max-width: 60ch;
  color: var(--ink-300);
}
.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-300);
  white-space: nowrap;
}
.footer-location svg { width: 14px; height: 14px; opacity: .8; }
.footer-social {
  display: flex;
  gap: var(--sp-3);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  color: var(--ink-300);
  border: 1px solid rgba(255, 255, 255, .08);
}
.footer-social a:hover { color: var(--snow); border-color: rgba(255, 255, 255, .25); }
.footer-social svg { width: 14px; height: 14px; }

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Trust band (shared) ---------- */
.trust-band {
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  background: var(--surface);
  padding: var(--sp-5) 0;
}
.trust-band-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.trust-band-row p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-500);
}
.trust-pills {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--ink-200);
  box-shadow: var(--shadow-md);
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--ink-100);
}
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: var(--sp-5) 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.faq-btn::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink-500);
  transition: transform var(--dur) var(--ease);
}
.faq-item.is-open .faq-btn::after { content: "−"; }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner > div {
  padding-bottom: var(--sp-5);
  color: var(--ink-500);
  font-size: 15px;
}

/* ---------- Section utility ---------- */
.section { padding: var(--sp-section) 0; }
.section-tight { padding: calc(var(--sp-section) * 0.7) 0; }

.section-head {
  margin-bottom: var(--sp-7);
  max-width: 60ch;
}
.section-head .eyebrow { margin-bottom: var(--sp-3); }
.section-head p { color: var(--ink-500); font-size: 17px; margin: 0; }

/* ══════════════════════════════════════════════════════════════════
   REDESIGN COMPONENT LIBRARY  (added 2026-07-13)
   ------------------------------------------------------------------
   Shared, page-agnostic building blocks for the new marketing site.
   The homepage is the reference implementation; every other page is
   meant to be rebuilt from these classes. Nothing here is home-only.

   Quick reference of reusable classes:
     .util-bar / .util-live / .util-note   - slim sticky top strip
     .eyebrow-accent / .eyebrow-line       - eyebrow variants
     .btn-accent / .btn-block / .btn-arrow - button extensions
     .icon-tile (+ --accent --amber --lg)  - rounded icon container
     .trust-chips / .trust-chip            - hero credibility chips
     .feature-grid / .feature-card         - "everything you get" grid
     .audience-grid / .audience-card       - audience router cards
     .link-arrow                           - text link w/ animated arrow
     .section--surface/--sunken/--ink      - section tone variants
     .section-head--center / .section-eyebrow
     .cta-band                             - dark conversion block
     .badge / .badge-accent / .badge-amber - small status labels
     .steps / .step                        - numbered process list
   ══════════════════════════════════════════════════════════════════ */

/* ---------- Slim top utility bar ---------------------------------- */
/* Sits above the sticky nav. Left: a LIVE status pill + a contextual
   one-liner. Right: a quick contact link + social icons. */
.util-bar {
  background: var(--grad-ink);
  color: var(--ink-300);
  font-size: 12.5px;
  line-height: 1;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.util-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--util-h);
  padding-block: 7px;
}
.util-status { display: inline-flex; align-items: center; gap: var(--sp-3); min-width: 0; }

/* LIVE pill with a pulsing dot */
.util-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 9px;
  border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 42%, transparent);
  color: #E6FBF3;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.util-live .pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.util-live .pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: mx-pulse 2s var(--ease-out) infinite;
}
@keyframes mx-pulse {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}
/* Contextual line next to the pill */
.util-note {
  color: var(--ink-300);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.util-note strong { color: var(--snow); font-weight: 600; }

.util-actions { display: inline-flex; align-items: center; gap: var(--sp-4); flex: 0 0 auto; }
.util-link {
  color: var(--ink-300);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.util-link:hover { color: var(--snow); }
.util-social { display: inline-flex; align-items: center; gap: 12px; }
.util-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; color: var(--ink-300);
  transition: color var(--dur) var(--ease);
}
.util-social a:hover { color: var(--snow); }
.util-social svg { width: 15px; height: 15px; }

@media (max-width: 720px) {
  .util-note { display: none; }
}
@media (max-width: 480px) {
  .util-social { display: none; }
  .util-bar-inner { justify-content: space-between; }
}

/* ---------- Eyebrow variants ------------------------------------- */
/* Base .eyebrow lives in base.css. These are opt-in modifiers. */
.eyebrow-accent { color: var(--accent-600); }
.eyebrow-primary { color: var(--primary); }
/* Eyebrow with a short leading rule - adds editorial structure */
.eyebrow-line { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-line::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}

/* ---------- Button extensions ------------------------------------ */
/* Teal accent button - dark ink label for AA contrast on teal. */
.btn-accent {
  background: var(--accent);
  color: #04241B;
  border-color: var(--accent);
  font-weight: 600;
}
.btn-accent:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
  color: #04241B;
  box-shadow: 0 8px 20px rgba(17, 189, 143, .28);
}
.btn-accent:active { box-shadow: none; }
.btn-block { width: 100%; }
/* Trailing arrow that nudges on hover. Wrap the glyph in <span class="btn-arrow">. */
.btn-arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
/* Primary lift on hover (subtle depth) */
.btn-primary { box-shadow: var(--shadow-sm); }

/* ---------- Icon tile -------------------------------------------- */
/* Rounded square that holds a 24px stroke icon. Used by feature cards,
   trust panels, audience cards, list rows. */
.icon-tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-050);
  color: var(--primary);
  border: 1px solid var(--primary-100);
  overflow: hidden;
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 9px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0 3px, transparent 3px 5px, var(--accent) 5px 9px);
  opacity: .72;
}
.icon-tile--accent { background: var(--accent-050); color: var(--accent-600); border-color: var(--accent-100); }
.icon-tile--amber  { background: var(--amber-050);  color: var(--amber-600);  border-color: var(--amber-100); }
.icon-tile--lg { width: 52px; height: 52px; border-radius: 14px; }
.icon-tile--lg svg { width: 26px; height: 26px; }

/* ---------- Trust chips ------------------------------------------ */
/* Row of small credibility pills (icon + label). Sits under the hero. */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 11px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  white-space: nowrap;
}
.trust-chip svg { width: 16px; height: 16px; color: var(--accent-600); flex: 0 0 auto; }

/* ---------- Feature grid + card ---------------------------------- */
/* Canonical "everything you get" grid. Cards may be <a> or <article>. */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
@media (min-width: 640px)  { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px)  { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
/* Hairline gradient accent that reveals on hover for depth */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
a.feature-card:hover,
.feature-card.is-interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
  color: var(--ink);
}
a.feature-card:hover::before,
.feature-card.is-interactive:hover::before { transform: scaleX(1); }
.feature-card h3 { margin: 2px 0 0; font-size: 17px; font-weight: 600; letter-spacing: 0; }
.feature-card p  { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-500); }
.feature-card .feature-more {
  margin-top: auto;
  padding-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* ---------- Audience grid + card --------------------------------- */
/* Router cards to /personal /business /pro /state. */
.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
@media (min-width: 640px)  { .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .audience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.audience-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  min-height: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}
.audience-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(180deg, var(--primary-050), var(--surface) 60%);
  color: var(--ink);
}
.audience-card h3 { margin: 4px 0 0; font-size: 18px; font-weight: 600; }
.audience-card p  { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-500); flex: 1; }

/* ---------- Animated text link ----------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.link-arrow .arw { transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--primary-600); }
.audience-card:hover .link-arrow .arw,
.link-arrow:hover .arw { transform: translateX(4px); }

/* ---------- Section tone + head variants ------------------------- */
.section--surface { background: var(--surface); }
.section--sunken  { background: var(--surface-sunken); }
.section--ink     { background: var(--grad-ink); color: var(--ink-300); }
.section--ink h2, .section--ink h3 { color: var(--snow); }
/* Top hairline to separate stacked same-tone sections */
.section-hairline { border-top: 1px solid var(--border); }

.section-head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 62ch;
}
.section-head--center .eyebrow-line { justify-content: center; }
.section-head .lede { margin-top: var(--sp-3); }

/* ---------- Conversion / CTA band -------------------------------- */
/* Dark, rounded, glowing block for the primary conversion moment. */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-ink);
  color: #E7ECF7;
  border-radius: var(--r-2xl);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow-xl);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 70% at 88% 8%, color-mix(in oklab, var(--accent) 34%, transparent), transparent 62%),
    radial-gradient(42% 66% at 4% 100%, color-mix(in oklab, var(--primary) 42%, transparent), transparent 60%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 880px) {
  .cta-band-inner { grid-template-columns: 1.25fr 0.9fr; gap: var(--sp-8); }
}
.cta-band h2 { color: #fff; margin: 0 0 var(--sp-3); }
.cta-band .lede { color: rgba(231, 236, 247, .72); margin: 0; }
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

/* ---------- Small status labels ---------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  background: var(--ink-100);
  color: var(--ink-700);
}
.badge-accent { background: var(--accent-050); color: var(--accent-600); }
.badge-primary { background: var(--primary-050); color: var(--primary); }
.badge-amber  { background: var(--amber-050);  color: var(--amber-600); }

/* ---------- Numbered process steps (shared) ---------------------- */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: mx-step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.step {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.step-num {
  display: inline-flex;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}
.step h3 { margin: 0 0 var(--sp-2); font-size: 18px; }
.step p  { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-700); }

/* ══════════════════════════════════════════════════════════════
   Cookie-consent banner (js/cookie-consent.js)
   Analytics is declined by default; this only records the choice.
   ══════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 120%);
  width: min(720px, calc(100% - 24px));
  z-index: 60;
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow) var(--ease-out);
}
.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.cookie-banner-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 20px;
}
.cookie-banner-text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-700);
}
.cookie-banner-text a { color: var(--primary); font-weight: 600; }
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
@media (max-width: 520px) {
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity var(--dur) linear; transform: translate(-50%, 0); }
}

/* ══════════════════════════════════════════════════════════════
   App-store download badges (js/download.js)
   Classic black lockups - legible on light and dark surfaces.
   Ship with .is-comingsoon until the owner sets real store URLs.
   ══════════════════════════════════════════════════════════════ */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 14px;
  border-radius: var(--r-lg);
  background: #0B1226;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, .18);
  text-decoration: none;
  line-height: 1.05;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.store-badge-glyph {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}
.store-badge-text { display: flex; flex-direction: column; }
.store-badge-text small { font-size: 9px; letter-spacing: .04em; opacity: .82; text-transform: uppercase; }
.store-badge-text strong { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.store-badge-soon {
  display: none;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #06251C;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.store-badge.is-comingsoon { cursor: default; }
.store-badge.is-comingsoon .store-badge-soon { display: inline-block; }

/* Footer variant: sits inside the dark footer brand column. */
.footer-download { margin-top: 18px; }
.footer-download-label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-300);
}

/* ══════════════════════════════════════════════════════════════
   Connected tax-rail brand system
   A single public-site language from utility bar to footer.
   ══════════════════════════════════════════════════════════════ */

.mitax-brand-flow {
  position: relative;
  overflow: clip;
  background: #fff;
}

.mitax-brand-flow::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: max(14px, calc((100vw - var(--wrap-max)) / 2 - 18px));
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    var(--primary) 38%,
    var(--accent) 68%,
    rgba(17, 189, 143, 0) 96%
  );
  opacity: .22;
  pointer-events: none;
}

.mx-flow-hero,
.mx-flow-band {
  position: relative;
  isolation: isolate;
}

.mx-flow-band {
  background-color: #fff;
  border-top: 1px solid rgba(210, 213, 224, .72);
}

.mx-flow-band:nth-of-type(even):not(.intelligence):not(.partnerships):not(.section--ink):not(.section--dark) {
  background-color: #f7f9fd;
}

.mx-flow-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(3, 87, 237, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 87, 237, .026) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 0, transparent 30%, transparent 70%, #000 100%);
  opacity: .6;
}

.mx-flow-band::after {
  content: "";
  position: absolute;
  top: -1px;
  left: max(var(--gutter), calc((100vw - var(--wrap-max)) / 2 + var(--gutter)));
  width: clamp(56px, 8vw, 104px);
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0 64%, var(--accent) 64%);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 620ms cubic-bezier(.16, 1, .3, 1);
}

.mx-flow-band.mx-band-visible::after {
  transform: scaleX(1);
}

.mx-flow-band.intelligence {
  color: #fff;
  background-color: #07101f;
}

.mx-flow-band.partnerships,
.mx-flow-band.section--ink,
.mx-flow-band.section--dark {
  color: #fff;
}

.section,
.mx-flow-band {
  padding-block: clamp(42px, 5.4vw, 72px);
}

.section-tight {
  padding-block: clamp(30px, 4vw, 50px);
}

.section-head {
  position: relative;
  max-width: 720px;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.section-head h2,
.mx-flow-band > .wrap > h2 {
  max-width: 20ch;
  font-size: clamp(26px, 3.1vw, 44px);
  line-height: 1.08;
  font-weight: 720;
}

.section-head p,
.section-head .lede {
  max-width: 62ch;
  color: var(--ink-500);
  font-size: clamp(15px, 1.3vw, 17px);
}

.section-head .eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-weight: 700;
}

.section-head .eyebrow::before,
.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0 68%, var(--accent) 68%);
}

.card,
.feature-card,
.audience-card,
.step,
.tool-card,
.plan-card,
.pricing-card {
  border-color: #dfe4ee;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(11, 18, 38, .03);
}

.card:hover,
a.feature-card:hover,
.feature-card.is-interactive:hover,
.audience-card:hover,
.tool-card:hover,
.plan-card:hover,
.pricing-card:hover {
  border-color: rgba(3, 87, 237, .3);
  box-shadow: 0 16px 38px rgba(11, 18, 38, .08);
}

.icon-tile {
  border-radius: 8px;
  background:
    linear-gradient(145deg, #fff 0%, var(--primary-050) 100%);
}

.icon-tile--accent {
  background:
    linear-gradient(145deg, #fff 0%, var(--accent-050) 100%);
}

.btn {
  min-height: 40px;
  border-radius: 6px;
  font-weight: 650;
}

.btn-primary {
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(3, 87, 237, .18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(3, 87, 237, .24);
}

.mx-interactive {
  transform-origin: center;
}

.experience-motion .mx-interactive:hover {
  transform: translateY(-2px);
}

.nav {
  height: var(--nav-h);
  background: rgba(255, 255, 255, .94);
  border-bottom-color: rgba(210, 213, 224, .8);
  box-shadow: 0 8px 28px rgba(11, 18, 38, .045);
}

.nav::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary) 0 32%,
    var(--accent) 32% 45%,
    transparent 45%
  );
  opacity: .72;
  pointer-events: none;
}

.nav-brand {
  min-height: 36px;
}

.nav-brand img {
  height: 27px;
}

.nav-links a {
  position: relative;
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 50% 0;
  height: 2px;
  background: var(--accent);
  transition: inset 180ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  inset-inline: 2px;
}

.util-bar {
  background: #07101f;
}

.util-bar-inner {
  min-height: 32px;
}

.footer {
  position: relative;
  margin-top: 0;
  padding-top: clamp(48px, 6vw, 76px);
  background: #07101f;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary) 0 42%,
    var(--accent) 42% 66%,
    rgba(255, 255, 255, .12) 66%
  );
}

.footer-grid {
  padding-bottom: clamp(26px, 3vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.footer-col a {
  transition: color 180ms ease, transform 180ms ease;
}

.footer-col a:hover {
  transform: translateX(3px);
}

form :is(input, select, textarea),
.tool-form :is(input, select, textarea) {
  border-radius: 6px;
  border-color: #d8deea;
  background: #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

form :is(input, select, textarea):focus,
.tool-form :is(input, select, textarea):focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(3, 87, 237, .1);
  outline: 0;
}

@media (max-width: 720px) {
  .mitax-brand-flow::before {
    left: 8px;
    opacity: .16;
  }

  .mx-flow-band::after {
    left: 16px;
    width: 64px;
  }

  .section,
  .mx-flow-band {
    padding-block: 38px;
  }

  .section-head h2,
  .mx-flow-band > .wrap > h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .nav-brand img {
    height: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience-motion .mx-interactive:hover {
    transform: none;
  }
}
.footer-download .store-badge { border-color: rgba(255, 255, 255, .22); }
.footer-product-links {
  display: grid;
  gap: 8px;
}
.footer-product-links a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.footer-product-links a span {
  color: #8fe6cd;
  transition: transform 180ms ease;
}
.footer-product-links a:hover,
.footer-product-links a:focus-visible {
  color: #fff;
  border-color: rgba(143, 230, 205, .5);
  background: rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}
.footer-product-links a:hover span,
.footer-product-links a:focus-visible span {
  transform: translateX(3px);
}

/* Home / section download block (inside a CTA band). */
.download-badges { margin-top: 22px; }
.download-badges-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
}
