@font-face {
  font-family: "Lilita One";
  src: url("assets/fonts/lilita-one.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-semibold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-extrabold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  color-scheme: dark;
  font-family: "Poppins", Arial, sans-serif;
  background: #1710a1;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
}

.landing {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(19, 32, 197, 0.92) 0, rgba(19, 32, 197, 0) 31%),
    linear-gradient(101deg, #4e1671 17%, #2a30bc 62%, #1b0773 88%);
}

.landing::after {
  position: absolute;
  z-index: 2;
  top: 27.5%;
  left: 0;
  width: 100%;
  height: 31.5%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(66, 44, 157, 0.58), transparent);
}

.honeycomb {
  position: absolute;
  z-index: 1;
  display: none;
  width: 42vw;
  height: 58vh;
  opacity: 0.9;
  background:
    linear-gradient(30deg, transparent 44%, #4054ef 45% 51%, transparent 52%) 0 0 / 17vw 19vw,
    linear-gradient(150deg, transparent 44%, #4054ef 45% 51%, transparent 52%) 0 0 / 17vw 19vw,
    linear-gradient(90deg, transparent 40%, rgba(28, 13, 87, 0.7) 41% 68%, transparent 69%) 0 0 / 17vw 19vw;
  filter: drop-shadow(0 18px 20px rgba(10, 4, 56, 0.25));
}

.honeycomb--left {
  top: -8vh;
  left: -6vw;
  transform: rotate(-7deg);
}

.honeycomb--right {
  top: -11vh;
  right: -8vw;
  transform: rotate(11deg);
}

.side-art {
  position: absolute;
  z-index: 3;
  top: 0;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.side-art--left {
  left: 0;
  width: 36.25%;
}

.side-art--right {
  right: 0;
  width: 44.22%;
}

/* Sharp image sits above its own blurred copy and fades itself out near
   the right (inner) edge, revealing the blur underneath instead of a hard
   cut. Masking the blurred copy directly (mask + blur + background-image
   together) rendered blank in testing — masking the sharp layer instead is
   the reliable version of the same effect. */
img.side-art--left {
  z-index: 4;
  -webkit-mask-image: linear-gradient(to right, #000 0 70%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0 70%, transparent 100%);
}

.side-art--left-blur,
.side-art--right-blur {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: blur(22px);
}

.side-art--left-blur {
  background-image: url("assets/desktop-left.webp");
}

.side-art--right-blur {
  background-image: url("assets/desktop-right.webp");
  -webkit-mask-image: linear-gradient(to right, #000 0, transparent 15% 100%);
  mask-image: linear-gradient(to right, #000 0, transparent 15% 100%);
}

.mobile-character {
  position: absolute;
  z-index: 3;
  display: none;
  pointer-events: none;
  user-select: none;
}

/* Blurred copy of the same crop, masked to only show at the left edge —
   softens the hard clip line where overflow:hidden cuts the image instead
   of leaving a visible seam. Sits above the sharp <img> (z-index 2 > auto). */
.mobile-character::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: url("assets/character-jane.webp") no-repeat;
  background-position: -5.62% 0.48%;
  background-size: 157.73% 136.55%;
  filter: blur(24px);
  -webkit-mask-image: linear-gradient(to right, #000 0 6%, transparent 20%);
  mask-image: linear-gradient(to right, #000 0 6%, transparent 20%);
}

.offer {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: 100svh;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.logo {
  width: clamp(190px, 21.25vw, 408px);
  height: auto;
  margin-top: clamp(40px, 9.9vh, 107px);
}

.offer__copy {
  margin-top: clamp(72px, 11.7vh, 126px);
  color: #fff;
  text-transform: uppercase;
}

.offer__copy h1,
.offer__copy p {
  margin: 0;
}

.offer__copy h1 {
  font-family: "Lilita One", Impact, sans-serif;
  font-size: clamp(44px, 4.17vw, 80px);
  font-weight: 400;
  line-height: 1.3;
}

.offer__copy p {
  position: relative;
  z-index: 0;
  margin-top: 8px;
  font-size: clamp(62px, 6.25vw, 120px);
  font-weight: 800;
  line-height: 1.15;
  color: transparent;
  -webkit-text-stroke: clamp(3px, 0.29vw, 5.5px) #fff;
  paint-order: stroke fill;
}

.offer__copy p::before,
.offer__copy p::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  color: transparent;
  pointer-events: none;
}

.offer__copy p::before {
  z-index: -1;
  -webkit-text-stroke: clamp(14px, 1.35vw, 26px) #7020ff;
  paint-order: stroke fill;
  text-shadow: 0 6.819px 2.728px #5c67f8;
}

.offer__copy p::after {
  z-index: -2;
  -webkit-text-stroke: clamp(16px, 1.56vw, 30px) #7020ff;
  opacity: 0.88;
  filter: blur(14.791px);
  paint-order: stroke fill;
  text-shadow: 0 6.819px 2.728px #5c67f8;
}

.cta {
  display: grid;
  width: clamp(300px, 26.7vw, 512px);
  min-height: clamp(64px, 9.6vh, 104px);
  margin-top: clamp(36px, 4.6vh, 50px);
  place-items: center;
  border-radius: clamp(10px, 1vw, 20px);
  color: #fff;
  background: #ee4915;
  box-shadow: 0 12px 32px rgba(31, 3, 88, 0.28);
  font-size: clamp(17px, 1.25vw, 24px);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.cta:hover {
  transform: translateY(-3px);
  background: #ff571d;
  box-shadow: 0 16px 36px rgba(31, 3, 88, 0.38);
}

.cta:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

.cta__mobile {
  display: none;
}

.legal {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 7.9%;
  left: 0;
  display: none;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}

.legal span {
  display: block;
}

.legal__terms {
  color: #8675ff;
  font-weight: 600;
  text-decoration: underline;
}

@media (min-width: 601px) and (max-width: 1024px) {
  .landing {
    background: linear-gradient(136deg, #67149a 7%, #2930c2 42%, #15045c 82%);
  }

  .landing::after {
    top: 24%;
    height: 27%;
  }

  .side-art {
    height: 100%;
    object-fit: cover;
  }

  .side-art--left {
    width: 56%;
    object-position: right bottom;
  }

  .side-art--right {
    width: 64%;
    object-position: left bottom;
  }

  .side-art--left-blur {
    background-position: right bottom;
    background-size: cover;
  }

  .side-art--right-blur {
    background-position: left bottom;
    background-size: cover;
  }

  .logo {
    position: absolute;
    top: 4.2svh;
    left: 50%;
    width: clamp(170px, 22.85vw, 220px);
    margin: 0;
    transform: translateX(-50%);
  }

  .offer__copy {
    position: absolute;
    top: 21.5svh;
    right: 0;
    left: 0;
    margin: 0;
  }

  .offer__copy h1 {
    font-size: clamp(40px, 5.4vw, 52px);
  }

  .offer__copy p {
    margin-top: 4px;
    font-size: clamp(58px, 8.1vw, 78px);
    -webkit-text-stroke-width: clamp(2.5px, 0.55vw, 4px);
  }

  .offer__copy p::before {
    -webkit-text-stroke-width: clamp(9px, 1.75vw, 14px);
    text-shadow: 0 4px 1.7px #5c67f8;
  }

  .offer__copy p::after {
    -webkit-text-stroke-width: clamp(11px, 2vw, 16px);
    filter: blur(9px);
    text-shadow: 0 4px 1.7px #5c67f8;
  }

  .cta {
    position: absolute;
    top: 50.7svh;
    left: 50%;
    width: clamp(320px, 43.3vw, 400px);
    min-height: clamp(68px, 11.1svh, 82px);
    margin: 0;
    transform: translateX(-50%);
    border-radius: 14px;
    font-size: clamp(18px, 2.4vw, 22px);
  }

  .cta:hover {
    transform: translateX(-50%) translateY(-3px);
  }

  .legal {
    bottom: 5%;
    display: block;
    font-size: clamp(12px, 1.6vw, 16px);
    line-height: 1.35;
  }
}

@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
  .side-art {
    display: none;
  }

  .honeycomb {
    display: block;
    width: 59vw;
    height: 57.5svh;
    opacity: 1;
    background: url("assets/mobile-pattern.svg") left top / 100% 100% no-repeat;
    filter: none;
  }

  .honeycomb--left {
    top: 0;
    left: 0;
    transform: none;
  }

  .honeycomb--right {
    display: none;
  }

  .mobile-character {
    top: 4.3svh;
    right: 0;
    bottom: 0;
    display: block;
    width: 60%;
    overflow: hidden;
  }

  .mobile-character img {
    position: absolute;
    top: 0.48%;
    left: -5.62%;
    width: 157.73%;
    height: 136.55%;
    max-width: none;
  }

  .mobile-character::after {
    position: absolute;
    z-index: 1;
    right: 1px;
    bottom: 0;
    width: 92%;
    height: 62.25%;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(21, 4, 92, 0), #15045c 100%);
  }

  .logo {
    top: 2.7svh;
    width: clamp(190px, 29vw, 240px);
  }

  .offer__copy {
    top: 18.8svh;
  }

  .offer__copy h1 {
    font-size: clamp(42px, 6.2vw, 54px);
  }

  .offer__copy p {
    font-size: clamp(58px, 8.8vw, 78px);
  }

  .cta {
    top: 45.7svh;
    width: min(52vw, 400px);
    min-height: clamp(68px, 7.2svh, 82px);
  }
}

@media (max-width: 600px) {
  .landing {
    background: linear-gradient(136deg, #7e14bf 10%, #1f26c7 34%, #15045c 67%);
  }

  .landing::after {
    top: 11%;
    height: 37%;
  }

  .honeycomb {
    display: block;
    width: min(59vw, 231px);
    height: min(57.5vh, 425px);
    opacity: 1;
    background: url("assets/mobile-pattern.svg") left top / 100% 100% no-repeat;
    filter: none;
  }

  .honeycomb--left {
    top: 0;
    left: 0;
    transform: none;
  }

  .honeycomb--right,
  .side-art {
    display: none;
  }

  .mobile-character {
    top: 4.3svh;
    display: block;
    right: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
  }

  .mobile-character img {
    position: absolute;
    top: 0.48%;
    left: -5.62%;
    width: 157.73%;
    height: 136.55%;
    max-width: none;
  }

  .mobile-character::after {
    position: absolute;
    z-index: 1;
    right: 0px;
    bottom: 0;
    width: 90%;
    height: 37.25%;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(21, 4, 92, 0), #15045c 100%);
  }

  .logo {
    position: absolute;
    top: 2.7svh;
    left: 50%;
    width: min(43.4vw, 190px);
    margin: 0;
    transform: translateX(-50%);
  }

  .offer__copy {
    position: absolute;
    top: 18.8svh;
    right: 0;
    left: 0;
    margin: 0;
  }

  .offer__copy h1 {
    font-size: clamp(28px, 8.15vw, 36px);
  }

  .offer__copy p {
    margin-top: 4px;
    font-size: clamp(34px, 10.2vw, 44px);
    -webkit-text-stroke-width: clamp(1.5px, 0.46vw, 1.8px);
  }

  .offer__copy p::before {
    -webkit-text-stroke-width: clamp(8px, 2.3vw, 9px);
    text-shadow: 0 2.282px 0.913px #5c67f8;
  }

  .offer__copy p::after {
    -webkit-text-stroke-width: clamp(9px, 2.55vw, 10px);
    filter: blur(4.95px);
    text-shadow: 0 2.282px 0.913px #5c67f8;
  }

  .cta {
    position: absolute;
    top: 45.7svh;
    left: 50%;
    width: min(55vw, 250px);
    min-height: clamp(52px, 7.1svh, 64px);
    margin: 0;
    transform: translateX(-50%);
    border-radius: 9px;
    font-size: 16px;
    text-transform: none;
  }

  .cta:hover {
    transform: translateX(-50%) translateY(-3px);
  }

  .cta__desktop {
    display: none;
  }

  .cta__mobile {
    display: inline;
  }

  .legal {
    display: block;
  }

}

@media (max-width: 370px), (max-height: 650px) and (max-width: 600px) {
  .offer__copy p {
    font-size: max(32px, 10.2vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
