/* === Section: Why (Problem & Promise) ============================ */
.why { background: linear-gradient(180deg, transparent 0%, var(--bg-deep) 60%, transparent 100%); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-img-wrap {
  position: relative; aspect-ratio: 4/5;
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: linear-gradient(180deg, #efe0c4, #d9b988);
  padding: 22px;
}
.why-img-wrap .stack {
  position: absolute; inset: 22px;
  border-radius: 14px; background: #fff;
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 10px; padding: 14px;
}
.why-img-wrap .stack > div {
  border-radius: 10px; background-size: cover; background-position: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
@media (max-width: 880px) { .why-inner { grid-template-columns: 1fr; gap: 50px; } }

.section-eyebrow {
  font-size: 12px; letter-spacing: 0.3em; color: var(--rose-deep);
  font-weight: 600;
}
h2.section-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.55; letter-spacing: 0.04em;
  margin: 14px 0 22px; color: var(--ink);
}
.section-body { font-size: 16px; line-height: 2; color: var(--ink-soft); text-wrap: pretty; }
.section-body p + p { margin-top: 1em; }

/* === Section: Features ========================================== */
.features { padding-top: 120px; }
.features-head { text-align: center; margin-bottom: 70px; }
.features-head h2 { margin-top: 12px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: 1fr; gap: 60px; } }

.feature-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.feature-card .phone { transform: rotate(-1deg); transition: transform .4s; }
.feature-card:nth-child(2) .phone { transform: rotate(1deg); }
.feature-card:nth-child(3) .phone { transform: rotate(-0.5deg); }
.feature-card:hover .phone { transform: rotate(0) translateY(-6px); }
.feature-num {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; letter-spacing: 0.2em; color: var(--rose-deep);
  margin-top: 28px;
}
.feature-card h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 22px; letter-spacing: 0.04em;
  margin: 8px 0 14px;
  line-height: 1.6;
}
.feature-card p {
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.95;
  max-width: 280px; margin: 0 auto; text-wrap: pretty;
}

/* === Section: How it works ====================================== */
.how { background: var(--bg-deep); padding: 120px 0; position: relative; }
.how::before, .how::after {
  content: ""; position: absolute; left: 0; right: 0; height: 80px;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 100%);
  top: 0;
}
.how::after { top: auto; bottom: 0; transform: scaleY(-1); }

.how-head { text-align: center; margin-bottom: 70px; }
.steps {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px;
  position: relative;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--paper);
  border-radius: 22px;
  padding: 36px 28px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 174, 134, 0.25);
  position: relative;
}
.step-num {
  position: absolute; top: -20px; left: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  font-family: var(--serif); font-size: 19px;
  display: grid; place-items: center;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(58, 46, 31, 0.25);
}
.step-icon {
  width: 72px; height: 72px; margin: 14px auto 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, #f7e7c8, #e3c089);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px #d6ad6a, 0 4px 10px rgba(154, 110, 54, 0.18);
}
.step-icon svg { width: 36px; height: 36px; color: var(--wood-deep); }
.step h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 19px; letter-spacing: 0.06em; text-align: center;
  margin: 0 0 12px;
}
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; text-align: center; margin: 0; }

/* === Section: Showcase (PDF) ==================================== */
.showcase { padding: 130px 0 110px; overflow: hidden; }
.showcase-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
}
@media (max-width: 980px) { .showcase-grid { grid-template-columns: 1fr; } }

.pdf-stack { position: relative; height: 620px; }
.pdf-card {
  position: absolute;
  width: 320px; aspect-ratio: 9/19.5;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(196, 174, 134, 0.25);
  overflow: hidden;
}
.pdf-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pdf-card.a { left: 0; top: 20px; transform: rotate(-7deg); z-index: 1; }
.pdf-card.b { left: 100px; top: 0; transform: rotate(2deg); z-index: 3; }
.pdf-card.c { right: 0; top: 60px; transform: rotate(8deg); z-index: 2; }
@media (max-width: 980px) {
  .pdf-stack { height: 540px; }
  .pdf-card.a { left: 5%; }
  .pdf-card.c { right: 5%; }
}

/* === Premium / pricing note ===================================== */
.premium-note {
  margin: 18px 0 0;
  padding: 12px 18px;
  background: rgba(232, 214, 180, 0.28);
  border: 1px solid rgba(196, 174, 134, 0.35);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.premium-note strong {
  color: var(--wood-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* === Section: Voices (testimonials) ============================= */
.voices { background: var(--bg-deep); padding: 120px 0; position: relative; }
.voices::before, .voices::after {
  content: ""; position: absolute; left: 0; right: 0; height: 80px;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 100%);
  top: 0;
}
.voices::after { top: auto; bottom: 0; transform: scaleY(-1); }

.voice-head { text-align: center; margin-bottom: 60px; }
.voice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 880px) { .voice-grid { grid-template-columns: 1fr; } }

.voice {
  background: var(--paper);
  border-radius: 22px; padding: 32px 28px;
  border: 1px solid rgba(196, 174, 134, 0.25);
  box-shadow: var(--shadow);
  position: relative;
}
.voice .quote-mark {
  font-family: var(--serif); font-size: 60px;
  line-height: 0.6; color: var(--rose);
  margin: -6px 0 8px;
}
.voice p {
  font-size: 14.5px; line-height: 2; color: var(--ink); margin: 0 0 22px;
  text-wrap: pretty;
}
.voice-meta { display: flex; align-items: center; gap: 12px; }
.voice-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(160deg, #f0d4c4, #c89e88);
  display: grid; place-items: center;
  font-family: var(--serif); color: #fff; font-size: 14px;
}
.voice-name { font-size: 13px; color: var(--ink); }
.voice-role { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.1em; }

/* === Section: FAQ =============================================== */
.faq { padding: 120px 0 80px; }
.faq-head { text-align: center; margin-bottom: 50px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid rgba(196, 174, 134, 0.3);
  padding: 4px 26px;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0;
  font-family: var(--serif); font-size: 16px; font-weight: 600;
  letter-spacing: 0.03em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--rose); color: #fff;
  font-family: var(--serif); font-size: 13px;
  display: grid; place-items: center;
  letter-spacing: 0;
}
.faq-item .answer {
  padding: 0 0 20px 44px;
  font-size: 14px; color: var(--ink-soft); line-height: 1.95;
  text-wrap: pretty;
}

/* === Final CTA ================================================== */
.final-cta { padding: 120px 0 100px; position: relative; }
.final-cta-inner {
  background: linear-gradient(160deg, #fff8e8 0%, #f5e6c6 100%);
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(196, 174, 134, 0.4);
  box-shadow: var(--shadow-lift);
}
.final-cta-inner h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.55; letter-spacing: 0.04em;
  margin: 0 0 16px;
}
.final-cta-inner p { color: var(--ink-soft); font-size: 16px; margin-bottom: 36px; }
.final-cta-inner .cta-row { justify-content: center; }
.final-cta-inner .deco {
  position: absolute; opacity: 0.4; pointer-events: none;
}
.final-cta-inner .deco.l { left: -20px; top: -30px; width: 200px; transform: rotate(-15deg); }
.final-cta-inner .deco.r { right: -30px; bottom: -40px; width: 220px; transform: rotate(160deg); }
@media (max-width: 720px) { .final-cta-inner { padding: 60px 28px; } }

/* === Footer ===================================================== */
footer {
  padding: 50px 0 60px;
  border-top: 1px solid var(--rule);
  background: var(--bg-deep);
}
.foot-inner {
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  align-items: center;
}
.foot-nav { display: flex; gap: 24px; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.foot-nav a { transition: color .2s; }
.foot-nav a:hover { color: var(--rose-deep); }
.foot-copy { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.08em; }

.foot-other-apps {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(196, 174, 134, 0.28);
}
.foot-other-label {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.foot-other-links {
  display: flex; flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  color: var(--ink-soft);
}
.foot-other-links a { transition: color .2s; }
.foot-other-links a:hover { color: var(--rose-deep); }

/* === Subtle entrance animation ================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* === Mobile (≤720px) ============================================= */
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 20px; }

  /* Clip rotated content so it can't push horizontal scroll */
  .hero, .why, .features, .how, .showcase, .faq, .final-cta { overflow: clip; }

  /* Header */
  .site-header .inner { padding: 12px 16px; gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .brand-name { font-size: 14px; letter-spacing: 0.06em; }
  .brand-sub { font-size: 9.5px; letter-spacing: 0.1em; }
  .nav .cta { padding: 7px 14px; font-size: 12.5px; }

  /* Hero */
  .hero { padding: 40px 0 30px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.16em; padding: 6px 14px; }
  h1.display {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.5;
    letter-spacing: 0.01em;
    margin: 16px 0 14px;
  }
  h1.display em::after { height: 6px; bottom: 0; }
  .lede { font-size: 14.5px; line-height: 1.85; }
  .cta-row { gap: 10px; }
  .cta-meta { gap: 8px 14px; font-size: 11px; }
  .btn { padding: 12px 20px; font-size: 13px; gap: 8px; }

  /* All section titles — keep within viewport width on narrow phones */
  h2.section-title {
    font-size: clamp(20px, 5.6vw, 26px);
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin: 10px 0 18px;
  }
  .section-eyebrow { font-size: 11px; letter-spacing: 0.24em; }
  .section-body { font-size: 14.5px; line-height: 1.9; }

  /* Hero phones — turn into a horizontal swipe carousel on mobile.
     Both phones visible, swipeable, snap to center. Page itself
     does not scroll horizontally — only this container does. */
  .hero-phones {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    min-height: 480px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Extend to viewport edges (cancel wrap's 20px padding) */
    margin-inline: -20px;
    /* Center each 230px slide in the viewport on snap */
    padding-inline: calc(50vw - 115px);
    /* Vertical breathing room so phone shadow isn't clipped */
    padding-block: 20px;
  }
  .hero-phones::-webkit-scrollbar { display: none; }

  /* Both phones visible as slides, no rotation, no offset translate */
  .hero-phones .phone {
    flex-shrink: 0;
    scroll-snap-align: center;
    width: 230px;
    transform: none;
    margin: 0;
    position: relative;
  }
  /* Reset desktop nth-child overrides */
  .hero-phones .phone:nth-child(1),
  .hero-phones .phone:nth-child(2) {
    display: block;
    width: 230px;
    transform: none;
  }
  .hero-phones .phone::before {
    width: 80px; height: 20px; top: 14px;
  }

  /* Decorative SVGs hidden in carousel layout */
  .hero-phones .leaf,
  .hero-phones .button-deco { display: none; }

  /* Why */
  .why { padding-bottom: 60px; }
  .why-img-wrap { padding: 14px; }
  .why-img-wrap .stack { inset: 14px; gap: 6px; padding: 8px; }

  /* Features */
  .features { padding-top: 80px; }
  .features-head { margin-bottom: 50px; }
  .feature-card .phone { width: 200px !important; }
  .feature-card h3 { font-size: 19px; }

  /* How */
  .how { padding: 80px 0; }
  .step { padding: 32px 22px 28px; }

  /* Showcase / PDF stack — shrink cards, reduce rotation, center middle one */
  .showcase { padding: 90px 0 70px; }
  .pdf-stack { height: 480px; }
  .pdf-card { width: 200px; }
  .pdf-card.a { left: 4px; top: 20px; transform: rotate(-4deg); }
  .pdf-card.b { left: 50%; transform: translateX(-50%) rotate(1deg); top: 0; }
  .pdf-card.c { left: auto; right: 4px; top: 60px; transform: rotate(4deg); }

  /* FAQ */
  .faq { padding: 80px 0 60px; }
  .faq-item { padding: 4px 20px; }
  .faq-item summary { font-size: 15px; padding: 18px 0; gap: 12px; }
  .faq-item .answer { padding: 0 0 18px 40px; font-size: 13.5px; }

  /* Final CTA */
  .final-cta { padding: 80px 0 60px; }
  .final-cta-inner { padding: 50px 22px; border-radius: 24px; }
  .final-cta-inner h2 {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.55;
    letter-spacing: 0.02em;
  }
  .final-cta-inner p { font-size: 14.5px; margin-bottom: 28px; }
  .final-cta-inner .cta-row { justify-content: center; }
  .final-cta-inner .deco { display: none; }

  /* Footer */
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-nav { flex-wrap: wrap; gap: 14px 18px; }
}

