/* Home and product chapters each occupy a viewport on desktop. Other routes keep their
   natural editorial heights; expanded content can always grow. */
body[data-page-frames]{display:flex;flex-direction:column;min-height:100svh}
body[data-page-frames]>main{flex:1;min-width:0}
@media(min-width:740px) and (pointer:fine){
  html.full-section-pages{--section-frame:calc(100svh - var(--site-header-height))}
  html.full-section-pages:not(.section-moving){scroll-snap-type:none;scroll-behavior:auto}
  .full-section-pages main>section:focus,.full-section-pages .site-footer:focus{outline:none}
  .full-section-pages main>section,.full-section-pages .site-footer{height:auto;min-height:0;max-height:none;overflow:visible;scrollbar-gutter:auto}
  .full-section-pages main>section:not(.home-brand-hero){padding-block:clamp(32px,3.5vw,64px)}
  .full-section-pages main>.home-brand-hero,.full-section-pages main>.experience-section,.full-section-pages main>.product-v2{height:var(--section-frame);max-height:var(--section-frame);overflow-x:clip;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
  .full-section-pages main>.experience-section,.full-section-pages main>.product-v2{padding-block:clamp(16px,3vh,40px)}
  .full-section-pages .home-brand-hero{display:flex;flex-direction:column;overflow:hidden;scrollbar-gutter:auto}
  .full-section-pages .home-brand-hero .hero-v2{flex:1;min-height:0}
  .full-section-pages .home-brand-hero .capability-ribbon{flex-shrink:0}
  .full-section-pages .section-heading{flex-shrink:0;margin-bottom:clamp(14px,2.2vh,28px)}
  .full-section-pages .section-heading h2{font-size:clamp(28px,2.4vw,58px);line-height:1.18}
  .full-section-pages .section-heading>p{font-size:15px;line-height:1.5}
  .full-section-pages .experience-section{display:flex;align-items:stretch}
  .full-section-pages .experience-section>.container{display:flex;flex-direction:column;height:100%;min-height:0}
  .full-section-pages .experience-section .product-tour{display:flex;flex-direction:column;flex:1;min-height:0}
  .full-section-pages .experience-section .tour-product-switcher{margin-bottom:10px;gap:10px}
  .full-section-pages .experience-section .tour-product-switcher>button{min-height:44px;padding:8px 16px;font-size:15px}
  .full-section-pages .experience-section .tour-tabs{flex-shrink:0;margin-bottom:12px;padding:5px}
  .full-section-pages .experience-section .tour-tabs button{min-height:40px;padding:7px 14px}
  .full-section-pages .experience-section .tour-panel:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;gap:12px}
  .full-section-pages .experience-section .tour-story{width:100%;flex-shrink:0;gap:4px 24px}
  .full-section-pages .experience-section .tour-story h3{font-size:clamp(21px,1.55vw,32px);line-height:1.3}
  .full-section-pages .experience-section .tour-story>p{font-size:15px;line-height:1.5}
  .full-section-pages .experience-section .real-screen{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;box-shadow:0 12px 34px #17365512}
  .full-section-pages .experience-section .real-screen-bar{flex-shrink:0;min-height:46px;padding:8px 14px;font-size:14px}
  .full-section-pages .experience-section .real-screen-bar>button{min-height:34px;padding-block:5px}
  .full-section-pages .experience-section .screen-image-button{display:flex;flex:1;min-height:0;overflow:hidden}
  .full-section-pages .experience-section .screen-image-button>img{width:100%;height:100%;max-height:100%;object-fit:contain}
  .full-section-pages .platforms-section>.container,.full-section-pages .package-section>.container{width:calc(100% - clamp(32px,6vw,200px));min-height:0}
  .full-section-pages .platform-pair>article{padding:20px 32px 0 0}
  .full-section-pages .platform-pair>article+article{padding:20px 0 0 32px}
  .full-section-pages .platform-pair .platform-name{font-size:clamp(23px,2vw,34px)}
  .full-section-pages .platform-pair .platform-intro{font-size:19px;line-height:1.45;margin-top:12px}
  .full-section-pages .platform-pair p:not(.platform-intro){font-size:15.5px;line-height:1.65;margin-top:14px}
  .full-section-pages .platform-chain{margin-block:18px}
  .full-section-pages .platform-chain>span{font-size:13px;padding:8px 12px}
  .full-section-pages .platform-pair .button{min-height:44px}
  .full-section-pages .package-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .full-section-pages .plan-card{padding:18px;gap:10px}
  .full-section-pages .plan-top b{font-size:28px}
  .full-section-pages .plan-top>.planned-scope{font-size:13px}
  .full-section-pages .plan-card h3{font-size:20px;line-height:1.3;margin:0}
  .full-section-pages .plan-card>.plan-capacity{font-size:24px;line-height:1.25;margin:0}
  .full-section-pages .plan-card>p:not(.plan-capacity){font-size:14px;line-height:1.5;margin:0}
  .full-section-pages .plan-card ul{margin:6px 0;gap:8px}
  .full-section-pages .plan-card li{font-size:14px;line-height:1.5}
  .full-section-pages .plan-card .plan-link{min-height:40px;padding-top:10px}
  .full-section-pages .package-disclosure{font-size:13px;line-height:1.5;margin-top:14px;max-width:none}
  .full-section-pages .additional-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
  .full-section-pages .additional-grid article{padding-top:18px}
  .full-section-pages .additional-grid article>.icon{margin-bottom:12px}
  .full-section-pages .additional-grid h3{font-size:clamp(19px,1.6vw,25px)}
  .full-section-pages .additional-grid p{font-size:15px;line-height:1.55;margin-top:12px}
  .full-section-pages .additional-grid small{font-size:13px;line-height:1.55;margin-top:12px}
  .full-section-pages .faq-section{gap:48px}
  .full-section-pages .faq-section h2{font-size:clamp(29px,2.5vw,46px)}
  .full-section-pages .faq-list summary{padding-block:15px;font-size:16px;line-height:1.5}
  .full-section-pages .faq-list p{font-size:15px;line-height:1.65;padding-bottom:16px}
  .full-section-pages .contact-band{display:flex;align-items:center;justify-content:space-between;gap:32px}
  .full-section-pages .site-footer{display:flex;flex-direction:column;justify-content:center}
  .full-section-pages .footer-main{padding-block:clamp(24px,5vh,56px)}
  .full-section-pages .footer-bottom{flex-shrink:0}
  /* The fixed assistant has its own edge space, including short pages. */
  .full-section-pages main>section.container:not(.home-brand-hero):not(.product-v2),
  .full-section-pages main>section:not(.home-brand-hero)>.container,
  .full-section-pages .site-footer>.container{padding-right:156px}
  /* A wheel stop should reveal one home chapter, including shorter content. */
  .full-section-pages body:has(:is(.home-brand-hero,.product-candidate,.product-membership)) main>section,
  .full-section-pages body:has(:is(.home-brand-hero,.product-candidate,.product-membership)) .site-footer{min-height:var(--section-frame)}
  .full-section-pages body:has(:is(.home-brand-hero,.product-candidate,.product-membership)) .platforms-section,
  .full-section-pages body:has(:is(.home-brand-hero,.product-candidate,.product-membership)) .candidate-showcase,
  .full-section-pages body:has(:is(.home-brand-hero,.product-candidate,.product-membership)) .package-section{display:flex;align-items:center}
  .full-section-pages body:has(:is(.home-brand-hero,.product-candidate,.product-membership)) .additional-section{display:flex;flex-direction:column;justify-content:center}
  .full-section-pages body:has(:is(.home-brand-hero,.product-candidate,.product-membership)) .faq-section{align-items:center}
  .full-section-pages main>section.home-closing-section{grid-template-rows:1fr auto;row-gap:24px;padding-block:clamp(22px,3svh,34px)}
  .full-section-pages body:has(:is(.product-candidate,.product-membership)) .product-workflow{display:flex;align-items:center}
  .full-section-pages main>section.product-closing-section{padding-block:clamp(22px,3svh,34px)}
  .full-section-pages .product-closing-section .home-footer{margin-top:24px}
  .full-section-pages main>section.packages-closing-section{padding-block:clamp(22px,3svh,34px)}
  .full-section-pages .packages-closing-section .home-footer{margin-top:24px}
}

/* The homepage footer belongs to the FAQ chapter, without its own wheel stop. */
.home-footer{grid-column:1/-1;width:100%;min-width:0;border-top:1px solid #c8d6e5;padding-top:16px;color:#5b718b}
.home-footer-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:10px}
.home-footer .brand-logo{width:128px;height:30px}.home-footer .brand-logo img{width:164px}
.home-footer-email{font-size:13px;font-weight:600;color:#355e88}
.home-footer nav{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:12px;line-height:1.5}
.home-footer nav>a{display:inline-flex;align-items:center;min-height:30px;color:#5b718b;transition:color .2s}
.home-footer a:hover{color:#315bd6}.home-footer small{display:block;font-size:10px;color:#7b8da3;margin-top:8px}
@media(max-width:700px){.home-footer{padding-top:22px;margin-top:5px}.home-footer-head{flex-wrap:wrap;gap:12px;margin-bottom:12px}.home-footer nav{gap:3px 18px;font-size:12px}.home-footer nav>a{min-height:44px}.home-footer small{font-size:11px;margin-top:14px}.home-footer-email{font-size:12px}}
@media(prefers-reduced-motion:reduce){.home-footer nav>a{transition:none}}
@media(min-width:740px) and (pointer:fine) and (max-height:760px){
  .full-section-pages main>section.packages-closing-section{padding-block:18px}
  .full-section-pages .packages-closing-section .home-footer{margin-top:14px}
  .full-section-pages .plan-card{padding:15px;gap:8px}
  .full-section-pages .plan-top b{font-size:26px}
  .full-section-pages .plan-card h3{font-size:18px}
  .full-section-pages .plan-card>.plan-capacity{font-size:22px}
  /* This short description repeats the title/summary; full copy stays in the
     package dialog. Capacity and all three scope bullets remain visible. */
  .full-section-pages .plan-card>p:not(.plan-capacity){display:none}
  .full-section-pages .plan-card ul{margin-block:4px}
  .full-section-pages .plan-card li{font-size:14px;line-height:1.4}
  .full-section-pages .platform-chain{margin-block:14px}
  .full-section-pages .section-heading{margin-bottom:14px}
}
@media(min-width:740px) and (max-width:980px) and (pointer:fine){
  /* Keep the stacked first screen readable in a narrow desktop panel.
     The product tour keeps its frame; editorial sections grow naturally. */
  .full-section-pages .home-brand-hero{height:auto;min-height:var(--section-frame);max-height:none;overflow:clip;overflow-y:visible}
  .full-section-pages .platform-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
  .full-section-pages .platform-pair>article{padding-right:18px}
  .full-section-pages .platform-pair>article+article{padding-left:18px}
  .full-section-pages .additional-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .full-section-pages .additional-grid h3{font-size:18px}
  .full-section-pages .additional-grid p{font-size:14.5px;line-height:1.45}
  .full-section-pages .additional-grid small{line-height:1.45}
}
@media(min-width:740px) and (max-width:980px) and (max-height:760px) and (pointer:fine){
  .full-section-pages main>.package-section{padding-block:12px}
  .full-section-pages .package-grid{gap:12px}
  .full-section-pages .plan-card{padding:12px;gap:6px}
  .full-section-pages .plan-top{gap:3px}
  .full-section-pages .plan-top b{line-height:1.1}
  .full-section-pages .plan-top>.planned-scope{line-height:1.25}
  .full-section-pages .plan-card ul{gap:6px}
  .full-section-pages .package-disclosure{margin-top:8px}
}
