/* ── PUZZVERSE INDEX PAGE STYLES ── */
/* Page-specific only. Requires base.css */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  padding: 120px 72px 80px;
  background: var(--off-white);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(42,175,164,0.10) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 30% 50%, transparent 20%, var(--off-white) 80%);
  pointer-events: none;
}
.hero-left { position: relative; z-index: 2; padding-right: 48px; }
.hero-provocation {
  font-size: 12px; font-weight: 500; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 40px; opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.1s;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(44px, 5.8vw, 88px);
  font-weight: 400; line-height: 1.04;
  color: var(--ink); letter-spacing: -1.5px;
  margin-bottom: 36px;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.25s;
}
.hero-headline em { font-style: italic; color: var(--teal); }
.hero-bridge {
  font-size: 18px; font-weight: 300; line-height: 1.85;
  color: var(--ink-soft); max-width: 440px;
  margin-bottom: 52px;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero-actions {
  display: flex; align-items: center; gap: 32px;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.55s;
}
.hero-right {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; animation: fadeUp 0.9s ease forwards 0.35s;
}
.hero-glow {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,175,164,0.12) 0%, transparent 70%);
}
.phone-hero {
  width: 280px; position: relative; z-index: 2;
  border-radius: 44px;
  background: linear-gradient(145deg, #ffffff, #dde8e4);
  padding: 10px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04), 0 40px 80px rgba(0,60,50,0.16), 0 8px 20px rgba(0,60,50,0.08);
  transform: rotate(1.5deg);
  animation: floatPhone 7s ease-in-out infinite;
}
@keyframes floatPhone {
  0%,100% { transform: rotate(1.5deg) translateY(0); }
  50%      { transform: rotate(1.5deg) translateY(-12px); }
}
.phone-hero img { width: 100%; border-radius: 36px; display: block; }

/* ── QUESTION SECTION ── */
.question-section {
  background: var(--off-white2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.question-text .section-hed { font-size: clamp(36px, 4.8vw, 72px); }

.variant-list { margin-top: 44px; }
.variant-item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-faint);
  cursor: default;
  transition: padding-left 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.variant-item:first-child { border-top: 1px solid var(--ink-faint); }
.variant-item:hover { padding-left: 10px; }
.variant-num {
  font-family: var(--serif); font-size: 12px;
  color: var(--ink-muted); width: 20px; flex-shrink: 0; padding-top: 2px;
}
.variant-name { font-size: 16px; font-weight: 500; color: var(--ink); flex: 1; }
.variant-hint { font-size: 13px; font-weight: 400; color: var(--ink-soft); font-style: italic; }
.variant-item.more .variant-name { color: var(--teal); }

/* ── DUAL PHONE VISUAL ── */
.question-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 540px;
  overflow: hidden;
}
.screens {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  /* scale the whole group to fit the 540px container */
  transform: scale(0.62);
}
.phone-wrap { width: 380px; position: relative; }
.phone-wrap.left {
  transform: perspective(1400px) rotateY(14deg) rotateZ(-2.5deg) translateX(30px) translateY(10px);
  z-index: 3;
}
.phone-wrap.right {
  transform: perspective(1400px) rotateY(-14deg) rotateZ(2.5deg) translateX(-30px) translateY(10px);
  z-index: 2;
}
.phone-shell {
  border-radius: 50px;
  background: linear-gradient(150deg, #ffffff, #e8eef0);
  padding: 13px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 30px 70px rgba(0,80,70,0.18),
              0 8px 20px rgba(0,80,70,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  position: relative;
}
.badge {
  position: absolute; bottom: -44px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.85); border: 1.5px solid rgba(42,175,164,0.25);
  border-radius: 40px; padding: 8px 24px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--teal);
  white-space: nowrap; backdrop-filter: blur(8px);
}
.phone-screen {
  width: 354px;
  height: auto;
  border-radius: 38px;
  overflow: hidden;
  background: var(--off-white);
}
.phone-screen img,
.phone-screen picture,
.phone-screen picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── HUMAN SECTION ── */
.human-section { background: var(--off-white); position: relative; overflow: hidden; }
.human-pullquote {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 52px);
  font-weight: 400; line-height: 1.38;
  color: var(--ink); letter-spacing: -0.3px;
  max-width: 820px;
  margin: 52px 0 48px;
  padding-left: 36px;
  border-left: 2px solid var(--teal);
}
.human-body { max-width: 560px; margin-bottom: 56px; }
.name-cards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.name-card {
  padding: 11px 20px;
  border: 1px solid var(--ink-faint);
  border-radius: 2px;
  font-family: var(--serif); font-size: 16px; font-style: italic;
  color: var(--ink-soft); background: var(--paper);
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
  cursor: default;
}
.name-card:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.human-wm {
  position: absolute; right: -20px; bottom: -80px;
  font-family: var(--serif); font-size: 300px; font-weight: 600;
  line-height: 1; color: rgba(42,175,164,0.04);
  user-select: none; pointer-events: none;
}

/* ── COMPETE SECTION ── */
.compete-section {
  background: var(--off-white2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.compete-visual { display: flex; justify-content: center; }
.compete-phone {
  width: 250px; border-radius: 40px;
  background: linear-gradient(145deg, #fff, #dde8e4);
  padding: 9px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04), 0 32px 64px rgba(0,60,50,0.15);
  transform: rotate(-1.5deg);
}
.compete-phone img { width: 100%; border-radius: 32px; display: block; }
.compete-text .section-hed { margin-bottom: 24px; }
.compete-question {
  font-family: var(--serif);
  font-size: 22px; font-style: italic;
  color: var(--ink-soft); margin-bottom: 32px; line-height: 1.5;
}
.stat-strip {
  display: flex;
  border: 1px solid var(--ink-faint);
  border-radius: 2px; overflow: hidden;
  margin-top: 44px;
}
.stat {
  flex: 1; padding: 24px 20px;
  border-right: 1px solid var(--ink-faint);
  background: var(--paper);
}
.stat:last-child { border-right: none; }
.stat-val {
  font-family: var(--serif); font-size: 32px; font-weight: 500;
  color: var(--teal); line-height: 1; margin-bottom: 6px;
}
.stat-label {
  font-size: 11px; font-weight: 400; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ── MISSION ── */
.mission-section {
  background: var(--ink);
  padding: 160px 72px;
  position: relative; overflow: hidden;
}
.mission-opening {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 78px);
  font-weight: 400; line-height: 1.08;
  color: rgba(255,255,255,0.92);
  letter-spacing: -1.5px; max-width: 780px; margin-bottom: 56px;
}
.mission-opening em { font-style: italic; color: #4ecdc4; }
.mission-divider {
  width: 32px; height: 1px;
  background: rgba(42,175,164,0.4); margin-bottom: 52px;
}
.mission-body {
  font-size: 18px; font-weight: 300; line-height: 1.9;
  color: rgba(255,255,255,0.55); max-width: 560px;
}
.mission-glow {
  position: absolute; right: -100px; bottom: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,175,164,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── WAITLIST CTA ── */
.cta-section { background: var(--off-white); text-align: center; padding: 160px 72px; }
.cta-hed {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 400; line-height: 1.02;
  color: var(--ink); letter-spacing: -2px; margin-bottom: 24px;
}
.cta-hed em { font-style: italic; color: var(--teal); }
.cta-sub {
  font-size: 18px; font-weight: 300;
  color: var(--ink-soft); margin-bottom: 52px; line-height: 1.7;
}
.waitlist-form { max-width: 520px; margin: 0 auto; }
.waitlist-input-wrap {
  display: flex;
  border: 1px solid var(--ink-faint);
  border-radius: 2px; overflow: hidden;
  background: var(--paper); transition: border-color 0.2s;
}
.waitlist-input-wrap:focus-within { border-color: var(--teal); }
.waitlist-input {
  flex: 1; padding: 18px 24px;
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  color: var(--ink); background: transparent;
  border: none; outline: none; letter-spacing: 0.3px;
}
.waitlist-input::placeholder { color: var(--ink-soft); opacity: 0.6; }
.waitlist-btn {
  padding: 18px 28px;
  background: var(--teal); color: white;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.5px; border: none; cursor: pointer;
  transition: opacity 0.2s; white-space: nowrap;
}
.waitlist-btn:hover { opacity: 0.85; }
.waitlist-note {
  margin-top: 16px; font-size: 13px; font-weight: 300;
  color: var(--ink-soft); letter-spacing: 0.3px;
}
.waitlist-success {
  display: none; margin-top: 20px;
  font-family: var(--serif); font-size: 20px; font-style: italic;
  color: var(--teal);
}

/* ── CRAFTED ── */
.crafted-section { background: var(--off-white2); padding: 100px 72px; text-align: center; }
.crafted-inner { max-width: 600px; margin: 0 auto; }
.crafted-rule { width: 32px; height: 1px; background: var(--teal); margin: 0 auto 48px; border-radius: 1px; }
.crafted-hed {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400; line-height: 1.08;
  color: var(--ink); letter-spacing: -1px; margin-bottom: 32px;
}
.crafted-hed em { font-style: italic; color: var(--teal); }
.crafted-body { font-size: 17px; font-weight: 300; line-height: 1.9; color: var(--ink-soft); margin-bottom: 48px; }

/* ─────────────────────────────────────────
   MOBILE
───────────────────────────────────────── */
@media (max-width: 768px) {

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    min-height: auto;
  }
  .hero::after {
    background: radial-gradient(ellipse 100% 60% at 50% 30%, transparent 20%, var(--off-white) 85%);
  }
  .hero-left { padding-right: 0; }
  .hero-provocation { margin-bottom: 24px; }
  .hero-headline { letter-spacing: -0.8px; margin-bottom: 24px; }
  .hero-bridge { font-size: 16px; margin-bottom: 36px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-right { margin-top: 48px; justify-content: center; }
  .hero-glow { width: 240px; height: 240px; }
  .phone-hero { width: 200px; }

  /* QUESTION */
  .question-section { grid-template-columns: 1fr; gap: 48px; }

  /* Dual phone: single phone, no 3D, scaled to fit */
  .question-visual { height: 360px; overflow: hidden; }
  .screens {
    transform: scale(0.48);
    gap: 0;
  }
  .phone-wrap.right { display: none; }
  .phone-wrap.left { transform: none; }

  /* HUMAN */
  .human-pullquote { padding-left: 20px; margin: 32px 0 28px; }
  .human-body { max-width: 100%; }
  .human-wm { display: none; }

  /* COMPETE */
  .compete-section { grid-template-columns: 1fr; gap: 40px; }
  .compete-visual { order: 2; }
  .compete-text { order: 1; }
  .compete-phone { width: 180px; margin: 0 auto; transform: none; }
  .compete-question { font-size: 18px; }

  /* MISSION */
  .mission-section { padding: 80px 24px; }
  .mission-opening { letter-spacing: -0.5px; margin-bottom: 36px; }
  .mission-body { font-size: 16px; }

  /* CTA */
  .cta-section { padding: 80px 24px; }
  .cta-hed { letter-spacing: -1px; }
  .cta-sub { font-size: 16px; margin-bottom: 36px; }
  .waitlist-input-wrap { flex-direction: column; }
  .waitlist-input { padding: 16px 20px; }
  .waitlist-btn { padding: 16px 20px; text-align: center; }

  /* CRAFTED */
  .crafted-section { padding: 72px 24px; }

  /* STATS */
  .stat { padding: 18px 12px; }
  .stat-val { font-size: 24px; }
  .stat-label { font-size: 10px; letter-spacing: 1px; }

  .hero-right { display: none; }
  .phone-wrap.right { display: none; }
  .compete-visual { display: none; }
}