*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* --p is scroll progress, 0 at the top and 1 after 650px. Set by main.js. */
html { --p: 0; }
body { margin: 0; background: #FFFFFF; }
a, a:hover { color: #000000; }

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

.page {
  position: relative; min-height: 1700px; overflow: hidden;
  background: #FFFFFF; color: #F8F9FA;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Background shapes */
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; z-index: 0;
  height: 1020px; background: #0A0404;
  clip-path: polygon(0 0, 100% 0, 100% 72.5%, 0 100%);
}
.stripes {
  position: absolute; top: 809px; left: -10%; width: 120%; z-index: 1;
  transform: rotate(-11deg);
  display: flex; flex-direction: column; gap: 14px;
}
.stripe-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.bar { height: 38px; }
.bar-1 { grid-column: 1 / 4; background: #6EE268; }
.bar-2 { grid-column: 9 / 13; border: 2px solid #B4FA88; }
.bar-3 { grid-column: 3 / 7; background: #B4FA88; }
.bar-4 { grid-column: 10 / 12; background: #ECFEC6; }
.bar-5 { grid-column: 1 / 3; border: 2px solid #6EE268; }
.bar-6 { grid-column: 6 / 10; background: #ECFEC6; }

/* Hero */
.hero {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 162px 24px 0;
  text-align: center;
}
.hero-title {
  margin: 0 0 20px;
  font-family: 'Anton', Impact, sans-serif; font-weight: 400;
  font-size: clamp(3.5rem, 9vw, 8.125rem); line-height: .94;
  letter-spacing: -.01em; text-transform: uppercase; color: #F8F9FA;
}
.hero-title sup {
  position: relative; top: -.5em; font-size: 75%;
  line-height: 0; vertical-align: baseline; color: #CFF128;
}
.hero-sub {
  margin: 0 auto; max-width: 730px;
  font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 300;
  line-height: 1.2; color: #F8F9FA;
}

/* Opt-in pill */
.pill {
  position: relative; width: 750px; max-width: 100%; height: 67px;
  margin: 30px auto 0; scroll-margin-top: 120px;
  background: #E7E7E7; border-radius: 100px; overflow: hidden; text-align: left;
}
.pill:focus-within { box-shadow: 0 0 0 3px #CFF128; }
.pill-fields { height: 100%; }
.pill-icon { position: absolute; left: 25px; top: 50%; transform: translateY(-50%); }
.step { height: 100%; animation: kk-in .4s ease; }
.pill-input {
  width: 100%; height: 100%; padding: 0 140px 0 70px;
  border: 0; background: transparent;
  font-family: 'Inter', sans-serif; font-size: 18px; color: #3D3D3D;
}
.pill-input::placeholder { color: #3D3D3D; }
.pill-input:focus { outline: none; }
.pill-btn {
  position: absolute; top: 0; right: 0; width: 140px; height: 100%;
  border: 0; border-radius: 0 100px 100px 0; background: #CFF128; color: #000000;
  font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -1.5px;
  display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
}
.pill-thanks {
  margin: 0; height: 100%; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; color: #3D3D3D; text-align: center;
  animation: kk-in .4s ease;
}
.pill-thanks:focus { outline: none; }

.footnote { margin: 20px 0 0; font-size: 14px; color: #A0A0A0; }

/* Video card: grows and un-skews as you scroll */
.video-wrap { margin: 50px auto 0; display: flex; justify-content: center; }
.video-card {
  --skew-max: -12deg;
  --radius: 20px;
  position: relative;
  width: min(calc(540px + 570px * var(--p)), max(280px, calc(100vw - 48px)));
  max-width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  transform: skewY(calc(var(--skew-max) * (1 - var(--p))));
  box-shadow: 0 15px 30px rgba(0, 0, 0, .2), 0 5px 10px rgba(0, 0, 0, .2);
  background: #1B1B1F;
}
.video-inner {
  position: absolute; inset: 0; padding: 16% 18%;
  transform: skewY(calc(var(--skew-max) * (var(--p) - 1))) scale(1.35);
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.video-label { font-size: 14px; color: #8A8A8A; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 127px; height: 81px; border: 0; border-radius: 12px;
  background: rgba(0, 0, 0, .8); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* Bottom CTA */
.cta-section {
  position: relative; z-index: 2;
  max-width: 540px; margin: 0 auto; padding: 120px 24px 160px;
}
.cta {
  position: relative; display: block; width: 100%; padding: 22px;
  border-radius: 10px; background: linear-gradient(90deg, #A5D934, #95D934);
  text-align: center; text-decoration: none;
  box-shadow: 1px 8px 30px rgba(0, 0, 0, .03), 1px 4px 10px rgba(0, 0, 0, .05);
  transition: transform .4s;
}
.cta:hover, .cta:focus-visible { transform: scale(1.015); }
.cta:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(165, 217, 52, .6); }
.cta-title {
  display: block;
  font-family: 'Anton', Impact, sans-serif; font-size: clamp(1.75rem, 3.2vw, 2.8rem);
  line-height: 1; letter-spacing: -.01em; text-transform: uppercase; color: #000000;
}
.cta-sub {
  display: block; margin-top: 8px;
  font-size: clamp(.875rem, 1.6vw, 1.25rem); font-weight: 300; color: #2F3F0C;
}

/* Shine sweep on hover */
.shine { overflow: hidden; }
.shine::after {
  content: ""; position: absolute; top: 0; left: -120px; width: 90px; height: 100%;
  background: rgba(255, 255, 255, .4); transform: skewX(-20deg); pointer-events: none;
}
.shine:hover::after { animation: kk-shine .9s ease forwards; }

/* Video modal */
.modal {
  position: fixed; inset: 0; z-index: 60; padding: 24px;
  background: rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  animation: kk-fade .6s ease;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 56px; height: 56px;
  border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal-close svg { transform: rotate(45deg); }
.modal-video {
  width: 100%; max-width: 1110px; aspect-ratio: 16 / 9; background: #000000;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #A0A0A0;
}

@keyframes kk-in { from { opacity: 0; transform: translateX(30%); } to { opacity: 1; transform: translateX(0); } }
@keyframes kk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kk-shine { from { transform: skewX(-20deg) translateX(0); } to { transform: skewX(-20deg) translateX(1500px); } }

@media (max-width: 991px) {
  .pill { height: 60px; }
}
@media (max-width: 767px) {
  .video-card { --skew-max: -8deg; --radius: 10px; }
}
@media (max-width: 575px) {
  .pill { height: 55px; }
  .pill-icon { display: none; }
  .pill-input { padding: 0 104px 0 20px; }
  .pill-btn { width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .step, .pill-thanks, .modal { animation: none; }
  .shine:hover::after { animation: none; }
}
