/* ── Reset ── */
.crl-hp { font-family: system-ui,-apple-system,sans-serif; color: #1a1a2e; margin: 0; padding: 0; }
.crl-hp *, .crl-hp *::before, .crl-hp *::after { box-sizing: border-box; }

/* ── Nav ── */
.crl-hp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15,27,61,.97) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  height: 64px;
}
.crl-hp-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.crl-hp-nav__logo { display: flex !important; align-items: center; }
.crl-hp-nav__logo svg { display: block !important; height: 36px; width: auto; }
.crl-hp-nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.crl-hp-nav__links a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .15s; }
.crl-hp-nav__links a:hover { color: #f0c040; }
.crl-hp-nav__cta { background: #f0c040 !important; color: #0f1b3d !important; padding: .4rem 1rem !important;
  border-radius: 20px !important; font-weight: 700 !important; font-size: .85rem !important; }
.crl-hp-nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: .5rem; }
.crl-hp-nav__burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ── Hero ── */
.crl-hp-hero {
  min-height: 100vh;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #0a1628 0%, #0f1b3d 50%, #1a3a6b 100%);
  padding: 64px 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.crl-hp-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(240,192,64,.08) 0%, transparent 60%);
  pointer-events: none;
}
.crl-hp-hero__content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.crl-hp-hero__tag {
  grid-column: 1;
  display: inline-block;
  background: rgba(240,192,64,.15);
  color: #f0c040;
  border: 1px solid rgba(240,192,64,.3);
  border-radius: 20px;
  padding: .25rem .85rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.crl-hp-hero__title {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  letter-spacing: -2px;
}
.crl-hp-hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  margin: 0 0 2rem;
  line-height: 1.6;
}
.crl-hp-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.crl-hp-hero__pyramid {
  display: flex;
  align-items: center;
  justify-content: center;
}
.crl-hp-hero__pyramid svg {
  width: 100%;
  max-width: 420px;
  opacity: .9;
}
.crl-hp-hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Buttons ── */
.crl-btn-hp { display: inline-block; padding: .75rem 1.75rem; border-radius: 10px;
  font-weight: 700; font-size: .95rem; text-decoration: none; transition: all .15s; cursor: pointer;
  border: none; text-align: center; }
.crl-btn-hp--gold { background: #f0c040; color: #0f1b3d; }
.crl-btn-hp--gold:hover { background: #e0b030; transform: translateY(-1px); }
.crl-btn-hp--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.crl-btn-hp--outline:hover { border-color: #f0c040; color: #f0c040; }

/* ── Stats bar ── */
.crl-hp-stats { background: #0f1b3d; display: flex; justify-content: center; gap: 0;
  border-top: 1px solid rgba(255,255,255,.08); }
.crl-hp-stat { padding: 1.5rem 3rem; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.crl-hp-stat:last-child { border-right: none; }
.crl-hp-stat__val { display: block; font-size: 2rem; font-weight: 900; color: #f0c040; line-height: 1; }
.crl-hp-stat__val small { font-size: 1rem; }
.crl-hp-stat__lbl { display: block; font-size: .75rem; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .08em; margin-top: .35rem; }

/* ── Sections ── */
.crl-hp-section { padding: 5rem 1.5rem; }
.crl-hp-section--dark { background: #0f1b3d; color: #fff; }
.crl-hp-section__inner { max-width: 1100px; margin: 0 auto; }
.crl-hp-section__inner--narrow { max-width: 640px; }
.crl-hp-section__title { font-size: 2.2rem; font-weight: 800; margin: 0 0 .75rem;
  letter-spacing: -1px; }
.crl-hp-section--dark .crl-hp-section__title { color: #fff; }
.crl-hp-section__sub { font-size: 1.05rem; color: #6b7a99; margin: 0 0 3rem; }
.crl-hp-section--dark .crl-hp-section__sub { color: rgba(255,255,255,.6); }

/* ── Leagues ── */
.crl-hp-leagues { display: flex; flex-direction: column; gap: 1rem; }
.crl-hp-league-card { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem;
  background: #fff; border: 1.5px solid #e3e9f3; border-radius: 14px; text-decoration: none;
  color: #1a1a2e; transition: all .15s; }
.crl-hp-league-card:hover { border-color: #1a3a6b; box-shadow: 0 6px 24px rgba(26,58,107,.12);
  transform: translateY(-1px); }
.crl-hp-league-card__icon { font-size: 2rem; flex-shrink: 0; }
.crl-hp-league-card__body { flex: 1; }
.crl-hp-league-card__name { font-size: 1.1rem; font-weight: 700; color: #0f1b3d; margin: 0 0 .35rem; }
.crl-hp-league-card__meta { display: flex; gap: 1rem; font-size: .85rem; color: #6b7a99; flex-wrap: wrap; }
.crl-hp-league-card__arrow { font-size: 1.2rem; color: #1a3a6b; font-weight: 700; }

/* ── Steps ── */
.crl-hp-steps { display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; }
.crl-hp-step { flex: 1; min-width: 180px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 1.5rem; }
.crl-hp-step__num { width: 40px; height: 40px; background: #f0c040; color: #0f1b3d;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; margin-bottom: 1rem; }
.crl-hp-step__title { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 .5rem; }
.crl-hp-step__desc { font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.6; margin: 0; }
.crl-hp-step__connector { display: flex; align-items: center; padding: 0 .5rem;
  font-size: 1.5rem; color: rgba(240,192,64,.4); flex-shrink: 0; margin-top: 1.5rem; }

/* ── Form ── */
.crl-hp-form { background: #f7f9fc; border: 1px solid #e3e9f3; border-radius: 16px;
  padding: 2rem; margin-bottom: 1rem; }
.crl-hp-form__row { margin-bottom: 1rem; }
.crl-hp-form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.crl-hp-form__field label { display: block; font-size: .85rem; font-weight: 600;
  color: #0f1b3d; margin-bottom: .4rem; }
.crl-hp-form__field input,
.crl-hp-form__field select,
.crl-hp-form__field textarea { width: 100%; padding: .65rem .9rem; border: 1.5px solid #d0daea;
  border-radius: 8px; font-size: .9rem; background: #fff; color: #1a1a2e;
  transition: border-color .15s; font-family: inherit; }
.crl-hp-form__field input:focus,
.crl-hp-form__field select:focus,
.crl-hp-form__field textarea:focus { outline: none; border-color: #1a3a6b; }
.crl-hp-alert { padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.5rem;
  font-weight: 600; font-size: .95rem; }
.crl-hp-alert--success { background: #d1e7dd; color: #0a5c36; border: 1px solid #a3cfbb; }
.crl-hp-alert--error { background: #f8d7da; color: #842029; border: 1px solid #f1aeb5; }
.crl-hp-contact { text-align: center; font-size: .9rem; color: #6b7a99; margin-top: 1rem; }
.crl-hp-contact a { color: #1a3a6b; font-weight: 600; }

/* ── Footer ── */
.crl-hp-footer { background: #0a1628; color: rgba(255,255,255,.5); padding: 1.5rem; }
.crl-hp-footer__inner { max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; flex-wrap: wrap; gap: 1rem; }
.crl-hp-footer a { color: rgba(255,255,255,.5); text-decoration: none; }
.crl-hp-footer a:hover { color: #f0c040; }
.crl-hp-footer__links { display: flex; gap: 1.5rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .crl-hp-hero__content { grid-template-columns: 1fr; }
  .crl-hp-hero__pyramid { display: none; }
  .crl-hp-hero__title { font-size: 2.8rem; }
  .crl-hp-nav__links { display: none; position: fixed; top: 60px; left: 0; right: 0;
    background: #0f1b3d; flex-direction: column; padding: 1.5rem; gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.1); }
  .crl-hp-nav__links--open { display: flex; }
  .crl-hp-nav__burger { display: flex; }
  .crl-hp-stats { flex-wrap: wrap; }
  .crl-hp-stat { flex: 1; min-width: 120px; padding: 1.25rem 1rem; }
  .crl-hp-steps { flex-direction: column; }
  .crl-hp-step__connector { display: none; }
  .crl-hp-form__row--2 { grid-template-columns: 1fr; }
  .crl-hp-footer__inner { flex-direction: column; text-align: center; }
  .crl-hp-section { padding: 3rem 1rem; }
  .crl-hp-section__title { font-size: 1.7rem; }
  .crl-hp-hero {
    min-height: calc(100svh - 64px);
    padding: 64px 1.25rem 3rem;
    justify-content: center;
    display: flex !important;
    flex-direction: column;
  }
  .crl-hp-hero__title { font-size: 2.8rem; letter-spacing: -1px; }
  .crl-hp-hero__sub { font-size: 1rem; }
  .crl-hp-hero__actions { flex-direction: column; }
  .crl-hp-hero__actions .crl-btn-hp { width: 100%; text-align: center; }
  .crl-hp-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .crl-hp-stat {
    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem .75rem;
  }
  .crl-hp-stat:nth-child(2n) { border-right: none; }
  .crl-hp-stat:nth-last-child(-n+2) { border-bottom: none; }
  .crl-hp-hero {
    min-height: auto !important;
    padding-top: 80px !important;
    padding-bottom: 3rem !important;
  }
}

/* Fix hero grid alignment */
.crl-hp-hero { align-items: center; }
.crl-hp-hero__content { grid-column: 1; }

/* Fix submit button color — override theme */
.crl-hp .crl-btn-hp--gold,
.crl-hp form button[type="submit"].crl-btn-hp--gold {
  background: #f0c040 !important;
  color: #0f1b3d !important;
  border: none !important;
  box-shadow: none !important;
}
.crl-hp .crl-btn-hp--gold:hover {
  background: #e0b030 !important;
  color: #0f1b3d !important;
}

/* Fix hero content layout */
.crl-hp-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: 1;
}

/* Fix nav logo visibility */
.crl-hp-nav__logo svg { display: block; }
