/* Current mobile composition; loaded after the cinematic desktop styles. */
@media(max-width:1100px){
  .tech-site .mobile-nav.open{position:fixed;top:var(--mobile-menu-top,76px);left:16px;right:16px;width:auto;max-height:calc(100dvh - var(--mobile-menu-top,76px) - 16px - env(safe-area-inset-bottom));margin:0;padding:12px;gap:4px 8px;background:#1b1c19;border-color:#ffffff20;box-shadow:0 20px 60px #0008;z-index:65}
  .tech-site .mobile-nav a{min-height:48px;font-size:14px}
  .tech-site .mobile-nav a[href="/demo/"]{background:#e9e6da;color:#20201c}
  html[data-mobile-menu]{overflow:hidden;overscroll-behavior:none}
  html[data-mobile-menu] body{overflow:hidden}
  html[data-mobile-menu] .tech-site:before{content:'';display:block;height:var(--mobile-header-space,0px)}
  html[data-mobile-menu] .tech-site .header{position:fixed;top:0;left:0;right:0}
  html[data-mobile-menu] .formora-chat-launcher,html[data-mobile-menu] .formora-chat{visibility:hidden;pointer-events:none}
}
@media(max-width:800px),(max-height:500px) and (max-width:1000px){
  :root{--mobile-header-height:calc(72px + env(safe-area-inset-top));--mobile-header-space:calc(73px + env(safe-area-inset-top))}
  html{scroll-padding-top:calc(var(--mobile-header-height) + 16px)}
  .tech-site .header{position:sticky;top:0;z-index:60;padding-top:env(safe-area-inset-top);background:#111110f2;backdrop-filter:blur(14px);border-bottom:1px solid #ffffff0b}
  .tech-site .header .nav-row{min-height:72px;width:calc(100% - 32px);gap:10px}
  .tech-site .brand-lockup{font-size:20px}.tech-site .brand-lockup img{width:24px;height:24px}
  .tech-site .nav-actions{gap:4px}.tech-site .nav-actions #nav-login{font-size:12px;min-height:44px;padding-inline:3px}
  .tech-site .nav-actions .button{min-height:44px}
  .tech-site .brand-opening{height:64svh;min-height:500px;max-height:620px}
  .tech-site .opening-stage{padding:64px 20px 48px}
  .tech-site .opening-word{margin-bottom:28px}
  .tech-site .opening-stage h1{font-size:clamp(23px,5.9vw,29px);line-height:1.3;text-wrap:balance}
  .tech-site .opening-stage>p{font-size:15px;line-height:1.7;margin:18px auto 22px;max-width:360px}
  .tech-site .opening-next{font-size:14px;min-height:48px}
  .tech-site .opening-horizon{height:110px;bottom:-70px}
  .tech-site .product-film .hero-note{font-size:12px;line-height:1.6;margin-top:12px}
  .tech-site .product-film figcaption{font-size:11px;line-height:1.6;padding:8px 0 0;max-width:400px;margin:auto}
  .tech-site .team-section{padding-top:52px}
  .tech-site .section-intro{margin-bottom:26px}
  .tech-site .section-intro h2{font-size:clamp(30px,7.8vw,40px);line-height:1.18;text-wrap:balance}
  .tech-site .section-intro>p{font-size:15px;line-height:1.75}
  .tech-site .team-grid{margin-inline:auto;gap:30px}
  .tech-site .team-card-copy{padding-top:18px}
  .tech-site .team-card h3{font-size:19px;line-height:1.4}
  .tech-site .team-card p{font-size:14px;line-height:1.75}
  .tech-site .illustration-note{font-size:12px;line-height:1.7}
  .tech-site .integration-shell{padding-top:54px;padding-bottom:30px}
  .tech-site .integration-copy h2{font-size:clamp(34px,8vw,44px)}
  .tech-site .integration-copy p{font-size:15px;line-height:1.75}
  .tech-site .integration-footer .integration-note,.tech-site .integration-footer .integration-hint{font-size:12px;line-height:1.7}
  .tech-site .founder-section{padding-block:48px 54px}
  .tech-site .founder-bubble{padding:34px 24px 28px}
  .tech-site .founder-bubble blockquote{font-size:clamp(21px,5.5vw,25px);line-height:1.55}
  .tech-site .pricing-section{padding-block:44px 56px}
  .tech-site .footer-lead>a{font-size:clamp(44px,12vw,64px)}
  .tech-site .tech-footer{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .tech-site .formora-chat-launcher{right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:48px;height:48px}
}
@media(min-width:601px) and (max-width:800px){
  .cinema-ready .tech-site .product-stage{top:var(--mobile-header-height);height:calc(100svh - var(--mobile-header-height));min-height:740px}
}
@media(max-width:600px){
  .tech-site .product-film,.cinema-ready .tech-site .product-film{height:auto;min-height:0}
  .tech-site .product-stage,.cinema-ready .tech-site .product-stage{position:relative;top:auto;display:flex;flex-direction:column;height:auto;min-height:0;padding-block:36px 28px;gap:22px}
  .tech-site .product-film .hero-copy h2{font-size:clamp(30px,8.4vw,36px);line-height:1.15;text-wrap:balance}
  .tech-site .product-film .hero-lead{font-size:15px;line-height:1.7;margin:18px auto 22px}
  .tech-site .product-film .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;max-width:420px;margin-inline:auto}
  .tech-site .product-film .button{width:100%;min-height:50px;padding:12px 9px;font-size:14px;gap:8px;justify-content:center}
  .tech-site .product-film .button .icon{width:20px;height:20px}
  .tech-site .product-film .plan-link{margin-top:8px;min-height:44px;font-size:14px}
  .tech-site .product-film .device-showcase{max-width:440px}
}
@media(max-width:360px){
  .tech-site .header .brand-lockup{font-size:18px}.tech-site .header .brand-lockup img{width:22px;height:22px}
  .tech-site .product-film .button{font-size:13px;padding-inline:8px;gap:6px}
}
@media(max-height:500px) and (max-width:1000px){
  .tech-site .brand-opening{height:auto;min-height:370px;max-height:none}
  .tech-site .opening-stage{padding:55px 24px 40px}
  .tech-site .opening-word{height:74px;margin-bottom:20px;font-size:68px}
  .tech-site .opening-symbol{height:68px;width:68px}
  .tech-site .opening-stage>p{max-width:540px;margin:12px auto}
  .tech-site .product-film,.cinema-ready .tech-site .product-film{height:auto;min-height:0}
  .tech-site .product-stage,.cinema-ready .tech-site .product-stage{position:relative;top:auto;height:auto;min-height:0;padding-block:36px;display:grid;grid-template-columns:1fr 1fr;gap:24px}
  .tech-site .product-film .hero-copy h2{font-size:30px}.tech-site .product-film .hero-lead{font-size:14px;line-height:1.6;margin-block:16px}
  .tech-site .product-film .actions{display:flex;flex-wrap:wrap;justify-content:center}
  .tech-site .product-film .button{font-size:13px;min-height:46px;padding:10px 14px}
  .tech-site .product-film .device-showcase{max-width:330px}
}
/* Subpages retain their own layouts, with one readable touch scale. */
@media(max-width:800px){
  .price-nav>a,.price-nav .site-account-trigger{min-height:44px;display:inline-flex;align-items:center}
  .site-header .brand,.header-row .brand,.policy-alias .brand,.price-header>a:first-child{display:inline-flex;align-items:center;min-height:44px}
  .price-main h1{font-size:clamp(34px,8vw,46px);text-wrap:balance;margin-block:28px 20px}
  .price-main{padding-top:20px}.price-disclaimer{padding:20px;margin-block:26px}
  .price-card li{font-size:14px}.price-card .button{min-height:48px;font-size:14px}
  .price-language select{font-size:16px;max-width:132px}
  .auth-panel{min-height:100svh;padding-bottom:calc(36px + env(safe-area-inset-bottom))}
  .auth-heading h2{font-size:clamp(28px,7.8vw,34px);line-height:1.2;text-wrap:balance}
  .auth-form input,.auth-form textarea,.composer textarea,.lookup-row input{font-size:16px}
  .auth-panel .social-button,.auth-panel .submit-button{min-height:50px}
  .auth-gate h1{font-size:clamp(34px,10vw,48px);line-height:1.1;text-wrap:balance}
  .channel-options button,.send-button,.review-card button,.dialog-heading button{min-height:44px}
  .channel-description,.review-card button,.chat-heading p,.community-footer{font-size:12px;line-height:1.6}
  .channel-title,.prompt-actions button,.send-button{font-size:13px}
  .prompt-actions button{min-height:44px;padding:10px 12px}
  .message-body{font-size:14px;line-height:1.7}
  .composer textarea{min-height:84px;line-height:1.6}
  .community-footer nav a{display:inline-flex;align-items:center;min-height:44px}
  .site-account-panel a,.site-account-panel button{min-height:44px}
  .legal-page .legal-masthead{padding-block:36px}
  .legal-page .legal-masthead h1,.policy-alias .hero h1{font-size:clamp(30px,8vw,42px);line-height:1.15;text-wrap:balance}
  .legal-page .legal-lead,.legal-page .legal-content p,.legal-page .legal-content li,.policy-alias .content p,.policy-alias .content li{font-size:15px;line-height:1.8}
  .legal-page .legal-content,.policy-alias .content{min-width:0;overflow-wrap:anywhere}
  .legal-page .legal-toc-links a,.policy-alias .toc a{display:flex;align-items:center;min-height:44px;font-size:13px}
  .legal-page .legal-footer-links a,.policy-alias .back{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
}
