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

html, body {
  height: 100%;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lock scrolling only on the landing page hero */
body.hero-body {
  overflow: hidden;
}

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

/* ── Hero ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  gap: 64px;
}

/* ── Left Column ── */
.hero-content {
  flex: 1;
  max-width: 560px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.app-name {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: #8E8E93;
  margin-bottom: 40px;
  max-width: 480px;
}

/* ── App Store Badge ── */
.app-store-badge {
  display: inline-block;
  margin-bottom: 32px;
  transition: opacity 0.2s;
}

.app-store-badge:hover {
  opacity: 0.8;
}

.app-store-badge svg {
  height: 52px;
  width: auto;
}

/* ── Legal Links ── */
.legal-links {
  font-size: 13px;
  color: #8E8E93;
}

.legal-links a {
  color: #8E8E93;
  transition: color 0.2s;
}

.legal-links a:hover {
  color: #fff;
}

.legal-links .sep {
  margin: 0 8px;
  opacity: 0.4;
}

/* ── Right Column: Phone Mockups ── */
.hero-phones {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  height: 580px;
}

.mockup {
  position: absolute;
  width: 220px;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.55));
  transition: transform 0.4s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.mockup--left {
  transform: rotate(-8deg) translateX(-130px) translateY(22px);
  z-index: 1;
}

.mockup--center {
  transform: translateY(-12px);
  z-index: 3;
}

.mockup--right {
  transform: rotate(8deg) translateX(130px) translateY(22px);
  z-index: 2;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  html, body {
    height: auto;
    overflow: auto;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 48px;
    height: auto;
    min-height: 100vh;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .app-brand {
    justify-content: center;
    margin-bottom: 32px;
  }

  .hero-subtext {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-phones {
    max-width: 440px;
    height: 440px;
  }

  .mockup {
    width: 170px;
  }

  .mockup--left {
    transform: rotate(-8deg) translateX(-95px) translateY(18px);
  }

  .mockup--center {
    transform: translateY(-10px);
  }

  .mockup--right {
    transform: rotate(8deg) translateX(95px) translateY(18px);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 64px 20px 40px;
  }

  .hero-phones {
    max-width: 340px;
    height: 360px;
  }

  .mockup {
    width: 140px;
  }

  .mockup--left {
    transform: rotate(-8deg) translateX(-70px) translateY(14px);
  }

  .mockup--center {
    transform: translateY(-8px);
  }

  .mockup--right {
    transform: rotate(8deg) translateX(70px) translateY(14px);
  }
}

/* ── Page Styles (Privacy, Terms, Support) ── */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  min-height: 100vh;
}

/* Subpages need auto height for scrolling */
body.page-body {
  height: auto;
}

.page-nav {
  margin-bottom: 48px;
}

.page-nav a {
  font-size: 14px;
  color: #8E8E93;
  transition: color 0.2s;
}

.page-nav a:hover {
  color: #fff;
}

.page h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page .page-date {
  font-size: 14px;
  color: #636366;
  margin-bottom: 40px;
}

.page h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
}

.page p,
.page li {
  font-size: 16px;
  line-height: 1.7;
  color: #8E8E93;
  margin-bottom: 16px;
}

.page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.page a {
  color: #7B2FBE;
}

.page a:hover {
  color: #E44BC2;
}
