:root {
  --bg: #0a0a0b;
  --bg-alt: #0f0f11;
  --card: #131315;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(201, 162, 84, 0.4);
  --text: #f5f4f0;
  --text-muted: #9a9a9f;
  --gold: #c9a254;
  --gold-deep: #e9cd82;
  --gold-light: #f6e7bc;
  --gold-dim: rgba(201, 162, 84, 0.13);
  --no: #b0555a;
  --radius: 18px;
  --max-width: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 40%, transparent 90%);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  padding: 40px 24px 8px;
  text-align: center;
  position: relative;
}

.header-badge {
  position: absolute;
  top: 40px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--gold-dim);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

@media (max-width: 640px) {
  .header-badge {
    position: static;
    display: flex;
    justify-content: center;
    margin: 16px auto 0;
    width: fit-content;
  }
}

.logo-mark {
  height: 68px;
  width: auto;
  filter: invert(1) brightness(1.15);
}

header.apply-header {
  padding: 24px 24px 0;
  text-align: center;
}

header.apply-header .logo-mark {
  height: 32px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 28px 24px 44px;
}

.confirmation-hero {
  text-align: center;
  padding: 28px 24px 44px;
  max-width: 820px;
  margin: 0 auto;
}

.confirmation-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.confirmation-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
}

.confirmation-hero h1 .accent-muted {
  display: inline-block;
}

.confirmation-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 20px auto 0;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 .accent {
  background: linear-gradient(100deg, var(--gold-light) 10%, var(--gold) 55%, #a97f38 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.video-lede {
  text-align: center;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 auto 28px;
}

/* Video */
.video-section {
  padding: 8px 24px 56px;
}

.video-frame {
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--card), #0c0c0d);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.06), 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 13, 6, 0.25), rgba(15, 13, 6, 0.6));
}

.play-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(184, 144, 31, 0.35);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 3px;
}

.video-overlay .label {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.video-overlay .sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Pillars / system section */
.pillars-section {
  padding: 64px 24px 64px;
}

.section-eyebrow {
  text-align: center;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pillars-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 44px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.pillar-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.pillar h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Steps section */
.steps-section {
  padding: 64px 24px 64px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.step-box {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 30px 26px;
  box-shadow: 0 1px 2px rgba(20, 20, 15, 0.03);
}

.step-box h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-deep);
}

.step-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Breakout videos section */
.breakouts-section {
  padding: 64px 24px 64px;
}

.breakouts-section .lede {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
}

.breakouts-section .lede p {
  margin: 4px 0;
}

.breakouts-section .lede .lede-title {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.breakouts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .breakouts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.breakout-video {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.breakout-video wistia-player {
  display: block;
  width: 100%;
}

.breakout {
  display: flex;
  flex-direction: column;
}

.breakout-summary {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.breakout h3 {
  margin: 16px 0 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  min-height: calc(1.02rem * 1.4 * 2);
}

/* Qualifier section */
.qualify-section {
  padding: 56px 24px 64px;
}

.qualify-lede {
  text-align: center;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 40px;
}

.accent-muted {
  color: var(--gold-deep);
}

.qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 700px) {
  .qualify-grid {
    grid-template-columns: 1fr;
  }
}

.qcard {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 28px 26px;
  box-shadow: 0 1px 2px rgba(20, 20, 15, 0.03);
  display: flex;
  flex-direction: column;
}

.qcard.yes {
  border-color: rgba(212, 175, 55, 0.25);
}

.qcard h3 {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
}

.qcard.yes h3 {
  color: var(--gold-deep);
}

.qcard.no h3 {
  color: var(--no);
}

.qcard ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
}

.qcard li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mark {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}

.qcard.yes .mark {
  background: var(--gold-dim);
  color: var(--gold-deep);
}

.qcard.no .mark {
  background: rgba(176, 85, 90, 0.15);
  color: var(--no);
}

/* Apply / Form section */
.apply-section {
  margin-top: -16px;
  padding: 0 24px 90px;
}

.apply-section .section-eyebrow {
  margin-bottom: 14px;
}

.form-card {
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--card);
  padding: 40px 36px;
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .apply-section {
    padding-left: 8px;
    padding-right: 8px;
  }

  .form-card {
    padding: 24px 4px;
  }
}

.progress-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 32px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  border-radius: 2px;
  transition: width 0.35s ease;
  width: 0%;
}

.form-step {
  display: none;
  flex-direction: column;
  gap: 22px;
  flex: 1;
  animation: formStepFadeIn 0.35s ease;
}

.form-step.active {
  display: flex;
}

@keyframes formStepFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-card .step-num {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-step label.question {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.form-step input[type="text"],
.form-step input[type="email"],
.form-step input[type="tel"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border);
  color: var(--text);
  font-size: 1.15rem;
  padding: 10px 2px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-step input:focus {
  border-color: var(--gold);
}

.phone-field {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.phone-code {
  flex: none;
  width: 108px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border);
  color: var(--text);
  font-size: 1.05rem;
  padding: 10px 2px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.phone-code:focus {
  border-color: var(--gold);
}

.phone-field input[type="tel"] {
  flex: 1;
}

.form-step textarea {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1.05rem;
  padding: 14px 16px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 96px;
  transition: border-color 0.2s ease;
}

.form-step textarea:focus {
  border-color: var(--gold);
}

.field-hint {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: -10px 0 0;
}

.other-input {
  display: none;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border);
  color: var(--text);
  font-size: 1.05rem;
  padding: 8px 2px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.other-input.visible {
  display: block;
}

.other-input:focus {
  border-color: var(--gold);
}

.form-card .option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-card .option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 18px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
  text-align: left;
}

.option-letter {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.form-card .option:hover {
  border-color: var(--border-strong);
  background: var(--gold-dim);
}

.form-card .option:hover .option-letter {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.form-card .option.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold-deep);
}

.form-card .option.selected .option-letter {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1400;
}

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
}

.btn-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-back:hover {
  color: var(--text);
}

.btn-next {
  display: inline-block;
  appearance: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(160deg, var(--gold-light), var(--gold) 65%, #a97f38);
  color: #1a1400;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 20px 48px;
  border-radius: 999px;
  transition: transform 0.15s ease;
}

.btn-next:hover {
  transform: translateY(-1px);
}

.btn-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 600px) {
  .btn-next {
    padding: 11px 24px;
    font-size: 0.9rem;
  }
}

.calendly-inline-widget {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Footer */
footer {
  text-align: center;
  padding: 56px 24px 48px;
  border-top: 1px solid var(--border);
}

footer .logo-mark {
  height: 34px;
  margin-bottom: 18px;
}

footer .tagline {
  color: var(--text);
  font-weight: 600;
  margin: 0 0 10px;
}

footer .verse {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.92rem;
  margin: 0 0 22px;
}

footer .copyright {
  color: #5f5f63;
  font-size: 0.8rem;
  margin: 0;
}
