/* ================================================
   RYVL Website
   Light mode — Space Grotesk — HYROX Yellow #ffed00
   Matches app home screen design language:
   italic bold headers, skewed badges, accent bars,
   generous spacing, athletic energy
   ================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #F5F5F5;
  --bg-alt: #FFFFFF;
  --card: #FFFFFF;
  --surface: #EBEBEB;
  --text: #000000;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: rgba(0, 0, 0, 0.1);
  --yellow: #ffed00;
  --yellow-hover: #e6d600;
  --yellow-dim: rgba(255, 237, 0, 0.12);

  --font: 'Space Grotesk', system-ui, sans-serif;
  --nav-height: 72px;
  --container: 1080px;
  --section-padding: 100px;
  --px: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- UTILITIES ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ---------- SKEW ELEMENTS (signature app pattern) ---------- */
.skew-wrap {
  display: inline-flex;
  transform: skewX(-10deg);
}
.skew-wrap > * {
  transform: skewX(10deg);
}
.skew-wrap-yellow {
  background: var(--yellow);
  padding: 10px 16px;
}

.skew-badge {
  display: inline-flex;
  transform: skewX(-10deg);
  padding: 4px 14px;
}
.skew-badge > span {
  transform: skewX(10deg);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skew-badge-yellow {
  background: var(--yellow);
  color: var(--text);
}
.skew-badge-dark {
  background: var(--text);
  color: var(--bg-alt);
}
.skew-badge-inline {
  padding: 3px 10px;
}

/* ---------- ACCENT BAR (app section header pattern) ---------- */
.accent-bar {
  width: 4px;
  height: 24px;
  background: var(--yellow);
  border-radius: 2px;
  flex-shrink: 0;
}
.accent-bar-light {
  background: var(--yellow);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-size: 13px;
}

.btn-primary {
  background: var(--yellow);
  color: var(--text);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 237, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-sm { padding: 8px 20px; gap: 6px; }
.btn-lg { padding: 16px 32px; font-size: 15px; gap: 10px; }
.btn-block { width: 100%; padding: 14px 24px; gap: 8px; }

.btn-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.hero-cta-btn,
.cta-primary-btn,
.nav-cta-btn,
.mobile-cta-btn {
  letter-spacing: 0.08em;
}

/* ---------- NAV ---------- */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(245, 245, 245, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 32px;
  height: 32px;
}
.nav-logo-meta {
  display: flex;
  flex-direction: column;
}
.nav-logo-text {
  font-weight: 700;
  font-size: 24px;
  font-style: italic;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.nav-logo-sub {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
}

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(245, 245, 245, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--px);
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  transform: translateY(-8px);
  opacity: 0;
  transition: all 0.3s ease;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-link {
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 8px 0;
}
.mobile-link:hover { color: var(--text); }
.mobile-cta { margin-top: 8px; padding: 14px 24px; }

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px var(--px) 80px;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-phone {
  flex-shrink: 0;
  width: 300px;
}
.hero-phone img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.hero-tag-row {
  margin-bottom: 28px;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.hero-title em {
  display: inline-block;
  max-width: 100%;
  background: var(--yellow);
  color: var(--text);
  font-style: normal;
  transform: skewX(-10deg);
  padding: 0.04em 0.22em;
  -webkit-text-stroke: 0;
  text-shadow: none;
  line-height: 1;
  vertical-align: baseline;
}
.hero-title em > span {
  display: inline-block;
  transform: skewX(10deg);
}

.hero-subtitle {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin: 0 0 20px;
  max-width: 560px;
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-proof-dots {
  display: inline-flex;
}
.hero-proof-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--bg);
  margin-left: -10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.hero-proof-dot:first-child { margin-left: 0; }
.hero-proof-dot:nth-child(2) { background: #1a1a1a; }
.hero-proof-dot:nth-child(3) { background: var(--yellow); }
.hero-proof-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
}
.hero-proof-text strong {
  color: var(--text);
  font-weight: 700;
}

.store-badge img { height: 56px; }
.store-badge-lg img { height: 64px; }

.store-badge-secondary {
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.store-badge-secondary:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Hero + final CTA: text button and App Store badge share the same height so they sit on the same visual row */
.hero-cta-btn,
.cta-primary-btn {
  height: 52px;
  padding-top: 0;
  padding-bottom: 0;
}
.hero-ctas .store-badge-secondary img,
.section-cta .store-badge-secondary img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-cta img { height: 44px; }
button.mobile-cta { margin-top: 8px; }
.mobile-cta-btn { margin-top: 8px; }

/* ---------- PROOF BAR ---------- */
.proof-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.proof-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.proof-item { text-align: center; }

.proof-number {
  display: block;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1;
}

.proof-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: var(--section-padding) 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-flush {
  padding-top: 0;
}
.section-dark {
  background: var(--text);
  color: var(--bg-alt);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-header-center {
  justify-content: center;
}

.section-tag {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.section-tag-light {
  color: rgba(255, 255, 255, 0.5);
}

.section-title {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
}
.section-title-center {
  text-align: center;
}
.section-title-light {
  color: var(--bg-alt);
}

.section-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

/* ---------- PROBLEM BLOCK ---------- */
.problem-block {
  max-width: 640px;
}

/* ---------- STATIONS ---------- */
.stations-intro {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.stations-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 28px;
}

.stations-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.stations-strip::-webkit-scrollbar { display: none; }

.station-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  min-width: 110px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  transition: border-color 0.2s;
}
.station-card:hover {
  border-color: var(--yellow);
}

.station-num {
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.station-name {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
}

.station-dist {
  font-weight: 500;
  font-size: 11px;
  color: var(--text-muted);
}

/* ---------- FEATURES ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.feature-top {
  margin-bottom: 20px;
}

.feature-title {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.feature-title em {
  font-style: italic;
}

.feature-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---------- HOW IT WORKS / STEPS ---------- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 16px;
}

.step-number-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.step-number {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--text);
}

.step-connector {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 30px;
  flex-shrink: 0;
}

.step-title {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--bg-alt);
}

.step-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- INTEGRATIONS ---------- */
.integrations-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.integration-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.2s;
}
.integration-pill:hover {
  border-color: var(--yellow);
}
.integration-pill svg {
  width: 20px;
  height: 20px;
  color: var(--text);
  flex-shrink: 0;
}
.integration-pill span {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ---------- CTA ---------- */
.section-cta {
  padding: 100px 0;
  background: var(--text);
  color: var(--bg-alt);
  text-align: center;
}

.cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-title {
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin: 24px 0 16px;
}
.cta-title em {
  font-style: italic;
  color: var(--yellow);
}

.cta-sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
}
.cta-sub strong {
  color: var(--bg-alt);
  font-weight: 700;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.section-cta .store-badge-secondary { opacity: 0.75; }
.section-cta .store-badge-secondary:hover { opacity: 1; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 28px;
  height: 28px;
}

.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--text); }
.footer-social svg { width: 15px; height: 15px; }

.footer-links-group {
  display: flex;
  gap: 40px;
}

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- ANIMATIONS ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- WAITLIST MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }

.modal-title {
  font-weight: 700;
  font-size: 24px;
  font-style: italic;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-input {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.modal-input:focus {
  border-color: var(--text);
}
.modal-input::placeholder {
  color: var(--text-muted);
}

.modal-fine {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

.modal-badge {
  margin-bottom: 14px;
}

.modal-error {
  display: none;
  font-size: 13px;
  font-weight: 500;
  color: #c4321c;
  margin: -4px 0 0;
  line-height: 1.4;
}
.modal-error.visible { display: block; }

.modal-link {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.modal-link:hover { text-decoration-color: var(--text); }

.modal-success .modal-body a { color: var(--text); }

.modal-success {
  display: none;
  text-align: center;
}
.modal-success .modal-title {
  font-size: 32px;
  margin-bottom: 8px;
}

button.store-badge {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* ---------- LEGAL PAGES ---------- */
.legal-page {
  padding: calc(var(--nav-height) + 48px) 0 80px;
  min-height: 100vh;
}

.legal-container {
  max-width: 680px;
}

.legal-title {
  font-weight: 700;
  font-size: 32px;
  font-style: italic;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-container h2 {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-container h3 {
  font-weight: 600;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-container p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-container ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}
.legal-container ul li {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}
.legal-container ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.legal-container a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-container a:hover {
  color: var(--text-secondary);
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  margin-top: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.form-input {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--text);
}
.form-input::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

select.form-input {
  cursor: pointer;
}

.contact-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

/* ---------- DATA-BACKED BLOCK ---------- */
.data-block {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: 880px;
  margin: 56px auto 0;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.data-stat {
  flex-shrink: 0;
  text-align: center;
  padding: 24px 32px;
  background: var(--text);
  color: var(--bg-alt);
  border-radius: 16px;
  min-width: 220px;
}
.data-stat-number {
  font-weight: 700;
  font-size: clamp(44px, 5.5vw, 64px);
  font-style: italic;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -1.5px;
}
.data-stat-plus {
  font-style: normal;
  margin-left: 2px;
}
.data-stat-label {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  line-height: 1.4;
}

.data-info { flex: 1; min-width: 0; }
.data-copy {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.data-copy:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-q {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  user-select: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border-radius: 50%;
  color: var(--text);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-q::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-a {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.faq-a p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
    --nav-height: 72px;
  }

  /* ===== MOBILE NAV — clean rebuild ===== */
  .nav-links,
  .nav-cta,
  .nav-cta-btn { display: none; }

  .nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: absolute;
    left: calc(var(--px) - 10px);
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.25s ease;
  }

  .nav-logo { gap: 10px; align-items: center; }
  .nav-logo-icon { width: 34px; height: 34px; }
  .nav-logo-text { font-size: 22px; }
  .nav-logo-sub { font-size: 9.5px; letter-spacing: 2px; }

  /* Hero — hide the HYBRID TRAINING tag on mobile (redundant with H1 badge) */
  .hero-tag-row { display: none; }

  /* Tighter body-copy sizes on mobile so H1 feels dominant */
  .hero-subtitle { font-size: 15.5px; font-weight: 600; margin-bottom: 14px; }
  .hero-sub { font-size: 14.5px; line-height: 1.65; margin: 0 auto 28px; }

  .features-grid { grid-template-columns: 1fr; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .step-connector {
    width: 2px;
    height: 32px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.1);
  }
  .step { max-width: none; padding: 0; }

  .proof-items { gap: 32px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-links-group {
    flex-direction: column;
    gap: 16px;
  }

  .integrations-row { gap: 10px; }
  .integration-pill { padding: 10px 16px; }
  .integration-pill span { font-size: 12px; }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    width: 100%;
    min-width: 0;
  }
  .hero-content { max-width: 100%; min-width: 0; width: 100%; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-cta-btn { width: 100%; }
  .hero-ctas .store-badge-secondary {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .hero-ctas .store-badge-secondary img {
    height: 52px;
    width: auto;
  }
  .hero-social-proof { justify-content: center; }
  .hero-phone { width: 240px; }
  .hero-title { font-size: 28px; }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
  }
  .cta-primary-btn { width: 100%; }
  .section-cta .store-badge-secondary {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .section-cta .store-badge-secondary img {
    height: 52px;
    width: auto;
  }

  .faq-list { margin-top: 40px; }
  .faq-item { padding: 16px 18px; }
  .faq-q { font-size: 16px; gap: 14px; }

  .data-block {
    flex-direction: column;
    gap: 28px;
    padding: 28px 20px;
    text-align: center;
  }
  .data-stat { width: 100%; min-width: 0; }
  .data-info { text-align: left; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 22px; }
  .hero-title em { padding: 0.04em 0.18em; }
  .section-title { font-size: 24px; }
  .proof-items { flex-direction: column; gap: 20px; }

  .modal { padding: 32px 22px; border-radius: 14px; }
  .modal-overlay { padding: 16px; }
  .modal-title { font-size: 22px; }
  .modal-success .modal-title { font-size: 28px; }
  .modal-body { font-size: 13.5px; }
  .modal-input { padding: 12px 14px; font-size: 14px; }
}
