/* ====== Enrolment overlay ====== */
.enrol-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: #0a0a0c;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.enrol-overlay.open { opacity: 1; pointer-events: auto; }

/* ====== Top bar ====== */
.enrol-topbar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-dark);
  flex: none;
}
.enrol-topbar-left {
  display: flex; align-items: center; gap: 12px;
}
.enrol-topbar-title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 16px; color: #fff;
}
.enrol-close {
  background: transparent; border: 1px solid var(--hairline-dark);
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  cursor: pointer; font-size: 20px; color: var(--on-dark-mute);
  transition: background 0.2s, border-color 0.2s;
}
.enrol-close:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
}

/* ====== Step indicator ====== */
.enrol-steps {
  display: flex; align-items: center; gap: 10px;
}
.enrol-step {
  font-size: 14px; font-weight: 500;
  color: var(--on-dark-mute);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.enrol-step.active {
  background: var(--accent); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-weight: 600;
}
.enrol-step-num {
  font-weight: 700; font-size: 13px;
}
.enrol-step-line {
  width: 24px; height: 1px;
  background: rgba(255,255,255,0.18);
}

/* ====== Body / Content area ====== */
.enrol-body {
  flex: 1; display: flex;
  justify-content: center; padding: 60px 24px 80px;
}
.enrol-content { width: 100%; max-width: 680px; }
.enrol-step-label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.enrol-heading {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.1;
  color: #fff; margin: 0 0 12px;
}
.enrol-sub {
  font-size: 16px; line-height: 1.55;
  color: var(--on-dark-mute); margin: 0 0 36px;
  max-width: 520px;
}

@media (max-width: 640px) {
  .enrol-steps { display: none; }
  .enrol-topbar { padding: 12px 16px; }
  .enrol-body { padding: 36px 16px 60px; }
}
