/* Landing page only (index.html). Loaded after style.css; the legal pages
   don't include this file, so nothing here can change their layout. */

body.home {
  background: var(--white);
}

.home .wrap {
  max-width: 1120px;
}

/* Header */

.home-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 0;
  background: var(--purple);
  color: var(--white);
}

.home-header .wrap {
  justify-content: space-between;
  gap: 24px;
}

.home-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.home-header nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.home-header nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
}

.home-header nav a:hover {
  color: var(--white);
}

.header-cta {
  background: var(--white);
  color: var(--purple);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--off-white);
}

/* Hero — the main "poster" brand moment */

.home-hero {
  background: var(--purple);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding-bottom: 88px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero h1 {
  font-size: clamp(44px, 7.2vw, 88px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  max-width: 10ch;
}

.home-hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.home-hero .lead {
  font-size: 20px;
  line-height: 1.5;
  max-width: 44ch;
  margin: 0 0 32px;
  opacity: 0.94;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1;
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-badge small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

.store-badge:not(.disabled):hover {
  background: #000;
}

.store-badge.disabled {
  background: rgba(0, 0, 0, 0.28);
  cursor: default;
}


.hero-phones {
  position: relative;
  height: 600px;
  align-self: end;
}

.hero-phones .phone {
  position: absolute;
  bottom: -120px;
}

.hero-phones .phone-front {
  width: 300px;
  left: 8%;
  z-index: 2;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-phones .phone-back {
  width: 260px;
  left: 50%;
  bottom: -40px;
  transform: rotate(7deg);
  z-index: 1;
  animation: rise-tilt 0.9s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}


@keyframes rise {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes rise-tilt {
  from { transform: translateY(60px) rotate(7deg); opacity: 0; }
  to { transform: rotate(7deg); opacity: 1; }
}

/* Phone frame — screenshots ship without a bezel, so it's drawn here */

.phone {
  position: relative;
  padding: 9px;
  border-radius: 46px;
  background: #121212;
  box-shadow:
    0 0 0 1.5px #3a3a3a inset,
    0 30px 60px -20px rgba(20, 0, 40, 0.45),
    0 12px 24px -12px rgba(0, 0, 0, 0.35);
}

.phone::before {
  content: "";
  position: absolute;
  top: calc(9px + 3.6%);
  left: 50%;
  transform: translateX(-50%);
  width: 31%;
  aspect-ratio: 3.4;
  border-radius: 999px;
  background: #121212;
  z-index: 1;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 37px;
}

/* Games strip */

.games {
  border-bottom: 1px solid rgba(30, 30, 30, 0.08);
  background: var(--white);
  position: relative;
  z-index: 2;
}

.games .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.games-label {
  font-size: 14px;
  font-weight: 600;
  color: #6b6b6b;
}

.games ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.games li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--off-white);
  font-weight: 700;
  font-size: 15px;
}

/* Feature showcases — calm "product mode" sections */

.home main {
  padding: 0;
}

.showcase {
  padding: 112px 0;
}

.showcase:nth-of-type(even) {
  background: var(--off-white);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.showcase.reverse .showcase-copy {
  order: 2;
}

.step {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple);
}

.showcase h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 15ch;
}

.showcase-copy > p:not(.step) {
  font-size: 18px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0 0 28px;
  max-width: 46ch;
}

.checks {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 46ch;
}

.checks li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.text-link {
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
}

.text-link::after {
  content: " →";
}

.text-link:hover {
  text-decoration: underline;
}

.showcase-media {
  display: flex;
  justify-content: center;
}

.showcase-media .phone {
  width: 300px;
}

.showcase-media.pair {
  align-items: flex-end;
  gap: 0;
}

.showcase-media.pair .phone-sm {
  width: 240px;
  margin-right: -48px;
  transform: rotate(-5deg) translateY(-24px);
}

.showcase-media.pair .phone:not(.phone-sm) {
  z-index: 1;
}

/* Poster CTA — second brand moment */

.poster {
  position: relative;
  overflow: hidden;
  background: var(--purple);
  color: var(--white);
  padding: 128px 0;
}

.poster .wrap {
  position: relative;
  z-index: 1;
}

.poster h2 {
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  max-width: 9ch;
}

.poster h2 em {
  font-style: normal;
  color: var(--yellow);
}

.poster p {
  font-size: 20px;
  line-height: 1.5;
  max-width: 40ch;
  margin: 0 0 36px;
  opacity: 0.94;
}

.poster-cta {
  display: inline-block;
  background: var(--yellow);
  color: var(--charcoal);
  font-weight: 800;
  font-size: 17px;
  padding: 16px 30px;
  border-radius: 14px;
  text-decoration: none;
}

.poster-cta:hover {
  background: var(--white);
}

.poster-banana {
  position: absolute;
  pointer-events: none;
}

.poster-banana.b1 {
  width: 440px;
  right: 6%;
  top: 50%;
  transform: translateY(-50%) rotate(-14deg);
}

/* FAQ */

.faq {
  padding: 112px 0 64px;
}

.faq h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 40px;
}

.faq-list {
  max-width: 800px;
  border-top: 1px solid rgba(30, 30, 30, 0.1);
}

.faq details {
  border-bottom: 1px solid rgba(30, 30, 30, 0.1);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 48px 24px 0;
  font-size: 19px;
  font-weight: 700;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 500;
  color: var(--purple);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: #4a4a4a;
  max-width: 68ch;
}

.faq details a {
  color: var(--purple);
  font-weight: 600;
}

/* Contact */

.home-contact {
  padding: 32px 0 96px;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 48px;
  border-radius: 24px;
  background: var(--off-white);
}

.contact-card h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.contact-card p {
  margin: 0;
  color: #4a4a4a;
}

.contact-card .email {
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
}

/* Footer additions */

.home footer.site {
  border-top: 1px solid rgba(30, 30, 30, 0.08);
}

.home footer.site nav {
  flex-wrap: wrap;
}

.tm-note {
  flex-basis: 100%;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8a8a8a;
}

/* Responsive */

@media (max-width: 960px) {
  .home-header nav {
    display: none;
  }

  .hero-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-phones {
    height: 440px;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-phones .phone-front {
    width: 250px;
    left: 4%;
  }

  .hero-phones .phone-back {
    width: 215px;
    left: auto;
    right: 4%;
  }


  .showcase {
    padding: 80px 0;
  }

  .showcase-grid {
    gap: 48px;
  }

  .showcase.reverse .showcase-copy {
    order: 0;
  }

  .poster {
    padding: 96px 0 200px;
  }

  .poster-banana.b1 {
    width: 260px;
    top: auto;
    bottom: -40px;
    right: -30px;
    transform: rotate(-14deg);
  }
}

@media (max-width: 560px) {
  .home .wrap {
    padding: 0 16px;
  }

  .header-cta {
    padding: 9px 14px;
    font-size: 13px;
  }

  .home-hero {
    padding-top: 56px;
  }

  .home-hero .lead {
    font-size: 18px;
  }

  .hero-phones {
    height: 380px;
  }

  .hero-phones .phone-front {
    width: 210px;
    left: 0;
  }

  .hero-phones .phone-back {
    width: 180px;
    right: 0;
  }

  .phone {
    border-radius: 38px;
    padding: 7px;
  }

  .phone img {
    border-radius: 31px;
  }

  .showcase-media .phone {
    width: 260px;
  }

  .showcase-media.pair .phone {
    width: 220px;
  }

  .showcase-media.pair .phone-sm {
    width: 180px;
    margin-right: -64px;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .faq summary {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phones .phone-front,
  .hero-phones .phone-back {
    animation: none;
  }
}

