@font-face {
  font-family: "Bebas Neue";
  src: url("assets/BebasNeue-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --acid: #b7ff00;
  --black: #050505;
  --white: #fff;
  --design-width: 390;
}

* { box-sizing: border-box; }

html {
  background: var(--black);
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  overscroll-behavior-x: none;
}

button, input { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.page-shell {
  width: min(100%, 480px);
  margin: 0 auto;
  overflow: hidden;
  overflow-anchor: none;
  background: var(--black);
  touch-action: pan-y;
}

.story {
  position: relative;
  touch-action: pan-y;
  user-select: none;
}

.desktop-stage { display: contents; }
.desktop-presentation { display: none; }

.story__viewport {
  position: relative;
  width: 100%;
  height: calc(525px * var(--scene-scale, 1));
  overflow: hidden;
  transition: height 650ms cubic-bezier(.22, .78, .22, 1);
}

.story__canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1812px;
  max-width: none;
  height: 2125px;
  transform: scale(var(--scene-scale, 1)) translate3d(calc(var(--scene-x, 0px) * -1), 0, 0);
  transform-origin: left top;
  transition: transform 720ms cubic-bezier(.22, .78, .22, 1);
  pointer-events: none;
}

.story__nav {
  display: none;
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 16px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  transition: opacity 250ms ease;
}

.story__arrow {
  width: 38px;
  height: 38px;
  padding: 0 0 4px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: rgb(0 0 0 / 60%);
  color: white;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.story__arrow:disabled { opacity: .25; }

.story__dots { display: flex; gap: 7px; }
.story__dot { width: 7px; height: 7px; border-radius: 50%; background: #656565; }
.story__dot.is-active { width: 18px; border-radius: 9px; background: var(--acid); }

.conversion {
  position: relative;
  z-index: 4;
  margin-top: calc(var(--conversion-overlap, 0px) * -1);
  padding: 42px 20px max(24px, env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, transparent 0, rgb(5 5 5 / 88%) 120px, #050505 240px, #090909 100%);
  text-align: center;
  transition: margin-top 650ms cubic-bezier(.22, .78, .22, 1);
}

.conversion-header { display: contents; }

.conversion h1 {
  margin: 0;
  text-transform: uppercase;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(44px, 13.5vw, 60px);
  font-weight: 900;
  line-height: .93;
  letter-spacing: -.02em;
}

.conversion h1 span, .conversion h1 strong { display: block; }
.conversion h1 strong { color: var(--acid); font-weight: inherit; }

.conversion__intro {
  margin: 25px 0 31px;
  color: #e6e6e6;
  font-size: 15px;
  line-height: 1.45;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin-bottom: 34px;
}

.brand-logo { display: block; width: auto; object-fit: contain; }
.brand-logo--sportbit { height: 52px; }
.brand-logo--gedreven { height: 31px; max-width: 45%; }
.brand-lockup__cross { color: #ddd; font-size: 22px; }

.program-form {
  --acid: #96c800;
  color: #080808;
  text-align: left;
  scroll-margin-top: 16px;
}

.form-step { animation: form-step-in 280ms ease both; }

@keyframes form-step-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.program-form fieldset {
  position: relative;
  margin: 0;
  padding: 21px 20px 23px;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.form-back-button {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.form-back-button:hover { background: #f0f0f0; }
.form-back-button:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
.program-form legend {
  display: block;
  float: left;
  width: 100%;
  padding: 0 0 20px;
  margin: 0;
  border-bottom: 1px solid #ddd;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
}

.program-form legend + * { clear: both; }
.program-form fieldset::after { display: block; clear: both; content: ""; }

.form-step__headline strong { color: var(--acid); font-weight: inherit; }

.form-divider { display: block; width: 100%; height: 1px; }

.form-step[data-form-step="1"] fieldset {
  height: 440px;
  padding: 24px 20px 32px;
  box-shadow: 0 8px 12px rgb(0 0 0 / 20%);
}

.form-step[data-form-step="1"] legend {
  display: flex;
  height: 56px;
  padding: 0 0 24px;
  align-items: center;
  gap: 12px;
  border: 0;
  font-size: 24px;
  letter-spacing: .24px;
  white-space: nowrap;
}

.form-title-icon { width: 32px; height: 32px; flex: 0 0 32px; background: var(--acid); mask: url("assets/clipboard-check.svg") center / contain no-repeat; -webkit-mask: url("assets/clipboard-check.svg") center / contain no-repeat; }
.form-step[data-form-step="1"] .form-divider { margin: 0 0 23px; }
.form-step[data-form-step="1"] .program-option { min-height: 75px; margin: 0; padding: 16px; gap: 16px; border-width: 1.5px; }
.form-step[data-form-step="1"] .program-option + .program-option { margin-top: 12px; }
.form-step[data-form-step="1"] .program-option strong { font-size: 18px; letter-spacing: .5px; }
.form-step[data-form-step="1"] .both-option { height: 22px; margin: 24px 0; }
.form-step[data-form-step="1"] .both-option input { border-width: 1.5px; border-radius: 6px; }
.form-step[data-form-step="1"] .submit-button { min-height: 72px; border-radius: 10px; }

.program-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 75px;
  margin-top: 13px;
  padding: 12px 14px;
  border: 2px solid #111;
  border-radius: 8px;
  cursor: pointer;
}

.program-option:has(input:checked) { background: #e8e8e8; }
.program-option input { position: absolute; opacity: 0; }
.program-option__control { width: 24px; height: 24px; flex: 0 0 24px; border: 2px solid #111; border-radius: 50%; }
.program-option input:checked + .program-option__control { border: 0; background: url("assets/radio-selected.svg") center / 24px 24px no-repeat; box-shadow: none; }
.program-option strong { display: block; font-family: "Bebas Neue", "Arial Narrow", sans-serif; font-size: 17px; font-weight: 400; text-transform: uppercase; }
.program-option small { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; }

.both-option { display: flex; align-items: center; gap: 11px; margin: 24px 0; font-size: 14px; cursor: pointer; }
.both-option input { appearance: none; width: 22px; height: 22px; margin: 0; border: 2px solid #111; border-radius: 5px; background: #fff; }
.both-option input:checked { border-color: #111; background: var(--acid); box-shadow: inset 0 0 0 4px white; }

.field-group { display: block; margin-top: 20px; }
.field-label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.field-label small { font-size: 12px; font-weight: 400; text-transform: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-row label { min-width: 0; }
.field-group input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #999;
  border-radius: 3px;
  background: #fff;
  color: #111;
  font-size: 16px;
}
.field-group input:focus { border-color: #111; outline: 2px solid rgb(150 200 0 / 45%); outline-offset: 1px; }
.field-group input[aria-invalid="true"] { border-color: #b42318; }
.field-error { display: block; min-height: 17px; margin: 5px 0 0; color: #b42318; font-size: 12px; font-weight: 700; }
.field-error:empty { display: none; }
.form-step[data-form-step="2"] legend {
  height: 92px;
  padding: 0 52px 24px 0;
  border: 0;
  line-height: .95;
}
.form-step[data-form-step="3"] legend { padding-right: 52px; line-height: .95; }
.form-step[data-form-step="2"] .form-divider { margin: 0 0 23px; }
.form-step[data-form-step="2"] .form-divider + .field-group { margin-top: 0; }
.form-step[data-form-step="2"] .field-group + .field-group { margin-top: 20px; }
.form-step[data-form-step="2"] .submit-button { margin-top: 36px; }

.member-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0; }
.member-option { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; padding: 10px; border: 1px solid #111; border-radius: 3px; cursor: pointer; }
.member-option:has(input:checked) { background: #e8e8e8; }
.member-option input { position: absolute; opacity: 0; }
.member-option .program-option__control { width: 24px; height: 24px; flex-basis: 24px; }
.member-option input:checked + .program-option__control { border: 0; background: url("assets/radio-selected.svg") center / 24px 24px no-repeat; box-shadow: none; }
.member-option strong { font-family: Impact, "Arial Narrow", sans-serif; font-size: 15px; font-weight: 400; text-transform: uppercase; }

.success-card { position: relative; padding: 21px 20px 26px; border-radius: 10px; background: #fff; text-align: center; }
.success-card h2 { margin: 0; padding: 0 0 17px; border-bottom: 1px solid #ccc; font-family: Impact, "Arial Narrow", sans-serif; font-size: 24px; font-weight: 400; text-transform: uppercase; }
.success-card p { margin: 20px 0; font-size: 14px; line-height: 1.45; }
.success-portrait { display: block; width: 190px; height: 190px; margin: 24px auto; border-radius: 50%; object-fit: cover; }
.success-links { display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; }
.success-links a { color: #1683e5; text-underline-offset: 2px; }

.submit-button {
  width: 100%;
  min-height: 72px;
  border: 0;
  border-radius: 9px;
  background: #050505;
  color: white;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 27px;
  text-transform: uppercase;
  cursor: pointer;
}

.submit-button:active { transform: scale(.985); }
.submit-button:disabled { cursor: not-allowed; opacity: .38; }
.conversion__gift { display: flex; margin: 31px 0 0; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 700; }
.gift-icon { width: 20px; height: 20px; flex: 0 0 20px; background: var(--acid); mask: url("assets/gift.svg") center / contain no-repeat; -webkit-mask: url("assets/gift.svg") center / contain no-repeat; }
.form-feedback { min-height: 20px; margin: 14px 0 0; color: var(--acid); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .story__viewport, .story__canvas, .conversion, .form-step { transition-duration: 1ms; animation-duration: 1ms; }
}

@media (min-width: 481px) {
  body { background: #171717; }
  .page-shell { box-shadow: 0 0 60px rgb(0 0 0 / 55%); }
}

@media (min-width: 1024px) {
  html, body { background: #050505; }

  .page-shell {
    width: min(100%, 1440px);
    max-width: 1440px;
    margin: 0 auto;
    overflow: visible;
    background: #050505;
    box-shadow: 0 0 80px rgb(0 0 0 / 65%);
  }

  .story { display: none; }

  .desktop-stage {
    position: relative;
    display: grid;
    grid-template: auto / 100%;
    align-items: start;
  }

  .desktop-presentation {
    display: block;
    grid-area: 1 / 1;
    min-width: 0;
  }

  .desktop-presentation img {
    display: block;
    width: 100%;
    height: auto;
  }

  .conversion {
    position: sticky;
    z-index: 4;
    top: 0;
    grid-area: 1 / 1;
    align-self: start;
    width: clamp(560px, 46vw, 680px);
    height: 100vh;
    min-height: 720px;
    margin: 0;
    display: flex;
    padding: 32px clamp(42px, 4.7vw, 68px) 32px clamp(64px, 6.7vw, 96px);
    flex-direction: column;
    justify-content: safe center;
    overflow-y: auto;
    background: linear-gradient(90deg, #050505 0%, #050505 72%, rgb(5 5 5 / 88%) 86%, transparent 100%);
    text-align: left;
    transition: none;
    scrollbar-width: none;
  }

  .conversion::-webkit-scrollbar { display: none; }

  .conversion::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: clamp(420px, 68vh, 615px);
    background: rgb(255 255 255 / 88%);
    content: "";
    pointer-events: none;
    transform: translateY(-50%);
  }

  .conversion-header {
    position: relative;
    display: block;
    flex: 0 0 auto;
  }

  .conversion h1 {
    width: 280px;
    font-size: clamp(48px, 3.5vw, 56px);
  }

  .conversion__intro {
    width: 300px;
    margin: 25px 0 0;
    font-size: 16px;
  }

  .brand-lockup {
    position: absolute;
    top: 0;
    right: 0;
    width: 190px;
    margin: 0;
    flex-direction: column;
    gap: 10px;
  }

  .brand-logo--sportbit { height: 60px; max-width: 190px; }
  .brand-logo--gedreven { height: 34px; max-width: 190px; }
  .brand-lockup__cross { font-size: 22px; line-height: 1; }

  .program-form {
    width: 100%;
    margin-top: 62px;
  }

  .program-form fieldset { box-shadow: 0 10px 28px rgb(0 0 0 / 24%); }

  .form-step[data-form-step="1"] fieldset {
    height: auto;
    padding: 30px 32px 38px;
  }

  .form-step[data-form-step="1"] legend {
    height: 62px;
    font-size: 25px;
  }

  .form-step[data-form-step="1"] .form-divider { margin-bottom: 28px; }

  .program-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .form-step[data-form-step="1"] .program-option,
  .form-step[data-form-step="1"] .program-option + .program-option {
    min-width: 0;
    min-height: 72px;
    margin-top: 0;
    padding: 12px 14px;
    gap: 12px;
  }

  .form-step[data-form-step="1"] .program-option strong { font-size: 16px; }
  .form-step[data-form-step="1"] .program-option small { font-size: 13px; }
  .form-step[data-form-step="1"] .both-option { margin: 27px 0; }
  .form-step[data-form-step="1"] .submit-button { min-height: 62px; }

  .conversion__gift {
    margin-top: 20px;
    justify-content: center;
    font-size: 13px;
  }
}

@media (min-width: 1024px) and (max-height: 760px) {
  .conversion {
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .brand-lockup { top: 0; }
  .program-form { margin-top: 28px; }
}

@media (min-width: 1024px) {
  .conversion[data-form-step-active="2"],
  .conversion[data-form-step-active="3"],
  .conversion[data-form-step-active="4"] {
    min-height: 0;
    padding-top: 32px;
    padding-bottom: 24px;
  }

  .conversion[data-form-step-active="2"] > .conversion-header > h1,
  .conversion[data-form-step-active="3"] > .conversion-header > h1,
  .conversion[data-form-step-active="4"] > .conversion-header > h1 {
    width: 220px;
    font-size: 38px;
    line-height: .88;
  }

  .conversion[data-form-step-active="2"] > .conversion-header > .conversion__intro,
  .conversion[data-form-step-active="3"] > .conversion-header > .conversion__intro,
  .conversion[data-form-step-active="4"] > .conversion-header > .conversion__intro {
    width: 240px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.3;
  }

  .conversion[data-form-step-active="2"] > .conversion-header > .brand-lockup,
  .conversion[data-form-step-active="3"] > .conversion-header > .brand-lockup,
  .conversion[data-form-step-active="4"] > .conversion-header > .brand-lockup {
    top: 0;
    right: 0;
    width: 135px;
    gap: 5px;
  }

  .conversion[data-form-step-active="2"] > .conversion-header > .brand-lockup .brand-logo--sportbit,
  .conversion[data-form-step-active="3"] > .conversion-header > .brand-lockup .brand-logo--sportbit,
  .conversion[data-form-step-active="4"] > .conversion-header > .brand-lockup .brand-logo--sportbit {
    height: 42px;
    max-width: 135px;
  }

  .conversion[data-form-step-active="2"] > .conversion-header > .brand-lockup .brand-logo--gedreven,
  .conversion[data-form-step-active="3"] > .conversion-header > .brand-lockup .brand-logo--gedreven,
  .conversion[data-form-step-active="4"] > .conversion-header > .brand-lockup .brand-logo--gedreven {
    height: 24px;
    max-width: 135px;
  }

  .conversion[data-form-step-active="2"] > .conversion-header > .brand-lockup .brand-lockup__cross,
  .conversion[data-form-step-active="3"] > .conversion-header > .brand-lockup .brand-lockup__cross,
  .conversion[data-form-step-active="4"] > .conversion-header > .brand-lockup .brand-lockup__cross {
    font-size: 15px;
  }

  .conversion[data-form-step-active="2"] .program-form,
  .conversion[data-form-step-active="3"] .program-form,
  .conversion[data-form-step-active="4"] .program-form {
    margin-top: 42px;
  }

  .conversion[data-form-step-active="2"] .program-form fieldset {
    padding: 18px 24px 22px;
  }

  .conversion[data-form-step-active="2"] .form-step[data-form-step="2"] legend {
    height: 84px;
    padding-bottom: 18px;
  }

  .conversion[data-form-step-active="2"] .form-step[data-form-step="2"] .form-divider {
    margin-bottom: 17px;
  }

  .conversion[data-form-step-active="2"] .field-group + .field-group { margin-top: 14px; }
  .conversion[data-form-step-active="2"] .field-group input { min-height: 42px; }
  .conversion[data-form-step-active="2"] .form-step[data-form-step="2"] .submit-button {
    min-height: 60px;
    margin-top: 24px;
  }

  .conversion[data-form-step-active="2"] .conversion__gift,
  .conversion[data-form-step-active="3"] .conversion__gift,
  .conversion[data-form-step-active="4"] .conversion__gift {
    margin-top: 14px;
  }
}
