/* Sunday homepage final tuning: compact laptop chapters and restrained scroll holds. */

html,
body{
  max-width:100%;
  overflow-x:clip;
}

/* Capture stays fully visible below the navigation instead of filling every pixel. */
@media (min-width:901px) and (min-height:640px){
  .home-freeze-stage[data-home-freeze="capture"].is-home-freeze-pinned>.home-freeze-pin{
    padding:14px 0;
  }
  .home-freeze-stage[data-home-freeze="capture"].is-home-freeze-pinned .capture-refresh{
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-grid{
    width:min(1180px,calc(100% - 56px))!important;
    height:min(590px,calc(var(--home-freeze-view-height) - 34px))!important;
    min-height:0!important;
    grid-template-columns:minmax(0,1.03fr) minmax(340px,.78fr)!important;
    gap:clamp(42px,5vw,72px)!important;
    align-items:center!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-visual{
    box-sizing:border-box!important;
    height:100%!important;
    min-height:0!important;
    max-height:590px!important;
    padding:22px 26px!important;
    border-radius:30px!important;
    overflow:hidden!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel{
    box-sizing:border-box!important;
    width:min(455px,calc(100% - 48px))!important;
    height:calc(100% - 54px)!important;
    min-height:0!important;
    max-height:480px!important;
    padding:24px 28px!important;
    overflow:hidden!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-top{
    font-size:11px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .refresh-scan-stage{
    height:min(260px,43svh)!important;
    margin-top:15px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-caption{
    margin-top:10px!important;
    font-size:11px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-kicker{margin-top:17px!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-review h3{
    margin-top:9px!important;
    font-size:27px!important;
    line-height:1.12!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-review>p{
    margin-top:8px!important;
    font-size:12.5px!important;
    line-height:1.5!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-fields{
    margin-top:11px!important;
    gap:0 18px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-fields>div{padding-block:8px 9px!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-fields dt{font-size:10.5px!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-fields dd{
    margin-top:3px!important;
    font-size:13.5px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-confirm{
    min-height:44px!important;
    margin-top:11px!important;
    font-size:11.5px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .filed-stack{
    height:min(240px,39svh)!important;
    margin-top:15px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .filed-result{margin-top:10px!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-copy{
    max-width:450px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-copy h2{
    margin-top:10px!important;
    font-size:clamp(42px,3.8vw,54px)!important;
    line-height:1.02!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-dek{
    margin-top:15px!important;
    max-width:430px!important;
    font-size:14px!important;
    line-height:1.62!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-steps{
    margin-top:17px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-steps button{
    min-height:0!important;
    padding-block:11px!important;
    gap:13px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-steps strong{
    font-size:16px!important;
    line-height:1.25!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-steps small{
    margin-top:2px!important;
    font-size:11px!important;
    line-height:1.42!important;
  }
}

@media (min-width:901px) and (max-width:1220px){
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-grid{
    width:min(1080px,calc(100% - 42px))!important;
    grid-template-columns:minmax(0,1fr) minmax(310px,.82fr)!important;
    gap:34px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-copy h2{font-size:43px!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel{width:calc(100% - 38px)!important}
}

/* The restored support section keeps its useful tabs but loses the oversized,
   washed-out presentation shown in the rejected version. */
@media (min-width:901px){
  .reading-stage[data-reading-stage="more-support"]>.reading-pin{
    padding-block:14px 18px!important;
  }
  #more-support.reading-content{
    width:min(1180px,calc(100% - 52px))!important;
  }
  #more-support .support-heading{
    grid-template-columns:minmax(0,.78fr) minmax(360px,1.02fr)!important;
    gap:54px!important;
    align-items:end!important;
    margin-bottom:18px!important;
  }
  #more-support .support-heading h2{
    margin-top:9px!important;
    font-size:clamp(39px,3.55vw,50px)!important;
    line-height:1.03!important;
  }
  #more-support .support-heading>p{
    max-width:520px!important;
    justify-self:end!important;
    padding-bottom:3px!important;
    font-size:14px!important;
    line-height:1.6!important;
  }
  #more-support .support-tabs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
    margin-bottom:15px!important;
  }
  #more-support .support-tabs button{
    min-height:58px!important;
    padding:9px 13px!important;
    border-radius:17px!important;
    gap:10px!important;
    font-size:13px!important;
    box-shadow:none!important;
  }
  #more-support .support-tabs button .icon{
    width:36px!important;
    height:36px!important;
    padding:9px!important;
    border-radius:12px!important;
  }
  #more-support .support-panel{
    min-height:0!important;
    height:min(398px,calc(100svh - 302px))!important;
    grid-template-columns:minmax(0,.88fr) minmax(470px,1.12fr)!important;
    gap:38px!important;
    align-items:center!important;
    padding:25px 28px!important;
    border:1px solid #e4dadd!important;
    border-radius:27px!important;
    background:linear-gradient(135deg,#f7f3f1 0%,#f3eef0 100%)!important;
    box-shadow:0 24px 58px -50px rgba(68,43,59,.58)!important;
    overflow:hidden!important;
  }
  #more-support .support-panel-copy{
    max-width:460px!important;
  }
  #more-support .support-index{
    font-size:11px!important;
    letter-spacing:.03em!important;
  }
  #more-support .support-panel-copy h3{
    margin-top:13px!important;
    font-size:clamp(31px,2.8vw,40px)!important;
    line-height:1.08!important;
  }
  #more-support .support-panel-copy>p{
    max-width:450px!important;
    margin-top:14px!important;
    font-size:14px!important;
    line-height:1.58!important;
  }
  #more-support .support-points{
    margin-top:13px!important;
    gap:6px!important;
  }
  #more-support .support-points li{
    font-size:12.5px!important;
    line-height:1.45!important;
  }
  #more-support .support-panel-copy .text-link{
    margin-top:14px!important;
    font-size:13px!important;
  }
  #more-support .support-visual{
    min-width:0!important;
  }
  #more-support .support-card{
    width:100%!important;
    max-width:570px!important;
    margin-inline:auto!important;
    border-radius:21px!important;
    box-shadow:0 23px 48px -36px rgba(71,45,63,.5)!important;
  }
  #more-support .support-card-top{padding:13px 18px!important}
  #more-support .support-card-body{padding:17px 20px!important}
  #more-support .support-card-body h4{
    margin-top:8px!important;
    font-size:25px!important;
  }
  #more-support .support-card-note{padding:11px 18px!important;font-size:11px!important}
  #more-support .emergency-fields>div{padding-block:9px!important}
  #more-support .emergency-fields dt,
  #more-support .emergency-fields dd{font-size:12px!important}
}

@media (min-width:901px) and (max-width:1250px){
  #more-support.reading-content{width:min(1080px,calc(100% - 40px))!important}
  #more-support .support-heading{gap:36px!important}
  #more-support .support-panel{
    grid-template-columns:minmax(0,.9fr) minmax(390px,1.1fr)!important;
    gap:28px!important;
  }
  #more-support .support-tabs button{font-size:12px!important}
}

/* Progress threads are subtle signals, not prominent decorations. */
.home-freeze-stage.is-home-freeze-pinned::after,
.reading-stage.is-reading-pinned::after{
  height:1px!important;
  opacity:.22!important;
}

@media (max-width:900px){
  #more-support .support-tabs{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
  }
  #more-support .support-tabs button{
    min-height:54px!important;
    padding:9px 11px!important;
    border-radius:15px!important;
    font-size:12px!important;
  }
  #more-support .support-panel{
    padding:24px 20px!important;
    border-radius:22px!important;
    background:linear-gradient(145deg,#f8f4f2,#f3eef0)!important;
  }
}

/* Capture composition: balanced laptop scale without object/caption collisions. */
@media (min-width:901px) and (min-height:640px){
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-scan{
    display:flex!important;
    flex-direction:column!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .refresh-scan-stage{
    flex:0 0 auto!important;
    height:292px!important;
    margin-top:18px!important;
    overflow:visible!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .refresh-bottle{
    transform:rotate(-2deg) scale(.82)!important;
    transform-origin:center center!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-caption{
    position:relative!important;
    z-index:3!important;
    margin:auto auto 0!important;
    padding:10px 16px 0!important;
    max-width:360px!important;
    line-height:1.45!important;
    background:rgba(255,253,251,.96)!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .filed-stack{
    width:88%!important;
    height:230px!important;
    margin:20px auto 0!important;
    transform:scale(.96)!important;
    transform-origin:top center!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .filed-sheet-front{
    padding:22px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .filed-sheet-head{
    padding-bottom:17px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .filed-row{
    padding:14px 0!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .filed-result{
    margin-top:14px!important;
  }
}
@media (min-width:901px) and (min-height:640px) and (max-height:720px){
  .home-freeze-stage[data-home-freeze="capture"] .refresh-scan-stage{
    height:260px!important;
    margin-top:12px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .refresh-bottle{
    transform:rotate(-2deg) scale(.76)!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-caption{
    margin-top:auto!important;
    padding-top:8px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .filed-stack{
    width:86%!important;
    height:210px!important;
    margin-top:14px!important;
    transform:scale(.94)!important;
  }
}
@media (min-width:901px) and (min-height:840px){
  .home-freeze-stage[data-home-freeze="capture"] .refresh-scan-stage{
    height:310px!important;
    margin-top:22px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .refresh-bottle{
    transform:rotate(-2deg) scale(.86)!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .filed-stack{
    width:90%!important;
    height:244px!important;
    transform:scale(.98)!important;
  }
}



/* Saved-to-records composition: center the content block and remove the dead lower half. */
@media (min-width:901px) and (min-height:640px){
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-filed{
    display:flex!important;
    flex-direction:column!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-filed .filed-stack{
    flex:0 0 auto!important;
    width:84%!important;
    height:214px!important;
    margin:auto auto 0!important;
    transform:scale(.93)!important;
    transform-origin:center center!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-filed .filed-result{
    width:min(92%,380px)!important;
    margin:18px auto auto!important;
    align-items:center!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-filed .filed-result>span{
    min-width:0!important;
  }
}
@media (min-width:901px) and (min-height:640px) and (max-height:720px){
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-filed .filed-stack{
    width:81%!important;
    height:196px!important;
    transform:scale(.90)!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-filed .filed-result{
    width:min(90%,350px)!important;
    margin-top:14px!important;
  }
}
@media (min-width:901px) and (min-height:840px){
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-filed .filed-stack{
    width:86%!important;
    height:226px!important;
    transform:scale(.95)!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-filed .filed-result{
    margin-top:20px!important;
  }
}


/* Responsive experience tiers: wide desktops should feel intentionally expansive, not laptop-scaled. */
@media (min-width:1600px) and (min-height:760px){
  .wrap{width:min(1380px,calc(100% - 120px))!important}

  #explore{--sunday-phone-size:320px!important}
  #explore .tour-layout{width:min(1320px,100%)!important;gap:clamp(64px,5vw,92px)!important}
  #explore .tour-intro,#explore .tour-heading,#explore .tour-story{max-width:350px!important}
  #explore .tour-heading h2{font-size:40px!important}
  #explore .tour-heading>p{font-size:13px!important;line-height:1.6!important}
  #explore .screen-tabs button{min-height:54px!important;font-size:15px!important}

  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-grid{
    width:min(1380px,calc(100% - 110px))!important;
    height:min(650px,calc(var(--home-freeze-view-height) - 40px))!important;
    grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr)!important;
    gap:clamp(70px,5vw,94px)!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-visual{
    max-height:650px!important;
    border-radius:36px!important;
    padding:28px 32px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel{
    width:min(520px,calc(100% - 56px))!important;
    max-height:530px!important;
    padding:30px 34px!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-copy h2{font-size:58px!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-dek{font-size:18px!important;line-height:1.72!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-steps strong{font-size:21px!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-steps small{font-size:13px!important}
  .home-freeze-stage[data-home-freeze="capture"] .refresh-scan-stage{height:315px!important;margin-top:20px!important}
  .home-freeze-stage[data-home-freeze="capture"] .refresh-bottle{transform:rotate(-2deg) scale(.9)!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel-filed .filed-stack{
    width:88%!important;height:236px!important;transform:scale(.96)!important
  }

  #ask-sunday .ask-layout{
    max-width:1380px!important;
    grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)!important;
    gap:clamp(70px,5vw,96px)!important;
    transform:none!important;
  }
  #ask-sunday .ask-copy h2{font-size:56px!important}
  #ask-sunday .ask-copy>p{max-width:430px!important;font-size:15px!important}
  #ask-sunday .ask-story{padding:32px!important}

  #more-support.reading-content{width:min(1380px,calc(100% - 110px))!important}
  #more-support .support-heading{gap:72px!important;margin-bottom:24px!important}
  #more-support .support-heading h2{font-size:56px!important}
  #more-support .support-heading>p{font-size:15px!important;max-width:590px!important}
  #more-support .support-tabs button{min-height:66px!important;font-size:14px!important;padding:11px 16px!important}
  #more-support .support-panel{
    height:min(460px,calc(100svh - 300px))!important;
    grid-template-columns:minmax(0,.82fr) minmax(520px,1.18fr)!important;
    gap:52px!important;
    padding:32px 38px!important;
  }
  #more-support .support-panel-copy h3{font-size:43px!important}
  #more-support .support-panel-copy>p{font-size:15px!important}
  #more-support .support-points li{font-size:13.5px!important}
  #more-support .support-card{max-width:650px!important}

  .privacy-refresh-grid{grid-template-columns:.78fr 1.22fr!important;gap:130px!important}
  .privacy-refresh-copy h2{font-size:60px!important}
  .privacy-refresh-copy p{font-size:17px!important;max-width:500px!important}
  .privacy-refresh-ledger{border-radius:32px!important}
  .privacy-ledger-title{padding:31px 34px!important}
  .privacy-ledger-title b{font-size:21px!important}
  .privacy-refresh-row{padding:24px 34px!important}
  .privacy-refresh-row>span,.privacy-refresh-row>b{font-size:13px!important}
  .privacy-refresh-foot{padding:21px 34px!important;font-size:11px!important}

  .testimonial-refresh-layout{grid-template-columns:.62fr 1.38fr!important;gap:92px!important}
  .testimonial-refresh-heading h2{font-size:64px!important}
  .testimonial-refresh-heading p{font-size:17px!important;max-width:430px!important}
  .testimonial-refresh-grid{gap:16px!important}
  .testimonial-refresh-grid article{min-height:420px!important;padding:32px!important;border-radius:28px!important}
  .testimonial-refresh blockquote{font-size:22px!important;line-height:1.5!important}
  .testimonial-refresh article footer img{width:48px!important;height:48px!important}

  #questions .faq-layout{width:min(1380px,calc(100% - 110px))!important;max-width:1380px!important;gap:120px!important}
  #questions .faq-heading h2{font-size:56px!important}
  #questions .faq-heading>p{font-size:14px!important}
  #questions .faq-list summary{font-size:16px!important;padding:27px 0!important}
  #questions .faq-list p{font-size:13px!important}

  #download.download-section{width:min(1380px,calc(100% - 110px))!important}
  #download .download-panel{min-height:500px!important;padding:76px 82px!important;border-radius:32px!important}
  #download .download-copy h2{font-size:58px!important}
  #download .download-copy>p{font-size:15px!important}
  #download .store-button{padding:14px 20px!important}
  #download .store-button strong{font-size:22px!important}
  #download .download-art{width:520px!important;height:520px!important;right:18px!important;top:-4px!important}
}

@media (min-width:2200px) and (min-height:1000px){
  .wrap{width:min(1560px,calc(100% - 180px))!important}
  #explore{--sunday-phone-size:350px!important}
  #explore .tour-layout{width:min(1500px,100%)!important}
  #explore .tour-intro,#explore .tour-heading,#explore .tour-story{max-width:390px!important}
  #explore .tour-heading h2{font-size:44px!important}

  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-grid{
    width:min(1560px,calc(100% - 170px))!important;
    height:min(720px,calc(var(--home-freeze-view-height) - 54px))!important;
  }
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-visual{max-height:720px!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-panel{width:min(560px,calc(100% - 64px))!important;max-height:580px!important}
  .home-freeze-stage[data-home-freeze="capture"] .capture-refresh-copy h2{font-size:66px!important}

  #ask-sunday .ask-layout{max-width:1500px!important}
  #ask-sunday .ask-copy h2{font-size:62px!important}

  #more-support.reading-content{width:min(1560px,calc(100% - 170px))!important}
  #more-support .support-panel{height:500px!important}
  #more-support .support-card{max-width:710px!important}

  #questions .faq-layout{width:min(1560px,calc(100% - 170px))!important;max-width:1560px!important}
  #download.download-section{width:min(1560px,calc(100% - 170px))!important}
  #download .download-panel{min-height:560px!important}
}
