/* Homepage conversion polish: compact trust proof + product-led final CTA. */

.home-trust-band{
  position:relative;
  padding:54px 0 58px;
  background:#fbf9f7;
  border-top:1px solid #eee6e5;
  border-bottom:1px solid #eee6e5;
  overflow:hidden;
}
.home-trust-band::before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  right:-210px;
  top:-250px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(217,182,199,.22) 0%,rgba(217,182,199,0) 69%);
  pointer-events:none;
}
.trust-band-inner{
  position:relative;
  display:grid;
  grid-template-columns:minmax(310px,.78fr) minmax(0,1.42fr);
  gap:clamp(48px,6vw,94px);
  align-items:center;
}
.trust-band-lead .eyebrow{
  display:block;
  margin-bottom:12px;
}
.trust-band-lead h2{
  margin:0;
  max-width:520px;
  color:#10223e;
  font-size:clamp(36px,3.6vw,54px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:560;
}
.trust-band-lead h2 span{color:#8e657f}
.trust-band-lead p{
  max-width:485px;
  margin:18px 0 0;
  color:#6d626b;
  font-size:15px;
  line-height:1.65;
}
.trust-band-lead .text-link{
  margin-top:22px;
  display:inline-flex;
}
.trust-band-points{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border:1px solid #e5dadd;
  border-radius:26px;
  background:rgba(255,255,255,.82);
  box-shadow:0 28px 70px -58px rgba(54,34,49,.38);
  overflow:hidden;
}
.trust-band-point{
  min-height:142px;
  padding:24px 26px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.trust-band-point:nth-child(odd){border-right:1px solid #ece4e5}
.trust-band-point:nth-child(-n+2){border-bottom:1px solid #ece4e5}
.trust-band-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#f4eaf0;
  color:#8f657f;
}
.trust-band-icon .icon{width:18px;height:18px}
.trust-band-point b{
  display:block;
  margin:2px 0 7px;
  color:#152541;
  font-size:15px;
  line-height:1.25;
}
.trust-band-point p{
  margin:0;
  color:#71666f;
  font-size:12.5px;
  line-height:1.55;
}

/* Let the testimonial chapter arrive immediately after trust proof. */
.home-trust-band + .home-freeze-stage[data-home-freeze="testimonials"]{
  margin-top:0!important;
}

/* Product-led final conversion moment. */
#download.download-product-cta{
  width:min(1240px,calc(100% - 52px))!important;
  max-width:none!important;
}
#download .download-product-panel{
  position:relative;
  min-height:500px;
  display:grid;
  grid-template-columns:minmax(360px,.78fr) minmax(520px,1.22fr);
  align-items:center;
  gap:40px;
  padding:54px 58px 50px 62px;
  border-radius:32px;
  background:
    radial-gradient(circle at 84% 22%,rgba(255,135,99,.22),transparent 30%),
    linear-gradient(118deg,#f8e3d8 0%,#f5d9d0 48%,#ead9e4 100%);
  border:1px solid rgba(167,119,143,.14);
  box-shadow:0 34px 90px -72px rgba(83,46,68,.46);
  overflow:hidden;
}
#download .download-product-panel::after{
  content:"";
  position:absolute;
  inset:auto -10% -64% 44%;
  height:92%;
  background:radial-gradient(ellipse,rgba(255,255,255,.58),rgba(255,255,255,0) 69%);
  pointer-events:none;
}
.download-product-copy{
  position:relative;
  z-index:3;
  align-self:center;
}
.download-product-copy .eyebrow{
  display:block;
  margin-bottom:16px;
}
.download-product-copy h2{
  margin:0;
  color:#10223e;
  font-size:clamp(46px,4vw,60px);
  line-height:1.01;
  letter-spacing:-.05em;
  font-weight:560;
}
.download-product-copy h2 span{color:#b66f75}
.download-product-copy>p{
  max-width:430px;
  margin:20px 0 0;
  color:#665b64;
  font-size:16px;
  line-height:1.6;
}
.download-product-copy .store-button{
  margin-top:28px;
}
.download-product-meta{
  display:flex;
  gap:12px 18px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:15px;
  color:#74656e;
  font-size:11.5px;
}
.download-product-meta span{
  display:inline-flex;
  gap:7px;
  align-items:center;
}
.download-product-meta span::before{
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:#c18491;
}
.download-devices{
  position:relative;
  z-index:2;
  height:420px;
  min-width:0;
}
.cta-ipad{
  position:absolute;
  width:min(590px,90%);
  aspect-ratio:1.44;
  right:0;
  top:4px;
  padding:13px;
  border-radius:31px;
  background:#17243d;
  box-shadow:0 34px 65px -36px rgba(31,24,37,.5);
  transform:rotate(1.25deg);
}
.cta-ipad-screen{
  height:100%;
  padding:28px 32px;
  border-radius:21px;
  background:#fffdfb;
  color:#17243d;
  overflow:hidden;
}
.cta-ipad-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:20px;
}
.cta-ipad-top span{
  display:block;
  color:#9a7389;
  font-size:9px;
  letter-spacing:.16em;
}
.cta-ipad-top strong{
  display:block;
  margin-top:4px;
  font-size:20px;
}
.cta-ipad-badge{
  padding:7px 10px;
  border-radius:999px;
  background:#f4e8ef;
  color:#8c647e;
  font-size:9px;
  font-weight:700;
}
.cta-ask-question{
  width:78%;
  margin-left:auto;
  padding:14px 16px;
  border-radius:17px 17px 5px 17px;
  background:#192944;
  color:#fff;
  font-size:12px;
  line-height:1.45;
}
.cta-ask-answer{
  width:84%;
  margin-top:13px;
  padding:16px 18px;
  border:1px solid #eadfe4;
  border-radius:18px 18px 18px 5px;
  background:#fbf7f8;
}
.cta-ask-answer b{
  display:block;
  font-size:13px;
  line-height:1.4;
}
.cta-ask-answer p{
  margin:6px 0 0;
  color:#6d626a;
  font-size:10px;
  line-height:1.5;
}
.cta-ipad-sources{
  display:flex;
  gap:8px;
  margin-top:13px;
}
.cta-ipad-sources span{
  padding:8px 10px;
  border-radius:10px;
  background:#f4ecef;
  color:#735e6b;
  font-size:9px;
}
.cta-phone{
  position:absolute;
  width:190px;
  height:390px;
  left:7%;
  bottom:-28px;
  padding:7px;
  border-radius:34px;
  background:#17243d;
  box-shadow:0 34px 70px -34px rgba(29,24,37,.6);
  transform:rotate(-4deg);
}
.cta-phone-screen{
  position:relative;
  height:100%;
  padding:36px 16px 18px;
  border-radius:27px;
  background:#fffdfb;
  overflow:hidden;
}
.cta-phone-screen::before{
  content:"";
  position:absolute;
  width:65px;
  height:18px;
  left:50%;
  top:8px;
  transform:translateX(-50%);
  border-radius:999px;
  background:#0d1729;
}
.cta-phone-kicker{
  display:block;
  color:#9b748a;
  font-size:8px;
  letter-spacing:.12em;
}
.cta-phone-screen h3{
  margin:5px 0 14px;
  color:#17243d;
  font-size:22px;
  line-height:1.05;
}
.cta-day-card{
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:9px;
  align-items:center;
  padding:10px 0;
  border-top:1px solid #eee6e7;
}
.cta-day-card .icon{
  width:16px;
  height:16px;
  color:#976f86;
}
.cta-day-card b{
  display:block;
  color:#17243d;
  font-size:9.5px;
  line-height:1.25;
}
.cta-day-card small{
  display:block;
  margin-top:2px;
  color:#877781;
  font-size:7.5px;
}
.cta-device-float{
  position:absolute;
  z-index:5;
  right:7%;
  bottom:16px;
  width:210px;
  padding:13px 15px;
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:11px;
  align-items:center;
  border:1px solid rgba(149,105,130,.2);
  border-radius:16px;
  background:rgba(255,253,251,.92);
  box-shadow:0 20px 45px -32px rgba(74,40,61,.55);
  backdrop-filter:blur(12px);
}
.cta-device-float .icon{
  width:30px;
  height:30px;
  padding:7px;
  border-radius:10px;
  background:#f2e3eb;
  color:#8d647d;
}
.cta-device-float b{
  display:block;
  color:#17243d;
  font-size:10px;
}
.cta-device-float small{
  display:block;
  margin-top:2px;
  color:#75646e;
  font-size:8px;
}

/* Keep the final pinned chapter visually full, not a banner floating in whitespace. */
.reading-stage[data-reading-stage="download"].is-reading-pinned>.reading-pin{
  display:flex!important;
  align-items:center!important;
  padding:22px 0!important;
  overflow:clip!important;
}
.reading-stage[data-reading-stage="download"].is-reading-pinned #download.download-product-cta{
  margin:auto!important;
}

/* Wide desktop gets a real desktop composition, not an enlarged laptop card. */
@media (min-width:1600px) and (min-height:760px){
  #download.download-product-cta{
    width:min(1460px,calc(100% - 110px))!important;
  }
  #download .download-product-panel{
    min-height:620px;
    grid-template-columns:minmax(430px,.72fr) minmax(700px,1.28fr);
    padding:68px 70px 64px 78px;
  }
  .download-product-copy h2{font-size:68px}
  .download-product-copy>p{font-size:17px}
  .download-devices{height:520px}
  .cta-ipad{width:min(720px,92%);border-radius:36px}
  .cta-ipad-screen{padding:36px 42px}
  .cta-ipad-top strong{font-size:24px}
  .cta-ask-question{font-size:14px;padding:17px 19px}
  .cta-ask-answer b{font-size:15px}
  .cta-ask-answer p{font-size:11px}
  .cta-phone{width:224px;height:462px;left:4%;bottom:-40px}
  .cta-phone-screen h3{font-size:25px}
  .cta-day-card b{font-size:10.5px}
  .cta-day-card small{font-size:8.5px}
  .cta-device-float{width:244px;right:5%;bottom:18px}
  .trust-band-inner{grid-template-columns:minmax(350px,.7fr) minmax(0,1.3fr)}
  .trust-band-point{min-height:150px;padding:26px 30px}
}
@media (min-width:2200px) and (min-height:1000px){
  #download.download-product-cta{
    width:min(1640px,calc(100% - 170px))!important;
  }
  #download .download-product-panel{
    min-height:700px;
    grid-template-columns:minmax(500px,.72fr) minmax(800px,1.28fr);
    padding:82px 88px 76px 94px;
  }
  .download-product-copy h2{font-size:76px}
  .download-devices{height:590px}
  .cta-ipad{width:min(820px,94%)}
  .cta-phone{width:252px;height:516px}
}

@media (max-width:900px){
  .home-trust-band{padding:42px 0}
  .trust-band-inner{grid-template-columns:1fr;gap:28px}
  .trust-band-lead h2{font-size:39px}
  .trust-band-points{grid-template-columns:1fr;border-radius:22px}
  .trust-band-point{min-height:0;padding:20px}
  .trust-band-point:nth-child(odd){border-right:0}
  .trust-band-point:nth-child(-n+3){border-bottom:1px solid #ece4e5}

  #download.download-product-cta{
    width:min(100% - 40px,560px)!important;
  }
  #download .download-product-panel{
    min-height:0;
    grid-template-columns:1fr;
    gap:32px;
    padding:38px 26px 0;
    border-radius:27px;
  }
  .download-product-copy h2{font-size:44px}
  .download-product-copy>p{font-size:14px}
  .download-devices{height:420px;margin-inline:-10px}
  .cta-ipad{width:94%;right:-4%;top:5px}
  .cta-phone{width:162px;height:334px;left:0;bottom:-22px}
  .cta-device-float{right:0;bottom:18px;width:190px}
}
@media (max-width:520px){
  #download .download-product-panel{padding-inline:22px}
  .download-product-copy h2{font-size:39px}
  .download-devices{height:360px}
  .cta-ipad{padding:9px;border-radius:24px}
  .cta-ipad-screen{padding:22px 20px}
  .cta-ipad-top strong{font-size:17px}
  .cta-ask-question{font-size:9px}
  .cta-ask-answer b{font-size:10px}
  .cta-ask-answer p{font-size:8px}
  .cta-ipad-sources{display:none}
  .cta-phone{width:142px;height:294px}
  .cta-phone-screen{padding:31px 12px 14px}
  .cta-phone-screen h3{font-size:18px}
  .cta-device-float{width:172px;padding:10px 11px}
}
