/* ========================================
   COMPETE WITH ME — MAIN STYLESHEET
   Dark Athletic Theme
   ======================================== */

:root {
  --blaze: #FF5733;
  --blaze-dark: #E54A28;
  --coral: #FF8B5E;
  --violet: #7C3AED;
  --lavender: #A78BFA;
  --gold: #FBBF24;
  --emerald: #10B981;

  /* Surfaces */
  --bg: #09090F;
  --midnight: #0E0E1C;
  --surface: #111124;
  --surface-2: #191930;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 87, 51, 0.35);

  /* Text */
  --text: rgba(240, 238, 252, 0.92);
  --text-muted: rgba(240, 238, 252, 0.5);
  --gray: #8888A0;

  /* Legacy compat */
  --slate: #1C1C32;
  --white: #FFFFFF;

  /* Medals */
  --medal-gold: #FBBF24;
  --medal-silver: #C0C0C0;
  --medal-bronze: #CD7F32;
}

/* ========== RESET ========== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--text-muted);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ========== UTILITIES ========== */

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

.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blaze);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 28px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--blaze) 0%, var(--coral) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== BUTTONS ========== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--blaze);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  box-shadow: 0 0 0 1px rgba(255,87,51,0.3), 0 8px 32px rgba(255, 87, 51, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--blaze-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,87,51,0.5), 0 16px 48px rgba(255, 87, 51, 0.45);
  outline: none;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
  background: rgba(255,255,255,0.04);
  outline: none;
}

.btn-social {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid var(--border);
}

.btn-social:focus-visible {
  outline: 2px solid var(--blaze);
  outline-offset: 2px;
}

.btn-google {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

.btn-google:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.btn-apple {
  background: rgba(255,255,255,0.92);
  color: #111;
  border-color: transparent;
}

.btn-apple:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blaze);
  color: var(--white);
  padding: 8px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  font-size: 14px;
}

.skip-link:focus {
  top: 0;
}

/* ========== NAVIGATION ========== */

nav#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

nav#nav.scrolled {
  background: rgba(9, 9, 15, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

nav#nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 6px 10px 6px 6px;
  margin: -6px 0 -6px -6px;
  transition: background 0.2s ease;
}

@media (hover: hover) {
  .nav-brand:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}

.nav-brand:focus-visible {
  outline: 2px solid var(--blaze);
  outline-offset: 2px;
}


.nav-wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-wordmark-compete {
  color: var(--text);
}

.nav-wordmark-withme {
  color: var(--blaze);
}

.nav-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-secondary {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-secondary:hover, .nav-secondary:focus-visible {
  color: var(--text);
  outline: none;
}

.nav-section-link.is-active {
  color: var(--text);
  border-bottom-color: var(--blaze);
}

.nav-cta {
  padding: 9px 22px;
  background: var(--blaze);
  color: var(--white);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(255, 87, 51, 0.3);
  white-space: nowrap;
}

.nav-cta-short { display: none; }

.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--blaze-dark);
  box-shadow: 0 6px 28px rgba(255, 87, 51, 0.45);
  outline: none;
}

/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 87, 51, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 87, 51, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-glow--violet {
  top: -10%;
  left: -5%;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.45) 0%, rgba(124, 58, 237, 0.15) 45%, transparent 70%);
  filter: blur(80px);
}

.hero-glow--blaze {
  bottom: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle at center, rgba(255, 87, 51, 0.38) 0%, rgba(255, 87, 51, 0.12) 45%, transparent 70%);
  filter: blur(80px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  animation: fade-up 0.6s ease 0.05s both;
}

.hero-logo .spark {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  margin-top: 20px;
  margin-bottom: 0;
  animation: fade-up 0.6s ease 0.55s both;
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 11vw, 7.5rem);
  text-transform: uppercase;
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
  animation: fade-up 0.7s ease 0.2s both;
}

.hero-accent {
  font-style: italic;
  background: linear-gradient(120deg, var(--blaze) 0%, var(--coral) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subhead {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.6;
  animation: fade-up 0.7s ease 0.35s both;
}

.hero-blank {
  display: inline-block;
  width: 2.4em;
  height: 0;
  border-bottom: 1.5px solid rgba(240, 238, 252, 0.4);
  vertical-align: baseline;
  margin: 0 0.1em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up 0.7s ease 0.5s both;
}

/* Launch + Countdown inside hero */
.hero-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  animation: fade-up 0.7s ease 0.65s both;
}

.hero-badge {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hero-badge-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
}

.hero-badge-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blaze);
}

.hero-countdown {
  width: 100%;
  max-width: 520px;
}

.countdown-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  padding: 0 8px;
}

.countdown-value {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

#countdown-seconds {
  color: var(--blaze);
}

.countdown-label {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
}

.countdown-sep {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  padding-bottom: 26px;
  align-self: flex-end;
  user-select: none;
}

.countdown-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Page-load stagger animation */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== FEATURES ========== */

.features {
  position: relative;
  padding: 96px 0 104px;
  background:
    radial-gradient(ellipse 70% 55% at 90% 5%, rgba(255, 87, 51, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(124, 58, 237, 0.10) 0%, transparent 55%),
    var(--midnight);
  border-top: 1px solid var(--border);
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,87,51,0.55), transparent);
  pointer-events: none;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.features.divider-revealed::before {
  transform: translateX(-50%) scaleX(1);
}

.features-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.use-cases .section-label,
.use-cases .section-title,
.roadmap .section-label,
.roadmap .section-title {
  text-align: center;
}

.features-heading .section-title {
  margin-bottom: 16px;
}

.features-lede {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* ========== FEATURE CAROUSEL ========== */

.feature-carousel {
  position: relative;
}

.feature-carousel-track {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  position: relative;
}

/* All items hidden by default; only .fc-active is shown */
.feature-showcase {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature-showcase.fc-active {
  display: grid;
}

.feature-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 90% 50%, rgba(255, 87, 51, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Direction-aware slide animations */
@keyframes fc-enter-next {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fc-enter-prev {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.feature-carousel.fc-dir-next .feature-showcase.fc-active {
  animation: fc-enter-next 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-carousel.fc-dir-prev .feature-showcase.fc-active {
  animation: fc-enter-prev 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Carousel nav controls */
.feature-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.fc-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.fc-btn:hover:not(:disabled) {
  border-color: var(--blaze);
  background: rgba(255, 87, 51, 0.1);
  color: var(--blaze);
}

.fc-btn:focus-visible {
  outline: 2px solid var(--blaze);
  outline-offset: 2px;
}

.fc-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.fc-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  margin: -12px 0;
}

.fc-dot {
  width: 10px;
  height: 10px;
  border-radius: 100px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease;
  flex-shrink: 0;
}

.fc-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.fc-dot:focus-visible {
  outline: 2px solid var(--blaze);
  outline-offset: 3px;
}

.fc-dot.fc-dot--active {
  background: var(--blaze);
  width: 22px;
}


.feature-showcase-body {
  position: relative;
  z-index: 1;
}

.feature-showcase-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blaze);
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 87, 51, 0.25);
  background: rgba(255, 87, 51, 0.08);
}

.feature-showcase:nth-child(even) .feature-showcase-tag {
  color: var(--lavender);
  border-color: rgba(167, 139, 250, 0.25);
  background: rgba(124, 58, 237, 0.08);
}

.feature-showcase:nth-child(3n) .feature-showcase-tag {
  color: var(--emerald);
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.08);
}

.feature-showcase h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.1;
}

.feature-showcase p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-showcase p + p {
  margin-top: 12px;
}

.feature-showcase strong {
  color: rgba(240, 238, 252, 0.75);
  font-weight: 600;
}

.feature-showcase .feature-waitlist-note {
  margin-top: 16px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  background: rgba(255, 87, 51, 0.07);
  border-radius: 8px;
  border: 1px solid rgba(255, 87, 51, 0.18);
  border-left: 3px solid var(--blaze);
}

.feature-waitlist-note a {
  color: var(--blaze);
  font-weight: 600;
}

.feature-waitlist-note a:hover {
  text-decoration: underline;
}

.feature-showcase-figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.feature-showcase-shot {
  display: block;
  width: 100%;
  height: auto;
  background: #F8F8FC;
}

/* ========== USE CASES ========== */

.use-cases {
  padding: 96px 0 104px;
  background:
    radial-gradient(ellipse 65% 50% at 15% 0%, rgba(124, 58, 237, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 100%, rgba(255, 87, 51, 0.10) 0%, transparent 55%),
    var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
}

.use-cases::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.55), transparent);
  pointer-events: none;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.use-cases.divider-revealed::before {
  transform: translateX(-50%) scaleX(1);
}


.vibe-instructions {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  margin: -12px 0 0;
  line-height: 1.5;
}

.categories-scroll-wrap {
  position: relative;
  margin-top: 40px;
}

.categories-grid {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.15) 8%,
    rgba(0,0,0,0.6) 18%,
    black 30%,
    black 70%,
    rgba(0,0,0,0.6) 82%,
    rgba(0,0,0,0.15) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.15) 8%,
    rgba(0,0,0,0.6) 18%,
    black 30%,
    black 70%,
    rgba(0,0,0,0.6) 82%,
    rgba(0,0,0,0.15) 92%,
    transparent 100%
  );
}

.categories-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  list-style: none;
  padding: 4px 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-grid::-webkit-scrollbar {
  display: none;
}

.categories-grid > li {
  flex-shrink: 0;
}

.category-pill {
  background: var(--surface);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  font-family: inherit;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-pill:hover {
  border-color: rgba(255, 87, 51, 0.3);
  color: var(--text);
  background: rgba(255, 87, 51, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.category-pill:focus-visible {
  outline: 2px solid var(--blaze);
  outline-offset: 2px;
}

.category-pill.is-active {
  border-color: var(--blaze);
  background: rgba(255, 87, 51, 0.1);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(255, 87, 51, 0.25);
}

.category-emoji {
  font-size: 16px;
  display: inline;
  line-height: 1;
}

.vibe-preview {
  margin-top: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.vibe-preview-empty {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding: 32px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.vibe-preview-empty[hidden] {
  display: none;
}

.vibe-preview-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.vibe-preview-panel.is-visible {
  display: grid;
  animation: vibe-swap-in 0.4s ease;
}

@keyframes vibe-swap-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.vibe-preview-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 22px 20px 20px;
  min-height: 220px;
}

.vibe-preview-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blaze);
  margin-bottom: 16px;
}

.vibe-metric-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vibe-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.vibe-metric-label {
  font-size: 14px;
  color: var(--text-muted);
}

.vibe-metric-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.vibe-metric-value.is-good { color: var(--emerald); }
.vibe-metric-value.is-fire { color: var(--gold); }

.vibe-metrics-chart-slot {
  margin-bottom: 18px;
}

.vibe-metrics-chart-slot[hidden] {
  display: none !important;
}

.vibe-metrics-chart-caption {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.vibe-metrics-chart-slot svg {
  width: 100%;
  height: auto;
  max-height: 150px;
  display: block;
}

.vibe-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vibe-log {
  align-self: stretch;
  max-width: 100%;
  padding: 12px 14px 12px 16px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-left: 3px solid var(--gold);
}

.vibe-log-time {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 7px;
}

.vibe-log-main {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.vibe-log-main .vibe-log-name {
  font-weight: 700;
  color: var(--text);
}

.vibe-log-main .vibe-log-metric {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

.vibe-msg {
  max-width: 92%;
  padding: 10px 14px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.vibe-msg-name {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
  opacity: 0.6;
}

.vibe-msg--them {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.vibe-msg--you {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(255, 87, 51, 0.25) 0%, rgba(124, 58, 237, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.vibe-msg p {
  margin: 0;
}

/* ========== ROADMAP ========== */

.roadmap {
  padding: 96px 0 104px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 58, 237, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 95% 100%, rgba(255, 87, 51, 0.09) 0%, transparent 55%),
    var(--midnight);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.roadmap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,87,51,0.5), transparent);
  pointer-events: none;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.roadmap.divider-revealed::before {
  transform: translateX(-50%) scaleX(1);
}

.roadmap-lede {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin-top: -4px;
  margin-bottom: 48px;
  line-height: 1.6;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.roadmap-lede strong {
  color: var(--text);
  font-weight: 600;
}

.roadmap-shell {
  display: grid;
  gap: 28px;
}

.roadmap-track-wrap {
  position: relative;
  padding: 8px 0 32px;
  min-height: 120px;
}

.roadmap-track-bg {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 22px;
  height: 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.roadmap-track-fill {
  position: absolute;
  left: 8px;
  top: 22px;
  height: 3px;
  border-radius: 4px;
  width: 0%;
  max-width: calc(100% - 16px);
  background: linear-gradient(90deg, var(--blaze) 0%, var(--violet) 100%);
  box-shadow: 0 0 16px rgba(255, 87, 51, 0.4);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.roadmap-track-segments {
  display: flex;
  position: absolute;
  left: 8px;
  right: 8px;
  top: 6px;
  height: 44px;
  z-index: 2;
  gap: 0;
}

.roadmap-track-hit {
  flex: 1;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: none;
}

.roadmap-track-hit:focus { outline: none; }

.roadmap-track-hit:focus-visible {
  background: transparent;
  outline: 2px solid var(--violet);
  outline-offset: 2px;
  box-shadow: none;
}

.roadmap-nodes {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.roadmap-node-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  pointer-events: auto;
  margin: 0;
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.roadmap-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}

.roadmap-node-wrap.is-active:not(.is-current) .roadmap-dot {
  border-color: var(--blaze);
  box-shadow: 0 0 0 5px rgba(255, 87, 51, 0.18);
  transform: scale(1.1);
}

.roadmap-node-wrap.is-current .roadmap-dot {
  background: linear-gradient(135deg, var(--blaze), var(--violet));
  border: none;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.3);
}

.roadmap-node-wrap.is-current.is-active .roadmap-dot {
  box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.4);
  transform: scale(1.12);
}

@media (hover: hover) {
  .roadmap-node-wrap:not(.is-active):hover .roadmap-dot,
  .roadmap-node-wrap:not(.is-active).roadmap-phase-hover .roadmap-dot {
    border-color: rgba(255, 87, 51, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 87, 51, 0.1);
  }

  .roadmap-node-wrap.is-active:not(.is-current):hover .roadmap-dot {
    box-shadow: 0 0 0 6px rgba(255, 87, 51, 0.22);
  }

  .roadmap-node-wrap.is-current:hover .roadmap-dot {
    box-shadow: 0 0 0 7px rgba(251, 191, 36, 0.45);
  }
}

.roadmap-node-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 6px;
  background: transparent;
  border-radius: 8px;
  border: 1px solid transparent;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}

.roadmap-node-wrap:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}

.roadmap-node-wrap:focus-visible .roadmap-node-label {
  background: rgba(255,255,255,0.04);
}

@media (hover: hover) {
  .roadmap-node-wrap:not(.is-active):hover .roadmap-node-label {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
  }

  .roadmap-node-wrap.is-active:hover .roadmap-node-label {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(124, 58, 237, 0.25);
  }
}

.roadmap-node-wrap.is-active .roadmap-node-label {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(124, 58, 237, 0.2);
}

.roadmap-phase-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blaze);
  margin-bottom: 4px;
}

.roadmap-phase-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}

.roadmap-panel {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 28px 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 200px;
}

.roadmap-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.roadmap-panel-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--violet);
}

.roadmap-panel-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.roadmap-panel-badge.is-soon {
  background: rgba(124, 58, 237, 0.12);
  color: var(--lavender);
  border-color: rgba(124, 58, 237, 0.2);
}

.roadmap-panel h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.roadmap-panel p.lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.roadmap-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.roadmap-panel li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.roadmap-panel li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blaze), var(--violet));
}

.roadmap-hint {
  margin-top: 20px;
  font-size: 12px;
  color: var(--gray);
}

.roadmap-hint kbd {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

/* ========== SIGNUP CTA ========== */

.signup-cta {
  position: relative;
  padding: 112px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}

.signup-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.65), transparent);
  pointer-events: none;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.signup-cta.divider-revealed::before {
  transform: translateX(-50%) scaleX(1);
}

.signup-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.38) 0%, rgba(124, 58, 237, 0.12) 40%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.signup-panel {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 44px 52px;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.15),
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(124, 58, 237, 0.15);
}

.signup-cta-eyebrow {
  margin: 0 0 0;
}

.signup-panel .section-title {
  margin-top: 0;
  margin-bottom: 16px;
}

.signup-subhead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 36px;
}

.social-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.signup-note {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  letter-spacing: 0.01em;
}

/* ========== FOOTER ========== */

footer {
  background: var(--midnight);
  color: var(--text-muted);
  padding: 56px 0 48px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-logo {
  width: 44px;
  height: 44px;
  margin: 0 auto 28px;
  opacity: 0.7;
}

.footer-contact {
  margin-bottom: 24px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: var(--blaze);
}

.footer-copyright {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover, .footer-links a:focus-visible {
  color: var(--blaze);
  outline: none;
}

/* ========== AUTH BANNER ========== */

.auth-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  animation: slideUp 0.4s ease;
  display: none;
}

.auth-banner.show { display: block; }

.auth-banner.success {
  background: var(--emerald);
  color: var(--white);
}

.auth-banner.error {
  background: #e74c3c;
  color: var(--white);
}

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

/* SVG gradient stop colours — class-based to avoid inline style CSP violations */
.stop-blaze    { stop-color: var(--blaze); }
.stop-coral    { stop-color: var(--coral); }
.stop-violet   { stop-color: var(--violet); }
.stop-lavender { stop-color: var(--lavender); }

/* ========== SCROLL REVEAL ========== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helpers — applied to siblings with data-delay attribute */
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal[data-delay="6"] { transition-delay: 0.6s; }

/* ========== STAT STRIP ========== */

.stat-strip {
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(255, 87, 51, 0.07) 0%, transparent 70%),
    var(--midnight);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stat-strip-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.stat-number {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ========== SIGNUP WAITLIST COUNT ========== */

.signup-waitlist-count {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.signup-waitlist-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--blaze);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* ========== REDUCE MOTION ========== */

@media (prefers-reduced-motion: reduce) {
  .hero-logo .spark,
  .hero-logo,
  .hero-eyebrow,
  .hero-headline,
  .hero-subhead,
  .hero-actions,
  .hero-launch {
    animation: none;
  }

  html { scroll-behavior: auto; }

  .btn-primary:hover,
  .nav-cta:hover,
  .category-pill:hover,
  .feature-showcase:hover,
  .btn-apple:hover {
    transform: none;
  }

  .roadmap-track-fill {
    transition: none;
  }

  .vibe-preview-panel.is-visible {
    animation: none;
  }

  /* Reveal system — show everything immediately */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Carousel — disable slide animation */
  .feature-carousel.fc-dir-next .feature-showcase.fc-active,
  .feature-carousel.fc-dir-prev .feature-showcase.fc-active {
    animation: none;
  }

  /* Section dividers — always full width */
  .features::before,
  .use-cases::before,
  .roadmap::before,
  .signup-cta::before {
    transform: translateX(-50%) scaleX(1) !important;
    transition: none !important;
  }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .roadmap-phase-title {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }

  .feature-showcase-figure {
    order: -1;
  }

  .feature-carousel-controls {
    gap: 12px;
  }

  .roadmap-track-bg,
  .roadmap-track-fill,
  .roadmap-track-segments {
    display: none;
  }

  .roadmap-track-wrap {
    min-height: 0;
    padding-bottom: 0;
  }

  .roadmap-nodes {
    pointer-events: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .roadmap-node-wrap {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .roadmap-node-wrap:last-child {
    border-bottom: none;
  }

  .roadmap-dot {
    margin-top: 2px;
    flex-shrink: 0;
  }

  .roadmap-node-label {
    margin-top: 0;
    text-align: left;
    align-items: flex-start;
    padding: 0;
    flex: 1;
  }

  .roadmap-node-wrap:hover .roadmap-node-label,
  .roadmap-node-wrap:focus-visible .roadmap-node-label,
  .roadmap-node-wrap.is-active .roadmap-node-label {
    background: transparent;
    border-color: transparent;
  }

  .roadmap-hint { display: none; }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  nav#nav .container { height: 64px; }

  .nav-logo { width: 30px; height: 30px; }
  .nav-wordmark { font-size: 15px; }
  .nav-cta { padding: 8px 16px; font-size: 12px; }

  .features,
  .use-cases,
  .roadmap,
  .signup-cta {
    padding: 72px 0;
  }

  .signup-panel {
    padding: 36px 28px 40px;
  }



  .vibe-preview-panel.is-visible {
    grid-template-columns: 1fr;
  }

  .vibe-preview-card { min-height: 0; }

  .category-pill { padding: 12px 20px; }

  .countdown-unit { min-width: 70px; }
}

@media (max-width: 600px) {
  .stat-strip-grid {
    flex-direction: column;
    gap: 28px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .stat-item {
    padding: 0;
  }
}

@media (max-width: 520px) {
  .countdown-grid {
    gap: 0;
  }

  .countdown-unit {
    min-width: 56px;
    padding: 0 4px;
  }

  .countdown-sep {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero {
    padding: 80px 0 48px;
    min-height: auto;
  }

  .hero-logo {
    width: 72px;
    height: 72px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Drop secondary CTA on mobile — only primary sign-up button needed */
  .btn-ghost { display: none; }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  /* More breathing room between CTA and the "Free · Private" line */
  .hero-eyebrow { margin-top: 32px; }

  /* Hide countdown on mobile — layout and JS unreliable at narrow widths */
  .hero-launch { display: none; }

  /* Stat strip numbers — reduce size so they don't dominate on small screens */
  .stat-number { font-size: clamp(2rem, 8vw, 2.8rem); }

  /* Waitlist count — keep inline number consistent with surrounding text size */
  .signup-waitlist-number { font-size: 1.2rem; }
  .signup-waitlist-count { font-size: 14px; }

  .section-title {
    font-size: 1.9rem;
    margin-bottom: 20px;
  }

  .features,
  .use-cases,
  .roadmap,
  .signup-cta {
    padding: 56px 0;
  }

  .signup-panel {
    padding: 28px 20px 32px;
  }

  .roadmap-panel {
    padding: 22px 20px 22px;
  }

  .social-buttons { gap: 10px; }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .nav-wordmark { display: none; }
  .nav-cta-long { display: none; }
  .nav-cta-short { display: inline; }
  nav#nav .container { height: 56px; }
  .nav-secondary { display: none; }
}

/* Mobile glass card override — backdrop-filter renders white on iOS Safari */
@media (max-width: 768px) {
  .feature-showcase {
    background: var(--surface-2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: var(--border);
  }
  .vibe-preview-card {
    background: var(--surface-2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .roadmap-panel {
    background: var(--surface-2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .signup-panel {
    background: var(--surface-2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Disable mask fade on pill carousel — doesn't render on iOS Safari */
  .categories-grid {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Countdown 2×2 grid on very small screens — keeps labels readable */
@media (max-width: 400px) {
  .countdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    justify-items: center;
  }
  .countdown-sep { display: none; }
  .countdown-unit { min-width: 0; width: 100%; padding: 4px; }
  .countdown-value { font-size: clamp(2rem, 10vw, 2.8rem); }
  .countdown-label { display: block; font-size: 9px; }
}

/* Touch device tap feedback — replaces hover transforms on mobile */
@media (hover: none) {
  .btn-primary:active  { opacity: 0.8; transform: none; }
  .btn-ghost:active    { opacity: 0.7; transform: none; }
  .category-pill:active { opacity: 0.7; transform: none; }
  .fc-btn:active       { opacity: 0.6; transform: none; }
  .nav-cta:active      { opacity: 0.8; transform: none; }
}
