@font-face {
  font-family: Poppins;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/poppins-400.3dc5d0c524.woff2) format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/poppins-500.289e0afc8b.woff2) format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/poppins-600.872e862918.woff2) format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/poppins-700.197a3cbd72.woff2) format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/poppins-800.4ef5511d8e.woff2) format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/poppins-900.d1ebe21db0.woff2) format("woff2");
}

:root {
  --navy: #100031;
  --purple: #4e0cdc;
  --pink: #e922cd;
  --grey: #848383;
  --navy-dark: #091a28;
  --header-height: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */

.button {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
}

.button:active {
  transform: translate(2px, 2px);
}

.button--primary {
  background: var(--purple);
  box-shadow: 0 0 21px #1e00ff;
}

.button--primary:hover,
.button--pink:hover {
  background: var(--navy-dark);
}

.button--outline {
  border: 1px solid #fff;
}

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

.button--pink {
  background: var(--pink);
  box-shadow: 0 0 21px 0 var(--pink);
}

.button--big {
  width: 100%;
  max-width: 417px;
  height: 60px;
  font-size: 19px;
  font-weight: 400;
}

/* Header */

/* Transparent over the hero until the page scrolls (toggled in layout.html); always solid on legal pages. */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.header.is-scrolled,
.legal .header {
  background: rgba(7, 11, 28, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__inner img {
  display: block;
  width: 188px;
}

.legal main {
  padding-top: var(--header-height);
}

/* Home: hero */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--navy);
  padding-top: 194px;
}

.hero__background {
  position: absolute;
  inset: 0 0 60px;
  width: 100%;
  height: calc(100% - 60px);
  object-fit: cover;
  object-position: 0% 50%;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 100px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 100px), transparent);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.2;
}

.hero__subtitle {
  margin: 0 0 33px;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  background-image: linear-gradient(270deg, #bc96f8, #5ae1fe 56%, #acff9e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__phone {
  display: block;
  margin-top: 62px;
  margin-bottom: -16.4%;
}

/* Home: feature section */

.feature {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  background: linear-gradient(#240d22, #510e4c);
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 60% 45% at 50% 58%,
      rgba(233, 34, 205, 0.28),
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 30% at 80% 20%,
      rgba(90, 225, 254, 0.12),
      transparent 70%
    );
}

/* Synthwave floor: the top edge is the horizon; the grid is a plane tilted back from it
   so its lines converge there, and it drifts toward the viewer one cell per loop. */
.feature__floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24%;
  overflow: hidden;
  perspective: 240px;
  perspective-origin: 50% 0;
  pointer-events: none;
}

.feature__grid {
  position: absolute;
  top: 0;
  left: -150%;
  width: 400%;
  height: 400%;
  background-image: linear-gradient(
      rgba(255, 134, 250, 0.4) 2px,
      transparent 2px
    ),
    linear-gradient(90deg, rgba(255, 134, 250, 0.4) 2px, transparent 2px);
  background-size: 56px 56px;
  transform-origin: 50% 0;
  transform: rotateX(80deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%);
  mask-image: linear-gradient(to bottom, transparent, #000 6%);
  animation: feature-grid-drift 10s linear infinite;
}

.feature__horizon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #5ae1fe 20%,
    #fff 50%,
    #5ae1fe 80%,
    transparent
  );
  box-shadow: 0 0 12px 2px rgba(90, 225, 254, 0.3),
    0 0 40px 8px rgba(233, 34, 205, 0.15);
  animation: feature-horizon-glow 6s ease-in-out infinite;
}

@keyframes feature-grid-drift {
  to {
    background-position: 0 56px;
  }
}

@keyframes feature-horizon-glow {
  50% {
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature__grid,
  .feature__horizon {
    animation: none;
  }
}

.feature__inner {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
}

.feature__content {
  flex: 0 1 56%;
  max-width: 621px;
}

.feature__title {
  margin: 0 0 6px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  color: var(--pink);
}

.feature__subtitle {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.73;
}

.feature__entry {
  margin: 0 0 40px;
  font-size: 20px;
  line-height: 1.4;
}

.feature__media {
  flex: 0 1 592px;
  min-width: 0;
  margin-left: -96px;
}

@media (max-width: 991px) {
  :root {
    --header-height: 100px;
  }

  .hero__subtitle {
    font-size: 32px;
  }

  .hero__phone {
    margin-bottom: 0;
  }

  .feature {
    padding: 80px 0;
  }

  .feature__inner {
    flex-direction: column;
    gap: 56px;
  }

  .feature__content {
    max-width: 100%;
  }

  .feature__title {
    font-size: 48px;
  }

  .feature__subtitle {
    font-size: 24px;
  }

  .feature__media {
    margin: 0 -45px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 144px;
  }

  .hero__phone {
    max-width: 200px;
    margin-top: 76px;
  }

  .feature {
    padding: 56px 0;
  }

  .feature__entry {
    font-size: 18px;
  }
}

/* Legal documents */

.doc {
  background: #fff;
  color: #111;
}

.doc__inner {
  max-width: 820px;
  padding-top: 64px;
  padding-bottom: 96px;
  line-height: 1.65;
}

.doc__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.15;
}

.doc__meta {
  margin: 0 0 40px;
  color: var(--grey);
}

.doc h2,
.doc h3,
.doc h4,
.doc h5 {
  margin: 2em 0 0.6em;
  line-height: 1.3;
}

.doc h2 {
  font-size: 22px;
}

.doc h3,
.doc h4,
.doc h5 {
  font-size: 18px;
}

.doc ul,
.doc ol {
  padding-left: 24px;
}

.doc li {
  margin: 6px 0;
}

.doc a {
  color: var(--purple);
  overflow-wrap: anywhere;
}

.doc table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.doc th,
.doc td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.doc th {
  background: #f5f4ff;
}

.doc tbody tr:nth-child(even) {
  background: #fafafa;
}

/* Footer */

.footer {
  position: relative;
  padding: 72px 0 32px;
  background: radial-gradient(
      ellipse at top left,
      rgba(78, 12, 220, 0.25),
      transparent 55%
    ),
    #05010f;
  color: rgba(255, 255, 255, 0.72);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #bc96f8,
    #5ae1fe,
    #acff9e,
    transparent
  );
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand {
  max-width: 320px;
}

.footer__brand img {
  display: block;
  width: 180px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 96px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__heading {
  margin: 0 0 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__column a {
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__column a:hover {
  color: #fff;
}

.footer__bottom {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--grey);
  font-size: 13px;
}

@media (max-width: 767px) {
  :root {
    --header-height: 76px;
  }

  .header__inner img {
    width: 140px;
  }

  .footer {
    padding-top: 56px;
  }

  .footer__nav {
    gap: 40px 64px;
  }
}
