/* wispervoice.com home page: the app's storybook look (cream panels, warm
   browns, orange highlights, its own art). Light only, like the app. */
body.home {
  color-scheme: light;
  --page: #ffe4bc;
  --panel: #fcebd5;
  --ink: #3f2117;
  --muted: #6b4a3a;
  --line: #ecd2ae;
  --accent: #b5560a;
  --orange: #ff9a1e;
  --focus: #1a5fb4;
  background: var(--page);
  color: var(--ink);
}

body.home header.site {
  max-width: 68rem;
}

body.home header.site nav {
  border-bottom: 0;
}

body.home main {
  max-width: none;
  padding: 0;
}

body.home footer.site {
  max-width: 68rem;
}

/* Hero: the app's meadow wallpaper with Wisp and the castle. */
.hero {
  position: relative;
  max-width: 90rem;
  margin: 0 auto;
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 28px 28px;
}

.hero-card {
  position: relative;
  margin: -9rem 1rem 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: rgba(252, 235, 213, 0.94);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(90, 36, 21, 0.18);
  text-align: center;
}

.hero-card .logo {
  width: 58px;
  height: auto;
}

.hero-card h1 {
  margin: 0.25rem 0 0;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #5a2415;
}

.tagline {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.stores span {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #3f2117;
  color: #fff6ea;
  font-weight: 700;
  font-size: 0.95rem;
}

@media (min-width: 760px) {
  .hero-card {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: min(30rem, 42%);
    margin: 0;
    padding: 2rem 2rem 1.6rem;
  }
}

/* Cream panels like the app's main pages. */
.panel {
  max-width: 68rem;
  margin: 1.5rem auto 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: var(--panel);
  border-radius: 28px;
}

@media (min-width: 760px) {
  .panel {
    margin-top: 2rem;
    padding: 2rem 2.25rem 1.75rem;
  }
}

.panel h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: #5a2415;
}

.panel h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.cards,
.plans,
.covers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}

.card,
.plan {
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem 1rem 0.75rem;
  text-align: center;
}

.card img {
  width: 96px;
  height: 96px;
}

.card p,
.plan p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.note {
  margin: 1rem 0 0;
  font-weight: 600;
}

/* A row of real book covers, swipeable on phones. */
.covers {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 0.75rem;
}

.covers li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.covers img {
  display: block;
  width: 9rem;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(90, 36, 21, 0.2);
}

.grownups {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.app-icon {
  width: 7.5rem;
  height: auto;
  margin: 0 auto;
  border-radius: 26px;
}

@media (min-width: 760px) {
  .grownups {
    grid-template-columns: 10rem 1fr;
  }

  .app-icon {
    width: 10rem;
  }
}

.ticks {
  padding-left: 1.25rem;
}

.ticks li {
  margin-bottom: 0.4rem;
}

.ticks li::marker {
  color: var(--orange);
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.85rem;
}

.plan {
  text-align: left;
}

.plan .readers {
  font-weight: 700;
  color: var(--accent);
}

body.home .documents {
  padding-left: 1.25rem;
}

body.home footer.site {
  margin-top: 2rem;
}

/* Real app screens: tilted phones with a mirror reflection; the lower part
   of each screen is a blurred copy, so details stay a surprise. */
.phones,
.learn {
  list-style: none;
  margin: 0;
  padding: 0;
}

.phones {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.25rem 8rem;
  perspective: 1200px;
}

.phone {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.screen {
  position: relative;
  width: 14rem;
  overflow: hidden;
  border: 8px solid #3f2117;
  border-radius: 36px;
  box-shadow: 0 14px 30px rgba(90, 36, 21, 0.25);
  -webkit-box-reflect: below 12px
    linear-gradient(transparent 55%, rgba(0, 0, 0, 0.3));
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
}

.screen .soft {
  filter: blur(10px) saturate(1.15);
  transform: scale(1.08);
}

.screen .sharp {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(162deg, #000 40%, transparent 54%);
  mask-image: linear-gradient(162deg, #000 40%, transparent 54%);
}

.phone:first-child .screen {
  transform: rotateY(24deg);
}

.phone:last-child .screen {
  transform: rotateY(-24deg);
}

@media (max-width: 759px) {
  .phones {
    justify-content: flex-start;
    padding-bottom: 6rem;
  }

  .screen {
    width: 12.5rem;
  }

  .phone:first-child .screen,
  .phone:last-child .screen {
    transform: none;
  }
}

/* The learning picture cards. */
.learn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.9rem;
}

.learn li {
  background: #fffaf2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(90, 36, 21, 0.15);
  text-align: center;
}

.learn img {
  display: block;
  width: 100%;
  height: auto;
}

.learn span {
  display: block;
  padding: 0.5rem 0.25rem 0.6rem;
  font-weight: 800;
}

