/* ══════════════════════════════════════════════════════
   Rehearse — styles.css
   Design tokens: Navy #0E1F3C · Coral #FF5C39 · Blue bg #EFF4FC
   Font: Space Grotesk (Google Fonts)
══════════════════════════════════════════════════════ */

/* ── Reset + Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: #fff;
  color: #0E1F3C;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #FF5C39; color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; }
input, select, textarea, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: #5C6B85; }
input:focus, select:focus, textarea:focus { outline: 2px solid #FF5C39; outline-offset: 0; }
h1, h2, h3 { text-wrap: balance; }

/* ── Accessibility ─────────────────────────────────── */
.skip {
  position: absolute; top: -999px; left: 12px;
  background: #FF5C39; color: #fff;
  padding: 8px 16px; border-radius: 4px;
  font-size: 14px; z-index: 9999;
}
.skip:focus { top: 8px; }

/* ── Animations ────────────────────────────────────── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .15; }
}
.rec { animation: blink 1.9s ease-in-out infinite; }

/* ── Scroll reveal ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(.16,1,.3,1),
              transform 0.75s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ── Hero entrance ─────────────────────────────────── */
.ha1, .ha2, .ha3, .ha4 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s cubic-bezier(.16,1,.3,1),
              transform 0.85s cubic-bezier(.16,1,.3,1);
}
.ha1.visible, .ha2.visible, .ha3.visible, .ha4.visible {
  opacity: 1; transform: none;
}

/* ── Layout ────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.coral { color: #FF5C39; }
.hide-mobile { /* controlled via media query */ }

/* ═══════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════ */
#rh-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #DCE6F7;
  transition: box-shadow 0.3s;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.025em; color: #0E1F3C;
  flex-shrink: 0;
}

.nav-links {
  display: flex; gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: #5C6B85; transition: color 0.18s;
}
.nav-links a:hover { color: #0E1F3C; }

.btn-coral {
  background: #FF5C39; color: #fff;
  border-radius: 8px;
  transition: background 0.18s;
}
.btn-coral:hover { background: #E2491F; }

.nav-cta {
  padding: 10px 20px;
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.01em; flex-shrink: 0;
  background: #FF5C39; color: #fff;
  border-radius: 8px; transition: background 0.18s;
}
.nav-cta:hover { background: #E2491F; }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #EFF4FC 0%, #FFFFFF 65%);
  padding-top: 64px;
}

.hero-inner {
  flex: 1;
  display: flex; align-items: center;
  padding: 80px 48px 60px;
}

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #DCE6F7; border-radius: 100px;
  padding: 5px 14px 5px 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #0E1F3C;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: #FF5C39; border-radius: 50%; flex-shrink: 0;
}

.hero-h1 {
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: 1.03; letter-spacing: -0.035em;
  font-weight: 700; color: #0E1F3C;
  margin-top: 28px; max-width: 15ch;
}

.hero-sub {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7; color: #5C6B85;
  max-width: 54ch; margin-top: 24px; font-weight: 400;
}

.hero-cta-row {
  display: flex; align-items: center;
  gap: 20px; margin-top: 40px; flex-wrap: wrap;
}

.btn-hero {
  padding: 14px 28px;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em; display: inline-block;
  box-shadow: 0 8px 24px -8px rgba(255,92,57,0.45);
  transition: background 0.18s, transform 0.18s;
}
.btn-hero:hover { background: #E2491F; transform: translateY(-1px); }

.hero-tag {
  font-size: 13px; color: #8A9BB8; line-height: 1.5;
}

.scroll-cue {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 56px;
  font-size: 12px; letter-spacing: 0.04em;
  text-transform: uppercase; color: #8A9BB8;
  transition: color 0.18s;
}
.scroll-cue:hover { color: #5C6B85; }

/* ── Stats strip ───────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: #16294B;
}

.stats-cell {
  background: #0E1F3C;
  padding: 52px 56px;
  border-top: 3px solid #FF5C39;
}

.stats-num {
  font-size: clamp(40px, 4vw, 68px);
  font-weight: 700; letter-spacing: -0.045em;
  color: #fff; line-height: 1; display: block;
}

.stats-label {
  font-size: 13px; line-height: 1.55;
  color: #8AAFE0; margin-top: 14px; max-width: 20ch;
}

/* ═══════════════════════════════════════════════════
   SECTION BASES
═══════════════════════════════════════════════════ */
.section-dark {
  background: #0E1F3C;
  padding: 128px 48px;
}

.section-light {
  background: #EFF4FC;
  padding: 128px 48px;
}

/* ═══════════════════════════════════════════════════
   PLATFORM — HOW IT WORKS
═══════════════════════════════════════════════════ */
.platform-layout {
  display: flex; gap: 88px; align-items: flex-start;
}

.platform-steps { flex: 1; min-width: 0; }

.eyebrow-dark {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #8AAFE0; margin-bottom: 16px;
}

.h2-dark {
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 700; letter-spacing: -0.03em;
  color: #fff; line-height: 1.08; margin-bottom: 60px;
}

.steps-list {
  list-style: none;
  display: flex; flex-direction: column;
}

.steps-list li {
  display: flex; gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid #16294B;
  margin-bottom: 40px;
}

.steps-list li:last-child {
  border-bottom: none; padding-bottom: 0; margin-bottom: 0;
}

.step-num {
  font-size: 11px; font-weight: 600;
  color: #FF5C39; letter-spacing: 0.08em;
  padding-top: 3px; flex-shrink: 0; width: 28px;
}

.step-h3 {
  font-size: 17px; font-weight: 600;
  color: #fff; letter-spacing: -0.02em;
  margin-bottom: 8px; line-height: 1.3;
}

.step-body {
  font-size: 14px; line-height: 1.7; color: #8AAFE0;
}

/* Call mock */
.mock-wrap {
  flex: 1; min-width: 380px;
}

.mock-card {
  background: #16294B;
  border: 1px solid #1E3560;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.mock-header {
  background: #0A1628;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid #16294B;
}

.mock-dot {
  width: 8px; height: 8px;
  background: #E05252; border-radius: 50%; flex-shrink: 0;
}

.mock-title {
  font-size: 12px; font-weight: 500; color: #8AAFE0;
  flex: 1; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

.mock-timer {
  font-size: 12px; font-weight: 600;
  color: #5A7AA8; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.mock-body {
  display: flex; min-height: 300px;
}

.mock-video {
  flex: 1; position: relative;
  background: #080F1E; min-height: 280px;
}

.mock-actor-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: 0.88;
}

.mock-label-actor {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 4px; padding: 3px 9px;
  font-size: 11px; font-weight: 500;
  color: #fff; letter-spacing: 0.02em;
}

.mock-pip {
  position: absolute; bottom: 12px; right: 12px;
  width: 76px; height: 76px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid #1E3560;
  background: #0E1F3C;
}

.mock-pip img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}

.mock-pip-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  padding: 4px; text-align: center;
  font-size: 9px; font-weight: 600;
  color: #fff; letter-spacing: 0.04em;
}

.mock-panel {
  width: 188px; flex-shrink: 0;
  background: #0D1A30;
  border-left: 1px solid #16294B;
  padding: 18px;
  display: flex; flex-direction: column; gap: 20px;
}

.mock-panel-heading {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #4A6EA8; display: block; margin-bottom: 8px;
}

.mock-panel-text {
  font-size: 12px; line-height: 1.55; color: #8AAFE0;
}

.mock-feedback-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 7px;
}

.mock-feedback-list li {
  display: flex; align-items: center; gap: 9px;
  font-size: 11px; color: #5A7AA8;
}

.check-icon {
  width: 15px; height: 15px;
  background: #FF5C39; border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.uncheck-icon {
  width: 15px; height: 15px;
  border: 1.5px solid #3A5A88;
  border-radius: 50%; flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   PILLARS — WHY REHEARSE
═══════════════════════════════════════════════════ */
.eyebrow-light {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #8A9BB8; margin-bottom: 16px;
}

.h2-light {
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 700; letter-spacing: -0.035em;
  color: #0E1F3C; line-height: 1.06; margin-bottom: 72px;
}

.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: #DCE6F7;
}

.pillar-card {
  background: #EFF4FC;
  padding: 52px 44px;
}

.pillar-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #FF5C39; display: block; margin-bottom: 28px;
}

.pillar-h3 {
  font-size: clamp(28px, 2.2vw, 38px);
  font-weight: 700; letter-spacing: -0.03em;
  color: #0E1F3C; line-height: 1.1; margin-bottom: 6px;
}

.pillar-contrast {
  font-size: 15px; color: #8A9BB8; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 20px;
}

.pillar-body {
  font-size: 14px; line-height: 1.7; color: #5C6B85;
}

/* ═══════════════════════════════════════════════════
   WAITLIST FORM
═══════════════════════════════════════════════════ */
.form-container {
  max-width: 680px;
}

.form-sub {
  font-size: 16px; line-height: 1.65;
  color: #8AAFE0; margin-bottom: 56px;
}

#pilot-form {
  display: flex; flex-direction: column; gap: 20px;
}

.form-row {
  display: flex; gap: 16px;
}

.form-field {
  flex: 1; display: flex; flex-direction: column; gap: 8px;
}

.form-field label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #8AAFE0;
}

.label-optional {
  color: #4A6EA8; font-weight: 400;
  text-transform: none; letter-spacing: 0; font-size: 11px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; background: #16294B;
  border: 1px solid #1E3560; border-radius: 8px;
  padding: 12px 14px; color: #fff; font-size: 15px;
}

.form-field select {
  cursor: pointer; appearance: none; -webkit-appearance: none;
}

.form-field textarea {
  resize: vertical; line-height: 1.55;
}

/* Honeypot: CSS-hidden only (not display:none) */
.honeypot {
  position: absolute; left: -9999px; top: 0;
  width: 1px; height: 1px; overflow: hidden;
}

.btn-submit {
  width: 100%;
  background: #FF5C39; color: #fff;
  border: none; border-radius: 8px;
  padding: 14px 24px;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em; cursor: pointer;
  margin-top: 4px;
  transition: background 0.18s, opacity 0.18s;
  box-shadow: 0 8px 24px -8px rgba(255,92,57,0.4);
}
.btn-submit:hover { background: #E2491F; }

.form-status {
  font-size: 14px; text-align: center;
  color: #8AAFE0; min-height: 22px;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: #080F1E;
  border-top: 1px solid #0E1F3C;
  padding: 44px 48px 36px;
}

.footer-top {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex; align-items: center; gap: 9px;
}

.footer-wordmark {
  font-size: 15px; font-weight: 600;
  color: #fff; letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 13px; color: #3A5878; margin-left: 6px;
}

.footer-nav {
  display: flex; gap: 24px; flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px; color: #5A7AA8; transition: color 0.18s;
}
.footer-nav a:hover { color: #8AAFE0; }

.footer-copy {
  font-size: 12px; color: #3A5878;
  border-top: 1px solid #16294B; padding-top: 28px;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤1023px
═══════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .platform-layout {
    flex-direction: column;
  }

  .mock-wrap {
    min-width: 0; width: 100%;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤767px
═══════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Nav */
  #rh-nav { padding: 0 20px; }
  .nav-links { display: none; }

  /* Hero */
  .hero-inner { padding: 48px 24px 40px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }

  /* Sections */
  .section-dark,
  .section-light { padding: 72px 24px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; }
  .stats-cell { padding: 36px 24px; }
  .stats-cell:not(:last-child) {
    border-bottom: 1px solid #1A3460;
  }

  /* Platform */
  .platform-layout { gap: 48px; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card { padding: 36px 24px; }

  /* Form */
  .form-row { flex-direction: column; }

  /* Footer */
  .site-footer { padding: 44px 24px 36px; }
  .footer-top {
    flex-direction: column; align-items: flex-start;
  }

  /* Hide side panel in mock on mobile */
  .hide-mobile { display: none !important; }
}
