:root {
  --ink: #f6f8f7;
  --muted: rgba(246, 248, 247, 0.82);
  --accent: #c8f04a;
  --accent-ink: #10180f;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --pad-x: clamp(1.2rem, 4.8vw, 4rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #0b1218;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.screen {
  position: relative;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
}

.screen__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.screen__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  transform: scale(1.08);
  animation: drift 18s ease-out forwards;
}

.screen__glow {
  position: absolute;
  inset: auto -10% -15% 20%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(200, 240, 74, 0.22), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.screen__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 12, 16, 0.18) 0%, rgba(7, 12, 16, 0.42) 40%, rgba(7, 12, 16, 0.93) 100%),
    linear-gradient(105deg, rgba(7, 12, 16, 0.78) 0%, rgba(7, 12, 16, 0.2) 55%, rgba(7, 12, 16, 0.45) 100%);
}

.screen__content {
  width: min(720px, 100%);
  padding:
    calc(1.4rem + var(--safe-top))
    var(--pad-x)
    calc(1.5rem + var(--safe-bottom));
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: clamp(0.72rem, 2.6vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.headline {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.headline span {
  color: var(--accent);
}

.perks {
  list-style: none;
  margin: 0.15rem 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 34ch;
}

.perks li {
  display: grid;
  gap: 0.1rem;
  padding-left: 0.9rem;
  position: relative;
}

.perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(200, 240, 74, 0.55);
}

.perks strong {
  font-size: clamp(0.9rem, 3.1vw, 1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.perks span {
  font-size: clamp(0.8rem, 2.8vw, 0.9rem);
  color: rgba(246, 248, 247, 0.68);
  line-height: 1.3;
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  animation: blink 1.2s ease-in-out infinite;
}

.cta__pulse {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid rgba(200, 240, 74, 0.9);
  animation: ring 1.2s ease-out infinite;
  z-index: -1;
}

.cta__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.cta:active {
  transform: scale(0.98);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: up 0.75s ease forwards;
}

.reveal--1 { animation-delay: 0.1s; }
.reveal--2 { animation-delay: 0.2s; }
.reveal--3 {
  animation:
    up 0.75s ease 0.32s forwards,
    blink 1.2s ease-in-out 1.15s infinite;
}

@keyframes up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  to { transform: scale(1); }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
    filter: brightness(1);
    box-shadow: 0 10px 28px rgba(200, 240, 74, 0.28);
  }
  50% {
    opacity: 0.78;
    filter: brightness(1.22);
    box-shadow: 0 0 32px 8px rgba(200, 240, 74, 0.5);
  }
}

@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .screen__img {
    object-position: 74% 36%;
  }

  .screen__scrim {
    background:
      linear-gradient(180deg, rgba(7, 12, 16, 0.15) 0%, rgba(7, 12, 16, 0.38) 34%, rgba(7, 12, 16, 0.95) 76%),
      linear-gradient(90deg, rgba(7, 12, 16, 0.45) 0%, rgba(7, 12, 16, 0.15) 100%);
  }

  .cta {
    width: 100%;
  }
}

@media (max-height: 740px) {
  .eyebrow {
    margin-bottom: 0.45rem;
  }

  .headline {
    font-size: clamp(1.85rem, 7vw, 3rem);
    margin-bottom: 0.65rem;
  }

  .perks {
    gap: 0.4rem;
    margin-bottom: 0.95rem;
  }

  .perks span {
    display: none;
  }

  .cta {
    min-height: 50px;
  }
}

@media (max-height: 600px) {
  .perks {
    display: none;
  }
}

@media (min-width: 721px) {
  .cta {
    min-width: 280px;
  }

  .perks {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen__img,
  .reveal,
  .cta,
  .cta__pulse,
  .reveal--3 {
    animation: none !important;
  }

  .reveal,
  .reveal--3,
  .cta {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .screen__img {
    transform: none;
  }
}
