/* Page stack: hero (graphic + copy) on top, form at bottom */
body.landing-body--nil > main {
  display: flex;
  flex-direction: column;
}

body.landing-body--nil > main > .lp-hero--nil {
  order: 1;
}

body.landing-body--nil > main > .nil-form-wrap {
  order: 2;
}

/* Athlete collage hero — kicker, graphic, headlines stacked */
.lp-hero--nil {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  padding: 0 max(1rem, env(safe-area-inset-right)) 1rem max(1rem, env(safe-area-inset-left));
  overflow: hidden;
}

.nil-hero__kicker {
  order: 1;
  width: 100%;
  max-width: 56rem;
  margin: 0.4rem auto 0.65rem;
  text-align: center;
}

.nil-hero__media {
  order: 2;
  position: relative;
  flex-shrink: 0;
  width: calc(100% + 2 * max(1rem, env(safe-area-inset-left)));
  max-width: none;
  margin: 0 calc(-1 * max(1rem, env(safe-area-inset-left))) 0.5rem;
  line-height: 0;
}

.nil-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.nil-hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent 0%, #000 100%);
  pointer-events: none;
}

.lp-hero--nil .lp-hero__inner {
  order: 3;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .nil-hero__media {
    max-width: 48rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* —— Form —— */
.nil-form-wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.15rem calc(2.5rem + env(safe-area-inset-bottom));
  scroll-margin-top: calc(var(--gkz-spine-h, 52px) + 12px);
}

.nil-form-head {
  margin-bottom: 1.1rem;
  text-align: center;
}

.nil-form-head__title {
  margin: 0 0 0.4rem;
  font-family: "Syne", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #eaf0ff;
}

.nil-form-head__sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(234, 240, 255, 0.62);
}

.nil-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nil-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.1rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0e14;
}

.nil-role {
  margin: 0;
  padding: 0;
  border: none;
}

.nil-role__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.nil-role__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #eaf0ff;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.nil-role__chip:has(input:checked) {
  border-color: rgba(0, 245, 42, 0.55);
  background: rgba(0, 245, 42, 0.1);
  color: #00f52a;
}

.nil-role__chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nil-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 560px) {
  .nil-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nil-field--full {
    grid-column: 1 / -1;
  }
}

.nil-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nil-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(234, 240, 255, 0.55);
}

.nil-req {
  color: #00f52a;
}

.nil-input {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #eaf0ff;
  font: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.nil-input:focus {
  outline: none;
  border-color: rgba(0, 245, 42, 0.55);
  box-shadow: 0 0 0 2px rgba(0, 245, 42, 0.15);
}

.nil-textarea {
  min-height: 96px;
  resize: vertical;
}

.nil-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nil-btn--primary {
  background: #00f52a;
  color: #030508;
}

.nil-btn--primary:disabled {
  opacity: 0.55;
  cursor: wait;
}

.nil-result {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: center;
  background: rgba(0, 245, 42, 0.1);
  border: 1px solid rgba(0, 245, 42, 0.35);
  color: #b8ffc8;
}

.nil-result--err {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

@media (min-width: 640px) {
  .nil-form-wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
