/* Woosh! brand tokens - see BRAND_GUIDE.md in the app's brandkit folder */
:root {
  --woosh-blue-light: #6BB6FF;
  --woosh-blue: #3D8BFF;
  --ink-navy: #1F4E8C;
  --pupil-black: #1F2937;
  --cloud-white: #FFFFFF;
  --app-charcoal: #1E1F26;
  --soft-sky: #EEF3F8;

  --text-body: #2A2E3A;
  --text-muted: #6B7280;
  --border-soft: #DCE6F2;
  --shadow-card: 0 12px 32px rgba(31, 78, 140, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--soft-sky);
  color: var(--text-body);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, .headline-font {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  color: var(--ink-navy);
  margin: 0 0 0.4em;
  line-height: 1.2;
}

a { color: var(--woosh-blue); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 243, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.brand-lockup img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:hover { color: var(--woosh-blue); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--woosh-blue);
  color: white;
  box-shadow: 0 8px 20px rgba(61, 139, 255, 0.35);
}

.btn-primary:hover { background: var(--woosh-blue-light); transform: translateY(-1px); }

.btn-secondary {
  background: white;
  color: var(--ink-navy);
  border: 1.5px solid var(--border-soft);
}

.btn-secondary:hover { border-color: var(--woosh-blue); color: var(--woosh-blue); }

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

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 24px;
  text-align: center;
}

.hero .mascot { width: 220px; margin: 0 auto 20px; }

.hero .wordmark { width: 280px; margin: 0 auto 18px; }

.hero p.tagline {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- RSVP demo panel ---------- */

.rsvp-panel {
  background: var(--app-charcoal);
  border-radius: 20px;
  padding: 40px 24px;
  max-width: 720px;
  margin: 36px auto 12px;
  box-shadow: var(--shadow-card);
}

.rsvp-stage {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsvp-word {
  font-family: 'Poppins', monospace;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  color: #F4F7FB;
  letter-spacing: 0.5px;
  white-space: pre;
}

.rsvp-word .orp {
  color: var(--woosh-blue-light);
}

.rsvp-caption {
  text-align: center;
  color: #9AA4B5;
  font-size: 14px;
  margin-top: 10px;
}

.rsvp-guide-line {
  width: 2px;
  height: 14px;
  background: var(--woosh-blue);
  margin: 0 auto;
  opacity: 0.7;
}

/* ---------- Download CTA ---------- */

.download-cta {
  text-align: center;
  margin: 32px auto 64px;
}

.download-cta .price-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 15px;
}

.download-cta .price-note strong { color: var(--ink-navy); }

/* ---------- Section shell ---------- */

.section {
  padding: 56px 0;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.section-heading p { color: var(--text-muted); font-size: 16px; }

/* ---------- Challenge ---------- */

.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.challenge-card {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.challenge-card h3 { margin-bottom: 4px; }

.challenge-card .card-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.standard-text {
  background: var(--soft-sky);
  border-radius: 12px;
  padding: 16px;
  max-height: 260px;
  overflow-y: auto;
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 16px;
}

.challenge-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.challenge-stage {
  background: var(--app-charcoal);
  border-radius: 12px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.challenge-stage .rsvp-word { font-size: clamp(24px, 4vw, 34px); }

.timer-readout {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-navy);
  text-align: center;
}

.timer-readout .label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.speed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.speed-row input[type="range"] { flex: 1; }

.speed-value { font-weight: 600; color: var(--ink-navy); min-width: 88px; text-align: right; }

.challenge-result-banner {
  text-align: center;
  margin-top: 28px;
  font-size: 17px;
  color: var(--ink-navy);
  font-weight: 600;
  min-height: 1.6em;
}

/* ---------- Video placeholder ---------- */

.video-placeholder {
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background:
    linear-gradient(rgba(30,31,38,0.55), rgba(30,31,38,0.55)),
    url('../assets/img/woosh_mark_full.png') center / 180px no-repeat,
    var(--app-charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: white;
  text-align: center;
}

.video-placeholder .play-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder .play-badge::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

.video-placeholder .coming-soon {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border-soft);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

footer a { color: var(--text-muted); margin: 0 10px; text-decoration: none; }
footer a:hover { color: var(--woosh-blue); }

/* ---------- Simple content pages (Support / FAQ) ---------- */

.page-header {
  text-align: center;
  padding: 56px 0 8px;
}

.page-header p { color: var(--text-muted); font-size: 17px; }

.content-card {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.content-card h2 { font-size: 20px; }
.content-card h3 { font-size: 16px; color: var(--woosh-blue); margin-top: 20px; }

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: var(--ink-navy);
  padding: 6px 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 10px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item p { color: var(--text-body); margin: 10px 0 4px; }

.support-email {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
}
