body {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mad-home {
  position: relative;
  display: block;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.vex-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.vex-hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.icp-footer {
  position: fixed;
  z-index: 4;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.icp-footer a {
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, .28);
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(18px) saturate(150%);
  pointer-events: auto;
}

.icp-footer a:hover {
  color: #fff;
}

.vex-header {
  padding: 24px 24px 0;
}

.vex-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 8px 16px;
  border-radius: 12px;
}

.vex-wordmark,
.vex-navbar a {
  color: inherit;
  text-decoration: none;
}

.vex-wordmark {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.vex-nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}

.vex-nav-links a {
  transition: color 180ms ease;
}

.vex-nav-links a:hover {
  color: #d1d5db;
}

.vex-account-summary,
.vex-primary-button,
.vex-secondary-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.vex-account-menu {
  position: relative;
  z-index: 5;
}

.vex-account-summary {
  display: flex;
  gap: 9px;
  min-width: 124px;
  padding: 5px 10px 5px 6px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .92);
  color: #000 !important;
  cursor: pointer;
}

.vex-account-summary:hover,
.vex-primary-button:hover {
  background: #f3f4f6;
}

.vex-account-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.vex-account-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.vex-account-copy strong {
  max-width: 110px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vex-account-copy small {
  color: #52525b;
  font-size: 10px;
  white-space: nowrap;
}

.vex-account-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 148px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
  backdrop-filter: blur(18px) saturate(150%);
}

.vex-account-popover a,
.vex-account-popover button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  padding: 10px 12px;
  background: transparent;
  color: #111827 !important;
  font: inherit;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.vex-account-popover a:hover,
.vex-account-popover button:hover {
  background: rgba(17, 24, 39, .08);
}

.vex-account-popover[hidden] {
  display: none !important;
}

.vex-account-popover [hidden] {
  display: none !important;
}

.vex-hero-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px 48px;
  text-align: center;
}

.vex-hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.vex-hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vex-center-slogan {
  margin: 0;
  font-size: clamp(36px, 5.4vw, 84px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.vex-center-action {
  margin-top: 32px;
}

.vex-animated-heading {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.vex-heading-line {
  display: block;
}

.vex-heading-char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.vex-heading-char.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.vex-subheading {
  max-width: 650px;
  margin: 0 0 20px;
  color: #d1d5db;
  font-size: 16px;
  line-height: 1.55;
}

.vex-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.vex-primary-button,
.vex-secondary-button {
  padding: 12px 32px;
}

.vex-primary-button {
  background: #fff;
  color: #000;
}

.vex-secondary-button {
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
}

.vex-secondary-button:hover {
  background: #fff;
  color: #000;
}

.vex-tag-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.vex-tag {
  position: relative;
  z-index: 1;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 300;
}

.vex-fade-in {
  opacity: 0;
  transition-property: opacity;
  transition-timing-function: ease;
  transition-duration: 1000ms;
}

.vex-fade-in.is-visible {
  opacity: 1;
}

.liquid-glass {
  background: rgba(238, 242, 246, .18);
  background-blend-mode: luminosity;
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, .48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -1px 0 rgba(0, 0, 0, .08),
    0 16px 40px rgba(8, 15, 25, .14);
  position: relative;
  overflow: hidden;
}

.vex-navbar.liquid-glass {
  overflow: visible;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, .3) 0%,
    rgba(255, 255, 255, .1) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, .1) 80%,
    rgba(255, 255, 255, .3) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

body:has(.mad-home:not(.is-hidden)) .site-contact-widget {
  display: none;
}

@media (min-width: 768px) {
  .vex-header {
    padding-right: 48px;
    padding-left: 48px;
  }

  .vex-nav-links {
    display: flex;
  }

  .vex-hero-content {
    padding-right: 48px;
    padding-left: 48px;
  }

  .vex-animated-heading {
    font-size: 48px;
  }

  .vex-subheading {
    font-size: 18px;
  }

  .vex-tag {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .vex-header {
    padding-right: 64px;
    padding-left: 64px;
  }

  .vex-hero-content {
    padding-right: 64px;
    padding-bottom: 64px;
    padding-left: 64px;
  }

  .vex-animated-heading {
    font-size: 60px;
  }

}

@media (min-width: 1280px) {
  .vex-animated-heading {
    font-size: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vex-heading-char {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .vex-fade-in {
    opacity: 1;
    transition: none;
  }
}

@media (max-width: 520px) {
  .vex-wordmark {
    font-size: 20px;
  }

  .vex-account-summary {
    min-width: 0;
    padding-right: 6px;
  }

  .vex-account-copy small {
    display: none;
  }

  .vex-account-copy strong {
    max-width: 74px;
  }

  .vex-center-slogan {
    max-width: 330px;
    font-size: 42px;
  }
}
