/* MiTax corporate website system.
   A restrained, proof-led layer shared by the complete public website. */

:root {
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-h1: clamp(38px, 5vw, 68px);
  --fs-h2: clamp(28px, 3vw, 42px);
  --fs-h3: clamp(18px, 1.4vw, 22px);
  --fs-display: clamp(48px, 7vw, 88px);
  --fs-h1-xl: clamp(32px, 4vw, 52px);
  --fs-lead: clamp(17px, 1.3vw, 20px);
  --wrap-max: 1240px;
  --nav-h: 72px;
  --util-h: 30px;
  --sp-section: clamp(72px, 8vw, 116px);
  --sp-hero: clamp(88px, 10vw, 144px);
  --r-lg: 8px;
  --r-xl: 8px;
  --r-2xl: 8px;
  --r-3xl: 8px;
  --shadow-md: 0 10px 30px rgba(11, 18, 38, .06);
  --shadow-lg: 0 20px 50px rgba(11, 18, 38, .09);
  --shadow-xl: 0 26px 70px rgba(11, 18, 38, .12);
}

html { scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  color: var(--ink);
  background: var(--surface);
  font-size: var(--fs-body);
  letter-spacing: 0;
  overflow-x: clip;
}

h1, h2, h3, h4, p, a, button, input, select, textarea { letter-spacing: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img, video, svg { max-width: 100%; }
pre, code { max-width: 100%; }

.wrap { width: min(100% - (2 * var(--gutter)), var(--wrap-max)); }
.section { padding-block: var(--sp-section); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head h2 { margin-bottom: 16px; }
.lede { max-width: 680px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.text-gradient {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* Navigation */
.util-bar,
.utility-bar {
  min-height: var(--util-h);
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  border: 0;
}
.util-bar a,
.utility-bar a { color: #fff; }
.nav {
  min-height: var(--nav-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--ink-100);
  box-shadow: none;
  backdrop-filter: blur(18px);
}
.nav-inner, .nav-row { min-height: var(--nav-h); }
.brand img, .brand svg, .nav-brand img { height: 32px; width: auto; }
.nav-links {
  gap: 8px;
  padding: 4px;
  background: var(--surface-sunken);
  border: 1px solid var(--ink-100);
  border-radius: 8px;
}
.nav-link-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nav-group-label {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  margin-inline: 3px 5px;
  padding-right: 8px;
  color: var(--ink-500);
  border-right: 1px solid var(--ink-200);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--ink-200);
}
.nav-links a,
.nav-menu > button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-menu > button:hover {
  color: var(--primary);
  background: var(--primary-050);
}
.nav-links a[aria-current="page"] {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 1px 4px rgba(11, 18, 38, .09);
}
.nav .btn { min-height: 44px; }
.nav-ctas .btn {
  min-height: 34px;
  padding-inline: 13px;
  font-size: 12.5px;
}
.nav-drawer-label {
  margin: 10px 4px 0;
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Commands */
.btn {
  min-height: 44px;
  border-radius: 6px;
  padding-inline: 20px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
}
.btn-lg { min-height: 50px; padding-inline: 24px; }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--ink-200); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-050); }
.btn-onhero-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .64);
  background: rgba(11, 18, 38, .16);
}
.btn-onhero-ghost:hover { color: #fff; border-color: #fff; background: rgba(11, 18, 38, .34); }

/* Homepage hero */
.corporate-home-hero {
  position: relative;
  min-height: min(790px, calc(100svh - var(--util-h)));
  display: flex;
  align-items: stretch;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--ink) url("/assets/images/mitax-corporate-hero.jpg") center 36% / cover no-repeat;
}
.corporate-home-hero::before { animation: none; transform: none; will-change: auto; }
.corporate-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 10, 24, .58);
}
.corporate-home-hero::after { display: none; }
.homehero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center 38%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 760ms ease, transform 6s ease;
}
.homehero-media.is-visible {
  opacity: 1;
  transform: scale(1);
}
.corporate-home-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px) 1fr;
  align-items: center;
  width: min(100% - (2 * var(--gutter)), var(--wrap-max));
  padding-block: clamp(96px, 12vw, 164px) 150px;
}
.corporate-home-hero .hero-copy { max-width: 680px; }
.corporate-home-hero .eyebrow {
  display: inline-block;
  color: #8FE6CD;
  margin-bottom: 20px;
}
.corporate-home-hero h1 {
  color: #fff;
  font-size: var(--fs-display);
  line-height: .94;
  font-weight: 720;
  margin: 0 0 20px;
}
.corporate-home-hero .hero-headline {
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.06;
  font-weight: 620;
  max-width: 620px;
  margin: 0 0 22px;
}
.corporate-home-hero .hero-sub {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 30px;
}
.corporate-home-hero .hero-ctas { margin-bottom: 20px; }
.hero-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.hero-whatsapp-link:hover { color: #fff; }
.hero-proof {
  position: absolute;
  inset: auto 0 0;
  background: rgba(7, 13, 29, .84);
  border-top: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px);
}
.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-proof-grid > div {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.hero-proof-grid > div:last-child { border-right: 1px solid rgba(255, 255, 255, .14); }
.hero-proof-grid strong { color: #fff; font-size: 16px; }
.hero-proof-grid span { color: rgba(255, 255, 255, .62); font-size: 13px; margin-top: 5px; }

/* Shared page heroes */
.ap-hero,
.page-hero,
.legal-hero,
.guides-hub-hero,
.guide-article-hero,
.tool-page-head,
html[data-page-family="tools"] main > .hero:first-child {
  position: relative;
  isolation: isolate;
  color: #fff;
  background-color: var(--ink);
  background-image: url("/assets/images/mitax-corporate-hero.jpg");
  background-position: center 38%;
  background-size: cover;
  overflow: hidden;
}
.ap-hero::before,
.page-hero::before,
.legal-hero::before,
.guides-hub-hero::before,
.guide-article-hero::before,
.tool-page-head::before,
html[data-page-family="tools"] main > .hero:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 10, 24, .66);
}
.subhero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center 46%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 720ms ease, transform 6s ease;
}
.subhero-media.is-visible {
  opacity: 1;
  transform: scale(1);
}
.subhero-dots {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--wrap-max)) / 2));
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  background: rgba(7, 13, 29, .34);
  backdrop-filter: blur(12px);
}
.subhero-dot {
  width: 24px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}
.subhero-dot::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .42);
  transition: background 180ms ease, transform 180ms ease;
}
.subhero-dot:hover::before,
.subhero-dot:focus-visible::before {
  background: rgba(255, 255, 255, .78);
}
.subhero-dot.is-active::before {
  background: #8FE6CD;
  transform: scaleY(1.5);
}
.guide-article-hero-inner { max-width: 760px; }
.guide-article-hero .guide-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
}
.guide-article-hero .guide-lede {
  max-width: 680px;
  margin-bottom: 0;
}
html[data-page-family="tools"] .subhero-dots {
  border-color: rgba(11, 18, 38, .16);
  background: rgba(255, 255, 255, .68);
}
html[data-page-family="tools"] .subhero-dot::before {
  background: rgba(11, 18, 38, .32);
}
html[data-page-family="tools"] .subhero-dot.is-active::before {
  background: var(--primary);
}
.ap-hero-grid,
.page-hero-grid,
.page-hero-inner,
.legal-hero__inner,
.guide-article-hero-inner {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  align-content: center;
  padding-block: 72px;
}
.ap-hero-copy,
.page-hero-copy { max-width: 720px; }
.ap-hero h1,
.page-hero h1,
.legal-hero h1,
.guides-hub-hero h1,
.guide-article-hero h1,
.tool-page-head h1 {
  color: #fff;
  font-size: var(--fs-h1);
  line-height: 1.03;
}
.ap-hero .lede,
.ap-hero-sub,
.page-hero .lede,
.page-hero p,
.legal-hero p,
.guides-hub-hero p,
.guide-article-hero p,
.tool-page-head p { color: rgba(255, 255, 255, .78); }
.ap-hero .eyebrow,
.page-hero .eyebrow,
.legal-hero .eyebrow,
.guides-hub-hero .eyebrow,
.tool-page-head .eyebrow { color: #8FE6CD; }
.ap-hero-visual,
.page-hero-visual { display: none; }
.ap-hero-trust .trust-chip { color: #fff; border-color: rgba(255, 255, 255, .24); background: rgba(11, 18, 38, .24); }

/* Content surfaces */
.features, .audiences, .why, .how { padding-block: var(--sp-section); }
.features, .why { background: #fff; }
.audiences, .how { background: var(--snow); }
.feature-grid,
.audience-grid {
  gap: 0;
  border-top: 1px solid var(--ink-200);
  border-left: 1px solid var(--ink-200);
}
.feature-card,
.audience-card {
  min-height: 250px;
  padding: clamp(26px, 3vw, 38px);
  border: 0;
  border-right: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}
.feature-card:hover,
.audience-card:hover {
  transform: none;
  background: var(--primary-050);
  box-shadow: none;
}
.feature-card h3, .audience-card h3 { font-size: 20px; }
.feature-card p, .audience-card p { color: var(--ink-500); }
.icon-tile { border-radius: 6px; }
.steps {
  gap: 0;
  border-top: 1px solid var(--ink-200);
}
.step {
  padding: 36px 32px;
  border-bottom: 1px solid var(--ink-200);
  border-radius: 0;
}
.step-num { color: var(--primary); }
.why-grid { align-items: start; gap: clamp(48px, 8vw, 120px); }
.why-list { gap: 0; border-top: 1px solid var(--ink-200); }
.why-list li { border-bottom: 1px solid var(--ink-200); border-radius: 0; padding: 30px 0; }

/* Universal cards, filters, tables and forms */
.card,
.tool-card,
.price-card,
.guide-card,
.contact-card,
.trust-card,
.faq-item,
.ap-card,
.ap-feature,
.legal-card {
  border-radius: 8px;
  border-color: var(--ink-100);
  box-shadow: var(--shadow-md);
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  overflow: hidden;
}
th {
  background: var(--snow);
  color: var(--ink-500);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
th, td { padding: 14px 16px; border-bottom: 1px solid var(--ink-100); }
tr:last-child td { border-bottom: 0; }
input, select, textarea {
  min-height: 48px;
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  outline: 3px solid var(--primary-100);
}

/* Conversion and footer */
.cta-band {
  border-radius: 8px;
  background: var(--ink);
  box-shadow: none;
}
.cta-band::before, .cta-band::after { display: none; }
.cta-device { display: none; }
.cta-band-inner { grid-template-columns: 1fr; }
.footer {
  background: #070D1D;
  color: rgba(255, 255, 255, .72);
}
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: #fff; }
.footer h2, .footer h3, .footer strong { color: #fff; }

/* Site-wide refinement: tighter reading rhythm without shrinking tap targets. */
.home-page,
body:not(.home-page) {
  --sp-section: clamp(58px, 6.4vw, 93px);
}
.home-page .section-head,
body:not(.home-page) .section-head {
  margin-bottom: clamp(29px, 3.2vw, 45px);
}
.home-page .feature-card,
.home-page .audience-card {
  min-height: 200px;
  padding: clamp(21px, 2.4vw, 30px);
}
.home-page .step { padding: 29px 26px; }
.home-page .why-grid { gap: clamp(38px, 6.4vw, 96px); }
.home-page .why-list li { padding-block: 24px; }
.home-page .convert { padding-block: var(--sp-section); }

/* Social handles: compact editorial buttons with a clear hover/focus state. */
.util-social { gap: 7px; }
.util-social a {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}
.util-social svg { width: 14px; height: 14px; }
.util-social a:hover,
.util-social a:focus-visible {
  color: #fff;
  border-color: rgba(143, 230, 205, .72);
  background: rgba(17, 189, 143, .18);
  transform: translateY(-1px);
}
.footer-social { gap: 8px; }
.footer-social a {
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover,
.footer-social a:focus-visible {
  color: #fff;
  border-color: rgba(3, 87, 237, .84);
  background: rgba(3, 87, 237, .22);
  transform: translateY(-2px);
}

/* Homepage: four concise scenes, with controls that remain legible on media. */
.corporate-home-hero {
  min-height: min(750px, calc(95svh - var(--util-h)));
  background-position: center 36%;
  transition: background-position 900ms ease;
}
.corporate-home-hero[data-hero-scene="2"] { background-position: 54% 38%; }
.corporate-home-hero[data-hero-scene="3"] { background-position: 61% 42%; }
.corporate-home-hero[data-hero-scene="4"] { background-position: 66% 37%; }
.corporate-home-hero[data-hero-scene="2"] .homehero-media { background-position: center 44%; }
.corporate-home-hero[data-hero-scene="3"] .homehero-media { background-position: center 48%; }
.corporate-home-hero[data-hero-scene="4"] .homehero-media { background-position: center 46%; }
.corporate-home-hero .hero-grid {
  padding-block: clamp(91px, 11.4vw, 156px) 142px;
}
.corporate-home-hero h1 { margin-bottom: 16px; }
.corporate-home-hero .hero-carousel { max-width: 680px; }
.corporate-home-hero .hero-frames { min-height: 188px; }
.corporate-home-hero .hero-frame { align-self: start; }
.corporate-home-hero .hero-headline { margin-bottom: 18px; }
.corporate-home-hero .hero-sub { margin: 0; }
.corporate-home-hero .hero-controls {
  margin: 20px 0 24px;
  gap: 12px;
}
.corporate-home-hero .hero-dots { gap: 4px; }
.corporate-home-hero .hero-dot { width: 34px; }
.corporate-home-hero .hero-dot-track {
  width: 18px;
  height: 5px;
  background: rgba(255, 255, 255, .42);
}
.corporate-home-hero .hero-dot:hover .hero-dot-track {
  background: rgba(255, 255, 255, .72);
}
.corporate-home-hero .hero-dot.is-active .hero-dot-track {
  width: 30px;
  background: rgba(255, 255, 255, .28);
}
.corporate-home-hero .hero-dot-fill { background: #8FE6CD; }
.corporate-home-hero .hero-playpause {
  width: 30px;
  height: 30px;
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(7, 13, 29, .32);
}
.corporate-home-hero .hero-playpause:hover {
  color: #fff;
  border-color: rgba(143, 230, 205, .72);
  background: rgba(17, 189, 143, .18);
}
.hero-control-note {
  color: rgba(255, 255, 255, .58);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.corporate-home-hero .hero-proof-grid > div { min-height: 103px; }

/* Page-family heroes: relevant imagery and deliberately different composition. */
html[data-page-family="individual"] { --page-hero-image: url("/assets/images/hero-individual.webp"); }
html[data-page-family="business"] { --page-hero-image: url("/assets/images/hero-business.webp"); }
html[data-page-family="operations"] { --page-hero-image: url("/assets/images/hero-operations.webp"); }
html[data-page-family="tools"] { --page-hero-image: url("/assets/images/hero-tools.webp"); }
html[data-page-family="trust"] { --page-hero-image: url("/assets/images/hero-trust.webp"); }

html[data-page-family="individual"] :is(.ap-hero, .page-hero, .legal-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head),
html[data-page-family="business"] :is(.ap-hero, .page-hero, .legal-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head),
html[data-page-family="operations"] :is(.ap-hero, .page-hero, .legal-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head),
html[data-page-family="tools"] :is(.ap-hero, .page-hero, .legal-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head),
html[data-page-family="trust"] :is(.ap-hero, .page-hero, .legal-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head),
html[data-page-family="tools"] main > .hero:first-child {
  min-height: 418px;
  background-image: var(--page-hero-image);
  background-repeat: no-repeat;
  background-size: cover;
}
html[data-page-family="individual"] :is(.ap-hero, .page-hero)::before {
  background: rgba(5, 10, 24, .57);
}
html[data-page-family="individual"] :is(.ap-hero, .page-hero) {
  background-position: center 45%;
  box-shadow: inset 0 -4px 0 var(--primary);
}
html[data-page-family="business"] :is(.ap-hero, .page-hero)::before {
  background: rgba(5, 10, 24, .64);
}
html[data-page-family="business"] :is(.ap-hero, .page-hero) {
  background-position: center 46%;
  box-shadow: inset 0 -4px 0 var(--accent);
}
html[data-page-family="operations"] :is(.ap-hero, .page-hero)::before {
  background: rgba(5, 10, 24, .52);
}
html[data-page-family="operations"] :is(.ap-hero, .page-hero) {
  background-position: center 48%;
  box-shadow: inset 0 -4px 0 var(--warning);
}
html[data-page-family="operations"] :is(.ap-hero-copy, .page-hero-copy) {
  max-width: 660px;
  border-left: 3px solid rgba(143, 230, 205, .78);
  padding-left: clamp(20px, 2.5vw, 34px);
}
html[data-page-family="tools"] :is(.page-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head, .legal-hero),
html[data-page-family="tools"] main > .hero:first-child {
  color: var(--ink);
  background-position: center 47%;
  box-shadow: inset 0 -4px 0 var(--primary);
}
html[data-page-family="tools"] :is(.page-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head, .legal-hero)::before,
html[data-page-family="tools"] main > .hero:first-child::before {
  background: rgba(255, 255, 255, .72);
}
html[data-page-family="tools"] :is(.page-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head, .legal-hero) h1,
html[data-page-family="tools"] :is(.page-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head, .legal-hero) h2,
html[data-page-family="tools"] main > .hero:first-child h1 {
  color: var(--ink);
}
html[data-page-family="tools"] :is(.page-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head, .legal-hero) p,
html[data-page-family="tools"] main > .hero:first-child p {
  color: var(--ink-700);
}
html[data-page-family="tools"] :is(.page-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head, .legal-hero) .eyebrow,
html[data-page-family="tools"] main > .hero:first-child .eyebrow {
  color: var(--primary);
}
html[data-page-family="trust"] :is(.page-hero, .legal-hero, .guides-hub-hero, .tool-page-head) {
  background-position: center 46%;
  box-shadow: inset 0 -4px 0 var(--accent);
}
html[data-page-family="trust"] :is(.page-hero, .legal-hero, .guides-hub-hero, .tool-page-head)::before {
  background: rgba(5, 10, 24, .34);
}
html[data-page-family="trust"] :is(.page-hero-grid, .page-hero-inner, .legal-hero__inner) {
  max-width: 660px;
}

/* Corporate body continuity: every page family keeps one system, with a
   restrained operational accent instead of repeating the hero treatment. */
html[data-page-family="individual"] {
  --page-accent: var(--primary);
  --page-accent-soft: var(--primary-050);
}
html[data-page-family="business"] {
  --page-accent: var(--accent);
  --page-accent-soft: #eefbf7;
}
html[data-page-family="operations"] {
  --page-accent: #b96b00;
  --page-accent-soft: #fff8ea;
}
html[data-page-family="tools"] {
  --page-accent: #4d50e6;
  --page-accent-soft: #f1f2ff;
}
html[data-page-family="trust"] {
  --page-accent: #078b6d;
  --page-accent-soft: #ecfaf6;
}
html:not([data-page-family]) {
  --page-accent: var(--primary);
  --page-accent-soft: var(--primary-050);
}

main > :is(
  .section,
  .ap-section,
  .features,
  .how,
  .audiences,
  .why,
  .tour,
  .plans-section,
  .compare-section,
  .pricing-faq,
  .pricing-cta,
  .convert
) {
  position: relative;
  border-top: 1px solid var(--ink-100);
}

/* Partnership pathways are deliberately capability-led. Named organisations
   appear only when an administrator explicitly publishes an active record. */
.partnerships {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-section);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(3, 87, 237, .2), transparent 48%),
    #081224;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.partnerships::before {
  content: "";
  position: absolute;
  inset: 0 0 0 62%;
  background: url("/assets/images/hero-business-3.webp") center / cover no-repeat;
  opacity: .12;
}
.partnership-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: start;
}
.partnership-intro { max-width: 600px; }
.partnership-intro .eyebrow { color: #8fe6cd; }
.partnership-intro h2 {
  margin: 14px 0 18px;
  color: #fff;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.03;
}
.partnership-intro .lede {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .7);
}
.partnership-pathways {
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.partnership-pathway {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.partnership-pathway > span {
  color: #8fe6cd;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}
.partnership-pathway h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
}
.partnership-pathway p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.55;
}
.partnership-programmes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(38px, 5vw, 62px);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .035);
}
.partnership-programmes article {
  min-width: 0;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background-color 180ms ease, transform 180ms ease;
}
.partnership-programmes article:nth-child(3n) { border-right: 0; }
.partnership-programmes article:nth-child(n+4) { border-bottom: 0; }
.partnership-programmes article:hover {
  background: rgba(143, 230, 205, .08);
  transform: translateY(-2px);
}
.partnership-programmes small {
  color: #8fe6cd;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.partnership-programmes strong {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
}
.partnership-programmes span {
  margin-top: auto;
  padding-top: 12px;
  color: rgba(255, 255, 255, .52);
  font-size: 10px;
}
.published-partnerships {
  position: relative;
  margin-top: clamp(38px, 5vw, 62px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.published-partnerships[hidden] { display: none; }
.published-partnerships-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.published-partnerships-head .eyebrow { color: #8fe6cd; }
.published-partnerships-head p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, .54);
  font-size: 11px;
  text-align: right;
}
.published-partnerships ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
}
.published-partnerships li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}
.published-partnerships li:nth-child(4n) { border-right: 0; }
.published-partnerships li > span:last-child { min-width: 0; }
.published-partnerships strong,
.published-partnerships small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.published-partnerships strong { color: #fff; font-size: 12px; }
.published-partnerships small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .5);
  font-size: 9px;
}
.published-partner-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(143, 230, 205, .28);
  border-radius: 5px;
  color: #8fe6cd;
  background: rgba(17, 189, 143, .1);
  font-size: 11px;
  font-weight: 900;
}
main > :is(.section--surface, .ap-section--surface, .features, .audiences) {
  background: #fff;
}
main > :is(.section--sunken, .ap-section--sunken, .how, .why, .pricing-faq) {
  background: var(--snow);
}
main > :is(.section--surface, .ap-section--surface, .features, .audiences)::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--page-accent);
  opacity: .62;
}

:is(.section-head, .plans-section-head) {
  position: relative;
  padding-left: 20px;
}
:is(.section-head, .plans-section-head)::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--page-accent);
}
.section-head--center {
  padding-left: 0;
}
.section-head--center::before {
  position: static;
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 auto 20px;
}
:is(.section-head, .plans-section-head) .eyebrow {
  color: var(--page-accent);
}
:is(.section-head, .plans-section-head) h2 {
  max-width: 820px;
  line-height: 1.08;
}
:is(.section-head, .plans-section-head) .lede {
  color: var(--ink-500);
  line-height: 1.7;
}

/* Repeated product surfaces read as a connected operating system. */
:is(.feature-grid, .audience-grid) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(11, 18, 38, .06);
}
:is(.feature-card, .audience-card) {
  position: relative;
  overflow: hidden;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}
:is(.feature-card, .audience-card)::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--page-accent);
  opacity: 0;
  transition: opacity 180ms ease;
}
:is(.feature-card, .audience-card):hover,
:is(.feature-card, .audience-card):focus-within {
  background: var(--page-accent-soft);
  transform: translateY(-2px);
}
:is(.feature-card, .audience-card):hover::after,
:is(.feature-card, .audience-card):focus-within::after {
  opacity: 1;
}
:is(.feature-card, .audience-card) .icon-tile {
  color: var(--page-accent);
  background: var(--page-accent-soft);
}
.steps {
  overflow: hidden;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.step {
  position: relative;
  background: #fff;
}
.step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--page-accent);
  opacity: .2;
}
.step:hover::before { opacity: 1; }
.step-num {
  display: inline-flex;
  min-width: 40px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--page-accent) 28%, transparent);
  border-radius: 5px;
  background: var(--page-accent-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.why-head {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
}
.why-list li {
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 18px;
}
.why-list li p {
  grid-column: 2;
  color: var(--ink-500);
}

/* Data-heavy pages, pricing and tools use calm, scan-first surfaces. */
:is(
  .card,
  .tool-card,
  .price-card,
  .guide-card,
  .contact-card,
  .trust-card,
  .faq-item,
  .ap-card,
  .ap-feature,
  .legal-card
) {
  position: relative;
  border: 1px solid var(--ink-100);
  box-shadow: 0 8px 28px rgba(11, 18, 38, .055);
}
:is(.tool-card, .price-card, .guide-card, .contact-card, .trust-card, .ap-card, .ap-feature) {
  border-top: 3px solid var(--page-accent);
}
:is(.tool-card, .price-card, .guide-card, .contact-card, .trust-card, .ap-card, .ap-feature):hover {
  border-color: color-mix(in srgb, var(--page-accent) 32%, var(--ink-100));
  box-shadow: 0 16px 42px rgba(11, 18, 38, .08);
}
.tool-card {
  background: #fff;
}
.tool-card :is(input, select, textarea) {
  background: var(--snow);
}
.tool-card :is(input, select, textarea):focus {
  background: #fff;
}
.plans-section,
.compare-section,
.pricing-faq,
.pricing-cta {
  padding-block: var(--sp-section);
}
.plans-section-head {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.price-card {
  overflow: hidden;
  background: #fff;
}
.price-card.is-featured,
.price-card.featured {
  border-color: var(--page-accent);
  box-shadow: 0 20px 54px rgba(3, 87, 237, .12);
}
.faq {
  overflow: hidden;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: #fff;
}
.faq-item {
  border: 0;
  border-bottom: 1px solid var(--ink-100);
  border-radius: 0;
  box-shadow: none;
}
.faq-item:last-child { border-bottom: 0; }
.faq-btn {
  min-height: 60px;
  padding: 16px 20px;
}

table {
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 18, 38, .04);
}
th {
  background: var(--page-accent-soft);
  color: var(--ink-700);
}
tbody tr {
  transition: background 160ms ease;
}
tbody tr:hover { background: var(--page-accent-soft); }

/* Editorial and legal pages are designed for long, confident reading. */
.guide-shell {
  width: min(100% - (2 * var(--gutter)), 1160px);
  margin-inline: auto;
  gap: clamp(42px, 6vw, 86px);
  padding-block: clamp(52px, 6vw, 88px);
}
.guide-article {
  min-width: 0;
  color: var(--ink-700);
  font-size: 17px;
  line-height: 1.78;
}
.guide-article > h2,
.legal-body h2 {
  position: relative;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 20px;
  color: var(--ink);
  line-height: 1.16;
  border-top: 1px solid var(--ink-200);
}
.guide-article > h2::before,
.legal-body h2::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 54px;
  height: 3px;
  background: var(--page-accent);
}
.guide-article :is(p, li),
.legal-body :is(p, li) {
  max-width: 76ch;
}
.guide-meta {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--ink-100);
  border-radius: 5px;
  color: var(--ink-500);
  background: var(--snow);
  font-family: var(--font-mono);
  font-size: 11px;
}
.guide-toc {
  top: calc(var(--nav-h) + 28px);
  border-left: 2px solid var(--page-accent);
  border-radius: 0 6px 6px 0;
  background: var(--snow);
}
.guide-toc a:hover,
.guide-toc a[aria-current="true"] {
  color: var(--page-accent);
}
.callout {
  border-radius: 8px;
  border-left: 3px solid var(--page-accent);
  box-shadow: none;
}
.legal-body {
  max-width: 940px;
  margin-block: clamp(52px, 6vw, 88px);
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid var(--ink-100);
  border-top: 3px solid var(--page-accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(11, 18, 38, .06);
}
.legal-body > :first-child { margin-top: 0; }

/* Closing actions feel like the final step in the same journey. */
.convert,
.pricing-cta {
  background:
    linear-gradient(90deg, var(--page-accent-soft), rgba(255, 255, 255, 0) 54%),
    #fff;
}
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 4px solid var(--page-accent);
}
.cta-band::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, .18);
}
.cta-band-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.cta-band h2 {
  max-width: 680px;
  line-height: 1.08;
}
.cta-band .lede {
  max-width: 720px;
  color: rgba(255, 255, 255, .72);
}
.footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

/* Motion remains useful, but never ornamental. */
.reveal { transition-duration: 420ms; }
.experience-motion :is(.ap-hero-copy, .page-hero-copy, .page-hero-inner, .legal-hero__inner, .tool-page-head .wrap) {
  animation: page-hero-enter 620ms ease-out both;
}
.experience-motion .feature-card .icon-tile,
.experience-motion .audience-card .icon-tile {
  transition: transform 220ms ease, background 220ms ease;
}
.experience-motion .feature-card:hover .icon-tile,
.experience-motion .audience-card:hover .icon-tile {
  transform: translateY(-2px) rotate(-2deg);
}
.experience-motion .btn-arrow { display: inline-block; transition: transform 180ms ease; }
.experience-motion .btn:hover .btn-arrow { transform: translateX(3px); }
.experience-motion .nav-links a { position: relative; }
.experience-motion .nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 13px 7px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.experience-motion .nav-links a:hover::after,
.experience-motion .nav-links a:focus-visible::after { transform: scaleX(1); }
@keyframes page-hero-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 900px) {
  .corporate-home-hero { min-height: 722px; background-position: 61% center; }
  .corporate-home-hero::before { background: rgba(5, 10, 24, .76); }
  .corporate-home-hero .hero-grid { grid-template-columns: 1fr; padding-block: 95px 218px; }
  .hero-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-proof-grid > div { min-height: 86px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .ap-hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .guide-shell { grid-template-columns: 1fr; }
  .guide-toc { display: none; }
  .partnership-layout { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-ctas .btn { display: none; }
  .nav-burger { display: inline-flex; margin-left: auto; }
  .feature-grid, .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; --gutter: 18px; }
  .home-page,
  body:not(.home-page) { --sp-section: 51px; }
  .util-bar, .utility-bar { display: none; }
  .corporate-home-hero {
    min-height: 741px;
    background-image: url("/assets/images/mitax-corporate-hero-mobile.jpg");
    background-position: 64% center;
  }
  .corporate-home-hero .homehero-media { background-position: 62% center; }
  .corporate-home-hero::before { background: rgba(5, 10, 24, .72); }
  .corporate-home-hero .hero-grid {
    align-items: end;
    padding-block: 72px 209px;
  }
  .corporate-home-hero h1 { font-size: 54px; }
  .corporate-home-hero .hero-headline { font-size: 30px; }
  .corporate-home-hero .hero-sub { font-size: 16px; line-height: 1.5; }
  .corporate-home-hero .hero-frames { min-height: 238px; }
  .hero-control-note { display: none; }
  .corporate-home-hero .hero-ctas { display: grid; }
  .corporate-home-hero .btn { width: 100%; justify-content: center; }
  .hero-proof-grid > div { padding: 15px 16px; }
  .hero-proof-grid strong { font-size: 14px; }
  .hero-proof-grid span { font-size: 12px; }
  .ap-hero, .page-hero, .legal-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head { background-position: 64% center; }
  .ap-hero::before, .page-hero::before, .legal-hero::before, .guides-hub-hero::before, .guide-article-hero::before, .tool-page-head::before { background: rgba(5, 10, 24, .78); }
  .ap-hero-grid, .page-hero-grid, .page-hero-inner, .legal-hero__inner, .guide-article-hero-inner { min-height: 371px; padding-block: 55px; }
  html[data-page-family="tools"] :is(.page-hero, .guides-hub-hero, .guide-article-hero, .tool-page-head, .legal-hero)::before {
    background: rgba(255, 255, 255, .84);
  }
  html[data-page-family="tools"] main > .hero:first-child::before {
    background: rgba(255, 255, 255, .84);
  }
  html[data-page-family="operations"] :is(.ap-hero-copy, .page-hero-copy) {
    padding-left: 18px;
  }
  .feature-grid, .audience-grid { grid-template-columns: 1fr; }
  .feature-card, .audience-card { min-height: 0; }
  :is(.section-head, .plans-section-head) { padding-left: 16px; }
  .section-head--center { padding-left: 0; }
  .why-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
  }
  .legal-body {
    margin-block: 26px;
    padding: 24px 20px;
  }
  .guide-shell { padding-block: 38px; }
  .guide-article { font-size: 16px; }
  .guide-meta { display: block; }
  .cta-band { border-radius: 6px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
  }
  th, td { min-width: 120px; padding: 12px; }
  pre { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  input, select, textarea, .btn { max-width: 100%; }
  .partnerships::before { inset: 0; opacity: .08; }
  .partnership-intro h2 { font-size: 36px; }
  .published-partnerships-head { display: block; }
  .published-partnerships-head p { margin-top: 8px; text-align: left; }
  .published-partnerships ul { grid-template-columns: 1fr; }
  .published-partnerships li,
  .published-partnerships li:nth-child(4n) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .published-partnerships li:last-child { border-bottom: 0; }
  .partnership-programmes { grid-template-columns: 1fr; }
  .partnership-programmes article,
  .partnership-programmes article:nth-child(3n),
  .partnership-programmes article:nth-child(n+4) {
    min-height: 118px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .partnership-programmes article:last-child { border-bottom: 0; }
}

/* Final public-site navigation and editorial system. */
:root {
  --nav-h: 80px;
  --util-h: 42px;
}

.site-announcement {
  position: relative;
  z-index: 1001;
  display: block;
  min-height: 36px;
  padding: 9px max(16px, var(--gutter));
  border-bottom: 1px solid rgba(11, 18, 38, .1);
  color: #fff;
  background: var(--primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}
.site-announcement::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
}
.site-announcement--warning {
  color: var(--ink);
  background: #fff2c2;
}
.site-announcement--critical {
  color: #fff;
  background: var(--error);
}
a.site-announcement:hover,
a.site-announcement:focus-visible {
  color: #fff;
  filter: brightness(.96);
}
a.site-announcement--warning:hover,
a.site-announcement--warning:focus-visible { color: var(--ink); }

.util-bar,
.utility-bar {
  position: relative;
  min-height: var(--util-h);
  color: var(--ink-600);
  background: #f7f9fc;
  border-bottom: 1px solid var(--ink-100);
  overflow: hidden;
}
.util-bar::after,
.utility-bar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
}
.experience-motion .util-bar::after,
.experience-motion .utility-bar::after {
  animation: utility-scan 900ms ease-out both;
}
.util-bar-inner {
  min-height: var(--util-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.util-status,
.util-actions {
  display: inline-flex;
  align-items: center;
}
.util-status { gap: 14px; min-width: 0; }
.util-actions { gap: 12px; flex: none; }
.util-context {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 5px;
  border: 1px solid var(--ink-200);
  border-radius: 5px;
  color: var(--ink-700);
  background: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}
.util-context-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 19px;
  color: #fff;
  background: #08795f;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 850;
}
.util-note {
  overflow: hidden;
  color: var(--ink-500);
  font-size: 11.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.util-note strong { color: var(--ink-700); font-weight: 700; }
.util-assurance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 14px;
  color: #087b61;
  border-left: 1px solid var(--ink-200);
  font-size: 11px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}
.util-assurance:hover,
.util-assurance:focus-visible { color: var(--primary); }
.util-link {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--ink-200);
  border-radius: 5px;
  color: var(--ink-700) !important;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}
.util-link::after { content: "\2197"; color: var(--primary); font-size: 12px; }
.util-link:hover,
.util-link:focus-visible {
  color: var(--primary) !important;
  border-color: var(--primary-200);
  background: var(--primary-050);
}

.util-social,
.footer-social { display: inline-flex; align-items: center; }
.util-social { gap: 5px; }
.util-social-label {
  margin-right: 3px;
  color: var(--ink-500);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.util-social a,
.footer-social a {
  --social-brand: var(--primary);
  --social-soft: rgba(3, 87, 237, .12);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--social-brand);
  border-color: color-mix(in srgb, var(--social-brand) 28%, transparent);
  background: var(--social-soft);
}
:is(.util-social, .footer-social) [data-mitax-social="facebook"] {
  --social-brand: #1877f2;
  --social-soft: rgba(24, 119, 242, .11);
}
:is(.util-social, .footer-social) [data-mitax-social="x"] {
  --social-brand: #111;
  --social-soft: rgba(17, 17, 17, .09);
}
:is(.util-social, .footer-social) [data-mitax-social="instagram"] {
  --social-brand: #e4405f;
  --social-soft: rgba(228, 64, 95, .11);
}
:is(.util-social, .footer-social) [data-mitax-social="youtube"] {
  --social-brand: #ff0033;
  --social-soft: rgba(255, 0, 51, .1);
}
:is(.util-social, .footer-social) [data-mitax-social="tiktok"] {
  --social-brand: #00a8ad;
  --social-soft: rgba(0, 168, 173, .11);
}
:is(.util-social, .footer-social) [data-mitax-social="email"] {
  --social-brand: #0357ed;
  --social-soft: rgba(3, 87, 237, .1);
}
.util-social a {
  width: 27px;
  height: 27px;
  border-radius: 5px;
}
.util-social svg { width: 13px; height: 13px; }
.util-social a:hover,
.util-social a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
  color: #fff;
  border-color: var(--social-brand);
  background: var(--social-brand);
  transform: translateY(-2px);
}
.footer-social [data-mitax-social="x"] {
  --social-brand: #fff;
  --social-soft: rgba(255, 255, 255, .09);
}

.nav {
  min-height: var(--nav-h);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--ink-100);
  box-shadow: 0 8px 26px rgba(11, 18, 38, .055);
}
.nav-row {
  position: relative;
  min-height: var(--nav-h);
  gap: clamp(18px, 2.2vw, 34px);
}
.nav-brand {
  min-width: 214px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}
.nav-brand img { width: 116px; height: 32px; flex: none; }
.nav-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 13px;
  border-left: 1px solid var(--ink-200);
  line-height: 1;
}
.nav-brand-meta strong {
  color: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.nav-brand-meta span {
  color: var(--ink-400);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.nav-links > a,
.nav-menu > summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
  border: 0;
  border-radius: 5px;
  color: var(--ink-600);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu { position: relative; }
.nav-menu > summary:hover,
.nav-menu > summary:focus-visible,
.nav-links > a:hover,
.nav-links > a:focus-visible,
.nav-links > a[aria-current="page"],
.nav-menu[open] > summary,
.nav-menu.contains-current > summary {
  color: var(--primary);
  background: var(--primary-050);
}
.nav-chevron {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}
.nav-menu[open] .nav-chevron { transform: rotate(180deg); }
.nav-popover {
  position: absolute;
  top: calc(100% + 17px);
  left: 50%;
  z-index: 1002;
  width: 520px;
  padding: 12px;
  border: 1px solid var(--ink-100);
  border-top: 3px solid var(--primary);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(11, 18, 38, .16);
  transform: translateX(-50%);
}
.nav-popover-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 8px 13px;
  border-bottom: 1px solid var(--ink-100);
}
.nav-popover-head span {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.nav-popover-head strong {
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 600;
}
.nav-popover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding-top: 8px;
}
.nav-popover-link {
  min-width: 0;
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center !important;
  gap: 10px;
  min-height: 68px !important;
  padding: 9px !important;
  border-radius: 6px !important;
  color: var(--ink) !important;
  text-decoration: none;
}
.nav-popover-link:hover,
.nav-popover-link:focus-visible,
.nav-popover-link[aria-current="page"] { background: var(--primary-050) !important; }
.nav-popover-index {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-100);
  border-radius: 5px;
  color: var(--primary);
  background: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}
.nav-popover-link strong,
.nav-popover-link small { display: block; }
.nav-popover-link strong { color: var(--ink); font-size: 12px; }
.nav-popover-link small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--ink-400);
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-ctas { flex: none; }
.nav-ctas .btn {
  min-height: 36px;
  padding-inline: 14px;
  border-radius: 5px;
}
.nav-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: -4px -4px 8px;
  padding: 4px 4px 18px;
  border-bottom: 1px solid var(--ink-100);
}
.nav-drawer-head > span { display: flex; flex-direction: column; gap: 4px; }
.nav-drawer-head strong { color: var(--ink); font-size: 18px; }
.nav-drawer-head small { color: var(--ink-400); font-size: 12px; }
.nav-drawer-close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  color: var(--ink-600);
  background: #fff;
}
.nav-drawer-close:hover,
.nav-drawer-close:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-050);
}
.nav-drawer-close svg { width: 18px; height: 18px; }

/* Homepage body: connected modules, image-led audiences and a proof panel. */
.reveal-ready .reveal,
.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.home-page main > section[data-chapter]::after {
  content: attr(data-chapter);
  position: absolute;
  top: 28px;
  right: max(var(--gutter), calc((100vw - var(--wrap-max)) / 2));
  color: var(--ink-300);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-page .features { padding-bottom: clamp(38px, 4.2vw, 62px); }
.home-page .how { padding-top: clamp(38px, 4.2vw, 62px); }
.home-page .features {
  background: #f5f7fb;
}
.platform-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 0 18px;
  border: 1px solid var(--ink-100);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 18, 38, .05);
  overflow: hidden;
}
.platform-flow::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 8.333%;
  left: 8.333%;
  height: 1px;
  background: var(--primary-100);
}
.platform-flow span {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-right: 1px solid var(--ink-100);
  background: rgba(255, 255, 255, .94);
}
.platform-flow span:last-child { border-right: 0; }
.platform-flow small {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-100);
  border-radius: 5px;
  color: var(--primary);
  background: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 0 0 7px #fff;
}
.platform-flow strong {
  color: var(--ink-700);
  font-size: 12px;
  line-height: 1.3;
}

/* Operational intelligence, presented as a working product surface. */
.intelligence {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--sp-section);
  color: #fff;
  background: #07101f;
}
.intelligence::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42%;
  background: url("/assets/images/hero-tools-2.webp") center / cover no-repeat;
  opacity: .12;
}
.intelligence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
}
.intelligence-copy .eyebrow { color: #8fe6cd; }
.intelligence-copy h2 {
  max-width: 760px;
  margin: 14px 0 18px;
  color: #fff;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.02;
}
.intelligence-copy > .lede {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
}
.intelligence-capabilities {
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  list-style: none;
}
.intelligence-capabilities li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.intelligence-capabilities li > span {
  color: #8fe6cd;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}
.intelligence-capabilities strong {
  display: block;
  color: #fff;
  font-size: 15px;
}
.intelligence-capabilities p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.55;
}
.intelligence-console {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  background: rgba(4, 11, 24, .9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  overflow: hidden;
}
.intelligence-console-head,
.intelligence-query,
.intelligence-answer,
.intelligence-signal {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.intelligence-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.intelligence-console-head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
}
.intelligence-console-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(17, 189, 143, .12);
}
.intelligence-console-head strong,
.intelligence-sources span {
  border: 1px solid rgba(143, 230, 205, .28);
  border-radius: 999px;
  color: #8fe6cd;
  background: rgba(17, 189, 143, .1);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.intelligence-console-head strong { padding: 6px 9px; }
.intelligence-query { background: rgba(255, 255, 255, .04); }
.intelligence-query small,
.intelligence-answer small {
  color: rgba(255, 255, 255, .48);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.intelligence-query p {
  margin: 8px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.intelligence-answer {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding-block: 24px;
}
.intelligence-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #07101f;
  background: #8fe6cd;
  font-size: 13px;
  font-weight: 900;
}
.intelligence-answer p {
  margin: 9px 0 15px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.6;
}
.intelligence-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.intelligence-sources span { padding: 5px 8px; }
.intelligence-signal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 0;
  color: rgba(255, 255, 255, .54);
  font-size: 11px;
}
.intelligence-signal strong { color: #fff; font-size: 11px; }
.service-command { margin-top: clamp(48px, 6vw, 78px); }
.service-command-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.service-command-head .eyebrow { color: #8fe6cd; }
.service-command-head p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  text-align: right;
}
.service-command-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.service-command-grid a {
  position: relative;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.service-command-grid a:last-child { border-right: 0; }
.service-command-grid a:hover,
.service-command-grid a:focus-visible {
  color: #07101f;
  background: #8fe6cd;
}
.service-command-grid span {
  color: #8fe6cd;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.service-command-grid a:hover span,
.service-command-grid a:focus-visible span { color: #075d49; }
.service-command-grid strong { margin-top: 12px; font-size: 16px; }
.service-command-grid small {
  margin-top: 8px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  line-height: 1.5;
}
.service-command-grid a:hover small,
.service-command-grid a:focus-visible small { color: #173a32; }
.service-command-grid b {
  margin-top: auto;
  font-size: 18px;
  font-weight: 500;
}
.home-page .feature-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.home-page .feature-card {
  grid-column: span 4;
  min-height: 224px;
  border: 1px solid var(--ink-100);
  border-top: 3px solid var(--primary);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(11, 18, 38, .055);
}
.home-page .feature-card:nth-child(1),
.home-page .feature-card:nth-child(2) {
  grid-column: span 6;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.home-page .feature-card:nth-child(1) {
  background-image: url("/assets/images/hero-tools-3.webp");
}
.home-page .feature-card:nth-child(2) {
  background-image: url("/assets/images/hero-operations-3.webp");
}
.home-page .feature-card:nth-child(1)::before,
.home-page .feature-card:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 10, 24, .68);
  transition: background 220ms ease;
}
.home-page .feature-card:nth-child(1):hover::before,
.home-page .feature-card:nth-child(2):hover::before {
  background: rgba(5, 10, 24, .58);
}
.home-page .feature-card:nth-child(1) :is(h3, p),
.home-page .feature-card:nth-child(2) :is(h3, p) { color: #fff; }
.home-page .feature-card:nth-child(1) p,
.home-page .feature-card:nth-child(2) p {
  max-width: 52ch;
  color: rgba(255, 255, 255, .76);
}
.home-page .feature-card:nth-child(1) .icon-tile,
.home-page .feature-card:nth-child(2) .icon-tile {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}
.home-page .feature-card:nth-child(7) {
  grid-column: span 12;
  min-height: 176px;
  display: grid;
  grid-template-columns: 52px minmax(0, 290px) minmax(0, 1fr);
  align-items: center;
  column-gap: 22px;
  border-top-color: var(--accent);
  background: #f3fbf8;
}
.home-page .feature-card:nth-child(7) .icon-tile { grid-row: 1 / 3; }
.home-page .feature-card:nth-child(7) h3 { margin: 0; }
.home-page .feature-card:nth-child(7) p { margin: 0; }
.home-page .steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--ink-100);
  background: #fff;
}
.home-page .steps::before {
  content: "";
  position: absolute;
  top: 42px;
  right: 16%;
  left: 16%;
  height: 2px;
  background: var(--primary-100);
}
.home-page .step {
  z-index: 1;
  border: 0;
  border-right: 1px solid var(--ink-100);
}
.home-page .step:last-child { border-right: 0; }
.home-page .step-num {
  position: relative;
  background: #fff;
  box-shadow: 0 0 0 8px #fff;
}
.home-page .audience-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.home-page .audience-card {
  grid-column: span 2;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 3vw, 42px);
  border: 0;
  border-radius: 8px;
  color: #fff;
  background-color: var(--ink);
  background-position: center;
  background-size: 102%;
  box-shadow: 0 18px 48px rgba(11, 18, 38, .12);
  isolation: isolate;
  transition: background-size 650ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.home-page .audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(5, 10, 24, .64);
  transition: background 220ms ease;
}
.home-page .audience-card::after {
  inset: 0 0 auto;
  width: auto;
  height: 4px;
  opacity: 1;
  background: var(--accent);
}
.home-page .audience-card:nth-child(1) { background-image: url("/assets/images/hero-individual-3.webp"); }
.home-page .audience-card:nth-child(2) { background-image: url("/assets/images/hero-business-2.webp"); }
.home-page .audience-card:nth-child(3) { background-image: url("/assets/images/hero-operations-2.webp"); }
.home-page .audience-card:nth-child(4) { background-image: url("/assets/images/hero-trust-2.webp"); }
.home-page .audience-card:nth-child(5) { background-image: url("/assets/images/hero-tools-2.webp"); }
.home-page .audience-card:nth-child(4),
.home-page .audience-card:nth-child(5) { grid-column: span 3; }
.home-page .audience-card:hover,
.home-page .audience-card:focus-visible {
  color: #fff;
  background-size: 108%;
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(11, 18, 38, .18);
}
.home-page .audience-card:hover::before,
.home-page .audience-card:focus-visible::before { background: rgba(5, 10, 24, .54); }
.home-page .audience-card :is(h3, p, .link-arrow) { position: relative; z-index: 1; color: #fff; }
.home-page .audience-surface {
  position: relative;
  z-index: 1;
  margin: 18px 0 7px;
  color: #8fe6cd;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-page .audience-card h3 { margin-top: 0; }
.home-page .audience-card p { max-width: 48ch; color: rgba(255, 255, 255, .76); }
.home-page .audience-card .icon-tile {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}
.home-page .why-head::after {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 30px;
  border-radius: 8px;
  background: var(--ink) url("/assets/images/mitax-business-review.jpg") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 40px rgba(11, 18, 38, .1);
}

/* Subpage bodies inherit their hero family without repeating the hero. */
html[data-page-family="individual"] { --page-body-image: url("/assets/images/mitax-personal-records.jpg"); }
html[data-page-family="business"] { --page-body-image: url("/assets/images/hero-business-2.webp"); }
html[data-page-family="operations"] { --page-body-image: url("/assets/images/mitax-revenue-operations.jpg"); }
html[data-page-family="tools"] { --page-body-image: url("/assets/images/hero-tools-2.webp"); }
html[data-page-family="trust"] { --page-body-image: url("/assets/images/hero-trust-2.webp"); }

.ap-head {
  position: relative;
  max-width: 760px;
  margin-bottom: clamp(30px, 3.6vw, 48px);
  padding-left: 20px;
}
.ap-head::before {
  content: "";
  position: absolute;
  inset: 4px auto 4px 0;
  width: 3px;
  border-radius: 3px;
  background: var(--page-accent);
}
.ap-head .eyebrow { color: var(--page-accent); }
.ap-head h2 { line-height: 1.08; }
.ap-head .lede { color: var(--ink-500); line-height: 1.7; }
body:not(.home-page) .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body:not(.home-page) .feature-card {
  min-height: 220px;
  border: 1px solid var(--ink-100);
  border-top: 3px solid var(--page-accent);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(11, 18, 38, .05);
}
.section--ink {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: var(--ink);
  background-image: var(--page-body-image);
  background-position: center;
  background-size: cover;
}
.section--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 10, 24, .78);
}
.section--ink :is(h2, h3, .eyebrow) { color: #fff; }
.section--ink :is(p, .lede) { color: rgba(255, 255, 255, .74); }
.section--ink .ap-head::before { background: var(--accent); }
.section--ink :is(.feature-card, .ap-card, .ap-feature) {
  color: #fff;
  border-color: rgba(255, 255, 255, .14);
  border-top-color: var(--accent);
  background: rgba(7, 13, 29, .72);
  backdrop-filter: blur(14px);
  box-shadow: none;
}
.section--ink :is(.feature-card, .ap-card, .ap-feature) p { color: rgba(255, 255, 255, .68); }
.section--ink .icon-tile {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .1);
}

.experience-motion :is(.section-head, .ap-head)::before {
  transform: scaleY(0);
  transform-origin: top;
  animation: section-marker 520ms ease-out 180ms forwards;
}
@keyframes utility-scan {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes section-marker {
  to { transform: scaleY(1); }
}

@media (max-width: 1120px) {
  .nav-brand { min-width: auto; }
  .nav-links { display: none; }
  .nav-ctas { margin-left: auto; }
  .nav-ctas .btn { display: inline-flex; }
  body:not(.home-page) .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --nav-h: 68px; --util-h: 38px; }
  .site-announcement {
    min-height: 32px;
    padding-block: 7px;
    font-size: 10.5px;
  }
  .util-bar,
  .utility-bar { display: block; }
  .util-bar-inner { min-height: var(--util-h); gap: 8px; }
  .util-status { flex: 1; min-width: 0; }
  .util-note { display: none; }
  .util-assurance { display: none; }
  .util-actions { gap: 6px; }
  .util-context {
    max-width: 154px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .util-link {
    width: 28px;
    min-height: 27px;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
  }
  .util-link::after { color: var(--primary); font-size: 13px; }
  .util-social { max-width: 136px; overflow: hidden; }
  .util-social-label { display: none; }
  .util-social a { width: 25px; height: 25px; flex: 0 0 25px; }
  .util-social svg { width: 12px; height: 12px; }
  .nav-brand { gap: 10px; }
  .nav-brand img { width: 100px; height: auto; }
  .nav-brand-meta { padding-left: 10px; }
  .nav-brand-meta strong { font-size: 8px; }
  .nav-brand-meta span { display: none; }
  .nav-ctas .btn { display: none; }
  .nav-drawer {
    top: var(--nav-h);
    width: min(88vw, 360px);
    padding-top: 24px;
  }
  .home-page .feature-grid,
  body:not(.home-page) .feature-grid {
    grid-template-columns: 1fr;
  }
  .home-page .feature-card,
  .home-page .feature-card:nth-child(1),
  .home-page .feature-card:nth-child(2),
  .home-page .feature-card:nth-child(7) {
    grid-column: auto;
  }
  .home-page .feature-card:nth-child(7) {
    min-height: 0;
    display: block;
  }
  .home-page .feature-card:nth-child(7) h3 { margin-top: 16px; }
  .home-page .feature-card:nth-child(7) p { margin-top: 9px; }
  .platform-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
  }
  .platform-flow::before { display: none; }
  .platform-flow span {
    min-height: 68px;
    padding: 12px;
    border-bottom: 1px solid var(--ink-100);
  }
  .platform-flow span:nth-child(3n) { border-right: 0; }
  .platform-flow span:nth-child(n+4) { border-bottom: 0; }
  .platform-flow small { box-shadow: none; }
  .intelligence-layout { grid-template-columns: 1fr; }
  .intelligence::before { inset: 0; opacity: .08; }
  .service-command-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-command-grid a:nth-child(2n) { border-right: 0; }
  .service-command-grid a:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
  .home-page .steps { grid-template-columns: 1fr; }
  .home-page .steps::before { display: none; }
  .home-page .step { border-right: 0; border-bottom: 1px solid var(--ink-100); }
  .home-page .step:last-child { border-bottom: 0; }
  .home-page .audience-grid { grid-template-columns: 1fr; }
  .home-page .audience-card,
  .home-page .audience-card:nth-child(4),
  .home-page .audience-card:nth-child(5) {
    grid-column: auto;
    min-height: 270px;
    background-size: cover;
  }
  .home-page .audience-card:hover,
  .home-page .audience-card:focus-visible { background-size: cover; }
  .home-page .why-head::after { margin-top: 22px; }
  .ap-head { padding-left: 16px; }
  .home-page main > section[data-chapter]::after {
    top: 18px;
    right: var(--gutter);
    font-size: 8px;
  }
  .home-page .features { padding-bottom: 30px; }
  .home-page .how { padding-top: 32px; }
  .reveal-ready .reveal { transition: none; }
}

@media (max-width: 390px) {
  .util-social a[data-mitax-social="email"],
  .util-social a[data-mitax-social="youtube"] { display: none; }
  .util-social { max-width: 82px; }
  .nav-brand-meta { display: none; }
  .platform-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-flow span:nth-child(3n) { border-right: 1px solid var(--ink-100); }
  .platform-flow span:nth-child(2n) { border-right: 0; }
  .platform-flow span:nth-child(n+4) { border-bottom: 1px solid var(--ink-100); }
  .platform-flow span:nth-child(n+5) { border-bottom: 0; }
  .intelligence-copy h2 { font-size: 34px; }
  .intelligence-console-head,
  .intelligence-query,
  .intelligence-answer,
  .intelligence-signal { padding-inline: 15px; }
  .service-command-head { display: block; }
  .service-command-head p { margin-top: 10px; text-align: left; }
  .service-command-grid { grid-template-columns: 1fr; }
  .service-command-grid a,
  .service-command-grid a:nth-child(2n),
  .service-command-grid a:last-child {
    grid-column: auto;
    min-height: 144px;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
}

/* Public-site type and interaction refinement. */
html,
body,
button,
input,
select,
textarea,
code,
kbd,
pre,
samp {
  font-family: var(--font-sans);
}

body * {
  letter-spacing: 0;
}

.eyebrow,
.badge,
.util-live,
.nav-brand-meta strong,
.nav-popover-head span,
.nav-popover-index,
.audience-surface,
.intelligence-capabilities li > span,
.intelligence-query small,
.intelligence-answer small,
.intelligence-console-head strong,
.intelligence-sources span,
.step-num {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.home-page main > section[data-chapter]::after {
  content: none;
  display: none;
}

/* Assurance is a proof sequence, not a matrix of interchangeable cards. */
.home-page .why {
  background: #f6f8fc;
}
.home-page .why-grid {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 84px);
}
.home-page .why-head {
  top: calc(var(--nav-h) + 28px);
}
.home-page .why-head::after {
  aspect-ratio: 4 / 3;
  margin-top: 28px;
  background-position: center 34%;
}
.home-page .why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  border: 0;
}
.home-page .why-list li {
  min-height: 132px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-content: center;
  column-gap: 18px;
  row-gap: 7px;
  padding: 22px 24px;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 18, 38, .045);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}
.home-page .why-list li:hover {
  border-color: var(--primary-100);
  box-shadow: 0 18px 40px rgba(11, 18, 38, .08);
  transform: translateY(-2px);
}
.home-page .why-list .icon-tile {
  grid-row: 1 / span 2;
  align-self: center;
}
.home-page .why-list h3 {
  align-self: end;
  font-size: 17px;
}
.home-page .why-list li p {
  grid-column: 2;
  align-self: start;
  max-width: 58ch;
  font-size: 14px;
}

/* Closing conversion is a product router with useful next steps. */
.cta-band {
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #07101f;
  box-shadow: 0 24px 64px rgba(11, 18, 38, .14);
}
.cta-band::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  height: auto;
  background: var(--accent);
}
.cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #8fe6cd;
  font-size: 13px;
  font-weight: 700;
}
.cta-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.home-page .cta-band-inner {
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(34px, 5vw, 72px);
}
.home-page .cta-band-copy {
  align-self: center;
}
.home-page .cta-band h2 {
  max-width: 600px;
  margin-bottom: 16px;
  font-size: clamp(30px, 3.4vw, 48px);
}
.home-page .cta-band .lede {
  max-width: 610px;
  font-size: 16px;
}
.cta-paths {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .15);
}
.cta-paths a {
  position: relative;
  min-height: 106px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-content: center;
  padding: 18px 20px;
  color: #fff;
  background: #0d1728;
  text-decoration: none;
  transition: background 200ms ease;
}
.cta-paths a:hover,
.cta-paths a:focus-visible {
  color: #fff;
  background: #13223a;
}
.cta-paths span,
.cta-paths strong,
.cta-paths small {
  grid-column: 1;
  display: block;
}
.cta-paths span {
  margin-bottom: 5px;
  color: #8fe6cd;
  font-size: 11px;
  font-weight: 700;
}
.cta-paths strong {
  font-size: 16px;
}
.cta-paths small {
  margin-top: 5px;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
}
.cta-paths b {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  color: #8fe6cd;
  font-size: 20px;
  transition: transform 200ms ease;
}
.cta-paths a:hover b,
.cta-paths a:focus-visible b {
  transform: translateX(4px);
}

/* Motion communicates hierarchy and state while respecting reduced motion. */
.experience-motion.reveal-ready .reveal {
  opacity: 1;
  transform: none;
}
.experience-motion.reveal-ready .reveal.is-visible {
  animation: mitax-reveal 520ms cubic-bezier(.16, 1, .3, 1) both;
}
.experience-motion .intelligence-console-head i {
  animation: mitax-signal 2.4s ease-in-out infinite;
}
.experience-motion :is(
  .service-command-grid a,
  .partnership-pathway,
  .partnership-programmes article,
  .nav-popover-link
) {
  transition:
    color 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}
.experience-motion :is(
  .service-command-grid a,
  .partnership-pathway,
  .partnership-programmes article
):hover {
  transform: translateY(-2px);
}
@keyframes mitax-signal {
  0%, 100% { box-shadow: 0 0 0 5px rgba(17, 189, 143, .12); }
  50% { box-shadow: 0 0 0 9px rgba(17, 189, 143, .04); }
}
@keyframes mitax-reveal {
  from {
    opacity: .72;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .home-page .why-grid,
  .home-page .cta-band-inner {
    grid-template-columns: 1fr;
  }
  .home-page .why-head {
    position: static;
  }
  .home-page .why-head::after {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .home-page .why-list li {
    min-height: 0;
    padding: 19px;
  }
  .home-page .cta-band {
    padding: 28px 22px;
  }
  .cta-paths a {
    min-height: 96px;
    padding: 16px;
  }
}

/* Site-wide continuity pass: page families share one brand architecture.
   Photography changes by audience; typography, surfaces and controls do not. */
html[data-page-family] {
  --page-accent: var(--primary);
  --page-accent-strong: var(--primary-600);
  --page-accent-soft: var(--primary-050);
}

html[data-page-family="individual"],
html[data-page-family="business"],
html[data-page-family="operations"],
html[data-page-family="tools"],
html[data-page-family="trust"] {
  --page-accent: var(--primary);
  --page-accent-strong: var(--primary-600);
  --page-accent-soft: var(--primary-050);
}

body:not(.home-page) :is(
  .ap-hero,
  .page-hero,
  .legal-hero,
  .guides-hub-hero,
  .guide-article-hero,
  .tool-page-head,
  main > .hero:first-child
) {
  min-height: clamp(360px, 46vw, 540px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(64px, 8vw, 94px) clamp(46px, 6vw, 72px);
  border-bottom: 0;
  background-color: #07101f;
}

body:not(.home-page) :is(
  .ap-hero,
  .page-hero,
  .legal-hero,
  .guides-hub-hero,
  .guide-article-hero,
  .tool-page-head,
  main > .hero:first-child
)::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 16, 31, .96) 0%, rgba(7, 16, 31, .83) 47%, rgba(7, 16, 31, .34) 78%, rgba(7, 16, 31, .2) 100%),
    linear-gradient(0deg, rgba(7, 16, 31, .72), transparent 48%);
}

body:not(.home-page) :is(
  .ap-hero,
  .page-hero,
  .legal-hero,
  .guides-hub-hero,
  .guide-article-hero,
  .tool-page-head,
  main > .hero:first-child
) > :not(.subhero-media):not(.subhero-dots) {
  position: relative;
  z-index: 2;
}

body:not(.home-page) :is(
  .ap-hero,
  .page-hero,
  .legal-hero,
  .guides-hub-hero,
  .guide-article-hero,
  .tool-page-head,
  main > .hero:first-child
) :is(h1, h2) {
  max-width: 15ch;
  color: #fff;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.01;
  font-weight: 750;
}

body:not(.home-page) :is(
  .ap-hero,
  .page-hero,
  .legal-hero,
  .guides-hub-hero,
  .guide-article-hero,
  .tool-page-head,
  main > .hero:first-child
) :is(p, .lede) {
  max-width: 62ch;
  color: rgba(255, 255, 255, .78);
}

body:not(.home-page) :is(
  .ap-hero,
  .page-hero,
  .legal-hero,
  .guides-hub-hero,
  .guide-article-hero,
  .tool-page-head,
  main > .hero:first-child
) .eyebrow {
  color: #8fe6cd;
}

.subhero-dots {
  z-index: 3;
}

.home-page .feature-grid > .feature-card:nth-child(7) {
  grid-column: 1 / -1 !important;
  width: auto;
}

.home-page .intelligence.mx-flow-band {
  background: #07101f;
}

.home-page .intelligence.mx-flow-band::after,
.home-page .partnerships.mx-flow-band::after {
  background: linear-gradient(90deg, var(--accent) 0 64%, var(--primary) 64%);
}

.experience-motion .mx-flow-band :is(.icon-tile, .step-num) {
  transition:
    transform 240ms cubic-bezier(.16, 1, .3, 1),
    box-shadow 240ms ease;
}

.experience-motion .mx-flow-band :is(.card, .feature-card, .audience-card, .step):hover :is(.icon-tile, .step-num) {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 18px rgba(3, 87, 237, .12);
}

@media (max-width: 720px) {
  body:not(.home-page) :is(
    .ap-hero,
    .page-hero,
    .legal-hero,
    .guides-hub-hero,
    .guide-article-hero,
    .tool-page-head,
    main > .hero:first-child
  ) {
    min-height: 430px;
    padding-block: 82px 44px;
  }

  body:not(.home-page) :is(
    .ap-hero,
    .page-hero,
    .legal-hero,
    .guides-hub-hero,
    .guide-article-hero,
    .tool-page-head,
    main > .hero:first-child
  )::after {
    background:
      linear-gradient(0deg, rgba(7, 16, 31, .98) 0%, rgba(7, 16, 31, .7) 66%, rgba(7, 16, 31, .34) 100%);
  }

  body:not(.home-page) :is(
    .ap-hero,
    .page-hero,
    .legal-hero,
    .guides-hub-hero,
    .guide-article-hero,
    .tool-page-head,
    main > .hero:first-child
  ) {
    min-height: 0;
    padding-block: 54px 36px;
  }

  body:not(.home-page) :is(
    .ap-hero,
    .page-hero,
    .legal-hero,
    .guides-hub-hero,
    .guide-article-hero,
    .tool-page-head,
    main > .hero:first-child
  ) :is(h1, h2) {
    font-size: clamp(34px, 10.5vw, 44px);
  }

  .ap-hero-ctas {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .ap-hero-grid,
  .ap-hero-copy {
    min-width: 0;
    width: 100%;
  }

  .ap-hero-copy :is(h1, h2, p) {
    overflow-wrap: anywhere;
  }

  .ap-hero-ctas .btn {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 14px;
  }

  .ap-hero-trust {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .ap-hero-trust::-webkit-scrollbar {
    display: none;
  }

  .ap-hero-trust .trust-chip {
    flex: 0 0 auto;
  }
}

/* Soft-light public-site theme.
   The canvas is deliberately dimmer than pure white to reduce glare while
   retaining the clarity and openness of the approved light direction. */
:root {
  --dark-canvas: #e3e8ef;
  --dark-canvas-raised: #e9edf3;
  --dark-surface: #f0f3f7;
  --dark-surface-hover: #e7edf5;
  --dark-border: rgba(24, 39, 63, .14);
  --dark-border-strong: rgba(3, 87, 237, .28);
  --dark-copy: #111b2c;
  --dark-muted: #536177;
  --dark-faint: #748197;
}

html,
body {
  background: var(--dark-canvas);
  color: var(--dark-copy);
}

.mitax-brand-flow,
.mx-flow-band,
.mx-flow-band:nth-of-type(even):not(.intelligence):not(.partnerships):not(.section--ink):not(.section--dark),
.section,
.section--surface,
.section--sunken,
.features,
.audiences,
.how,
.why,
.convert,
.home-page .why {
  color: var(--dark-copy);
  background-color: var(--dark-canvas);
}

.mx-flow-band:nth-of-type(even),
.section--sunken,
.home-page .why,
.convert {
  background-color: var(--dark-canvas-raised);
}

.mx-flow-band {
  border-top-color: var(--dark-border);
}

.mx-flow-band::before {
  background-image:
    linear-gradient(rgba(143, 230, 205, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 87, 237, .045) 1px, transparent 1px);
  opacity: .72;
}

.mitax-brand-flow::before {
  opacity: .44;
}

.nav {
  color: var(--dark-copy);
  background: rgba(7, 16, 31, .94);
  border-bottom-color: var(--dark-border);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
}

.nav-brand,
.nav-links a,
.nav-popover-trigger,
.nav-burger {
  color: var(--dark-copy);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #8fe6cd;
}

.nav-burger {
  border-color: var(--dark-border);
  background: var(--dark-surface);
}

.nav-drawer,
.nav-popover {
  color: var(--dark-copy);
  background: var(--dark-canvas-raised);
  border-color: var(--dark-border);
}

.nav-drawer a,
.nav-popover a,
.nav-popover-link {
  color: var(--dark-copy);
}

.nav-popover a:hover,
.nav-popover-link:hover {
  color: #8fe6cd;
  background: var(--dark-surface);
}

.section-head h2,
.section-head h3,
.section-head p,
.section-head .lede,
.ap-head h2,
.ap-head h3,
.ap-head .lede,
.mx-flow-band :is(h1, h2, h3, h4),
.legal-body :is(h1, h2, h3, h4),
.guide-page :is(h1, h2, h3, h4),
.tool-page :is(h1, h2, h3, h4) {
  color: var(--dark-copy);
}

.section-head p,
.section-head .lede,
.ap-head .lede,
.mx-flow-band :is(p, li),
.legal-body :is(p, li),
.guide-page :is(p, li),
.tool-page :is(p, li),
.muted {
  color: var(--dark-muted);
}

.card,
.feature-card,
.audience-card,
.step,
.tool-card,
.plan-card,
.pricing-card,
.ap-card,
.ap-feature,
.why-list li,
.home-page .why-list li,
.legal-body,
.legal-article,
.guide-card,
.tool-shell,
.tool-form,
.faq-item,
.compare-table-wrap,
.pricing-table-wrap {
  color: var(--dark-copy);
  border-color: var(--dark-border);
  background: var(--dark-surface);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .12);
}

.card:hover,
a.feature-card:hover,
.feature-card.is-interactive:hover,
.audience-card:hover,
.tool-card:hover,
.plan-card:hover,
.pricing-card:hover,
.ap-card:hover,
.ap-feature:hover {
  color: var(--dark-copy);
  border-color: var(--dark-border-strong);
  background: var(--dark-surface-hover);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .22);
}

.card :is(h2, h3, h4),
.feature-card :is(h2, h3, h4),
.audience-card :is(h2, h3, h4),
.step :is(h2, h3, h4),
.tool-card :is(h2, h3, h4),
.plan-card :is(h2, h3, h4),
.pricing-card :is(h2, h3, h4),
.ap-card :is(h2, h3, h4),
.ap-feature :is(h2, h3, h4),
.why-list h3 {
  color: var(--dark-copy);
}

.card p,
.feature-card p,
.audience-card p,
.step p,
.tool-card p,
.plan-card p,
.pricing-card p,
.ap-card p,
.ap-feature p,
.why-list p {
  color: var(--dark-muted);
}

.home-page .feature-card:nth-child(7) {
  background: #e4f3ef;
}

.home-page .steps,
.home-page .step,
.home-page .step-num {
  color: var(--dark-copy);
  border-color: var(--dark-border);
  background: var(--dark-surface);
  box-shadow: none;
}

.home-page .steps::before {
  background: rgba(3, 87, 237, .38);
}

.icon-tile,
.icon-tile--accent {
  color: #8fb5ff;
  border-color: rgba(143, 181, 255, .24);
  background: rgba(3, 87, 237, .14);
}

.icon-tile--accent {
  color: #8fe6cd;
  border-color: rgba(143, 230, 205, .24);
  background: rgba(17, 189, 143, .12);
}

.trust-chip,
.pill,
.badge {
  color: var(--dark-copy);
  border-color: var(--dark-border);
  background: rgba(255, 255, 255, .055);
  box-shadow: none;
}

.faq-btn,
.faq-panel-inner > div {
  color: var(--dark-copy);
}

.faq-panel-inner > div {
  color: var(--dark-muted);
}

form :is(label, legend),
.tool-form :is(label, legend) {
  color: var(--dark-copy);
}

form :is(input, select, textarea),
.tool-form :is(input, select, textarea) {
  color: var(--dark-copy);
  border-color: var(--dark-border);
  background: var(--dark-surface);
  color-scheme: light;
}

form :is(input, textarea)::placeholder,
.tool-form :is(input, textarea)::placeholder {
  color: var(--dark-faint);
}

table,
thead,
tbody,
tr,
th,
td {
  color: var(--dark-copy);
  border-color: var(--dark-border);
  background-color: transparent;
}

thead,
th {
  background-color: rgba(255, 255, 255, .035);
}

tbody tr:hover {
  background-color: rgba(143, 230, 205, .045);
}

code,
pre,
.endpoint,
.code-block {
  color: #dce8ff;
  border-color: var(--dark-border);
  background: #050c17;
}

.cta-band {
  border-color: var(--dark-border-strong);
  background: #050c17;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .28);
}

.cookie-banner {
  color: var(--dark-copy);
  border-color: var(--dark-border-strong);
  background: var(--dark-surface);
}

.cookie-banner-text {
  color: var(--dark-muted);
}

.btn-ghost {
  color: var(--dark-copy);
  border-color: rgba(255, 255, 255, .3);
  background: transparent;
}

.btn-ghost:hover {
  color: #fff;
  border-color: #8fe6cd;
  background: rgba(143, 230, 205, .09);
}

.footer {
  border-top: 0;
  background: #050c17;
}

.footer-grid,
.footer-bottom {
  border-color: var(--dark-border);
}

body .util-bar,
body .utility-bar {
  color: var(--ink-600);
  border-color: var(--ink-200);
  background: #eef2f7;
}

/* Admin-managed announcement severity must remain visually unambiguous even
   when the rest of the public chrome uses the dark corporate treatment. */
body .site-announcement--info {
  color: #fff;
  border-color: color-mix(in srgb, var(--primary-700) 55%, transparent);
  background: var(--primary);
}
body .site-announcement--warning {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--warning) 58%, transparent);
  background: #ffd96a;
}
body .site-announcement--critical {
  color: #fff;
  border-color: color-mix(in srgb, #a71d2a 60%, transparent);
  background: #cf2e3b;
}
body a.site-announcement--info:hover,
body a.site-announcement--info:focus-visible,
body a.site-announcement--critical:hover,
body a.site-announcement--critical:focus-visible {
  color: #fff;
}
body a.site-announcement--warning:hover,
body a.site-announcement--warning:focus-visible {
  color: var(--ink);
}

.util-note,
.util-link {
  color: var(--ink-600);
}

.nav-links a[aria-current="page"] {
  color: #8fe6cd;
  background: rgba(143, 230, 205, .09);
}

.pricing-path,
.pricing-path span,
.pricing-path strong {
  color: var(--dark-copy);
}

.pricing-path small {
  color: var(--dark-muted);
}

.pricing-path {
  border-color: var(--dark-border);
}

.pricing-path:hover,
.pricing-path:focus-visible {
  color: var(--dark-copy);
  background: rgba(143, 230, 205, .055);
}

.legal-toc,
.legal-toc[open],
.legal-toc summary,
.legal-toc ol,
.legal-toc a {
  color: var(--dark-copy);
  border-color: var(--dark-border);
  background: var(--dark-surface);
}

.legal-toc a:hover {
  color: #8fe6cd;
}

.legal-callout,
.legal-note,
.plain-language {
  color: var(--dark-copy);
  border-color: var(--dark-border-strong);
  background: #e4f3ef;
}

.legal-callout :is(p, li),
.legal-note :is(p, li),
.plain-language :is(p, li) {
  color: var(--dark-muted);
}

/* Framer-style motion language implemented natively for the static site.
   Motion explains sequence and connection; it never blocks interaction. */
.experience-motion .mx-flow-band > .wrap > :is(
  .section-head,
  .ap-head,
  .pricing-intro,
  .legal-article-head,
  .guide-head
) {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms cubic-bezier(.16, 1, .3, 1),
    transform 620ms cubic-bezier(.16, 1, .3, 1);
}

.experience-motion .mx-flow-band.mx-band-visible > .wrap > :is(
  .section-head,
  .ap-head,
  .pricing-intro,
  .legal-article-head,
  .guide-head
) {
  opacity: 1;
  transform: none;
}

.experience-motion .mx-flow-band :is(
  .feature-grid,
  .audience-grid,
  .steps,
  .pricing-path-list,
  .why-list
) > * {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition:
    opacity 560ms cubic-bezier(.16, 1, .3, 1),
    transform 560ms cubic-bezier(.16, 1, .3, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.experience-motion .mx-flow-band.mx-band-visible :is(
  .feature-grid,
  .audience-grid,
  .steps,
  .pricing-path-list,
  .why-list
) > * {
  opacity: 1;
  transform: none;
}

.experience-motion .mx-flow-band.mx-band-visible :is(
  .feature-grid,
  .audience-grid,
  .steps,
  .pricing-path-list,
  .why-list
) > :nth-child(2) { transition-delay: 70ms; }

.experience-motion .mx-flow-band.mx-band-visible :is(
  .feature-grid,
  .audience-grid,
  .steps,
  .pricing-path-list,
  .why-list
) > :nth-child(3) { transition-delay: 140ms; }

.experience-motion .mx-flow-band.mx-band-visible :is(
  .feature-grid,
  .audience-grid,
  .steps,
  .pricing-path-list,
  .why-list
) > :nth-child(4) { transition-delay: 210ms; }

.experience-motion .mx-flow-band.mx-band-visible :is(
  .feature-grid,
  .audience-grid,
  .steps,
  .pricing-path-list,
  .why-list
) > :nth-child(n+5) { transition-delay: 280ms; }

.experience-motion .home-page .platform-flow {
  position: relative;
  overflow: hidden;
}

.experience-motion .home-page .platform-flow::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto auto 0 -22%;
  width: 22%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8fe6cd, var(--primary), transparent);
  animation: mx-rail-travel 7s cubic-bezier(.45, 0, .55, 1) infinite;
}

.experience-motion .home-page .intelligence-console {
  animation: mx-console-drift 6s ease-in-out infinite;
}

.experience-motion .home-page :is(.audience-card, .feature-card) {
  will-change: transform;
}

.experience-motion .home-page :is(.audience-card, .feature-card):hover {
  transform: translateY(-5px);
}

.experience-motion .subhero-media.is-visible {
  animation: mx-subhero-arrive 6s ease-out both;
}

@keyframes mx-rail-travel {
  0% { left: -22%; opacity: 0; }
  10%, 86% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes mx-console-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes mx-subhero-arrive {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@media (max-width: 720px) {
  .nav {
    background: rgba(7, 16, 31, .97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience-motion .mx-flow-band > .wrap > *,
  .experience-motion .mx-flow-band :is(
    .feature-grid,
    .audience-grid,
    .steps,
    .pricing-path-list,
    .why-list
  ) > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .experience-motion .home-page .platform-flow::after {
    display: none;
  }

  .experience-motion .home-page .intelligence-console,
  .experience-motion .subhero-media.is-visible {
    animation: none;
  }
}

/* Keep the homepage ecosystem rail inside the same soft-light system. */
.home-page .platform-flow {
  background: var(--dark-surface);
  border-color: var(--dark-border);
}

.home-page .platform-flow span {
  border-color: var(--dark-border);
}

.home-page .platform-flow strong {
  color: var(--dark-copy);
}

.home-page .platform-flow small {
  color: var(--dark-muted);
}

/* Official logo contrast rules for the soft-light navigation. */
body .nav {
  color: var(--dark-copy);
  border-color: var(--dark-border);
  background: rgba(240, 243, 247, .96);
  box-shadow: 0 10px 28px rgba(17, 27, 44, .08);
}

.nav-brand img {
  content: url("/assets/logo/mitax-logo-light.png");
  width: auto;
  height: 30px;
  filter: drop-shadow(0 2px 5px rgba(3, 87, 237, .12));
}

.nav-links a,
.nav-burger {
  color: var(--dark-copy);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
  background: rgba(3, 87, 237, .07);
}

@media (max-width: 720px) {
  body .nav {
    background: rgba(240, 243, 247, .98);
  }
}

/* Contrast boundaries: dark editorial panels retain light type after the
   surrounding page returns to the soft-light palette. */
.home-page .intelligence.mx-flow-band,
.section--ink.mx-flow-band {
  background-color: #07101f !important;
  background-image:
    radial-gradient(circle at 82% 16%, rgba(3, 87, 237, .18), transparent 32%),
    linear-gradient(135deg, #07101f 0%, #0b1730 58%, #07101f 100%);
}

.home-page .intelligence.mx-flow-band,
.home-page .intelligence.mx-flow-band :is(h1, h2, h3, h4, strong),
.section--ink.mx-flow-band,
.section--ink.mx-flow-band :is(h1, h2, h3, h4, strong),
.app-launch-card,
.app-launch-card :is(h1, h2, h3, h4, strong),
.cta-band,
.cta-band :is(h1, h2, h3, h4, strong) {
  color: #f7f9fc;
}

.home-page .intelligence.mx-flow-band :is(p, li, .lede),
.section--ink.mx-flow-band :is(p, li, .lede),
.app-launch-card :is(p, li, .lede),
.cta-band :is(p, li, .lede) {
  color: rgba(247, 249, 252, .74);
}

.home-page .intelligence.mx-flow-band .intelligence-capabilities p,
.home-page .intelligence.mx-flow-band .service-command-grid small {
  color: rgba(247, 249, 252, .64);
}

.home-page .intelligence.mx-flow-band :is(.eyebrow, .intelligence-capabilities li > span),
.cta-band .cta-kicker,
.cta-paths a > span {
  color: #8fe6cd;
}

/* Partnerships is a light chapter, so every inherited copy colour must
   resolve against the light canvas rather than the former dark treatment. */
.home-page .partnerships.mx-flow-band,
.home-page .partnerships.mx-flow-band :is(h1, h2, h3, h4, strong) {
  color: var(--dark-copy);
}

.home-page .partnerships.mx-flow-band :is(p, li, .lede),
.home-page .partnerships.mx-flow-band .partnership-pathway p,
.home-page .partnerships.mx-flow-band .partnership-programmes span {
  color: var(--dark-muted);
}

.home-page .partnerships.mx-flow-band :is(.eyebrow, .partnership-pathway > span) {
  color: #087b61;
}

/* Adoption channels sit alongside the app as connected service surfaces. */
.access-channels {
  padding-block: var(--sp-section);
  color: var(--dark-copy);
  background: var(--dark-canvas-raised);
  border-block: 1px solid var(--dark-border);
}

.access-channels-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.access-channels-head h2 {
  max-width: 14ch;
  margin: 12px 0 16px;
  color: var(--dark-copy);
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.03;
}

.access-channels-head p,
.access-channel p {
  color: var(--dark-muted);
}

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

.access-channel {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--dark-border);
  border-top: 4px solid var(--primary);
  border-radius: 8px;
  background: var(--dark-surface);
  box-shadow: 0 18px 42px rgba(17, 27, 44, .08);
}

.access-channel--whatsapp {
  border-top-color: var(--accent);
}

.access-channel-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #087b61;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.access-channel-label span {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #fff;
  background: #087b61;
  font-size: 11px;
}

.access-channel--ussd .access-channel-label {
  color: var(--primary);
}

.access-channel--ussd .access-channel-label span {
  background: var(--primary);
}

.access-channel h3 {
  max-width: 18ch;
  margin: 28px 0 12px;
  color: var(--dark-copy);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.access-channel p {
  max-width: 58ch;
  margin: 0 0 28px;
}

.access-channel .btn {
  margin-top: auto;
}

.access-channel-action {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
}

.access-channel-qr {
  margin: 0;
  padding: 9px;
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.access-channel-qr img {
  width: 148px;
  height: 148px;
  display: block;
}

.access-channel-qr figcaption {
  margin-top: 5px;
  color: #536177;
  font-size: 10px;
  font-weight: 750;
}

.ussd-dial {
  width: 100%;
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 28px 30px;
  border: 1px solid rgba(3, 87, 237, .28);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  color: var(--dark-copy);
  background: rgba(3, 87, 237, .07);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.ussd-dial:hover,
.ussd-dial:focus-visible {
  color: var(--dark-copy);
  background: rgba(3, 87, 237, .12);
  transform: translateY(-2px);
}

.ussd-dial small {
  color: var(--dark-muted);
  font-size: 13px;
}

.ussd-dial strong {
  color: var(--primary);
  font-size: clamp(42px, 5.5vw, 64px);
  letter-spacing: 0;
  line-height: 1;
}

.ussd-dial span {
  display: flex;
  justify-content: space-between;
  color: var(--dark-copy);
  font-size: 14px;
  font-weight: 800;
}

.access-channel-continuity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 20px 24px;
  border: 1px solid var(--dark-border);
  background: var(--dark-surface);
  font-size: 13px;
  font-weight: 750;
}

.access-channel-continuity i {
  color: var(--primary);
  font-style: normal;
}

.access-channel-continuity strong {
  margin-left: auto;
  color: #087b61;
}

.service-command-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .access-channel-grid {
    grid-template-columns: 1fr;
  }

  .access-channel {
    min-height: 0;
  }

  .access-channel-action {
    align-items: center;
  }

  .access-channel-qr img {
    width: 112px;
    height: 112px;
  }

  .access-channel-continuity {
    flex-wrap: wrap;
  }

  .access-channel-continuity strong {
    width: 100%;
    margin: 2px 0 0;
  }
}

/* Mobile-first production pass.
   Keep the first viewport focused, let content determine height, and make
   every public surface usable without horizontal scrolling. */
@media (max-width: 760px) {
  :root {
    --nav-h: 62px;
    --util-h: 0px;
    --gutter: 20px;
    --sp-section: 54px;
    --sp-hero: 64px;
    --fs-body: 15px;
    --fs-h1: 38px;
    --fs-h2: 30px;
    --fs-h3: 20px;
    --fs-display: 44px;
    --fs-h1-xl: 38px;
    --fs-lead: 17px;
  }

  html {
    scroll-padding-top: calc(var(--nav-h) + 12px);
  }

  body {
    min-width: 0;
    overflow-x: hidden;
  }

  body .util-bar,
  body .utility-bar {
    display: none;
  }

  .nav {
    min-height: var(--nav-h);
    background: rgba(255, 255, 255, .97);
  }

  .nav-row,
  .nav-inner {
    min-height: var(--nav-h);
  }

  .nav-brand {
    min-width: 0;
  }

  .nav-brand img,
  .brand img {
    width: auto;
    height: 30px;
  }

  .nav-brand-meta {
    display: none;
  }

  .nav-burger {
    width: 42px;
    height: 42px;
  }

  .nav-drawer {
    top: var(--nav-h);
    width: min(92vw, 360px);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  main,
  main > section,
  .wrap,
  .section-head,
  .ap-head,
  .page-hero-inner,
  .legal-hero__inner {
    min-width: 0;
    max-width: 100%;
  }

  .wrap,
  .corporate-home-hero .hero-grid {
    width: 100%;
    margin-inline: 0;
    padding-inline: var(--gutter);
  }

  .section,
  .ap-section,
  .features,
  .audiences,
  .how,
  .why,
  .tour,
  .plans-section,
  .compare-section,
  .pricing-faq {
    padding-block: var(--sp-section);
  }

  .section-head,
  .plans-section-head {
    margin-bottom: 30px;
    padding-left: 14px;
  }

  .section-head h2,
  .plans-section-head h2 {
    line-height: 1.12;
  }

  .section-head .lede,
  .plans-section-head .lede {
    line-height: 1.58;
  }

  .corporate-home-hero {
    min-height: calc(100svh - var(--nav-h));
    background-position: 60% center;
    overflow: hidden;
  }

  .corporate-home-hero .hero-grid {
    min-height: calc(100svh - var(--nav-h));
    align-items: start;
    padding-block: 64px 132px;
  }

  .corporate-home-hero .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .corporate-home-hero :is(
    .hero-carousel,
    .hero-frames,
    .hero-frame,
    .hero-ctas,
    .hero-whatsapp-link
  ) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .corporate-home-hero :is(.hero-headline, .hero-sub) {
    overflow-wrap: anywhere;
  }

  .corporate-home-hero .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.4;
  }

  .corporate-home-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(44px, 14vw, 58px);
    line-height: .96;
  }

  .corporate-home-hero .hero-frames {
    min-height: 0;
    height: auto;
  }

  .corporate-home-hero .hero-frame {
    position: relative;
    inset: auto;
    display: none;
  }

  .corporate-home-hero .hero-frame.is-active {
    display: block;
  }

  .corporate-home-hero .hero-headline {
    max-width: 13ch;
    margin-bottom: 14px;
    font-size: clamp(28px, 8.5vw, 36px);
    line-height: 1.04;
  }

  .corporate-home-hero .hero-sub {
    max-width: 34ch;
    font-size: 16px;
    line-height: 1.5;
  }

  .corporate-home-hero .hero-controls {
    margin: 18px 0;
  }

  .corporate-home-hero .hero-ctas {
    gap: 10px;
    margin-bottom: 14px;
  }

  .corporate-home-hero .btn {
    min-height: 48px;
  }

  .hero-whatsapp-link {
    font-size: 13px;
  }

  .hero-proof {
    position: absolute;
    inset: auto 0 0;
  }

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

  .corporate-home-hero .hero-proof-grid > div {
    min-height: 58px;
    padding: 10px 12px;
  }

  .hero-proof-grid strong {
    font-size: 12px;
  }

  .hero-proof-grid span {
    display: none;
  }

  .ap-hero,
  .page-hero,
  .legal-hero,
  .guides-hub-hero,
  .guide-article-hero,
  .tool-page-head {
    min-height: 0;
    padding-block: 68px;
  }

  .ap-hero h1,
  .page-hero h1,
  .legal-hero h1,
  .guides-hub-hero h1,
  .guide-article-hero h1,
  .tool-page-head h1 {
    max-width: 15ch;
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1.03;
  }

  .ap-hero-sub,
  .page-hero .lede,
  .legal-hero p,
  .guides-hub-hero p,
  .guide-article-hero p {
    font-size: 16px;
    line-height: 1.55;
  }

  :is(
    .feature-grid,
    .audience-grid,
    .card-grid,
    .ap-grid,
    .pricing-grid,
    .plans-grid,
    .compare-grid,
    .trust-grid,
    .contact-grid,
    .guide-grid
  ) {
    grid-template-columns: 1fr !important;
  }

  .home-page .audience-card,
  .home-page .audience-card:nth-child(4),
  .home-page .audience-card:nth-child(5) {
    min-height: 220px;
    padding: 24px;
  }

  :is(.feature-card, .audience-card, .card, .ap-card, .price-card) {
    min-width: 0;
  }

  :is(.feature-card, .audience-card, .card, .ap-card, .price-card) p {
    overflow-wrap: anywhere;
  }

  .why-grid,
  .intelligence-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-head {
    position: static;
  }

  .service-command-grid {
    grid-template-columns: 1fr;
  }

  .service-command-grid a,
  .service-command-grid a:nth-child(2n),
  .service-command-grid a:last-child {
    grid-column: auto;
    min-height: 124px;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  table {
    min-width: 640px;
  }

  .table-wrap,
  .compare-table-wrap,
  .legal-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .btn,
  button,
  input,
  select,
  textarea {
    max-width: 100%;
  }

  .btn {
    min-height: 46px;
    white-space: normal;
    text-align: center;
  }

  .hero-ctas,
  .ap-hero-ctas,
  .page-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn,
  .ap-hero-ctas .btn,
  .page-hero .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-burger {
    display: inline-flex;
    margin-left: auto;
    color: var(--ink);
    border-color: var(--ink-200);
    background: #fff;
  }

  .cookie-banner {
    width: calc(100% - 24px);
  }

  .cookie-banner-inner {
    gap: 10px;
    padding: 13px 14px;
  }

  .cookie-banner-text {
    flex-basis: 100%;
    font-size: 12px;
    line-height: 1.42;
  }

  .cookie-banner-actions .btn {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  :root {
    --gutter: 16px;
  }

  .corporate-home-hero .hero-grid {
    padding-top: 48px;
  }

  .corporate-home-hero .hero-headline {
    font-size: 28px;
  }

  .corporate-home-hero .hero-sub {
    font-size: 15px;
  }
}
