/* =====================================================================
   module-page.css — styles for CRM/Aggregator/Safety/Insurance/Academy/Club pages

   Reuses design tokens from styles.css (fonts, colors, radii, shadows).
   Each page sets `--section-current` on :root to its module color.
   ===================================================================== */

html, body {
  background: var(--fx-base-100);
}

body.mpage {
  color: var(--fx-content);
  overflow-x: hidden;
}

/* ============ Fixed nav always visible on module pages ============ */
body.mpage .nav {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Active nav link (current module highlighted) */
.nav__links a.is-active {
  color: var(--section-current);
}
.nav__links a.is-active::after {
  transform: scaleX(1);
  background: var(--section-current);
}

/* ============ Shared container ============ */
.mpage-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* ============ Hero section ============ */
.mpage-hero {
  position: relative;
  min-height: 100vh;
  padding: 32px 0;
  display: flex;
  align-items: center;
  background: var(--fx-base-100);
  overflow: hidden;
  isolation: isolate;
}

/* Big section bubble: stretches across the right ~70% of the hero so the mock
   lays on top of it. Section brand colour, partially cropped beyond viewport.
   --hero-shape selects the union fragment used per page. */
.mpage-hero__bg {
  position: absolute;
  top: 50%;
  right: -14vw;               /* peeks past the right edge of the viewport */
  width: clamp(640px, 80vw, 1280px);
  height: clamp(440px, 60vw, 820px);
  transform: translateY(-50%);
  pointer-events: none;
  background-color: var(--section-current);
  -webkit-mask: var(--hero-shape, url("assets/union-f001.svg")) right center / contain no-repeat;
          mask: var(--hero-shape, url("assets/union-f001.svg")) right center / contain no-repeat;
  opacity: 1;
  z-index: 0;
  filter: saturate(1.02);
}

@media (max-width: 1024px) {
  .mpage-hero__bg {
    top: auto;
    bottom: -8%;
    right: -28%;
    width: 760px;
    height: 540px;
    transform: none;
    opacity: 0.92;
  }
}

@media (max-width: 640px) {
  .mpage-hero__bg {
    bottom: auto;
    top: 36%;
    right: -42%;
    width: 480px;
    height: 380px;
    opacity: 0.7;
  }
}

.mpage-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.mpage-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--section-current);
  margin-bottom: 18px;
}
.mpage-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.mpage-hero__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.04em 0.14em;
  font-weight: 800;
  font-size: clamp(44px, 5vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
}
.mpage-hero__title-logo {
  display: block;
  height: 0.78em;
  aspect-ratio: 181 / 47;
  width: auto;
  flex-shrink: 0;
  fill: currentColor;
  align-self: center;
}
.mpage-hero__title-accent {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--section-current);
  font-size: 1em;
  letter-spacing: -0.04em;
  align-self: center;
}

/* ============ Hero v2 typography (overrides for the new layout) ============ */
.mpage-hero__pretitle {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0;
  text-transform: none;
}

/* Badge-style supertitle: rounded green app-icon next to a 2-line label
   ("fleetx" big on top, section name small underneath, like the admin panel). */
.mpage-hero__supertitle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--brand-dark-green);
}
.mpage-hero__badge {
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
}
.mpage-hero__supertitle-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.mpage-hero__supertitle-name {
  display: block;
  height: clamp(28px, 2.6vw, 36px);
  width: auto;
  aspect-ratio: 80 / 23.5;
}
.mpage-hero__supertitle-accent {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0;
}

.mpage-hero__headline {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1F2937;
  max-width: 540px;
}

.mpage-hero__cta-caption {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  text-align: center;
}
.mpage-hero__cta-caption-link {
  color: var(--brand-dark-green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.mpage-hero__cta-caption-link:hover {
  color: var(--brand-purple);
}

/* Purple primary CTA — used on aggregator. Boosted specificity so it wins
   over the default `.mpage-btn--primary` rule defined later in this file. */
.mpage-btn.mpage-btn--purple,
.mpage-btn--primary.mpage-btn--purple {
  background: var(--brand-purple);
  color: #FFFFFF;
  border: 0;
  border-radius: 100px;
}
.mpage-btn.mpage-btn--purple:hover,
.mpage-btn--primary.mpage-btn--purple:hover {
  background: color-mix(in srgb, var(--brand-purple) 86%, #FFFFFF);
}
.mpage-btn.mpage-btn--purple .mpage-btn__arrow,
.mpage-btn--primary.mpage-btn--purple .mpage-btn__arrow { color: #FFFFFF; }

/* Per-page hero shape orientation (mirrored shape for aggregator) */
body[data-page="aggregator"] .mpage-hero__bg {
  transform: translateY(-50%) scaleX(-1);
}
@media (max-width: 1024px) {
  body[data-page="aggregator"] .mpage-hero__bg { transform: scaleX(-1); }
}

.mpage-hero__slogan {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  max-width: 560px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.mpage-hero__sub {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--fx-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.mpage-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* When the actions block contains a CTA caption, stack as a column so the
   caption sits below the button and is auto-centered to the button's width. */
.mpage-hero__actions:has(.mpage-hero__cta-caption) {
  display: inline-flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: fit-content;
}

/* ============ Buttons ============ */
.mpage-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--fx-radius-field);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease-out-soft), box-shadow 0.2s var(--ease-out-soft), background 0.2s var(--ease-out-soft);
  white-space: nowrap;
  cursor: pointer;
}
.mpage-btn--primary {
  background: var(--fx-neutral);
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}
.mpage-btn--primary:hover {
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-1px);
}
.mpage-btn--secondary {
  background: var(--fx-base-200);
  color: var(--fx-content);
  border-color: transparent;
}
.mpage-btn--secondary:hover {
  box-shadow: var(--fx-ring);
  color: var(--section-current);
}
.mpage-btn__arrow {
  width: 18px;
  height: 18px;
  color: var(--section-current);
  transition: transform 0.2s var(--ease-out-soft);
}
.mpage-btn--primary .mpage-btn__arrow {
  color: var(--section-current);
}
.mpage-btn:hover .mpage-btn__arrow {
  transform: translateX(3px);
}

/* ============ Hero mock ============ */
.mpage-hero__mock {
  justify-self: center;
  width: 100%;
  max-width: 520px;
}

/* ============ Social proof bar ============ */
.mpage-proof {
  padding: 44px 6vw;
  background: var(--fx-base-200);
  border-top: 1px solid color-mix(in srgb, var(--fx-content) 7%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--fx-content) 7%, transparent);
}
.mpage-proof__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.mpage-proof__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mpage-proof__score {
  font-weight: 800;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.mpage-proof__stars {
  color: var(--ink);
  letter-spacing: 2px;
  font-size: 15px;
}
.mpage-proof__label {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}
.mpage-proof__quote {
  font-size: 15px;
  color: var(--fx-content);
  font-style: italic;
  line-height: 1.45;
  max-width: 520px;
  text-align: center;
}
.mpage-proof__quote cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--fx-muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.mpage-proof__stats {
  display: flex;
  gap: 24px;
}
.mpage-proof__stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.mpage-proof__stat span {
  font-size: 12px;
  color: #6b7280;
}

/* ============ Generic section ============ */
.mpage-section {
  padding: 96px 6vw;
  position: relative;
}
.mpage-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.mpage-section--tinted {
  background: color-mix(in srgb, var(--section-current) 5%, var(--fx-base-200));
}
.mpage-section--dark {
  background: var(--ink);
  color: #ffffff;
}
.mpage-section__header {
  max-width: 720px;
  margin-bottom: 56px;
}
.mpage-section__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.mpage-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--section-current);
  margin-bottom: 18px;
}
.mpage-section__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.mpage-section__title {
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}
.mpage-section--dark .mpage-section__title { color: #ffffff; }
.mpage-section__sub {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--fx-muted);
}
.mpage-section--dark .mpage-section__sub { color: rgba(255, 255, 255, 0.75); }

/* ============ Feature block (text + mock) ============ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}
.feature-block + .feature-block { margin-top: 96px; }
.feature-block--flip .feature-block__text { order: 2; }
.feature-block__bullets {
  margin-top: 28px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-block__bullets li {
  position: relative;
  padding-left: 30px;
  font-size: var(--fs-body);
  line-height: 1.45;
  font-weight: 500;
  color: var(--fx-content);
}
.feature-block__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--section-current) 20%, transparent);
}
.feature-block__bullets li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.5em + 5px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--section-current);
}
.feature-block__mock {
  justify-self: center;
  width: 100%;
  max-width: 520px;
}

/* ============ Integrations grid ============ */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.integration-card {
  aspect-ratio: 1 / 0.7;
  background: var(--fx-base-100);
  border: 0;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--fx-muted);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease-out-soft), border-color 0.2s var(--ease-out-soft), transform 0.2s var(--ease-out-soft);
  padding: 8px;
  text-align: center;
  line-height: 1.15;
}
.integration-card:hover {
  color: var(--section-current);
  border-color: var(--section-current);
  transform: translateY(-2px);
}

/* ============ Comparison table ============ */
.compare-wrap {
  margin-top: 32px;
  background: var(--fx-base-100);
  border-radius: var(--r-lg);
  border: 0;
  overflow: hidden;
  box-shadow: var(--fx-surface-shadow);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table thead th {
  background: var(--fx-base-200);
  padding: 18px 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  text-align: center;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  letter-spacing: -0.01em;
}
.compare-table thead th:first-child { text-align: left; }
.compare-table thead th.featured {
  background: color-mix(in srgb, var(--section-current) 10%, #ffffff);
  color: var(--section-current);
}
.compare-table tbody td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
  color: var(--fx-content);
}
.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .check {
  color: var(--section-current);
  font-size: 18px;
  font-weight: 700;
}
.compare-table .cross {
  color: rgba(17, 17, 17, 0.3);
  font-size: 18px;
}
.compare-table td.featured-col {
  background: color-mix(in srgb, var(--section-current) 4%, transparent);
}

/* ============ Pricing cards ============ */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.pricing-card {
  padding: 40px 36px;
  border-radius: var(--fx-radius-box);
  background: var(--fx-base-100);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--fx-surface-shadow);
  transition: transform 0.2s var(--ease-out-soft), box-shadow 0.2s var(--ease-out-soft);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-surface-shadow-hover);
}
.pricing-card--featured {
  border: 2px solid var(--section-current);
  box-shadow: 0 20px 48px -20px color-mix(in srgb, var(--section-current) 40%, transparent);
  transform: translateY(-4px);
}
.pricing-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--section-current) 14%, #ffffff);
  color: var(--section-current);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.pricing-card__price {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-card__price small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  margin-top: 6px;
  letter-spacing: 0;
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 18px 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}
.pricing-card__features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--fx-content);
}
.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--section-current) 18%, transparent);
}
.pricing-card__features li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.45em + 4px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--section-current);
}

/* ============ Promo banner ============ */
.promo-banner {
  margin-top: 28px;
  padding: 20px 28px;
  border-radius: var(--fx-radius-box);
  background: color-mix(in srgb, var(--section-current) 12%, var(--fx-base-100));
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.promo-banner__text {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.promo-banner__text strong {
  color: var(--section-current);
}

/* ============ Ecosystem strip ============ */
.ecosystem-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.ecosystem-card {
  padding: 28px 24px;
  border-radius: var(--fx-radius-box);
  background: var(--fx-base-100);
  border: 0;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease-out-soft), box-shadow 0.2s var(--ease-out-soft), border-color 0.2s var(--ease-out-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ecosystem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-surface-shadow-hover);
  outline: 2px solid color-mix(in srgb, var(--c, var(--section-current)) 30%, transparent);
}
.ecosystem-card__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c, var(--section-current));
}
.ecosystem-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.ecosystem-card__desc {
  font-size: 13px;
  color: var(--fx-muted);
  line-height: 1.4;
}

/* ============ FAQ accordion ============ */
.faq-list {
  margin-top: 32px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  border-bottom: 1px solid color-mix(in srgb, var(--fx-content) 10%, transparent);
  padding: 24px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--section-current) 14%, #ffffff);
  color: var(--section-current);
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out-soft);
}
.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: var(--section-current);
  color: #ffffff;
}
.faq-item__content {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fx-muted);
  max-width: 720px;
}

/* ============ Final CTA block ============ */
.final-cta {
  padding: 112px 6vw;
  margin: 60px 6vw;
  border-radius: calc(var(--fx-radius-box) + 1rem);
  background:
    radial-gradient(ellipse 70% 60% at 88% 10%, color-mix(in srgb, var(--section-current) 35%, transparent), transparent 65%),
    var(--fx-neutral);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 720px;
  height: 720px;
  background-color: var(--section-current);
  -webkit-mask: url("assets/Union2.png") center / contain no-repeat;
          mask: url("assets/Union2.png") center / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
  transform: rotate(8deg);
}
.final-cta::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -200px;
  width: 460px;
  height: 460px;
  background-color: var(--brand-yellow);
  -webkit-mask: url("assets/Union2.png") center / contain no-repeat;
          mask: url("assets/Union2.png") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
  transform: rotate(140deg);
}
.final-cta__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.final-cta__title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
}
.final-cta__sub {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 36px;
}
.final-cta .mpage-btn--primary {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.4);
}
.final-cta .mpage-btn--primary:hover {
  transform: translateY(-1px);
}

/* ============ Module-page mock components ============ */
/* Base mock uses the same structure as main landing: chrome + body.
   Extra variants for dashboards, lists, scoring, etc. */

.mpage-mock {
  width: 100%;
  min-width: 0;
  background: var(--fx-base-100);
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--section-current);
  box-shadow: var(--fx-surface-shadow);
}

/* Chrome bar (reuses main landing .mock__chrome visuals) */
.mpage-mock__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 12px 14px;
  background: var(--fx-base-200);
  border-bottom: 1px solid color-mix(in srgb, var(--fx-content) 8%, transparent);
}
.mpage-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mpage-mock__dot:nth-child(1) { background: #ff5f57; }
.mpage-mock__dot:nth-child(2) { background: #febc2e; }
.mpage-mock__dot:nth-child(3) { background: #28c840; }
.mpage-mock__url {
  margin-left: 14px;
  padding: 4px 10px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--fx-base-100);
  border: 0;
  border-radius: var(--fx-radius-selector);
  font-size: 11px;
  font-weight: 500;
  color: var(--fx-muted);
}
.mpage-mock__tab {
  margin-left: auto;
  padding: 3px 9px;
  background: var(--fx-base-100);
  border: 0;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  color: var(--section-current);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mpage-mock__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* KPI big number */
.mpage-mock__kpi {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.mpage-mock__kpi-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.mpage-mock__kpi-delta {
  font-size: 12px;
  color: var(--section-current);
  font-weight: 700;
}

.mpage-mock__label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mpage-mock__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Generic row with label + value */
.mpage-mock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  background: var(--fx-base-200);
  border-radius: var(--fx-radius-selector);
  font-size: 12px;
  color: var(--fx-content);
}
.mpage-mock__row > span:not(.mpage-mock__row-chip):not(.mpage-mock__row-value) {
  min-width: 0;
  overflow-wrap: anywhere;
}
.mpage-mock__row-chip {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mpage-mock__row-chip--primary {
  background: color-mix(in srgb, var(--section-current) 18%, #ffffff);
  color: var(--section-current);
}
.mpage-mock__row-chip--muted {
  background: var(--fx-base-300);
  color: var(--fx-muted);
}
.mpage-mock__row-value {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink);
}

/* Sparkline (SVG-like via svg element) */
.mpage-mock__spark {
  width: 100%;
  height: 44px;
  color: var(--section-current);
}

/* Progress bar */
.mpage-mock__bar {
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(17, 17, 17, 0.08);
  overflow: hidden;
}
.mpage-mock__bar-fill {
  height: 100%;
  background: var(--section-current);
  border-radius: var(--r-pill);
}

/* Score donut (CSS-only circle) */
.mpage-mock__score {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mpage-mock__score-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--section-current) var(--p, 92%), rgba(17, 17, 17, 0.08) 0);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.mpage-mock__score-circle::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--fx-base-100);
  border-radius: 50%;
}
.mpage-mock__score-value {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}

/* KPI-cards grid inside mock */
.mpage-mock__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.mpage-mock__card {
  padding: 12px 14px;
  background: var(--fx-base-200);
  border-radius: var(--fx-radius-selector);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mpage-mock__card-label {
  font-size: 10px;
  color: var(--fx-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.mpage-mock__card-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mpage-mock__card-delta {
  font-size: 10px;
  color: var(--section-current);
  font-weight: 700;
}

/* ============ Handwritten circle accent ============ */
.hand-circle {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--section-current);
  font-style: italic;
}
.hand-circle__svg {
  position: absolute;
  left: -8%;
  top: -22%;
  width: 116%;
  height: 144%;
  color: var(--section-current);
  pointer-events: none;
  z-index: -1;
  transform: rotate(-2deg);
}

/* ============ Promo chip ============ */
.mpage-promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-green);
  color: var(--ink, #111111);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px -10px rgba(17, 17, 17, 0.3);
}

/* ============ Module slider ============ */
.module-slider {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.module-slide {
  position: relative;
  background: var(--fx-base-100);
  color: var(--ink);
  border-radius: var(--fx-radius-box);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--fx-surface-shadow);
  transition: transform 0.3s var(--ease-out-soft, cubic-bezier(0.22, 0.61, 0.36, 1)), box-shadow 0.3s ease;
  overflow: hidden;
}
.module-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-surface-shadow-hover);
}
.module-slide__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--section-current) 12%, #fff);
  color: var(--section-current);
  display: grid;
  place-items: center;
}
.module-slide__icon svg { width: 24px; height: 24px; }
.module-slide__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink, #111111);
  margin: 0;
}
.module-slide__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--fx-muted);
  line-height: 1.45;
}
.module-slide__bullets li {
  position: relative;
  padding-left: 18px;
}
.module-slide__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--section-current);
}
.module-slide__mock {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: var(--fx-base-200);
  border-radius: var(--fx-radius-field);
  font-size: 12px;
  color: var(--fx-muted);
}
.module-slide__mock-row { display: flex; justify-content: space-between; gap: 8px; }
.module-slide__mock-row strong { color: var(--section-current); font-weight: 700; }

/* ============ Live metrics grid ============ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.metrics-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric-card {
  background: var(--fx-base-100);
  border-radius: var(--fx-radius-box);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--fx-surface-shadow);
}
.metric-card--center {
  align-items: center;
  text-align: center;
}
.metric-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fx-muted);
  font-weight: 600;
}
.metric-card__value {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink, #111111);
  line-height: 1.1;
  margin-top: 4px;
}
.metric-card__value--large {
  font-size: clamp(32px, 4vw, 48px);
}
.metric-card__delta {
  font-size: 13px;
  font-weight: 600;
  color: var(--section-current);
}
.metric-card__spark {
  width: 100%;
  height: 44px;
  color: var(--section-current);
  margin-top: 10px;
}

/* ============ Aggregator bridge accent ============ */
.agg-bridge {
  position: relative;
  padding: 96px 6vw;
  margin: 60px 6vw;
  border-radius: calc(var(--fx-radius-box) + 1rem);
  background: var(--brand-green, #79F395);
  color: var(--ink, #111111);
  text-align: center;
  overflow: hidden;
}
.agg-bridge::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 600px;
  height: 600px;
  background: var(--brand-purple-light, var(--ink-muted));
  -webkit-mask: url("assets/Union2.png") center / contain no-repeat;
          mask: url("assets/Union2.png") center / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
  transform: rotate(-15deg);
}
.agg-bridge__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.agg-bridge__eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  opacity: 0.7;
  margin: 0 0 16px;
}
.agg-bridge__title {
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.agg-bridge__sub {
  font-size: 18px;
  line-height: 1.55;
  opacity: 0.78;
  margin: 0 0 32px;
}
.agg-bridge__cta {
  background: var(--ink, #111111) !important;
  color: #fff !important;
  display: inline-flex;
  border-radius: 999px;
}
.agg-bridge__cta .mpage-btn__arrow { color: var(--brand-green, #79F395); }

/* ============ Integration groups ============ */
.integrations-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.integration-group {
  background: var(--fx-base-100);
  border-radius: var(--fx-radius-box);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--fx-surface-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.integration-group:hover {
  transform: translateY(-2px);
  box-shadow: var(--fx-surface-shadow-hover);
}
.integration-group__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink, #111111);
  margin: 0;
}
.integration-group__desc {
  font-size: 13px;
  color: var(--fx-muted);
  line-height: 1.45;
  margin: 0;
}

/* ============ Compare table group rows ============ */
.compare-table__group td {
  background: color-mix(in srgb, var(--section-current) 8%, #fff) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--section-current) !important;
  padding: 14px 16px !important;
  text-align: left !important;
}

/* ============ Pricing two-card variant ============ */
.pricing-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin: 40px auto 0;
}

/* ============ Responsive ============ */
@media (max-width: 1279px) {
  .mpage-hero { padding: 120px 0 72px; }
  .mpage-hero__inner,
  .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .mpage-hero__mock,
  .feature-block__mock { max-width: 460px; }
  .mpage-proof__inner { grid-template-columns: 1fr; gap: 20px; justify-items: center; text-align: center; }
  .mpage-proof__stats { justify-content: center; }
  .integrations-grid { grid-template-columns: repeat(4, 1fr); }
  .ecosystem-strip { grid-template-columns: repeat(3, 1fr); }
  .module-slider { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .mpage-hero { padding: 100px 0 60px; }
  .mpage-hero__slogan { font-size: 22px; }
  .mpage-section { padding: 72px 6vw; }
  .feature-block + .feature-block { margin-top: 60px; }
  .feature-block--flip .feature-block__text { order: unset; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .ecosystem-strip { grid-template-columns: 1fr; }
  .mpage-section__header { margin-bottom: 36px; }
  .compare-wrap { overflow-x: auto; }
  .compare-table { min-width: 520px; }
  .final-cta { padding: 72px 6vw; }
  .mpage-hero__actions { width: 100%; }
  .mpage-hero__actions .mpage-btn { flex: 1; justify-content: center; }
}
@media (max-width: 767px) {
  .module-slider { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .agg-bridge { padding: 72px 6vw; }
  .integrations-groups { grid-template-columns: 1fr; }
  .pricing-cards--two { grid-template-columns: 1fr; }
  .mpage-hero__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: clamp(34px, 10vw, 42px);
    letter-spacing: -0.025em;
  }
  .mpage-hero__title-logo {
    height: 0.72em;
  }
  .mpage-hero__title-accent {
    letter-spacing: -0.025em;
  }
  .mpage-hero__actions {
    flex-direction: column;
  }
  .mpage-hero__actions .mpage-btn {
    width: 100%;
  }
  .mpage-mock__body {
    padding: 18px;
  }
  .mpage-mock__row {
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Aggregator multi-slide hero stage
   - Two stacked 100vh slides with a sticky shared header
   - Right-side dot navigation
   - Slide transitions: bubble flies right on exit / left-side text
     slides out + fades; mock fades; badge dots rotate
   ============================================================ */

/* Pinned scroll stage: 2x100vh of scroll, sticky inner pin keeps the layout in
   the viewport while the user scrolls through both slides. The pin contains a
   single supertitle (rendered ONCE) plus overlapping text/mock/bubble slots.
   Scroll progress flips which [data-slide] element is `is-visible`. */
body[data-page="aggregator"] .agg-stage {
  position: relative;
  height: 200vh;
  isolation: isolate;
}

.agg-stage__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--fx-base-100);
}

/* Bubble layer: covers the whole pin, both bubbles overlap. */
.agg-stage__bubble-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Layout: 2-column grid filling the pin. */
.agg-stage__layout {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6vw;
  align-items: center;
}

/* Left column: supertitle on top, text slot under it. The whole column
   centers as a unit so the [supertitle + text] visual stack is centered. */
.agg-stage__col-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.agg-stage__supertitle {
  /* normal flow at top of column */
}
.agg-stage__supertitle .mpage-hero__pretitle { margin-bottom: 14px; }
.agg-stage__supertitle .mpage-hero__supertitle { margin-bottom: 0; }

/* Slot wraps both slide texts, which overlap absolutely. min-height fits the
   tallest slide's content so the column doesn't jump on slide change. */
.agg-stage__slot-text {
  position: relative;
  min-height: 320px;
}
.agg-slide__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.agg-stage__slot-mock {
  position: relative;
  min-height: 380px;
}
.agg-slide__mock {
  position: absolute;
  inset: 0;
}

/* Bubble — same admin-style cropped union-shape as before. */
.agg-slide__bubble {
  position: absolute;
  top: 50%;
  right: -14vw;
  width: clamp(640px, 80vw, 1280px);
  height: clamp(440px, 60vw, 820px);
  transform: translateY(-50%) scaleX(-1);
  pointer-events: none;
  background-color: var(--section-aggregator);
  -webkit-mask: url("assets/union-f001.svg") right center / contain no-repeat;
          mask: url("assets/union-f001.svg") right center / contain no-repeat;
  z-index: 0;
}

/* Mock area sits in the right grid cell, on top of the bubble. */
.agg-slide__mock { z-index: 1; }
.agg-slide__mock .mpage-mock { /* reuse existing .mpage-mock styles */ }

/* ---- Transition states (target each [data-slide] element directly) ---- */
.agg-slide__text,
.agg-slide__mock,
.agg-slide__bubble {
  transition:
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.5s ease;
}

/* Inactive: text pushed left + faded; bubble pushed right + faded; mock faded. */
.agg-slide__text:not(.is-visible) {
  transform: translateX(-80px);
  opacity: 0;
  pointer-events: none;
}
.agg-slide__bubble:not(.is-visible) {
  transform: translateY(-50%) translateX(120px) scaleX(-1);
  opacity: 0;
}
.agg-slide__mock:not(.is-visible) {
  opacity: 0;
  pointer-events: none;
}

/* Active: in place. */
.agg-slide__text.is-visible {
  transform: translateX(0);
  opacity: 1;
}
.agg-slide__bubble.is-visible {
  transform: translateY(-50%) scaleX(-1);
  opacity: 1;
}
.agg-slide__mock.is-visible {
  opacity: 1;
}

/* ---- Right-side dot navigation ---- */
/* Lives inside the sticky pin so it's only visible while the stage is pinned. */
.agg-dots {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 30;
}
.agg-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(13, 57, 71, 0.22);
  transition: background 0.25s, transform 0.25s;
  cursor: pointer;
}
.agg-dot:hover {
  background: rgba(13, 57, 71, 0.45);
}
.agg-dot.is-active {
  background: var(--brand-purple);
  transform: scale(1.5);
}

/* ---- Headline link + strikethrough styling ---- */
.mpage-hero__headline s {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  color: var(--ink-muted);
  font-weight: 700;
}
.mpage-hero__headline-link {
  color: var(--brand-purple);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.mpage-hero__headline-link:hover {
  color: color-mix(in srgb, var(--brand-purple) 70%, #000);
}

/* Badge dot rotation is driven by JS (rAF + setAttribute('transform')).
   CSS transforms on inline SVG <g> conflict with the SVG transform attribute
   in some Chrome versions, so we drive the rotation via the SVG attribute
   directly — see the agg-stage IIFE in aggregator.html. */

/* Hide dot nav on small screens — slides become flow-scroll naturally. */
@media (max-width: 768px) {
  .agg-dots { display: none; }
  .agg-slide__inner {
    grid-template-columns: 1fr;
    padding-top: 140px;
    gap: 32px;
  }
  .agg-stage__header { top: 16px; }
  .agg-slide__bubble {
    top: auto;
    bottom: -8%;
    right: -28%;
    width: 760px;
    height: 540px;
    transform: scaleX(-1);
    opacity: 0.85;
  }
  .agg-slide:not(.is-visible) .agg-slide__bubble {
    transform: translateX(120px) scaleX(-1);
    opacity: 0;
  }
  .agg-slide.is-visible .agg-slide__bubble {
    transform: scaleX(-1);
    opacity: 0.85;
  }
}

/* =============================================================
   Aggregator tiles — colored cards with leaf decoration + pill CTA.
   Three variants: mint (green), magenta, neutral.
   ============================================================= */
.aggr-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.aggr-tile {
  position: relative;
  border-radius: 16px;
  padding: 40px 40px 51px; /* mockup: button bottom anchored 51px from card bottom */
  aspect-ratio: 380 / 480;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink, #111);
}
/* Leaf SVG fills card and clips outside the viewBox automatically. */
.aggr-tile__leaf {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.aggr-tile__leaf path {
  fill: #DB4BD4;
  fill-opacity: var(--leaf-opacity, 0.5);
}
.aggr-tile > :not(.aggr-tile__leaf) { position: relative; z-index: 1; }
.aggr-tile__title {
  font-size: clamp(22px, 1.7vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.aggr-tile__value {
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.aggr-tile__body {
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
  max-width: 88%;
}
.aggr-tile__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 80px;
  width: 300px;
  max-width: 100%;
  border-radius: 40px;
  background: var(--cta-bg, #DB4BD4);
  color: var(--cta-fg, #ffffff);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-soft), filter 0.2s var(--ease-out-soft);
}
.aggr-tile__cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.aggr-tile__cta-arrow { width: 16px; height: 16px; }

/* Color variants — exact mockup values */
.aggr-tile--mint {
  background: #79F395;
  --cta-bg: #DB4BD4;
  --cta-fg: #ffffff;
  --leaf-opacity: 0.5;
}
.aggr-tile--magenta {
  background: #DB4BD4;
  --cta-bg: #79F395;
  --cta-fg: #0D3947;
  --leaf-opacity: 0.75;
  color: #0D3947;
}
.aggr-tile--neutral {
  background: #D9D9D9;
  --cta-bg: #DB4BD4;
  --cta-fg: #ffffff;
  --leaf-opacity: 0.5;
}

/* Tile size variants */
.aggr-tile--compact {
  min-height: 260px;
  padding: 28px 24px 24px;
}
.aggr-tile--compact .aggr-tile__title { font-size: 19px; }
.aggr-tile--compact .aggr-tile__body { font-size: 14px; }

@media (max-width: 960px) {
  .aggr-tiles { grid-template-columns: 1fr; gap: 16px; }
  .aggr-tile { min-height: 260px; }
}

/* Ecosystem strip restyle to match tile language */
.ecosystem-strip--tiles {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.ecosystem-card--tile {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--c, var(--section-current)) 22%, #ffffff);
  overflow: hidden;
  isolation: isolate;
  min-height: 180px;
  gap: 8px;
}
.ecosystem-card--tile::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 200px;
  height: 90px;
  background-color: color-mix(in srgb, var(--c, var(--section-current)) 55%, #000000);
  -webkit-mask: url("assets/union-f001.svg") center / contain no-repeat;
          mask: url("assets/union-f001.svg") center / contain no-repeat;
  opacity: 0.35;
  transform: rotate(-12deg);
  z-index: -1;
  pointer-events: none;
}
.ecosystem-card--tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--c, var(--section-current)) 60%, transparent);
  outline: none;
}
.ecosystem-card--tile .ecosystem-card__name { font-size: 19px; }
.ecosystem-card--tile .ecosystem-card__desc { color: var(--ink); opacity: 0.75; }

@media (max-width: 960px) {
  .ecosystem-strip--tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .ecosystem-strip--tiles { grid-template-columns: 1fr; }
}
