/*
 * Compact floating navigation based on the live expensiveclient.su header:
 * 16 px top offset, 58 px shell, 24 px backdrop blur and translucent pill.
 */
.wex-header-island {
  position: fixed !important;
  inset: 16px auto auto 50% !important;
  z-index: 1000 !important;
  width: max-content !important;
  min-width: 0 !important;
  max-width: calc(100vw - 32px) !important;
  height: 58px !important;
  padding: 12px 12px 12px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transform: translateX(-50%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 9999px !important;
  background: rgba(8, 10, 15, 0.16) !important;
  -webkit-backdrop-filter: blur(30px) saturate(125%) !important;
  backdrop-filter: blur(30px) saturate(125%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 40px rgba(0, 0, 0, 0.18) !important;
  font-family: Inter, "SF Pro Display", "Segoe UI", sans-serif !important;
  isolation: isolate;
  pointer-events: auto !important;
}

/* The application bundle still renders its historical header internally.
   Keep one global island as the only visible site header on every SPA route. */
body > #root header[data-header="true"] {
  display: none !important;
}

.wex-header-island::before,
.wex-header-island::after {
  position: absolute;
  inset-block: 0;
  left: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  display: none;
  transform: translateX(280%);
}

.wex-header-island::before {
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  animation: wex-nav-sweep 12s ease-in-out infinite;
}

.wex-header-island::after {
  width: 70%;
  opacity: 0.55;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  animation: wex-nav-sweep-soft 12s ease-in-out infinite;
}

.wex-header-island > * {
  position: relative !important;
  z-index: 1 !important;
}

.wex-header-brand-group {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: auto !important;
  min-width: 0 !important;
}

.wex-header-logo {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  color: rgba(255, 255, 255, 0.96) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  touch-action: manipulation;
}

.wex-header-logo > div {
  display: none !important;
}

.wex-header-brand-logo {
  display: block !important;
  width: 18px !important;
  height: 16px !important;
  flex: 0 0 18px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 7px rgba(110, 116, 227, 0.2));
}

.wex-header-brand {
  font-size: 14px;
  line-height: 20px;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.96);
}

.wex-header-nav-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  padding-left: 15px !important;
  border-left: 0 !important;
}

.wex-header-nav {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  width: auto !important;
}

.wex-header-nav-link {
  display: flex !important;
  align-items: center !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 6px 11px !important;
  box-sizing: border-box !important;
  border-radius: 9999px !important;
  color: rgb(113, 113, 122) !important;
  font-size: 13.5px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: color 160ms ease, background-color 160ms ease !important;
  cursor: pointer !important;
  touch-action: manipulation;
  position: relative !important;
  z-index: 2 !important;
  font-family: GT, sans-serif !important;
}

/* The brand link already returns to the home page, matching the reference nav. */
.wex-header-nav-link[href="/"] {
  display: none !important;
}

.wex-header-nav-link:hover,
.wex-header-nav-link.active,
.wex-header-nav-link[aria-current="page"] {
  color: rgba(255, 255, 255, 0.96) !important;
}

.wex-header-nav-link:hover {
  background: rgba(255, 255, 255, 0.045) !important;
}

.wex-header-actions {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  padding-left: 14px !important;
  border-left: 0 !important;
}

.wex-header-nav-wrap::before,
.wex-header-actions::before {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  content: "";
  pointer-events: none;
}

.wex-header-theme {
  width: 54px !important;
  height: 28px !important;
  flex: 0 0 54px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 1024px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  overflow: hidden !important;
  cursor: pointer !important;
  touch-action: manipulation;
  position: relative !important;
  z-index: 3 !important;
  padding: 0 !important;
}

body[data-theme="light"] .wex-header-theme {
  border-color: rgba(17, 18, 23, 0.12) !important;
  background: rgba(17, 18, 23, 0.045) !important;
}

.wex-header-theme:hover {
  background: rgba(255, 255, 255, 0.045) !important;
}

.wex-header-theme-knob {
  position: absolute !important;
  top: 2px !important;
  left: 3px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: rgba(110, 116, 227, 0.22) !important;
  box-shadow: inset 0 0 0 1px rgba(143, 148, 239, 0.08);
  transform: translateX(0) !important;
  transition: transform 180ms ease !important;
}

.wex-header-theme[aria-pressed="true"] .wex-header-theme-knob {
  transform: translateX(26px) !important;
}

.wex-header-theme-icons {
  position: absolute !important;
  inset: 0 !important;
  padding: 0 !important;
}

.wex-header-theme-icons > div {
  position: absolute !important;
  top: 0 !important;
  width: 22px !important;
  height: 26px !important;
  display: grid !important;
  place-items: center !important;
}

.wex-header-theme-icons > div:first-child {
  left: 3px !important;
}

.wex-header-theme-icons > div:last-child {
  left: 29px !important;
}

.wex-header-theme svg {
  width: 12px !important;
  height: 12px !important;
}

body[data-theme="dark"] .wex-header-theme > div:nth-child(2) > div:first-child {
  opacity: 0.78 !important;
}

body[data-theme="dark"] .wex-header-theme > div:nth-child(2) > div:last-child {
  opacity: 1 !important;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.38));
}

body[data-theme="dark"] .wex-header-theme > div:nth-child(2) > div:first-child svg circle {
  fill: #b4b6c2 !important;
}

body[data-theme="dark"] .wex-header-theme > div:nth-child(2) > div:first-child svg path {
  stroke: #b4b6c2 !important;
}

body[data-theme="dark"] .wex-header-theme > div:nth-child(2) > div:last-child svg path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

body[data-theme="light"] .wex-header-theme > div:nth-child(2) > div:first-child {
  opacity: 1 !important;
}

body[data-theme="light"] .wex-header-theme > div:nth-child(2) > div:last-child {
  opacity: 0.55 !important;
}

body[data-theme="light"] .wex-header-theme > div:nth-child(2) > div:first-child svg circle {
  fill: #17181c !important;
}

body[data-theme="light"] .wex-header-theme > div:nth-child(2) > div:first-child svg path {
  stroke: #17181c !important;
}

body[data-theme="light"] .wex-header-theme > div:nth-child(2) > div:last-child svg path {
  fill: #696b75 !important;
  stroke: #696b75 !important;
}

.wex-header-action-link {
  display: block !important;
  text-decoration: none !important;
  cursor: pointer !important;
  touch-action: manipulation;
  position: relative !important;
  z-index: 3 !important;
}

.wex-header-action-button {
  min-width: 0 !important;
  height: 32px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 9999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgb(113, 113, 122) !important;
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  transition: color 160ms ease, background-color 160ms ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  overflow: hidden !important;
  pointer-events: none !important;
  font-family: InterButton, sans-serif !important;
}

.wex-header-action-button svg {
  position: static !important;
  width: 12px !important;
  height: 12px !important;
  flex: 0 0 12px !important;
  margin: 0 !important;
}

.wex-header-action-link:hover .wex-header-action-button,
.wex-header-action-link:active .wex-header-action-button {
  color: rgba(255, 255, 255, 0.96) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

.wex-header-action-button--primary {
  padding-inline: 16px !important;
  color: rgba(255, 255, 255, 0.96) !important;
  background: rgba(255, 255, 255, 0.085) !important;
  letter-spacing: -0.03em !important;
}

.wex-header-action-link--primary:hover .wex-header-action-button--primary,
.wex-header-action-link--primary:active .wex-header-action-button--primary {
  background: rgba(255, 255, 255, 0.13) !important;
}

.wex-header-logo:focus-visible,
.wex-header-nav-link:focus-visible,
.wex-header-action-link:focus-visible,
.wex-header-theme:focus-visible {
  outline: 2px solid #6e74e3 !important;
  outline-offset: 2px !important;
  border-radius: 9999px !important;
}

.wex-header-mobile {
  display: none !important;
}

.wex-header-mobile-trigger {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.wex-header-mobile-trigger:hover,
.wex-header-mobile-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.06);
}

.wex-header-mobile-trigger svg {
  width: 20px;
  height: 20px;
}

.wex-static-mobile-scrim {
  position: fixed;
  z-index: 1198;
  inset: 0;
  border: 0;
  background: rgba(3, 4, 7, 0.56);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: spectra-mobile-scrim-in 180ms ease-out both;
}

.wex-static-mobile-scrim[hidden],
.wex-static-mobile-menu[hidden] {
  display: none !important;
}

body.spectra-mobile-menu-open {
  overflow: hidden;
}

.wex-static-mobile-menu {
  position: fixed;
  z-index: 1199;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(76vw, 320px);
  flex-direction: column;
  gap: 6px;
  padding: 22px 16px max(22px, env(safe-area-inset-bottom));
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px 0 0 22px;
  background: rgba(15, 15, 17, 0.97);
  -webkit-backdrop-filter: blur(28px) saturate(125%);
  backdrop-filter: blur(28px) saturate(125%);
  box-shadow: -20px 0 64px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  font-family: Inter, "Segoe UI", sans-serif;
  animation: spectra-mobile-drawer-in 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wex-static-mobile-menu-head {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f4f6;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wex-static-mobile-menu-head button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #d8d9df;
  cursor: pointer;
}

.wex-static-mobile-menu-head button:hover {
  background: rgba(255, 255, 255, 0.09);
}

.wex-static-mobile-menu-head svg {
  width: 18px;
  height: 18px;
}

@keyframes spectra-mobile-drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes spectra-mobile-scrim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wex-static-mobile-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 12px;
  color: #9b9ca6;
  font-size: 13px;
  text-decoration: none;
}
.wex-static-mobile-menu a:hover,
.wex-static-mobile-menu a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.wex-static-mobile-menu .wex-static-mobile-account {
  margin-top: auto;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.085);
}

html[data-theme="light"] .wex-static-mobile-menu {
  border-color: rgba(12, 12, 18, 0.12);
  background: rgba(247, 247, 249, 0.94);
  box-shadow: 0 18px 48px rgba(33, 33, 55, 0.14);
}
html[data-theme="light"] .wex-static-mobile-scrim { background: rgba(28, 29, 35, 0.3); }
html[data-theme="light"] .wex-static-mobile-menu-head { color: #17171b; border-color: rgba(12, 12, 18, 0.09); }
html[data-theme="light"] .wex-static-mobile-menu-head button { color: #292a31; background: rgba(12, 12, 18, 0.055); }
html[data-theme="light"] .wex-static-mobile-menu a { color: #666671; }
html[data-theme="light"] .wex-static-mobile-menu a:hover,
html[data-theme="light"] .wex-static-mobile-menu a.active,
html[data-theme="light"] .wex-static-mobile-menu .wex-static-mobile-account { color: #17171b; background: rgba(12, 12, 18, 0.065); }

@media (prefers-reduced-motion: reduce) {
  .wex-static-mobile-menu,
  .wex-static-mobile-scrim {
    animation: none;
  }
}

.spectra-footer-brand > svg {
  display: none !important;
}

.spectra-footer-logo {
  display: block !important;
  width: 24px !important;
  height: 21px !important;
  flex: 0 0 24px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 9px rgba(110, 116, 227, 0.22));
}

.spectra-footer-version-hidden {
  display: none !important;
}

footer[data-spectra-static-footer] {
  width: 100%;
  margin: 0;
  padding: 40px 450px;
  box-sizing: border-box;
  background: rgba(15, 15, 17, 0.153);
  color: #dadaDA;
  font-family: GT, sans-serif;
}

footer[data-spectra-static-footer] > div:first-child {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}

footer[data-spectra-static-footer] > div:first-child > div:first-child {
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer[data-spectra-static-footer] > div:first-child > div:last-child {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

footer[data-spectra-static-footer] .sc-kpOvIu {
  min-width: 112px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer[data-spectra-static-footer] h3,
footer[data-spectra-static-footer] p {
  margin: 0;
}

footer[data-spectra-static-footer] h3 {
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.2;
}

footer[data-spectra-static-footer] ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

footer[data-spectra-static-footer] li,
footer[data-spectra-static-footer] a {
  color: #61636b;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease;
}

footer[data-spectra-static-footer] a:hover { color: #fff; }

footer[data-spectra-static-footer] .spectra-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: GTnormal, GT, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

footer[data-spectra-static-footer] .spectra-footer-brand + p {
  color: #868791;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
}

footer[data-spectra-static-footer] > div:last-child {
  width: 100%;
  margin: 28px 0 0;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(128, 130, 145, 0.16);
}

footer[data-spectra-static-footer] > div:last-child > p {
  color: #61636b;
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

footer[data-spectra-static-footer] > div:last-child > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer[data-spectra-static-footer] > div:last-child > div a,
footer[data-spectra-static-footer] .spectra-footer-social-link,
footer[data-spectra-static-footer] .spectra-footer-social-link:visited {
  width: auto;
  min-width: 20px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #61636b !important;
  line-height: 1 !important;
  vertical-align: middle;
  white-space: nowrap;
}

footer[data-spectra-static-footer] > div:last-child svg {
  display: block;
  max-width: 18px;
  max-height: 18px;
}

.spectra-footer-social-label {
  display: inline-flex;
  height: 18px;
  align-items: center;
  color: currentColor !important;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

html[data-theme="light"] footer[data-spectra-static-footer] {
  background: transparent;
  color: #1c1d20;
}

html[data-theme="light"] footer[data-spectra-static-footer] h3,
html[data-theme="light"] footer[data-spectra-static-footer] .spectra-footer-brand {
  color: #1c1d20;
}

html[data-theme="light"] footer[data-spectra-static-footer] a:hover {
  color: #1c1d20;
}

html[data-theme="light"] footer[data-spectra-static-footer] > div:last-child {
  border-top-color: rgba(28, 29, 32, 0.14);
}

.spectra-footer-legal {
  width: 100%;
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid rgba(128, 130, 145, 0.18);
  color: #717279;
  box-sizing: border-box;
}

.spectra-footer-legal p {
  max-width: 920px;
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
}

.spectra-footer-legal p + p {
  margin-top: 5px;
}

.spectra-content-protected body,
.spectra-content-protected body * {
  -webkit-user-select: none;
  user-select: none;
}

.spectra-content-protected input,
.spectra-content-protected textarea,
.spectra-content-protected [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

.spectra-content-protected img,
.spectra-content-protected svg {
  -webkit-user-drag: none;
  user-drag: none;
}

@keyframes wex-nav-sweep {
  0%, 70% { transform: translateX(-120%); }
  86%, 100% { transform: translateX(360%); }
}

@keyframes wex-nav-sweep-soft {
  0%, 68% { transform: translateX(-120%); }
  88%, 100% { transform: translateX(250%); }
}

@media (prefers-reduced-motion: reduce) {
  .wex-header-island::before,
  .wex-header-island::after {
    animation: none;
    display: none;
  }
}

@media (max-width: 930px) {
  .wex-header-island {
    inset: 12px auto auto 50% !important;
    width: calc(100vw - 24px) !important;
    max-width: 420px !important;
    height: 54px !important;
    padding: 10px 14px !important;
    justify-content: space-between !important;
  }

  .wex-header-nav-wrap,
  .wex-header-actions {
    display: none !important;
  }

  .wex-header-brand-group {
    display: flex !important;
  }

  .wex-header-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: auto !important;
    min-width: 0 !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
    position: relative !important;
    inset: auto !important;
  }

  .wex-header-mobile > div {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .wex-header-mobile > div:first-child button {
    width: 53px !important;
    height: 28px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .wex-header-mobile > div:last-child {
    width: 32px !important;
    height: 32px !important;
    cursor: pointer !important;
    touch-action: manipulation;
  }

  .wex-header-mobile svg {
    color: rgba(255, 255, 255, 0.82) !important;
  }

  .wex-static-mobile-menu:not([hidden]) {
    display: flex;
  }
}

@media (max-width: 600px) {
  .spectra-footer-legal {
    width: calc(100% - 28px);
    margin: 0 14px;
    padding: 18px 0;
  }

  .spectra-footer-legal p {
    font-size: 10px;
  }
}

/* One neutral Spectra canvas: section hierarchy comes from borders and cards, not blue bands. */
body[data-theme="dark"],
html[data-theme="dark"] body,
body[data-theme="dark"] #root,
html[data-theme="dark"] #root {
  background: #0f0f11 !important;
}

body[data-theme="dark"] footer,
html[data-theme="dark"] footer,
body[data-theme="dark"] .spectra-home-story,
html[data-theme="dark"] .spectra-home-story,
body[data-theme="dark"] .spectra-control-showcase,
html[data-theme="dark"] .spectra-control-showcase,
body[data-theme="dark"] .spectra-compact-showcase,
html[data-theme="dark"] .spectra-compact-showcase,
body[data-theme="dark"] .spectra-showcase,
html[data-theme="dark"] .spectra-showcase,
body[data-theme="dark"] .spectra-launch,
html[data-theme="dark"] .spectra-launch,
body[data-theme="dark"] .spectra-modes,
html[data-theme="dark"] .spectra-modes,
body[data-theme="dark"] .spectra-faq-showcase,
html[data-theme="dark"] .spectra-faq-showcase,
body[data-theme="dark"] .spectra-v2-cta,
html[data-theme="dark"] .spectra-v2-cta,
body[data-theme="dark"] .spectra-final-cta,
html[data-theme="dark"] .spectra-final-cta {
  background-color: #0f0f11 !important;
  background-image: none !important;
}

@media (max-width: 1700px) {
  footer[data-spectra-static-footer] {
    padding-right: 200px;
    padding-left: 200px;
  }
}

@media (max-width: 1600px) {
  footer[data-spectra-static-footer] {
    padding-right: 120px;
    padding-left: 120px;
  }
}

@media (max-width: 1200px) {
  footer[data-spectra-static-footer] {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (max-width: 900px) {
  footer[data-spectra-static-footer] {
    padding: 30px 24px;
  }

  footer[data-spectra-static-footer] > div:first-child {
    flex-direction: column;
    gap: 32px;
  }

  footer[data-spectra-static-footer] > div:first-child > div:last-child {
    width: 100%;
    flex-wrap: wrap;
    gap: 28px 16px;
  }

  footer[data-spectra-static-footer] .sc-kpOvIu {
    flex: 1 1 145px;
  }

  .spectra-footer-legal {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 600px) {
  footer[data-spectra-static-footer] {
    padding: 24px 16px;
  }

  footer[data-spectra-static-footer] > div:last-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .spectra-footer-legal {
    width: 100%;
    margin: 0;
  }
}
html,
body,
#root {
  max-width: 100%;
  overflow-x: hidden;
}

.spectra-home-legacy {
  display: none !important;
}

.spectra-home-story {
  --spectra-accent: #6e74e3;
  --spectra-accent-soft: #8f94ef;
  --spectra-surface: #101115;
  --spectra-surface-raised: #15161b;
  --spectra-line: rgba(255, 255, 255, 0.09);
  --spectra-muted: #8c8e99;
  color: #f7f7fb;
  background: var(--spectra-surface);
  font-family: Inter, Arial, sans-serif;
  position: relative;
  z-index: 1;
}

.spectra-home-story *,
.spectra-home-story *::before,
.spectra-home-story *::after {
  box-sizing: border-box;
}

.spectra-story-wrap {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.spectra-story-kicker {
  margin: 0;
  color: var(--spectra-accent-soft);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spectra-story-intro {
  min-height: 860px;
  padding: 152px 0 128px;
  background:
    radial-gradient(circle at 76% 22%, rgba(110, 116, 227, 0.1), transparent 34%),
    linear-gradient(180deg, #0d0e11 0%, #111216 100%);
}

.spectra-story-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 80px;
  margin-top: 30px;
  padding-bottom: 84px;
  border-bottom: 1px solid var(--spectra-line);
}

.spectra-story-heading h2,
.spectra-feature-header h2,
.spectra-final-content h2 {
  margin: 0;
  font-family: InterHigh, Inter, Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -0.065em;
}

.spectra-story-heading h2 {
  max-width: 760px;
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: 0.96;
}

.spectra-story-heading h2 span {
  color: var(--spectra-accent-soft);
}

.spectra-story-heading > p {
  max-width: 380px;
  margin: 0 0 8px;
  color: var(--spectra-muted);
  font-size: 16px;
  line-height: 1.65;
}

.spectra-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
}

.spectra-principles article {
  min-height: 248px;
  padding: 42px 34px 24px 0;
  border-right: 1px solid var(--spectra-line);
}

.spectra-principles article + article {
  padding-left: 34px;
}

.spectra-principles article:last-child {
  border-right: 0;
}

.spectra-principles article > span {
  display: block;
  margin-bottom: 58px;
  color: #5f626e;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.spectra-principles h3 {
  margin: 0 0 12px;
  color: #f5f5f8;
  font-size: 19px;
  font-weight: 620;
}

.spectra-principles p {
  max-width: 280px;
  margin: 0;
  color: var(--spectra-muted);
  font-size: 14px;
  line-height: 1.55;
}

.spectra-feature-stage {
  padding: 150px 0 132px;
  background:
    linear-gradient(90deg, rgba(110, 116, 227, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(110, 116, 227, 0.035) 1px, transparent 1px),
    #0b0c0f;
  background-size: 72px 72px;
}

.spectra-feature-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 66px;
}

.spectra-feature-header h2 {
  max-width: 690px;
  font-size: clamp(48px, 5.7vw, 78px);
  line-height: 0.98;
  text-align: right;
}

.spectra-feature-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  min-height: 486px;
  overflow: hidden;
  border: 1px solid var(--spectra-line);
  border-radius: 28px;
  background: rgba(17, 18, 23, 0.92);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.spectra-feature-tabs {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-right: 1px solid var(--spectra-line);
  background: rgba(6, 7, 9, 0.5);
}

.spectra-feature-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  padding: 0 24px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  color: #777985;
  background: transparent;
  font: 560 15px/1 Inter, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.spectra-feature-tabs button:last-child {
  border-bottom-color: transparent;
}

.spectra-feature-tabs button:hover {
  color: #d8d9df;
  background: rgba(255, 255, 255, 0.035);
}

.spectra-feature-tabs button[aria-selected="true"] {
  color: #ffffff;
  background: rgba(110, 116, 227, 0.15);
}

.spectra-feature-tabs button[aria-selected="true"]:active {
  transform: scale(0.985);
}

.spectra-feature-tabs button span {
  color: #555762;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.spectra-feature-tabs button[aria-selected="true"] span {
  color: var(--spectra-accent-soft);
}

.spectra-feature-tabs button:focus-visible,
.spectra-final-actions a:focus-visible {
  outline: 2px solid var(--spectra-accent-soft);
  outline-offset: 3px;
}

.spectra-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 92px);
  background:
    radial-gradient(circle at 86% 18%, rgba(110, 116, 227, 0.11), transparent 38%);
}

.spectra-feature-eyebrow {
  margin: 0 0 24px;
  color: var(--spectra-accent-soft);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spectra-feature-copy h3 {
  max-width: 650px;
  margin: 0;
  color: #f6f6f9;
  font-family: InterHigh, Inter, Arial, sans-serif;
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.spectra-feature-description {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--spectra-muted);
  font-size: 15px;
  line-height: 1.65;
}

.spectra-module-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 46px;
}

.spectra-module-list span {
  padding: 9px 13px;
  border: 1px solid var(--spectra-line);
  border-radius: 999px;
  color: #b9bbc4;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
}

.spectra-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--spectra-line);
  border-bottom: 1px solid var(--spectra-line);
}

.spectra-proof-row > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 112px;
  padding: 30px 34px;
  border-right: 1px solid var(--spectra-line);
}

.spectra-proof-row > div:last-child {
  border-right: 0;
}

.spectra-proof-row span {
  color: #5f616c;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spectra-proof-row strong {
  color: #d9dae0;
  font-size: 15px;
  font-weight: 560;
}

.spectra-final-cta {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
  overflow: hidden;
  background: #0e0f13;
  text-align: center;
}

.spectra-final-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(880px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(110, 116, 227, 0.2) 0%,
    rgba(110, 116, 227, 0.07) 30%,
    transparent 68%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.spectra-final-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
}

.spectra-final-content h2 {
  margin-top: 26px;
  font-size: clamp(60px, 8vw, 108px);
  line-height: 0.88;
}

.spectra-final-content > p:not(.spectra-story-kicker) {
  margin: 30px auto 0;
  color: var(--spectra-muted);
  font-size: 16px;
  line-height: 1.55;
}

.spectra-final-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 38px;
}

.spectra-final-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 560;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.spectra-final-actions a:hover {
  transform: translateY(-2px);
}

.spectra-final-primary {
  color: #ffffff;
  background: var(--spectra-accent);
  border: 1px solid var(--spectra-accent);
}

.spectra-final-primary:hover {
  background: #7d83ec;
  border-color: #7d83ec;
}

.spectra-final-secondary {
  color: #c5c6cc;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--spectra-line);
}

.spectra-final-secondary:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 820px) {
  .spectra-story-wrap {
    width: min(100% - 32px, 680px);
  }

  .spectra-story-intro {
    min-height: 0;
    padding: 112px 0 86px;
  }

  .spectra-story-heading {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 54px;
  }

  .spectra-story-heading > p {
    margin: 0;
  }

  .spectra-principles {
    grid-template-columns: 1fr;
  }

  .spectra-principles article,
  .spectra-principles article + article {
    min-height: 0;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--spectra-line);
  }

  .spectra-principles article:last-child {
    border-bottom: 0;
  }

  .spectra-principles article > span {
    margin-bottom: 28px;
  }

  .spectra-feature-stage {
    padding: 104px 0 94px;
  }

  .spectra-feature-header {
    display: block;
    margin-bottom: 42px;
  }

  .spectra-feature-header h2 {
    margin-top: 24px;
    text-align: left;
  }

  .spectra-feature-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
  }

  .spectra-feature-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--spectra-line);
  }

  .spectra-feature-tabs button {
    min-height: 56px;
    padding: 0 14px;
  }

  .spectra-feature-copy {
    min-height: 410px;
    padding: 44px 28px;
  }

  .spectra-proof-row {
    grid-template-columns: 1fr;
  }

  .spectra-proof-row > div {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--spectra-line);
  }

  .spectra-proof-row > div:last-child {
    border-bottom: 0;
  }

  .spectra-final-cta {
    min-height: 590px;
  }
}

@media (max-width: 520px) {
  .spectra-story-heading h2 {
    font-size: 48px;
  }

  .spectra-feature-header h2 {
    font-size: 46px;
  }

  .spectra-feature-copy h3 {
    font-size: 38px;
  }

  .spectra-final-content h2 {
    font-size: 64px;
  }

  .spectra-final-actions {
    flex-direction: column;
  }

  .spectra-final-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spectra-feature-tabs button,
  .spectra-final-actions a {
    transition: none;
  }
}

/* Spectra homepage v2: product-led blocks and purposeful motion */
.spectra-home-story-v2 {
  --spectra-v2-bg: #0f0f11;
  --spectra-v2-surface: #121214;
  --spectra-v2-surface-2: #171719;
  --spectra-v2-surface-3: #1c1c1f;
  --spectra-v2-line: rgba(255, 255, 255, 0.09);
  --spectra-v2-line-strong: rgba(143, 148, 239, 0.28);
  --spectra-v2-accent: #6e74e3;
  --spectra-v2-accent-soft: #9398f3;
  --spectra-v2-text: #f6f6fa;
  --spectra-v2-muted: #9a9ca8;
  color: var(--spectra-v2-text);
  background: var(--spectra-v2-bg);
  font-family: Inter, Arial, sans-serif;
}

.spectra-home-story-v2 button,
.spectra-home-story-v2 a {
  font: inherit;
  touch-action: manipulation;
}

.spectra-home-story-v2 button {
  color: inherit;
}

.spectra-home-story-v2 a {
  color: inherit;
}

.spectra-home-story-v2 svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.spectra-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

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

.spectra-v2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--spectra-v2-accent-soft);
  font-size: 12px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spectra-v2-kicker svg {
  font-size: 15px;
}

.spectra-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.55fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 64px;
}

.spectra-section-head h2,
.spectra-centered-head h2,
.spectra-faq-side h2,
.spectra-v2-cta-card h2 {
  margin: 24px 0 0;
  font-family: InterHigh, Inter, Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -0.06em;
}

.spectra-section-head h2 {
  max-width: 760px;
  font-size: clamp(54px, 6vw, 86px);
  line-height: 0.94;
}

.spectra-section-head h2 span,
.spectra-v2-cta-card h2 span {
  color: var(--spectra-v2-accent-soft);
}

.spectra-section-head > p {
  max-width: 365px;
  margin: 0 0 8px;
  color: var(--spectra-v2-muted);
  font-size: 15px;
  line-height: 1.65;
}

.spectra-showcase {
  position: relative;
  padding: 150px 0 108px;
  background: #0d0e13;
}

.spectra-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(245px, auto) minmax(270px, auto) minmax(210px, auto);
  gap: 14px;
}

.spectra-bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 26px;
  background: var(--spectra-v2-surface);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.2);
}

.spectra-bento-card:hover {
  border-color: var(--spectra-v2-line-strong);
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.28);
}

.spectra-bento-live {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
  padding: 30px;
  background: #14151c;
}

.spectra-bento-stat {
  grid-column: 8 / span 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: #17182a;
}

.spectra-bento-version {
  grid-column: 11 / span 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #22233d;
}

.spectra-bento-category {
  grid-column: 8 / span 5;
  grid-row: 2;
  padding: 28px;
  background: #111217;
}

.spectra-bento-config {
  grid-column: 1 / span 12;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1.15fr) minmax(220px, 0.7fr);
  align-items: center;
  gap: 34px;
  padding: 30px;
  background: #14151b;
}

.spectra-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spectra-card-head > div {
  min-width: 0;
}

.spectra-card-head p,
.spectra-bento-version > p {
  margin: 0 0 5px;
  color: #737681;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spectra-card-head h3,
.spectra-bento-version h3,
.spectra-bento-category h3,
.spectra-bento-config h3 {
  margin: 0;
  color: var(--spectra-v2-text);
  font-family: InterHigh, Inter, Arial, sans-serif;
  font-weight: 620;
  letter-spacing: -0.035em;
}

.spectra-card-head h3 {
  font-size: 22px;
}

.spectra-card-icon,
.spectra-step-icon,
.spectra-mode-copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(143, 148, 239, 0.25);
  border-radius: 14px;
  color: var(--spectra-v2-accent-soft);
  background: rgba(110, 116, 227, 0.1);
}

.spectra-card-icon svg,
.spectra-step-icon svg {
  font-size: 20px;
}

.spectra-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 10px;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 999px;
  color: #8d909b;
  font-size: 11px;
}

.spectra-online i,
.spectra-loadout-head b i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fe0b0;
  box-shadow: 0 0 12px rgba(127, 224, 176, 0.65);
}

.spectra-online b {
  color: #d7d8de;
}

.spectra-live-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 38px;
}

.spectra-module-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 18px;
  background: #0e0f13;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.spectra-module-toggle:hover {
  border-color: rgba(143, 148, 239, 0.32);
  background: #111219;
}

.spectra-module-toggle:active {
  transform: scale(0.985);
}

.spectra-module-toggle > span:first-child {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}

.spectra-module-toggle > span:first-child > svg {
  grid-row: 1 / span 2;
  color: #747784;
  font-size: 18px;
}

.spectra-module-toggle[aria-pressed="true"] > span:first-child > svg {
  color: var(--spectra-v2-accent-soft);
}

.spectra-module-toggle b {
  color: #e6e6eb;
  font-size: 14px;
  font-weight: 620;
}

.spectra-module-toggle small {
  margin-top: 5px;
  color: #666974;
  font-size: 11px;
}

.spectra-switch {
  position: relative;
  width: 34px;
  height: 20px;
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #272933;
  transition: background-color 180ms ease;
}

.spectra-switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #777985;
  content: "";
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.spectra-module-toggle[aria-pressed="true"] .spectra-switch {
  background: var(--spectra-v2-accent);
}

.spectra-module-toggle[aria-pressed="true"] .spectra-switch::after {
  background: #ffffff;
  transform: translateX(14px);
}

.spectra-bento-stat > .spectra-card-icon {
  align-self: flex-end;
}

.spectra-bento-stat > div {
  display: flex;
  align-items: end;
  gap: 10px;
}

.spectra-bento-stat strong,
.spectra-category-top strong {
  color: #ffffff;
  font-family: InterHigh, Inter, Arial, sans-serif;
  font-size: clamp(64px, 6vw, 92px);
  font-weight: 650;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.spectra-bento-stat > div span {
  padding-bottom: 5px;
  color: var(--spectra-v2-accent-soft);
  font-size: 15px;
  font-weight: 620;
}

.spectra-bento-stat > p,
.spectra-bento-config > p {
  max-width: 260px;
  margin: 0;
  color: #8c8e99;
  font-size: 13px;
  line-height: 1.55;
}

.spectra-version-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 68px;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.055);
}

.spectra-bento-version h3 {
  font-size: 28px;
  line-height: 0.95;
}

.spectra-bento-version > span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #b6b8c3;
  font-size: 11px;
}

.spectra-bento-version > span svg {
  color: #9ca1ff;
}

.spectra-category-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.spectra-category-top strong {
  font-size: 76px;
}

.spectra-bento-category h3 {
  margin-top: 14px;
  font-size: 24px;
}

.spectra-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.spectra-category-list span,
.spectra-module-ticker span {
  border: 1px solid var(--spectra-v2-line);
  border-radius: 999px;
  color: #a6a8b2;
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
}

.spectra-category-list span {
  padding: 8px 10px;
}

.spectra-config-state {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 15px;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 17px;
  background: #0d0e12;
}

.spectra-config-state > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #8ce5b8;
  background: rgba(80, 190, 133, 0.1);
}

.spectra-config-state b,
.spectra-config-state small {
  display: block;
}

.spectra-config-state b {
  color: #dedfe4;
  font-size: 13px;
}

.spectra-config-state small {
  margin-top: 4px;
  color: #6f727d;
  font-size: 11px;
}

.spectra-config-state time {
  color: #696c77;
  font-size: 11px;
}

.spectra-module-ticker {
  margin-top: 18px;
  overflow: hidden;
  border-top: 1px solid var(--spectra-v2-line);
  border-bottom: 1px solid var(--spectra-v2-line);
}

.spectra-module-ticker > div {
  display: flex;
  width: max-content;
  gap: 9px;
  padding: 17px 0;
  animation: spectra-ticker 28s linear infinite;
}

.spectra-module-ticker span {
  padding: 9px 14px;
  white-space: nowrap;
}

@keyframes spectra-ticker {
  to {
    transform: translateX(-50%);
  }
}

.spectra-launch {
  padding: 140px 0 150px;
  background: #0a0b0e;
}

.spectra-centered-head {
  max-width: 760px;
  margin: 0 auto 78px;
  text-align: center;
}

.spectra-centered-head .spectra-v2-kicker {
  justify-content: center;
}

.spectra-centered-head h2 {
  font-size: clamp(54px, 6vw, 82px);
  line-height: 0.96;
}

.spectra-centered-head > p {
  max-width: 570px;
  margin: 24px auto 0;
  color: var(--spectra-v2-muted);
  font-size: 15px;
  line-height: 1.6;
}

.spectra-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.spectra-step-track {
  position: absolute;
  top: 25px;
  right: 16.66%;
  left: 16.66%;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.spectra-step-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--spectra-v2-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 180ms;
}

.spectra-steps.is-visible .spectra-step-track span {
  transform: scaleX(1);
}

.spectra-steps article {
  position: relative;
  padding: 0 44px;
  text-align: center;
}

.spectra-step-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  border-radius: 16px;
  background: #13141a;
  box-shadow: 0 0 0 10px #0a0b0e;
}

.spectra-steps small {
  color: #696c77;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.spectra-steps h3 {
  margin: 15px 0 12px;
  color: #f2f2f6;
  font-size: 20px;
  font-weight: 620;
}

.spectra-steps article > p {
  max-width: 290px;
  margin: 0 auto;
  color: #888b96;
  font-size: 13px;
  line-height: 1.6;
}

.spectra-steps article > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 21px;
  color: var(--spectra-v2-accent-soft);
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
}

.spectra-steps article > a:hover svg {
  transform: translate(2px, -2px);
}

.spectra-steps article > a svg {
  transition: transform 180ms ease;
}

.spectra-modes {
  padding: 148px 0;
  background: #0e0f14;
}

.spectra-section-head-compact {
  margin-bottom: 58px;
}

.spectra-mode-stage {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 28px;
  background: #111218;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.spectra-mode-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-right: 1px solid var(--spectra-v2-line);
  background: #0c0d11;
}

.spectra-mode-tabs button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #747681;
  text-align: left;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.spectra-mode-tabs button:hover {
  color: #c3c4cc;
  background: rgba(255, 255, 255, 0.025);
}

.spectra-mode-tabs button[aria-selected="true"] {
  border-color: rgba(143, 148, 239, 0.2);
  color: #ffffff;
  background: rgba(110, 116, 227, 0.12);
}

.spectra-mode-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 12px;
  color: #777a86;
  background: #121319;
}

.spectra-mode-tabs button[aria-selected="true"] .spectra-mode-tab-icon {
  border-color: rgba(143, 148, 239, 0.28);
  color: var(--spectra-v2-accent-soft);
}

.spectra-mode-tabs button > span:nth-child(2) {
  font-size: 14px;
  font-weight: 590;
}

.spectra-mode-tabs button small {
  color: #565964;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.spectra-mode-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  align-items: center;
  gap: 54px;
  padding: clamp(44px, 5vw, 74px);
  transition:
    opacity 130ms ease,
    transform 130ms ease;
}

.spectra-mode-content.is-changing {
  opacity: 0.35;
  transform: translateY(5px);
}

.spectra-mode-copy-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 42px;
  border-radius: 17px;
}

.spectra-mode-copy-icon svg {
  font-size: 23px;
}

.spectra-mode-copy > p {
  margin: 0 0 14px;
  color: var(--spectra-v2-accent-soft);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.spectra-mode-copy h3 {
  margin: 0;
  color: #f5f5f8;
  font-family: InterHigh, Inter, Arial, sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.055em;
}

.spectra-mode-copy > div {
  max-width: 430px;
  margin-top: 24px;
  color: #91939e;
  font-size: 14px;
  line-height: 1.65;
}

.spectra-loadout {
  padding: 16px;
  border: 1px solid rgba(143, 148, 239, 0.2);
  border-radius: 23px;
  background: #0a0b0e;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.spectra-loadout-head,
.spectra-loadout-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spectra-loadout-head {
  min-height: 52px;
  padding: 0 8px 14px;
  border-bottom: 1px solid var(--spectra-v2-line);
}

.spectra-loadout-head > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c9cad1;
  font-size: 12px;
  font-weight: 620;
}

.spectra-loadout-head b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8e918f;
  font-size: 10px;
  font-weight: 560;
}

.spectra-loadout-list {
  display: grid;
  gap: 8px;
  padding: 14px 0;
}

.spectra-loadout-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 8px;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 0 15px;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 14px;
  background: #111217;
}

.spectra-loadout-list > div > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dddde3;
  font-size: 12px;
  font-weight: 580;
}

.spectra-loadout-list > div > span svg {
  color: var(--spectra-v2-accent-soft);
}

.spectra-loadout-list small {
  color: #5e606b;
  font-size: 10px;
}

.spectra-loadout-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fe0b0;
  box-shadow: 0 0 12px rgba(127, 224, 176, 0.5);
}

.spectra-loadout-foot {
  padding: 13px 8px 3px;
  color: #686b75;
  font-size: 11px;
}

.spectra-loadout-foot strong {
  color: #b9bbc4;
  font-weight: 620;
}

.spectra-faq-showcase {
  padding: 150px 0;
  background: #0a0b0e;
}

.spectra-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
  align-items: center;
  gap: 72px;
}

.spectra-faq-side h2 {
  font-size: clamp(56px, 6vw, 84px);
  line-height: 0.92;
}

.spectra-accordion {
  margin-top: 52px;
  border-top: 1px solid var(--spectra-v2-line);
}

.spectra-accordion article {
  border-bottom: 1px solid var(--spectra-v2-line);
}

.spectra-accordion button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d8d9df;
  font-size: 15px;
  font-weight: 590;
  text-align: left;
  cursor: pointer;
}

.spectra-accordion button svg {
  color: #737681;
  font-size: 18px;
  transition: transform 220ms ease;
}

.spectra-accordion article.is-open button svg {
  color: var(--spectra-v2-accent-soft);
  transform: rotate(180deg);
}

.spectra-accordion article > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.spectra-accordion article > div > p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #898c97;
  font-size: 13px;
  line-height: 1.6;
}

.spectra-accordion article.is-open > div {
  grid-template-rows: 1fr;
}

.spectra-accordion article.is-open > div > p {
  padding: 0 34px 22px 0;
}

.spectra-faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.spectra-v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 999px;
  color: #c4c6cf;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.spectra-v2-button:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.spectra-v2-button-primary {
  border-color: var(--spectra-v2-accent);
  color: #ffffff;
  background: var(--spectra-v2-accent);
}

.spectra-v2-button-primary:hover {
  border-color: #7d83ec;
  background: #7d83ec;
}

.spectra-menu-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 28px;
  background: #121318;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.spectra-menu-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 8px 12px;
}

.spectra-menu-card-top > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9cad1;
  font-size: 12px;
  font-weight: 620;
}

.spectra-menu-card-top > span svg {
  color: var(--spectra-v2-accent-soft);
}

.spectra-menu-card-top small {
  color: #656873;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spectra-menu-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.628;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 19px;
  object-fit: cover;
}

.spectra-menu-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 10px 12px;
}

.spectra-menu-caption p {
  margin: 0 0 7px;
  color: #757883;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.spectra-menu-caption h3 {
  margin: 0;
  color: #f1f1f5;
  font-family: InterHigh, Inter, Arial, sans-serif;
  font-size: 30px;
  font-weight: 620;
  letter-spacing: -0.04em;
}

.spectra-menu-caption > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(143, 148, 239, 0.28);
  border-radius: 50%;
  color: #ffffff;
  background: var(--spectra-v2-accent);
  text-decoration: none;
  transition: transform 180ms ease;
}

.spectra-menu-caption > a:hover {
  transform: rotate(8deg) scale(1.04);
}

.spectra-v2-cta {
  padding: 28px 0 120px;
  background: #0a0b0e;
}

.spectra-v2-cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 590px;
  justify-content: center;
  overflow: hidden;
  padding: 80px 30px;
  border: 1px solid rgba(143, 148, 239, 0.25);
  border-radius: 34px;
  background: #17182b;
  text-align: center;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.35);
}

.spectra-v2-cta-card > img {
  margin-bottom: 28px;
  filter: drop-shadow(0 0 24px rgba(110, 116, 227, 0.42));
}

.spectra-v2-cta-card h2 {
  font-size: clamp(66px, 8vw, 108px);
  line-height: 0.87;
}

.spectra-v2-cta-card > p:not(.spectra-v2-kicker) {
  margin: 28px 0 0;
  color: #a3a5b2;
  font-size: 15px;
}

.spectra-v2-cta-card > div {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.spectra-tilt {
  --spectra-rotate-x: 0deg;
  --spectra-rotate-y: 0deg;
  transform:
    perspective(1000px)
    rotateX(var(--spectra-rotate-x))
    rotateY(var(--spectra-rotate-y));
  transform-style: preserve-3d;
  transition:
    opacity 700ms ease,
    transform 220ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.spectra-tilt[data-reveal] {
  transform:
    perspective(1000px)
    translateY(34px)
    rotateX(var(--spectra-rotate-x))
    rotateY(var(--spectra-rotate-y));
}

.spectra-tilt[data-reveal].is-visible {
  transform:
    perspective(1000px)
    translateY(0)
    rotateX(var(--spectra-rotate-x))
    rotateY(var(--spectra-rotate-y));
}

.spectra-module-toggle:focus-visible,
.spectra-mode-tabs button:focus-visible,
.spectra-accordion button:focus-visible,
.spectra-v2-button:focus-visible,
.spectra-steps a:focus-visible,
.spectra-menu-caption a:focus-visible {
  outline: 2px solid var(--spectra-v2-accent-soft);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .spectra-section-head {
    gap: 42px;
  }

  .spectra-bento {
    grid-template-rows: auto;
  }

  .spectra-bento-live {
    grid-column: 1 / span 12;
    grid-row: auto;
  }

  .spectra-bento-stat {
    grid-column: 1 / span 5;
    grid-row: auto;
  }

  .spectra-bento-version {
    grid-column: 6 / span 3;
    grid-row: auto;
  }

  .spectra-bento-category {
    grid-column: 9 / span 4;
    grid-row: auto;
  }

  .spectra-bento-config {
    grid-column: 1 / span 12;
    grid-row: auto;
  }

  .spectra-mode-stage {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .spectra-mode-content {
    grid-template-columns: 1fr;
  }

  .spectra-mode-copy-icon {
    margin-bottom: 22px;
  }

  .spectra-faq-grid {
    grid-template-columns: 1fr;
  }

  .spectra-faq-side {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .spectra-shell {
    width: min(100% - 32px, 620px);
  }

  .spectra-showcase,
  .spectra-launch,
  .spectra-modes,
  .spectra-faq-showcase {
    padding: 98px 0;
  }

  .spectra-section-head {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 42px;
  }

  .spectra-section-head > p {
    margin: 0;
  }

  .spectra-section-head h2,
  .spectra-centered-head h2,
  .spectra-faq-side h2 {
    font-size: 48px;
  }

  .spectra-bento {
    display: flex;
    flex-direction: column;
  }

  .spectra-bento-live,
  .spectra-bento-stat,
  .spectra-bento-version,
  .spectra-bento-category,
  .spectra-bento-config {
    min-height: 0;
  }

  .spectra-bento-live {
    padding: 22px;
  }

  .spectra-live-panel {
    grid-template-columns: 1fr;
  }

  .spectra-module-toggle {
    min-height: 86px;
  }

  .spectra-bento-stat,
  .spectra-bento-version,
  .spectra-bento-category {
    min-height: 250px;
  }

  .spectra-bento-config {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .spectra-bento-config > p {
    max-width: none;
  }

  .spectra-centered-head {
    margin-bottom: 54px;
  }

  .spectra-steps {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .spectra-step-track {
    display: none;
  }

  .spectra-steps article {
    padding: 0;
  }

  .spectra-mode-stage {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
  }

  .spectra-mode-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--spectra-v2-line);
  }

  .spectra-mode-tabs button {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 64px;
    padding: 0 10px;
  }

  .spectra-mode-tabs button small {
    display: none;
  }

  .spectra-mode-tab-icon {
    width: 34px;
    height: 34px;
  }

  .spectra-mode-content {
    gap: 34px;
    padding: 32px 20px;
  }

  .spectra-mode-copy h3 {
    font-size: 40px;
  }

  .spectra-faq-grid {
    gap: 54px;
  }

  .spectra-menu-caption h3 {
    font-size: 24px;
  }

  .spectra-v2-cta {
    padding: 18px 0 80px;
  }

  .spectra-v2-cta-card {
    min-height: 520px;
    border-radius: 26px;
  }

  .spectra-v2-cta-card h2 {
    font-size: 58px;
  }
}

@media (max-width: 440px) {
  .spectra-section-head h2,
  .spectra-centered-head h2,
  .spectra-faq-side h2 {
    font-size: 42px;
  }

  .spectra-card-head {
    align-items: flex-start;
  }

  .spectra-online {
    padding: 7px;
    font-size: 10px;
  }

  .spectra-bento-live {
    padding: 18px;
  }

  .spectra-config-state {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .spectra-config-state time {
    display: none;
  }

  .spectra-mode-tabs button > span:nth-child(2) {
    font-size: 12px;
  }

  .spectra-mode-copy h3 {
    font-size: 36px;
  }

  .spectra-loadout-list > div {
    padding: 0 11px;
  }

  .spectra-menu-card {
    padding: 10px;
    border-radius: 22px;
  }

  .spectra-menu-caption {
    align-items: center;
    padding: 20px 5px 8px;
  }

  .spectra-menu-caption p {
    display: none;
  }

  .spectra-menu-caption h3 {
    font-size: 21px;
  }

  .spectra-menu-caption > a {
    width: 46px;
    height: 46px;
  }

  .spectra-v2-cta-card {
    padding: 64px 18px;
  }

  .spectra-v2-cta-card h2 {
    font-size: 50px;
  }

  .spectra-v2-cta-card > div {
    width: 100%;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spectra-home-story-v2 *,
  .spectra-home-story-v2 *::before,
  .spectra-home-story-v2 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .spectra-home-story-v2 [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .spectra-module-ticker > div {
    animation: none !important;
  }
}

/* Compact direction selected after review: showcase, launch, original CTA */
.spectra-compact-showcase {
  padding: 144px 0 126px;
  background: #0d0e12;
}

.spectra-compact-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 58px;
}

.spectra-compact-head h2 {
  margin: 24px 0 0;
  color: #f7f7fa;
  font-family: InterHigh, Inter, Arial, sans-serif;
  font-size: clamp(56px, 6.2vw, 88px);
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.spectra-compact-head h2 span {
  color: var(--spectra-v2-accent-soft);
}

.spectra-compact-head > p {
  max-width: 390px;
  margin: 0 0 7px;
  color: #9699a5;
  font-size: 15px;
  line-height: 1.65;
}

.spectra-compact-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
  gap: 18px;
}

.spectra-compact-facts,
.spectra-compact-menu {
  overflow: hidden;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 28px;
  background: #121318;
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.28);
}

.spectra-compact-facts {
  display: flex;
  flex-direction: column;
  padding: 14px 24px 22px;
}

.spectra-compact-facts article {
  border-bottom: 1px solid var(--spectra-v2-line);
}

.spectra-compact-facts article > button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 92px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.spectra-compact-fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 14px;
  color: #777a87;
  background: #0d0e12;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
}

.spectra-compact-facts article.is-open .spectra-compact-fact-icon {
  border-color: rgba(143, 148, 239, 0.3);
  color: var(--spectra-v2-accent-soft);
  background: rgba(110, 116, 227, 0.1);
}

.spectra-compact-facts button > span:nth-child(2) b,
.spectra-compact-facts button > span:nth-child(2) small {
  display: block;
}

.spectra-compact-facts button > span:nth-child(2) b {
  color: #dfe0e6;
  font-size: 15px;
  font-weight: 620;
}

.spectra-compact-facts button > span:nth-child(2) small {
  margin-top: 6px;
  color: #71747f;
  font-size: 11px;
}

.spectra-compact-facts button > svg {
  color: #666975;
  font-size: 18px;
  transition:
    color 200ms ease,
    transform 220ms ease;
}

.spectra-compact-facts article.is-open button > svg {
  color: var(--spectra-v2-accent-soft);
  transform: rotate(180deg);
}

.spectra-compact-facts article > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.spectra-compact-facts article > div > p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #9598a4;
  font-size: 13px;
  line-height: 1.6;
}

.spectra-compact-facts article.is-open > div {
  grid-template-rows: 1fr;
}

.spectra-compact-facts article.is-open > div > p {
  padding: 0 34px 22px 58px;
}

.spectra-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 24px;
}

.spectra-compact-menu {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: #101116;
}

.spectra-compact-menu-bar,
.spectra-compact-menu > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spectra-compact-menu-bar {
  min-height: 48px;
  padding: 0 9px 12px;
}

.spectra-compact-menu-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d0d1d7;
  font-size: 12px;
  font-weight: 620;
}

.spectra-compact-menu-bar small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #727580;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.spectra-compact-menu-bar small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fe0b0;
  box-shadow: 0 0 12px rgba(127, 224, 176, 0.6);
}

.spectra-compact-menu-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--spectra-v2-line);
  border-radius: 20px;
  background: #07080a;
}

.spectra-compact-menu-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;
  filter: brightness(1.12) contrast(1.03);
  object-fit: cover;
  transform: scale(1.025) translateY(10px);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.spectra-compact-menu.is-visible .spectra-compact-menu-image img {
  transform: scale(1) translateY(0);
}

.spectra-compact-menu > footer {
  min-height: 76px;
  padding: 12px 10px 0;
}

.spectra-compact-menu > footer div small,
.spectra-compact-menu > footer div b {
  display: block;
}

.spectra-compact-menu > footer div small {
  margin-bottom: 5px;
  color: #6c6f7a;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.spectra-compact-menu > footer div b {
  color: #e2e3e8;
  font-size: 14px;
  font-weight: 620;
}

.spectra-compact-menu > footer > span {
  color: #7b7e89;
  font-size: 11px;
}

.spectra-launch-compact {
  padding: 126px 0 134px;
}

.spectra-home-story-compact .spectra-centered-head {
  margin-bottom: 68px;
}

.spectra-home-story-compact .spectra-centered-head h2 {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.spectra-home-story-compact .spectra-final-cta {
  min-height: 650px;
}

.spectra-home-story-compact .spectra-final-content[data-reveal] {
  width: min(760px, calc(100% - 40px));
}

.spectra-compact-facts button:focus-visible {
  outline: 2px solid var(--spectra-v2-accent-soft);
  outline-offset: -2px;
  border-radius: 12px;
}

@media (max-width: 960px) {
  .spectra-compact-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .spectra-compact-head > p {
    margin: 0;
  }

  .spectra-compact-grid {
    grid-template-columns: 1fr;
  }

  .spectra-compact-facts {
    min-height: 610px;
  }

  .spectra-compact-menu-image img {
    min-height: 0;
    aspect-ratio: 1.628;
  }
}

@media (max-width: 620px) {
  .spectra-compact-showcase {
    padding: 98px 0 86px;
  }

  .spectra-compact-head {
    margin-bottom: 40px;
  }

  .spectra-compact-head h2 {
    font-size: 46px;
  }

  .spectra-compact-facts,
  .spectra-compact-menu {
    border-radius: 22px;
  }

  .spectra-compact-facts {
    min-height: 0;
    padding: 8px 17px 18px;
  }

  .spectra-compact-facts article > button {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    min-height: 84px;
    gap: 11px;
  }

  .spectra-compact-fact-icon {
    width: 40px;
    height: 40px;
  }

  .spectra-compact-facts button > span:nth-child(2) small {
    display: none;
  }

  .spectra-compact-facts article.is-open > div > p {
    padding: 0 24px 20px 51px;
  }

  .spectra-compact-actions {
    flex-direction: column;
  }

  .spectra-compact-actions .spectra-v2-button {
    width: 100%;
  }

  .spectra-compact-menu {
    padding: 10px;
  }

  .spectra-compact-menu-bar {
    min-height: 42px;
    padding: 0 5px 8px;
  }

  .spectra-compact-menu-image {
    border-radius: 16px;
  }

  .spectra-compact-menu > footer {
    min-height: 66px;
    padding: 10px 5px 0;
  }

  .spectra-compact-menu > footer > span {
    display: none;
  }

  .spectra-launch-compact {
    padding: 96px 0 104px;
  }

  .spectra-home-story-compact .spectra-final-cta {
    min-height: 590px;
  }
}

/* 2026-08 audit fixes: stable theme controls, one light canvas and two
   deliberate footer layouts instead of breakpoint-dependent wrapping. */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

.wex-header-brand,
.wex-static-mobile-brand,
footer[data-spectra-static-footer] .spectra-footer-brand {
  font-weight: 500 !important;
}

/* Keep one footer composition across every compact viewport. */
@media (max-width: 900px) {
  footer[data-spectra-static-footer] > div:first-child {
    display: block !important;
  }

  footer[data-spectra-static-footer] > div:first-child > div:first-child {
    min-width: 0 !important;
    margin-bottom: 32px !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  footer[data-spectra-static-footer]
    > div:first-child
    > div:last-child {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-items: stretch !important;
    align-items: start !important;
    gap: 30px 18px !important;
    text-align: left !important;
  }

  footer[data-spectra-static-footer] .sc-kpOvIu {
    width: auto !important;
    min-width: 0 !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 620px) {
  .spectra-feature-index::before {
    display: none !important;
  }

  .spectra-feature-index {
    padding-top: 20px !important;
  }

  .spectra-feature-index > header {
    border-bottom: 0 !important;
  }

  .spectra-feature-list {
    border-top-width: 1px !important;
    border-top-style: solid !important;
  }

  .spectra-feature-list article {
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
  }

  .spectra-feature-list article + article {
    margin-top: 0 !important;
  }
}

#spectra-control-title,
#spectra-launch-title,
#spectra-final-title {
  scroll-margin-top: 110px;
}

body[data-theme="light"]:not(.spectra-home-hero-active)
  .wex-header-mobile-trigger,
body[data-theme="light"]:not(.spectra-home-hero-active)
  .wex-header-mobile
  svg {
  color: #1c1d22 !important;
  stroke: currentColor !important;
}

body[data-theme="light"] .spectra-home-story-compact,
body[data-theme="light"] .spectra-home-story-compact > section,
body[data-theme="light"] .spectra-control-showcase,
body[data-theme="light"] .spectra-launch,
body[data-theme="light"] .spectra-final-cta {
  background-color: #ffffff !important;
}

body[data-theme="light"] .spectra-hero-dimmed::after {
  background:
    linear-gradient(
      180deg,
      rgba(3, 5, 9, 0.54) 0%,
      rgba(3, 5, 9, 0.58) 52%,
      rgba(7, 8, 12, 0.8) 78%,
      #ffffff 100%
    ) !important;
}

@media (min-width: 541px) and (max-width: 900px) {
  footer[data-spectra-static-footer]
    > div:first-child
    > div:last-child {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 30px 24px !important;
  }

  footer[data-spectra-static-footer] .sc-kpOvIu {
    width: auto !important;
    min-width: 0 !important;
  }
}

@media (max-width: 540px) {
  footer[data-spectra-static-footer] > div:first-child,
  footer[data-spectra-static-footer]
    > div:first-child
    > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 30px !important;
    text-align: center !important;
  }

  footer[data-spectra-static-footer] > div:first-child > div:first-child,
  footer[data-spectra-static-footer] .sc-kpOvIu {
    min-width: 0 !important;
    align-items: center !important;
  }
}

/* Delta-like hero scrim: same image, lower luminance and a deep bottom fade. */
.spectra-hero-dimmed {
  position: relative !important;
  isolation: isolate;
}

.spectra-hero-dimmed.spectra-hero-v3 {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background-image: url("/assets/spectra-hero-fortress-v3.webp") !important;
  background-position: center 46% !important;
  background-size: cover !important;
}

.spectra-hero-v3 .container {
  width: min(760px, calc(100% - 40px)) !important;
}

.spectra-hero-v3 h1 {
  max-width: 760px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  font-size: clamp(46px, 5.2vw, 70px) !important;
  letter-spacing: -0.052em !important;
  line-height: 0.98 !important;
}

.spectra-hero-v3 h1 + div,
.spectra-hero-v3 h1 ~ div {
  max-width: 620px;
}

.spectra-hero-v3 p {
  font-size: clamp(14px, 1.15vw, 16px) !important;
  line-height: 1.55 !important;
}

.spectra-hero-dimmed::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(3, 5, 9, 0.54) 0%,
      rgba(3, 5, 9, 0.58) 52%,
      rgba(7, 8, 12, 0.8) 78%,
      #0d0e12 100%
    );
  content: "";
  pointer-events: none;
}

.spectra-hero-dimmed > * {
  position: relative !important;
  z-index: 1 !important;
}

/* Open two-column feature brief inspired by the supplied support layout. */
.spectra-control-showcase {
  padding: 142px 0 134px;
  background: #0d0e12;
}

.spectra-feature-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(78px, 9vw, 148px);
  max-width: 1110px;
  min-height: 560px;
  margin: 0 auto;
}

.spectra-brief-copy {
  display: flex;
  flex-direction: column;
}

.spectra-brief-copy h2 {
  max-width: 610px;
  margin: 24px 0 0;
  color: #f5f5f8;
  font-family: InterHigh, Inter, Arial, sans-serif;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 610;
  line-height: 0.94;
  letter-spacing: -0.067em;
}

.spectra-brief-copy h2 span {
  color: var(--spectra-v2-accent-soft);
}

.spectra-feature-lead {
  max-width: 510px;
  margin: 24px 0 0;
  color: #9496a1;
  font-size: 15px;
  line-height: 1.7;
}

.spectra-feature-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.spectra-feature-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: #bfc1cb;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 560;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.spectra-feature-links > a:hover {
  border-color: rgba(143, 148, 239, 0.24);
  color: #f3f3f7;
  background: rgba(110, 116, 227, 0.09);
  transform: translateY(-2px);
}

.spectra-feature-links > a > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.spectra-feature-links svg {
  width: 15px;
  height: 15px;
  color: var(--spectra-v2-accent-soft);
}

.spectra-feature-links > a > svg {
  width: 14px;
  height: 14px;
  color: #696c77;
}

.spectra-feature-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 0;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  color: #656873;
  font-size: 10px;
}

.spectra-feature-note svg {
  width: 14px;
  height: 14px;
  color: #8e92a0;
}

.spectra-feature-index {
  position: relative;
  padding: 28px 0 10px 42px;
}

.spectra-feature-index::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12) 14%, rgba(255, 255, 255, 0.12) 86%, transparent);
  content: "";
}

.spectra-feature-index > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  color: #c5c7d0;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spectra-feature-index > header small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6e717c;
  font-size: 9px;
  font-weight: 520;
}

.spectra-feature-index > header small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #78dca9;
  box-shadow: 0 0 12px rgba(120, 220, 169, 0.5);
}

.spectra-feature-score {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 24px 0 27px;
}

.spectra-feature-score strong {
  color: #f2f2f6;
  font-family: InterHigh, Inter, Arial, sans-serif;
  font-size: clamp(78px, 8vw, 106px);
  font-weight: 580;
  line-height: 0.78;
  letter-spacing: -0.075em;
}

.spectra-feature-score > span {
  padding-bottom: 2px;
}

.spectra-feature-score b,
.spectra-feature-score small {
  display: block;
}

.spectra-feature-score b {
  color: var(--spectra-v2-accent-soft);
  font-size: 22px;
  font-weight: 610;
  letter-spacing: -0.04em;
}

.spectra-feature-score small {
  max-width: 190px;
  margin-top: 4px;
  color: #696c77;
  font-size: 10px;
  line-height: 1.45;
}

.spectra-feature-list {
  border-top: 1px solid rgba(255, 255, 255, 0.085);
}

.spectra-feature-list article {
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.spectra-feature-list article > button {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 64px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.spectra-feature-list button > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 34px;
  border: 0;
  border-radius: 0;
  color: #777a86;
  background: transparent;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.spectra-feature-list article.is-open button > span:first-child {
  color: var(--spectra-v2-accent-soft);
  transform: scale(1.08);
}

.spectra-feature-list button > span:first-child svg {
  width: 19px;
  height: 19px;
}

.spectra-feature-list button > span:nth-child(2) b,
.spectra-feature-list button > span:nth-child(2) small {
  display: block;
}

.spectra-feature-list button > span:nth-child(2) b {
  color: #d8d9df;
  font-size: 13px;
  font-weight: 610;
}

.spectra-feature-list button > span:nth-child(2) small {
  margin-top: 4px;
  color: #686b76;
  font-size: 10px;
}

.spectra-feature-list button > svg {
  width: 28px;
  height: 28px;
  padding: 8px;
  border-radius: 50%;
  color: #747782;
  background: rgba(255, 255, 255, 0.035);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 220ms ease;
}

.spectra-feature-list article.is-open button > svg {
  color: #ececf2;
  background: rgba(110, 116, 227, 0.13);
  transform: rotate(45deg);
}

.spectra-feature-list article > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.spectra-feature-list article > div > p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #8d909a;
  font-size: 11px;
  line-height: 1.65;
}

.spectra-feature-list article.is-open > div {
  grid-template-rows: 1fr;
}

.spectra-feature-list article.is-open > div > p {
  padding: 0 36px 17px 39px;
}

.spectra-feature-list button:focus-visible,
.spectra-feature-links a:focus-visible {
  outline: 2px solid var(--spectra-v2-accent-soft);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .spectra-feature-brief {
    grid-template-columns: 1fr;
    gap: 72px;
    max-width: 680px;
  }

  .spectra-feature-index {
    padding: 42px 0 0;
  }

  .spectra-feature-index::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12) 14%, rgba(255, 255, 255, 0.12) 86%, transparent);
  }
}

@media (max-width: 620px) {
  .spectra-control-showcase {
    padding: 92px 0 88px;
  }

  .spectra-feature-brief {
    gap: 56px;
  }

  .spectra-brief-copy h2 {
    font-size: 48px;
  }

  .spectra-feature-lead {
    font-size: 13px;
  }

  .spectra-feature-links {
    grid-template-columns: 1fr;
  }

  .spectra-feature-links > a {
    min-height: 48px;
  }

  .spectra-feature-note {
    align-items: flex-start;
    line-height: 1.5;
  }

  .spectra-feature-index {
    padding-top: 34px;
  }

  .spectra-feature-score strong {
    font-size: 82px;
  }

  .spectra-feature-index > header small {
    display: none;
  }

  .spectra-feature-list button > span:nth-child(2) small {
    display: none;
  }

  .spectra-feature-list article > button {
    min-height: 62px;
  }

  .spectra-feature-list article {
    border-bottom: 0;
  }

  .spectra-feature-list article + article {
    margin-top: 2px;
  }

  .spectra-feature-list article.is-open > div > p {
    padding-left: 39px;
  }
}

/* Keep the step number on its own row and every pictogram optically centered. */
.spectra-step-icon {
  display: flex;
  margin-bottom: 12px;
}

.spectra-steps small {
  display: block;
  margin: 0 auto 22px;
}

.spectra-steps h3 {
  margin-top: 0;
}

/* Theme parity for the custom Spectra sections and floating island. */
body[data-theme="dark"] .wex-header-brand-logo,
body[data-theme="dark"] .spectra-footer-logo {
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 7px rgba(110, 116, 227, 0.2)) !important;
}

body[data-theme="dark"] .wex-header-brand,
body[data-theme="dark"] .wex-header-logo {
  color: rgba(255, 255, 255, 0.96) !important;
}

body[data-theme="light"] .wex-header-island {
  border-color: rgba(17, 18, 23, 0.12) !important;
  background: rgba(255, 255, 255, 0.58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 14px 40px rgba(31, 33, 45, 0.1) !important;
}

body[data-theme="light"] .wex-header-brand-logo,
body[data-theme="light"] .spectra-footer-logo {
  filter:
    brightness(0)
    drop-shadow(0 0 7px rgba(110, 116, 227, 0.12)) !important;
}

body[data-theme="light"] .wex-header-brand,
body[data-theme="light"] .wex-header-logo {
  color: #17181c !important;
}

body[data-theme="light"] .wex-header-nav-wrap,
body[data-theme="light"] .wex-header-actions {
  border-left-color: transparent !important;
}

body[data-theme="light"] .wex-header-nav-wrap::before,
body[data-theme="light"] .wex-header-actions::before {
  background: rgba(17, 18, 23, 0.09);
}

body[data-theme="light"] .wex-header-nav-link,
body[data-theme="light"] .wex-header-action-button {
  color: #6c6e78 !important;
}

body[data-theme="light"] .wex-header-nav-link:hover,
body[data-theme="light"] .wex-header-nav-link.active,
body[data-theme="light"] .wex-header-nav-link[aria-current="page"],
body[data-theme="light"] .wex-header-action-link:hover .wex-header-action-button {
  color: #17181c !important;
  background: rgba(17, 18, 23, 0.05) !important;
}

body[data-theme="light"] .wex-header-action-button--primary {
  color: #17181c !important;
  background: rgba(17, 18, 23, 0.075) !important;
}

body[data-theme="light"] .wex-header-theme > div:first-child {
  background: rgba(17, 18, 23, 0.085) !important;
}

body[data-theme="light"] .wex-header-theme:hover {
  background: rgba(17, 18, 23, 0.05) !important;
}

.spectra-support-unavailable {
  opacity: 0.38 !important;
  filter: saturate(0.15) !important;
  cursor: not-allowed !important;
  color: #777982 !important;
  box-shadow: none !important;
  transition: opacity 180ms ease, filter 180ms ease, color 180ms ease !important;
}

button.spectra-support-unavailable,
.wex-header-action-link.spectra-support-unavailable
  .wex-header-action-button {
  background: rgba(122, 124, 134, 0.08) !important;
  border-color: rgba(122, 124, 134, 0.12) !important;
}

.wex-header-nav-link.spectra-support-unavailable,
.wex-header-nav-link.spectra-support-unavailable:hover,
.wex-header-nav-link.spectra-support-unavailable:focus-visible {
  border-color: transparent !important;
  background: transparent !important;
}

.spectra-support-maintenance-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  max-width: min(360px, calc(100vw - 40px));
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #1b1b20;
  color: #f4f4f7;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  font-size: 13px;
  font-weight: 600;
}

body[data-theme="light"] .spectra-hero-dimmed::after {
  background:
    linear-gradient(
      180deg,
      rgba(3, 5, 9, 0.48) 0%,
      rgba(3, 5, 9, 0.55) 54%,
      rgba(69, 71, 83, 0.64) 76%,
      rgba(244, 245, 248, 0.92) 92%,
      #f4f5f8 100%
    );
}

body[data-theme="light"] .spectra-home-story-v2 {
  --spectra-v2-bg: #f4f5f8;
  --spectra-v2-surface: #ffffff;
  --spectra-v2-surface-2: #f0f1f5;
  --spectra-v2-surface-3: #e8eaf0;
  --spectra-v2-line: rgba(24, 26, 34, 0.11);
  --spectra-v2-line-strong: rgba(110, 116, 227, 0.34);
  --spectra-v2-text: #17181d;
  --spectra-v2-muted: #656873;
  color: var(--spectra-v2-text);
  background: var(--spectra-v2-bg);
}

body[data-theme="light"] .spectra-control-showcase {
  background: #f4f5f8;
}

body[data-theme="light"] .spectra-brief-copy h2,
body[data-theme="light"] .spectra-feature-score strong,
body[data-theme="light"] .spectra-centered-head h2,
body[data-theme="light"] .spectra-steps h3,
body[data-theme="light"] .spectra-final-content h2 {
  color: #17181d;
}

body[data-theme="light"] .spectra-feature-lead,
body[data-theme="light"] .spectra-centered-head > p,
body[data-theme="light"] .spectra-steps article > p,
body[data-theme="light"] .spectra-final-content > p:not(.spectra-story-kicker) {
  color: #646772;
}

body[data-theme="light"] .spectra-feature-index > header,
body[data-theme="light"] .spectra-feature-list,
body[data-theme="light"] .spectra-feature-list article {
  border-color: rgba(24, 26, 34, 0.11);
}

body[data-theme="light"] .spectra-feature-note,
body[data-theme="light"] .spectra-feature-score small,
body[data-theme="light"] .spectra-feature-list button > span:nth-child(2) small {
  color: #737681;
}

body[data-theme="light"] .spectra-feature-links > a {
  border-color: rgba(24, 26, 34, 0.08);
  color: #42444d;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 5px 18px rgba(31, 33, 45, 0.035);
}

body[data-theme="light"] .spectra-feature-links > a:hover {
  border-color: rgba(110, 116, 227, 0.28);
  color: #17181d;
  background: rgba(110, 116, 227, 0.08);
}

body[data-theme="light"] .spectra-feature-links > a > svg {
  color: #7a7d87;
}

body[data-theme="light"] .spectra-feature-note {
  border-bottom-color: rgba(24, 26, 34, 0.12);
}

body[data-theme="light"] .spectra-feature-index::before {
  background: linear-gradient(180deg, transparent, rgba(24, 26, 34, 0.14) 14%, rgba(24, 26, 34, 0.14) 86%, transparent);
}

body[data-theme="light"] .spectra-feature-index > header {
  color: #52545e;
}

body[data-theme="light"] .spectra-feature-list button > span:first-child {
  color: #777a85;
}

body[data-theme="light"] .spectra-feature-list article.is-open button > span:first-child,
body[data-theme="light"] .spectra-feature-list article.is-open button > svg {
  color: #666cda;
}

body[data-theme="light"] .spectra-feature-list button > span:nth-child(2) b {
  color: #30323a;
}

body[data-theme="light"] .spectra-feature-list button > svg {
  color: #70737e;
  background: rgba(24, 26, 34, 0.05);
}

body[data-theme="light"] .spectra-feature-list article.is-open button > svg {
  background: rgba(110, 116, 227, 0.1);
}

body[data-theme="light"] .spectra-feature-list article > div > p {
  color: #646772;
}

body[data-theme="light"] .spectra-launch {
  background: #ffffff;
}

body[data-theme="light"] .spectra-step-track {
  background: rgba(24, 26, 34, 0.12);
}

body[data-theme="light"] .spectra-step-icon {
  color: #666cda;
  background: #f3f4f8;
  box-shadow: 0 0 0 10px #ffffff;
}

body[data-theme="light"] .spectra-steps small {
  color: #767984;
}

body[data-theme="light"] .spectra-final-cta {
  background: #f2f3f7;
}

body[data-theme="light"] .spectra-final-secondary {
  border-color: rgba(24, 26, 34, 0.12);
  color: #3e4048;
  background: rgba(255, 255, 255, 0.72);
}

body[data-theme="light"] .spectra-final-secondary:hover {
  border-color: rgba(24, 26, 34, 0.18);
  background: #ffffff;
}

@media (max-width: 980px) {
  body[data-theme="light"] .spectra-feature-index::before {
    background: linear-gradient(90deg, transparent, rgba(24, 26, 34, 0.14) 14%, rgba(24, 26, 34, 0.14) 86%, transparent);
  }
}

/* 2026-07 refinement: calmer steps, one footer divider, centered auth, unclipped CTA. */
.spectra-step-track {
  top: 28px;
}

.spectra-step-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  color: #ffffff;
  background: #16171a;
  box-shadow: 0 0 0 10px #0a0b0e;
}

.spectra-step-icon svg {
  width: 22px;
  height: 22px;
  color: currentColor;
  stroke-width: 1.8;
}

.spectra-steps small {
  margin-bottom: 24px;
}

body[data-theme="light"] .spectra-step-icon {
  border-color: rgba(24, 26, 34, 0.14);
  color: #30323a;
  background: #ffffff;
  box-shadow: 0 0 0 10px #ffffff;
}

.spectra-home-story-compact .spectra-final-cta,
.spectra-final-cta {
  min-height: 920px;
}

.spectra-final-glow {
  width: min(820px, 88vw);
}

footer > .spectra-footer-legal {
  padding: 20px 0 12px;
  border-top: 1px solid rgba(128, 130, 145, 0.16);
}

footer > .spectra-footer-legal + div {
  margin-top: 0 !important;
  padding-top: 14px !important;
  border-top: 0 !important;
}

.auth-page > div {
  position: relative !important;
  isolation: isolate !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #090a0d !important;
}

.auth-page > div::before,
.auth-page > div::after {
  position: absolute;
  content: "" !important;
  pointer-events: none;
}

.auth-page > div::before {
  inset: -28px;
  z-index: 0;
  background:
    url("/assets/spectra-hero-fortress-v3.webp")
    center 46% / cover no-repeat;
  filter: blur(9px) brightness(0.82) saturate(0.78);
  transform: scale(1.04);
}

.auth-page > div::after {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(10, 11, 16, 0.04), rgba(5, 6, 9, 0.2) 58%, rgba(5, 6, 9, 0.4)),
    rgba(5, 6, 9, 0.12);
}

.auth-page > div > div:first-child {
  position: relative !important;
  z-index: 1 !important;
  width: min(520px, calc(100% - 40px)) !important;
  min-width: 0 !important;
  max-width: 520px !important;
  flex: 0 1 520px !important;
  margin: 0 auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  align-items: center !important;
  text-align: center !important;
  border: 0 !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

.auth-page > div > div:first-child::before,
.auth-page > div > div:first-child::after {
  display: none !important;
  content: none !important;
}

.auth-page > div > div:first-child > div:first-child {
  display: none !important;
}

.auth-page form {
  width: min(440px, 100%) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.auth-page form label {
  display: block;
  width: 100%;
  text-align: left;
}

@media (max-width: 960px) {
  .spectra-home-story-compact .spectra-final-cta,
  .spectra-final-cta {
    min-height: 760px;
  }
}

@media (max-width: 600px) {
  .spectra-step-icon {
    width: 52px;
    height: 52px;
  }

  .spectra-home-story-compact .spectra-final-cta,
  .spectra-final-cta {
    min-height: 680px;
  }

  footer > .spectra-footer-legal {
    padding: 18px 0 10px;
  }

  .auth-page > div > div:first-child {
    width: 100% !important;
    max-width: 440px !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
    box-sizing: border-box !important;
  }

  .auth-page > div::before {
    background-position: 72% 46%;
  }

  .spectra-hero-v3 h1 {
    font-size: clamp(40px, 12vw, 54px) !important;
  }
}

/* Keep the hero cinematic in both themes; only the content below it changes theme. */
body[data-theme="light"] .spectra-hero-dimmed::after {
  background:
    linear-gradient(
      180deg,
      rgba(3, 5, 9, 0.54) 0%,
      rgba(3, 5, 9, 0.58) 52%,
      rgba(7, 8, 12, 0.8) 78%,
      #0d0e12 100%
    ) !important;
}

/* One clean footer divider with enough breathing room on both sides. */
footer > .spectra-footer-legal {
  display: none !important;
}

footer > div:last-child {
  margin-top: 28px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(128, 130, 145, 0.16) !important;
}

@media (max-width: 600px) {
  footer > div:last-child {
    margin-top: 24px !important;
    padding-top: 18px !important;
  }
}
/* The shared footer must not inherit browser/default link underlines from
   route bundles. Hover is expressed through color only. */
footer a,
footer a:visited,
footer a:hover,
footer a:active {
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* 2026-08 UI pass: clearer section separation and calmer typography. */
.spectra-home-story-compact {
  display: grid;
  gap: 0;
  padding: 0;
  background: #0f0f11 !important;
}

.spectra-home-story-compact > section {
  min-width: 0;
}

.spectra-step-icon {
  box-shadow: 0 0 0 11px #0f0f11 !important;
}

.spectra-feature-index > header,
.spectra-feature-score b,
.spectra-feature-list button > span:nth-child(2) b,
.spectra-steps h3,
.spectra-steps article > a,
.spectra-feature-links > a {
  font-family: Inter, "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
}

.spectra-brief-copy h2,
.spectra-centered-head h2,
.spectra-final-content h2,
.spectra-hero-v3 h1 {
  font-weight: 600 !important;
}

body[data-theme="light"] .spectra-home-story-compact {
  background: #ffffff !important;
}

body[data-theme="light"] .spectra-step-icon {
  box-shadow: 0 0 0 11px #ffffff !important;
}

/* The cinematic hero stays dark, so its floating island also stays dark in
   light mode instead of becoming a pale pill over a night image. */
body[data-theme="light"].spectra-home-hero-active .wex-header-island {
  border-color: rgba(255, 255, 255, 0.13) !important;
  background: rgba(8, 10, 15, 0.58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 40px rgba(0, 0, 0, 0.22) !important;
}

body[data-theme="light"].spectra-home-hero-active .wex-header-brand-logo {
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 7px rgba(255, 255, 255, 0.12)) !important;
}

body[data-theme="light"].spectra-home-hero-active .wex-header-brand,
body[data-theme="light"].spectra-home-hero-active .wex-header-logo,
body[data-theme="light"].spectra-home-hero-active
  .wex-header-nav-link:hover,
body[data-theme="light"].spectra-home-hero-active
  .wex-header-nav-link.active,
body[data-theme="light"].spectra-home-hero-active
  .wex-header-nav-link[aria-current="page"],
body[data-theme="light"].spectra-home-hero-active
  .wex-header-action-link:hover
  .wex-header-action-button {
  color: rgba(255, 255, 255, 0.96) !important;
}

body[data-theme="light"].spectra-home-hero-active .wex-header-nav-link,
body[data-theme="light"].spectra-home-hero-active .wex-header-action-button {
  color: rgba(196, 198, 208, 0.68) !important;
}

body[data-theme="light"].spectra-home-hero-active
  .wex-header-action-button--primary {
  color: #f5f6fb !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

body[data-theme="light"].spectra-home-hero-active
  :is(.wex-header-nav-wrap, .wex-header-actions)::before {
  background: rgba(255, 255, 255, 0.11) !important;
}

body[data-theme="light"].spectra-home-hero-active .wex-header-theme:hover,
body[data-theme="light"].spectra-home-hero-active .wex-header-nav-link:hover {
  background: rgba(255, 255, 255, 0.055) !important;
}

/* Brand labels and their glyphs intentionally share one exact tone. */
footer[data-spectra-static-footer] .spectra-footer-social-link,
footer[data-spectra-static-footer] .spectra-footer-social-link:visited,
footer[data-spectra-static-footer] .spectra-footer-social-link svg,
footer[data-spectra-static-footer] .spectra-footer-social-link span {
  color: #70727b !important;
}

footer[data-spectra-static-footer] .spectra-footer-social-link path {
  fill: currentColor !important;
}

html[data-theme="light"]
  footer[data-spectra-static-footer]
  .spectra-footer-social-link,
html[data-theme="light"]
  footer[data-spectra-static-footer]
  .spectra-footer-social-link:visited,
html[data-theme="light"]
  footer[data-spectra-static-footer]
  .spectra-footer-social-link
  svg,
html[data-theme="light"]
  footer[data-spectra-static-footer]
  .spectra-footer-social-link
  span {
  color: #5f626c !important;
}

/* The mobile drawer has a brand row and a separate navigation label. */
.wex-static-mobile-brand {
  display: inline-flex !important;
  min-height: 44px !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 8px !important;
  color: #f4f4f6 !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.wex-static-mobile-brand img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.wex-static-mobile-menu-label {
  margin: 4px 0 6px;
  padding: 0 15px;
  color: #6f717c;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

html[data-theme="light"] .wex-static-mobile-brand {
  color: #17171b !important;
}

html[data-theme="light"] .wex-static-mobile-brand img {
  filter: brightness(0);
}

/* Keep every header glyph on the cinematic dark palette while the hero image
   is still visible. Below the hero the regular light tokens take over. */
body[data-theme="light"].spectra-home-hero-active .wex-header-theme {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

body[data-theme="light"].spectra-home-hero-active
  .wex-header-theme > div:nth-child(2) > div:first-child svg circle {
  fill: #ffffff !important;
}

body[data-theme="light"].spectra-home-hero-active
  .wex-header-theme > div:nth-child(2) > div:first-child svg path {
  stroke: #ffffff !important;
}

body[data-theme="light"].spectra-home-hero-active
  .wex-header-theme > div:nth-child(2) > div:last-child svg path {
  fill: #9b9eaa !important;
  stroke: #9b9eaa !important;
}

body[data-theme="light"].spectra-home-hero-active .wex-header-mobile-trigger {
  color: #d9dae0 !important;
}

body[data-theme="light"].spectra-home-hero-active .wex-static-mobile-menu {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 15, 17, 0.97);
  box-shadow: -20px 0 64px rgba(0, 0, 0, 0.35);
}

body[data-theme="light"].spectra-home-hero-active .wex-static-mobile-brand {
  color: #f4f4f6 !important;
}

body[data-theme="light"].spectra-home-hero-active .wex-static-mobile-brand img {
  filter: brightness(0) invert(1);
}

body[data-theme="light"].spectra-home-hero-active .wex-static-mobile-menu a:not(.wex-static-mobile-brand) {
  color: #9b9ca6;
  background: transparent;
}

body[data-theme="light"].spectra-home-hero-active .wex-static-mobile-menu a:hover,
body[data-theme="light"].spectra-home-hero-active .wex-static-mobile-menu a.active,
body[data-theme="light"].spectra-home-hero-active .wex-static-mobile-menu .wex-static-mobile-account {
  color: #fff;
  background: rgba(255, 255, 255, 0.065);
}

@media (max-width: 620px) {
  /* One separator between the intro and module index is enough on phones. */
  .spectra-feature-note {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .spectra-feature-index > header {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

/* Final typography precedence over legacy component classes. */
.wex-header-brand,
.wex-static-mobile-brand,
footer[data-spectra-static-footer] .spectra-footer-brand {
  font-weight: 500 !important;
}

/* Final responsive invariants. This intentionally comes after every legacy
   mobile rule so the same left-aligned composition survives at all widths. */
@media (max-width: 900px) {
  footer[data-spectra-static-footer] > div:first-child {
    display: block !important;
  }

  footer[data-spectra-static-footer] > div:first-child > div:first-child {
    min-width: 0 !important;
    margin-bottom: 32px !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  footer[data-spectra-static-footer]
    > div:first-child
    > div:last-child {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-items: stretch !important;
    align-items: start !important;
    gap: 30px 18px !important;
    text-align: left !important;
  }

  footer[data-spectra-static-footer] .sc-kpOvIu {
    width: auto !important;
    min-width: 0 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
}

@media (max-width: 620px) {
  .spectra-feature-index::before {
    display: none !important;
  }

  .spectra-feature-index {
    padding-top: 20px !important;
  }

  .spectra-feature-index > header {
    border-bottom: 0 !important;
  }

  .spectra-feature-list {
    border-top-width: 1px !important;
    border-top-style: solid !important;
    border-top-color: rgba(255, 255, 255, 0.085) !important;
  }

  .spectra-feature-list article {
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
    border-bottom-color: rgba(255, 255, 255, 0.085) !important;
  }

  .spectra-feature-list article + article {
    margin-top: 0 !important;
  }

  body[data-theme="light"] .spectra-feature-list {
    border-top-color: rgba(17, 18, 23, 0.1) !important;
  }

  body[data-theme="light"] .spectra-feature-list article {
    border-bottom-color: rgba(17, 18, 23, 0.1) !important;
  }
}
