/**
 * WEVEX Enterprise Experience — Fase B (público, auth, onboarding) + Fase C1 (ecossistema).
 * Complementa foundation.css; não substitui marketing.css / auth.css / onboarding.css.
 */

@media (prefers-reduced-motion: no-preference) {
  .wx-button,
  .wx-btn,
  .wx-card,
  .wx-segment-card,
  .wx-plan-card,
  .wx-onboarding-stepper__item {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wx-button,
  .wx-btn,
  .wx-card { transition: none !important; }
}

/* —— Marketing header: sempre dark glass (nunca light tokens) —— */
.wx-enterprise-public .wx-marketing-header,
.wx-enterprise-public .wx-marketing-header.is-scrolled {
  background: rgba(5, 7, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: none;
  color: #e8ecf5;
}

.wx-enterprise-public .wx-marketing-header.is-scrolled {
  background: rgba(5, 7, 13, 0.94);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.1);
}

.wx-enterprise-public .wx-marketing-header .wx-brand strong,
.wx-enterprise-public .wx-marketing-header .wx-nav a {
  color: #e8ecf5;
}

.wx-enterprise-public .wx-marketing-header .wx-brand small,
.wx-enterprise-public .wx-marketing-header .wx-nav a:not(.wx-button) {
  color: #93a0b8;
}

.wx-enterprise-public .wx-marketing-header .wx-nav a:not(.wx-button):hover,
.wx-enterprise-public .wx-marketing-header .wx-nav a:not(.wx-button):focus-visible {
  color: #e8ecf5;
}

.wx-enterprise-public body.wx-menu-open .wx-nav,
body.wx-enterprise-public.wx-menu-open .wx-nav {
  background: rgba(5, 7, 13, 0.98);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

.wx-enterprise-public .wx-hero-subcopy {
  max-width: 36rem;
  color: var(--wx-text-secondary, #94a3b8);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Ecossistema (empresa-mãe) */
.wx-ecosystem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1rem;
}

.wx-ecosystem-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wx-ecosystem-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  min-height: 16rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: rgba(9, 13, 22, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

@media (prefers-reduced-motion: no-preference) {
  .wx-ecosystem-card:hover {
    transform: translateY(-3px);
    border-color: rgba(71, 164, 255, 0.35);
    box-shadow:
      0 22px 48px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(0, 221, 168, 0.08);
  }
}

.wx-ecosystem-card--primary {
  background:
    radial-gradient(circle at 100% 0, rgba(0, 221, 168, 0.14), transparent 42%),
    radial-gradient(circle at 0 100%, rgba(27, 107, 255, 0.18), transparent 40%),
    rgba(9, 13, 22, 0.96);
  border-color: rgba(30, 139, 255, 0.32);
}

.wx-ecosystem-card--ai {
  background:
    radial-gradient(circle at 0 0, rgba(71, 164, 255, 0.14), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(0, 221, 168, 0.1), transparent 40%),
    rgba(9, 13, 22, 0.94);
  border-color: rgba(71, 164, 255, 0.24);
}

.wx-ecosystem-card--coming {
  opacity: 0.96;
}

.wx-ecosystem-card h3,
.wx-ecosystem-card .wx-product-name {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.wx-ecosystem-card > p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.55;
  max-width: 34rem;
}

.wx-ecosystem-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wx-ecosystem-pillars li {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5e1;
  font-size: 0.75rem;
}

.wx-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wx-status-pill--live {
  color: #6ee7b7;
  background: rgba(0, 217, 155, 0.12);
  border: 1px solid rgba(0, 217, 155, 0.28);
}

.wx-status-pill--dev {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.wx-status-pill--layer {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

/* Módulos / segmentos dark tiles (produto) */
.wx-module-tile,
.wx-segment-tile {
  display: grid;
  gap: 0.4rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
}

.wx-module-tile strong {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.wx-module-tile span,
.wx-segment-tile > p:not(.wx-kicker) {
  margin: 0;
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.45;
}

.wx-segment-tile {
  gap: 0.65rem;
  align-content: start;
  min-height: 12rem;
}

.wx-segment-tile h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.wx-segment-tile .wx-button {
  margin-top: auto;
  justify-self: start;
}

.wx-os-cta {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.wx-marketing-footer .wx-footer-grid {
  grid-template-columns: minmax(12rem, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(10rem, 1.1fr);
  gap: 1.5rem;
}

@media (max-width: 899px) {
  .wx-ecosystem-grid,
  .wx-ecosystem-grid--four {
    grid-template-columns: 1fr;
  }

  .wx-marketing-footer .wx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wx-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wx-marketing-footer .wx-footer-grid {
    grid-template-columns: 1fr;
  }
}

.wx-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.wx-hero-product {
  margin-bottom: 0.75rem;
  letter-spacing: 0.14em;
}

.wx-hero-highlights {
  display: grid;
  gap: 0.55rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--wx-text-secondary, #94a3b8);
  font-size: 0.92rem;
}

.wx-hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.wx-hero-highlights li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #38e1b9;
  box-shadow: 0 0 12px rgba(56, 225, 185, 0.45);
  flex-shrink: 0;
}

.wx-hero-visual {
  min-width: 0;
}

.wx-enterprise-hero .wx-corporate-hero__content {
  padding-block: 0;
}

.wx-enterprise-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.02;
}

@media (max-width: 899px) {
  .wx-hero-split {
    grid-template-columns: 1fr;
  }

  .wx-hero-visual {
    order: -1;
    max-width: 28rem;
    margin-inline: auto;
  }

  .wx-enterprise-hero h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .wx-hero-split {
    padding-block: clamp(4rem, 12vw, 6rem);
  }
}

.wx-section-lead {
  max-width: 42rem;
  margin: 0.5rem 0 0;
  color: var(--wx-text-muted, #94a3b8);
  line-height: 1.55;
}

.wx-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: var(--wx-space-3, 0.75rem);
}

.wx-module-card {
  display: grid;
  gap: 0.35rem;
  min-height: 5.5rem;
  padding: 1rem;
  border-color: rgba(148, 163, 184, 0.18);
  background: color-mix(in srgb, var(--wx-surface, #0f172a) 92%, transparent);
}

.wx-module-card strong {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.wx-module-card span {
  color: var(--wx-text-muted, #94a3b8);
  font-size: 0.78rem;
  line-height: 1.45;
}

.wx-segment-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--wx-space-4, 1rem);
}

.wx-segment-showcase-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.wx-segment-showcase-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.wx-segment-showcase-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--wx-text-secondary, #cbd5e1);
  font-size: 0.88rem;
  line-height: 1.55;
}

.wx-enterprise-ui-proof {
  display: grid;
  gap: 0.75rem;
}

.wx-marketing-footer .wx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-block: 2.5rem 1.5rem;
}

.wx-footer-tagline {
  margin: 0.75rem 0 0;
  color: var(--wx-text-muted, #94a3b8);
  font-size: 0.88rem;
  max-width: 18rem;
}

.wx-footer-nav,
.wx-footer-contact {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.wx-footer-nav strong,
.wx-footer-contact strong {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wx-text-muted, #94a3b8);
}

.wx-footer-nav a,
.wx-footer-contact a {
  color: var(--wx-text-secondary, #cbd5e1);
  text-decoration: none;
  font-size: 0.9rem;
}

.wx-footer-nav a:hover,
.wx-footer-contact a:hover { color: var(--wx-primary, #38bdf8); }

.wx-footer-email { opacity: 0.85; font-size: 0.82rem !important; }

.wx-footer-bottom {
  padding-block: 1rem 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--wx-text-muted, #64748b);
}

/* Compat: wx-btn → foundation button feel on auth/marketing */
.wx-auth .wx-btn,
.wx-onboarding .wx-btn,
.wx-marketing .wx-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: max(44px, var(--wx-touch-min, 44px));
  padding: 0.65rem 1.1rem;
  border-radius: var(--wx-radius-md, 10px);
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.wx-btn-primary,
.wx-button--primary {
  background: linear-gradient(135deg, var(--wx-primary, #1e8bff), #00d99b);
  color: #041018;
  border-color: transparent;
}

.wx-btn-secondary,
.wx-button--secondary {
  background: rgba(148, 163, 184, 0.08);
  color: var(--wx-text-primary, #f8fafc);
  border-color: rgba(148, 163, 184, 0.22);
}

.wx-button--ghost {
  background: transparent;
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.28);
}

.wx-button--ghost:hover,
.wx-button--ghost:focus-visible {
  color: #f8fafc;
  border-color: rgba(71, 164, 255, 0.45);
  background: rgba(30, 139, 255, 0.08);
}

.wx-btn.is-loading,
.wx-button.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.wx-btn.is-loading::after,
.wx-button.is-loading::after {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-inline-start: 0.35rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: wx-spin 0.8s linear infinite;
}

@keyframes wx-spin { to { transform: rotate(360deg); } }

/* —— Auth —— */
.wx-auth-premium .wx-auth-card {
  max-width: 26rem;
}

.wx-auth-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--wx-primary, #38bdf8);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wx-auth-premium h1 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.wx-notice--danger,
.wx-alert[role="alert"] {
  border-radius: var(--wx-radius-md, 10px);
  padding: 0.85rem 1rem;
  line-height: 1.5;
}

/* —— Onboarding stepper —— */
.wx-onboarding-journey-title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wx-primary, #38bdf8);
}

.wx-onboarding-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.wx-onboarding-stepper__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--wx-text-muted, #94a3b8);
  font-size: 0.72rem;
  font-weight: 600;
}

.wx-onboarding-stepper__item.is-done {
  border-color: rgba(0, 217, 155, 0.35);
  color: #b7f5e0;
}

.wx-onboarding-stepper__item.is-current {
  border-color: rgba(30, 139, 255, 0.45);
  background: rgba(30, 139, 255, 0.1);
  color: #dbeafe;
}

.wx-onboarding-stepper__item.is-pending {
  opacity: 0.72;
}

.wx-onboarding-stepper__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.wx-onboarding-stepper__item.is-done .wx-onboarding-stepper__dot,
.wx-onboarding-stepper__item.is-current .wx-onboarding-stepper__dot {
  opacity: 1;
}

.wx-onboarding-resume {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(30, 139, 255, 0.22);
  background: rgba(30, 139, 255, 0.06);
  color: #cbd5e1;
  font-size: 0.88rem;
}

.wx-onboarding-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.wx-onboarding-nav .wx-onboarding-submit {
  margin-top: 0;
  flex: 1;
}

.wx-onboarding-back {
  appearance: none;
  border: 0;
  background: none;
  color: #9ec9ff;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
}

.wx-segment-product-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
}

.wx-segment-product-card:has(input:checked) {
  border-color: rgba(30, 139, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(30, 139, 255, 0.25);
}

.wx-segment-product-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wx-segment-product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wx-segment-product-card__features li {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  font-size: 0.72rem;
  color: #cbd5e1;
}

/* —— Aprovação —— */
.wx-approval-hero {
  text-align: center;
  margin-bottom: 1.25rem;
}

.wx-approval-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: rgba(0, 217, 155, 0.12);
  color: #6ee7b7;
  font-size: 1.35rem;
}

.wx-approval-checklist {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.wx-approval-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.45);
  font-size: 0.9rem;
  line-height: 1.45;
}

.wx-approval-checklist li.is-done { color: #d1fae5; }
.wx-approval-checklist li.is-current { border-color: rgba(30, 139, 255, 0.35); color: #dbeafe; }
.wx-approval-checklist li.is-pending { color: #94a3b8; }

.wx-approval-summary {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.35);
  font-size: 0.88rem;
}

.wx-approval-summary dt {
  margin: 0;
  color: #94a3b8;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wx-approval-summary dd {
  margin: 0 0 0.5rem;
  color: #e2e8f0;
  font-weight: 600;
}

.wx-contact-phone {
  margin: 0 0 1rem;
  color: var(--wx-text-secondary, #94a3b8);
  font-size: 0.95rem;
}

.wx-help {
  margin: 0.35rem 0 0;
  color: var(--wx-text-muted, #94a3b8);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .wx-marketing-footer .wx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wx-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .wx-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wx-marketing-footer .wx-footer-grid { grid-template-columns: 1fr; }
  .wx-onboarding-nav { flex-direction: column-reverse; align-items: stretch; }
}

/* —— Fase C1: marca WEVEX + nav produtos + vision stubs —— */
.wx-brand-hero {
  position: relative;
  isolation: isolate;
}

.wx-brand-hero__glow {
  position: absolute;
  inset: -18% 10% auto;
  height: min(52vh, 420px);
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(30, 139, 255, 0.28), transparent 55%),
    radial-gradient(ellipse at 70% 35%, rgba(0, 221, 168, 0.18), transparent 50%),
    radial-gradient(ellipse at 55% 70%, rgba(56, 189, 248, 0.12), transparent 45%);
  filter: blur(8px);
  opacity: 0.9;
}

.wx-brand-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 88%);
}

.wx-brand-mark {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
}

.wx-brand-mark__name {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  background: linear-gradient(105deg, #47a4ff 0%, #45edc5 48%, #1e8bff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 28px rgba(30, 139, 255, 0.22));
}

.wx-brand-mark__role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93a0b8;
}

.wx-brand-hero h1 {
  max-width: 16ch;
}

.wx-brand-hero .wx-hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wx-enterprise-public .wx-button:focus-visible,
.wx-enterprise-public .wx-link-arrow:focus-visible,
.wx-enterprise-public .wx-nav a:focus-visible,
.wx-enterprise-public .wx-nav-dropdown__summary:focus-visible,
.wx-enterprise-public .wx-nav-dropdown__panel a:focus-visible {
  outline: 2px solid rgba(71, 164, 255, 0.85);
  outline-offset: 3px;
}

.wx-nav-dropdown {
  position: relative;
}

.wx-nav-dropdown__summary {
  list-style: none;
  cursor: pointer;
  color: #93a0b8;
  font: inherit;
}

.wx-nav-dropdown__summary::-webkit-details-marker {
  display: none;
}

.wx-nav-dropdown__summary::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-inline-start: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  vertical-align: middle;
}

.wx-nav-dropdown[open] > .wx-nav-dropdown__summary,
.wx-nav-dropdown__summary:hover {
  color: #e8ecf5;
}

.wx-nav-dropdown__panel {
  display: grid;
  gap: 0.15rem;
  min-width: 15.5rem;
  padding: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(8, 12, 20, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.wx-nav-dropdown__panel a {
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  text-decoration: none;
  color: #e8ecf5 !important;
}

.wx-nav-dropdown__panel a:hover,
.wx-nav-dropdown__panel a:focus-visible {
  background: rgba(30, 139, 255, 0.12);
}

.wx-nav-dropdown__panel strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.wx-nav-dropdown__panel span {
  color: #93a0b8;
  font-size: 0.72rem;
}

@media (min-width: 901px) {
  .wx-nav-dropdown__panel {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    z-index: 40;
  }
}

@media (max-width: 900px) {
  .wx-nav-dropdown {
    width: 100%;
  }

  .wx-nav-dropdown__summary {
    padding: 0.35rem 0;
  }

  .wx-nav-dropdown__panel {
    margin: 0.35rem 0 0.5rem;
  }
}

.wx-vision-hero .wx-corporate-hero__content {
  max-width: 42rem;
}

.wx-vision-hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.wx-vision-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.wx-vision-pillars li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(9, 13, 22, 0.88);
}

.wx-vision-pillars strong {
  font-size: 0.95rem;
}

.wx-vision-pillars span {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.45;
}

.wx-vision-note {
  margin: 1.75rem 0 0;
  max-width: 40rem;
  color: #94a3b8;
  line-height: 1.55;
}

.wx-vision-note a {
  color: #7dd3fc;
}

@media (min-width: 1100px) {
  .wx-ecosystem-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wx-ecosystem-grid--four .wx-ecosystem-card {
    min-height: 20rem;
  }
}

/* —— C1.1 brand lockup + OS commercial + segment wizard —— */
.wx-brand-wordmark,
.wx-enterprise-public .wx-marketing-header .wx-brand strong.wx-brand-wordmark,
.wx-enterprise-public .wx-marketing-footer .wx-brand strong.wx-brand-wordmark {
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(105deg, #47a4ff 0%, #45edc5 55%, #1e8bff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.wx-enterprise-public .wx-marketing-header .wx-brand small,
.wx-enterprise-public .wx-marketing-footer .wx-brand small,
.wx-onboarding-company small,
.wx-auth-brand-copy small,
.wx-login-brand__chrome small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.wx-product-lockup {
  display: grid;
  gap: 0.2rem;
  margin: 0 0 1rem;
}

.wx-product-lockup__parent {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93a0b8;
}

.wx-product-lockup__name {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, #47a4ff, #45edc5);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.wx-flow-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.wx-flow-rail li {
  position: relative;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(9, 13, 22, 0.9);
  counter-increment: flow;
}

.wx-flow-rail li::before {
  content: counter(flow);
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
}

.wx-flow-rail strong {
  font-size: 0.95rem;
}

.wx-flow-rail span {
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.35;
}

.wx-capability-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.wx-capability-area {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(9, 13, 22, 0.92);
}

.wx-capability-area--ai {
  border-color: rgba(56, 189, 248, 0.28);
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.1), transparent 50%),
    rgba(9, 13, 22, 0.94);
}

.wx-capability-area h3 {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.wx-capability-area ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wx-capability-area li {
  color: #e2e8f0;
  font-size: 0.92rem;
}

.wx-capability-area small {
  color: #94a3b8;
  font-size: 0.72rem;
}

.wx-capability-note {
  margin: 0.35rem 0 0;
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.45;
}

.wx-vertical-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1rem;
}

.wx-vertical-tab,
.wx-type-chip {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5e1;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.wx-vertical-tab.is-active,
.wx-type-chip.is-active,
.wx-vertical-tab:hover,
.wx-type-chip:hover {
  border-color: rgba(71, 164, 255, 0.45);
  color: #f8fafc;
  background: rgba(30, 139, 255, 0.14);
}

.wx-vertical-tab:focus-visible,
.wx-type-chip:focus-visible,
.wx-family-card:focus-visible {
  outline: 2px solid rgba(71, 164, 255, 0.85);
  outline-offset: 2px;
}

.wx-vertical-panel {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(9, 13, 22, 0.9);
}

.wx-vertical-lead {
  margin: 0;
  color: #94a3b8;
  line-height: 1.55;
  max-width: 42rem;
}

.wx-vertical-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wx-vertical-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wx-vertical-caps li {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5e1;
  font-size: 0.78rem;
}

.wx-vertical-preview h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

/* Onboarding segment wizard */
.wx-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wx-family-card {
  display: grid;
  gap: 0.35rem;
  text-align: left;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.wx-family-card strong {
  font-size: 1rem;
}

.wx-family-card span {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.4;
}

.wx-segment-level__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93a0b8;
}

.wx-link-quiet {
  appearance: none;
  border: 0;
  background: none;
  color: #7dd3fc;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  text-decoration: underline;
}

.wx-segment-grid--compact .wx-segment-product-card__features {
  display: none;
}

.wx-segment-preview {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 217, 155, 0.22);
  border-radius: 14px;
  background: rgba(0, 217, 155, 0.06);
}

.wx-segment-preview__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: #e2e8f0;
}

.wx-segment-preview__lead {
  margin: 0 0 0.65rem;
  color: #94a3b8;
  font-size: 0.82rem;
}

.wx-segment-preview__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wx-segment-preview__caps li {
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  font-size: 0.75rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
