/* Mobile reading scale. Keep these rules after the visual theme. */
.hero-image{height:100%;position:relative}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media screen and (max-width:960px){
  body{font-size:18px;line-height:1.65}
  .container{width:calc(100% - 40px)}
  .section{padding-top:64px;padding-bottom:64px}
  .section-heading,.roles .section-heading,.workflow-body,.role-panel,.field-grid,.vision,.pilot-grid,.faq{grid-template-columns:1fr;gap:28px}
  .section-heading>.lead,.role-panel>div>p,.step-copy>p:not(.eyebrow),.vision .lead,.pilot .lead,.field .lead{max-width:none}
  .lead,.hero-text,.intro .lead,.field .lead,.vision .lead,.pilot .lead,
  .step-copy>p:not(.eyebrow),.role-panel>div>p,.contact-section p:not(.eyebrow){font-size:18px;line-height:1.7}
  .pillars p,.checks li,.field .checks li,.roadmap p,.control-grid p,.pilot-steps p,
  .pilot-card>p:not(.eyebrow),details>p,.faq details>p,.voice-reply p{font-size:16px;line-height:1.7}
  .eyebrow,.hero .eyebrow,.step-copy .eyebrow,.roadmap>.eyebrow,.contact-section .eyebrow,.pilot-card .eyebrow,
  .mini-label,.site-note .mini-label,.role-quote .mini-label,.roadmap .mini-label,.voice-demo>.mini-label{font-size:13px;line-height:1.55;letter-spacing:.06em}
  .eyebrow{margin-bottom:20px}
  .beta-note,.fine-print,.voice-disclaimer,.image-note,.note-status,.contact-actions>span,.founder strong,
  .footer-brand>span,.footer-bottom,.footer-bottom>span:last-child{font-size:14px;line-height:1.65}
  .fine-print{max-width:none}
  .beta-note{align-items:flex-start;gap:10px}
  .beta-note>span{margin-top:9px;flex-shrink:0;width:6px;height:6px}
  .checks{gap:13px;margin-top:26px}
  .checks .icon{width:19px;height:19px;margin-top:4px}
  .btn,.btn-small,.hero-buttons .btn,.pilot-card .btn,.contact-actions .btn{font-size:16px;line-height:1.5;min-height:56px;padding:16px 18px;letter-spacing:0;gap:16px}
  .text-button,.hero-buttons .text-button,.footer-app .text-button{font-size:16px;line-height:1.5;min-height:48px;gap:12px}
  .btn .icon,.text-button .icon,.hero-buttons .text-button .icon{width:22px;height:22px}
  .header-inner{width:calc(100% - 32px);gap:12px}
  .site-header{height:76px}
  .header-actions{gap:8px}
  .header-actions .language,.language{gap:0;font-size:14px;letter-spacing:0}
  .language a{min-width:36px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 3px}
  .menu-toggle{min-width:44px;min-height:44px;padding:10px}
  .menu-toggle .icon{width:24px;height:24px}
  .brand{font-size:29px;gap:7px}
  .brand img{width:28px;height:27px}
  .mobile-nav{padding:15px 24px 25px}
  .mobile-nav>a{font-size:18px;min-height:52px;align-items:center}
  .mobile-nav .btn{font-size:16px}
  .hero{grid-template-columns:1fr;gap:32px;padding-top:35px;padding-bottom:35px}
  .hero-copy{padding:0}
  .hero .eyebrow{font-size:12px;line-height:1.6;align-items:flex-start;gap:11px;margin-bottom:24px;max-width:550px}
  .tiny-cross{font-size:25px;flex-shrink:0;line-height:1}
  .hero h1{font-size:clamp(43px,10.5vw,73px)}
  .hero-text{max-width:620px;margin-top:27px}
  .hero-buttons{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:27px;max-width:500px}
  .hero-buttons .btn{width:100%;justify-content:space-between;text-align:left}
  .hero-buttons .text-button{justify-content:center;padding:13px 8px}
  .hero-visual{height:auto;margin:0;max-width:none;align-self:auto;isolation:isolate;overflow:visible}
  .hero-visual:after{display:none}
  .hero-image{height:360px;isolation:isolate}
  .hero-image:after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#101c2350,transparent 35%,#101c23e6);pointer-events:none}
  .hero-photo{height:100%;width:100%;object-fit:cover;object-position:59% center}
  .photo-top{font-size:12px;line-height:1.5;inset:14px 16px auto;gap:10px}
  .photo-top span:last-child{font-size:12px}
  .hero .photo-caption{bottom:57px;left:18px;right:18px;max-width:380px;font-size:28px;line-height:1.1}
  .image-note{bottom:15px;right:18px;font-size:12px;color:#e5eaed;z-index:2}
  .site-note{position:relative;inset:auto;min-height:0;gap:14px;align-items:flex-start;padding:22px 18px;width:100%;box-shadow:none}
  .site-note .mini-label{font-size:12px;line-height:1.5;margin-bottom:8px;color:#492a16}
  .site-note strong{font-size:18px;line-height:1.4}
  .note-icon{width:40px;height:44px;margin-top:3px}
  .note-status{font-size:14px;line-height:1.5;align-items:flex-start;gap:7px;margin-top:10px}
  .note-status .icon{width:16px;height:16px;margin-top:2px}
  .note-dot{display:none}
  .trades{padding-block:25px}
  .trades>div{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px;align-items:start}
  .trades>div>span{font-size:15px;line-height:1.5;align-items:flex-start;gap:10px;overflow-wrap:anywhere}
  .trades .icon{width:22px;height:22px;margin-top:1px}
  .pillars{grid-template-columns:1fr;gap:27px;margin-top:35px}
  .pillars article{display:grid;grid-template-columns:34px 1fr;column-gap:15px;row-gap:12px;padding-top:22px}
  .pillars .number{grid-row:1/3;font-size:24px;margin-top:1px}
  .pillars h3{font-size:26px;margin:0;line-height:1.15}
  .pillars p{grid-column:2;max-width:none;margin:0}
  .workflow-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:0;margin-top:30px;padding:0;overflow:visible}
  .workflow-tabs button{min-width:0;min-height:58px;font-size:16px;line-height:1.4;padding:13px 12px;border:1px solid #aab6ad;gap:9px;white-space:normal}
  .workflow-tabs button:last-child{grid-column:1/-1}
  .workflow-tabs button>span{font-size:13px;line-height:1.5;flex-shrink:0}
  .workflow-tabs button[aria-selected=true]{border-color:var(--ink);background:var(--ink);color:#fff}
  .workflow-tabs button[aria-selected=true]>span{font-size:13px;padding:3px 5px;background:var(--orange);color:var(--ink)}
  .workflow-body{padding-top:30px;min-height:0}
  .step-copy h3{font-size:30px;line-height:1.15;max-width:none}
  .step-copy>p:not(.eyebrow){margin-top:20px}
  .step-controls{margin-top:25px;gap:12px}
  .step-controls>span{font-size:15px}
  .circle-button{width:48px;height:48px}
  .circle-button .icon{width:22px;height:22px}
  .demo-window{width:calc(100% - 6px);max-width:680px;box-shadow:6px 6px 0 #cbd2c8;margin-left:0;min-width:0}
  .demo-topbar{height:auto;min-height:66px;padding:17px;gap:12px;flex-wrap:wrap}
  .demo-brand .brand{font-size:25px;gap:6px}
  .demo-brand .brand img{width:24px;height:23px}
  .demo-label{order:3;width:100%;margin:0;font-size:12px;line-height:1.5;letter-spacing:.035em;color:#52676a}
  .demo-avatar{display:grid;margin-left:auto;width:32px;height:32px;font-size:12px}
  .demo-heading{padding:20px 17px;gap:12px;align-items:flex-start}
  .demo-heading strong{font-size:18px;line-height:1.4}
  .demo-heading span:not(.revision){font-size:14px;line-height:1.5;margin-top:7px;color:#617479}
  .revision{font-size:12px;line-height:1.5;flex-shrink:0;padding:4px 7px;margin-top:3px}
  .plan-toolbar{font-size:14px;line-height:1.5;padding-block:13px;margin-inline:17px;align-items:flex-start;gap:10px}
  .plan-toolbar>span:first-child{align-items:flex-start;gap:8px}
  .plan-toolbar>span:last-child{white-space:nowrap}
  .plan-toolbar .icon{width:18px;height:18px;margin-top:2px}
  .plan-view{padding-inline:8px}
  .floorplan{max-height:none;height:auto}
  .floorplan>g>text{font-size:24px}
  .floorplan .plan-marker>text{font-size:17px}
  .plan-chip{position:static;width:fit-content;font-size:12px;line-height:1.5;padding:7px 9px;margin:4px 9px 14px;gap:8px}
  .plan-chip .icon{width:17px;height:17px}
  .demo-bottom{margin:14px 17px 20px;padding:17px 14px}
  .demo-event{gap:11px;align-items:flex-start}
  .event-icon{width:34px;height:38px;flex-shrink:0}
  .event-icon .icon{width:22px;height:22px}
  .demo-event span:not(.event-icon){font-size:14px;line-height:1.4;color:#5b6f61}
  .demo-event strong{font-size:18px;line-height:1.4;margin-top:5px}
  .demo-bottom>p{font-size:16px;line-height:1.65;max-width:none;min-height:0;margin-top:14px;color:#526a5b}
  .event-status{font-size:14px;line-height:1.5;padding:6px 9px;margin-top:15px}
  .role-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;overflow:visible;flex-wrap:wrap;padding-bottom:22px}
  .role-tabs button{font-size:16px;line-height:1.4;padding:12px 10px;min-width:0;min-height:58px;white-space:normal}
  .role-panel{padding-top:25px;min-height:0}
  .role-panel h3{font-size:31px;line-height:1.15;max-width:none}
  .role-quote{padding:28px 24px;min-width:0}
  .role-quote blockquote{font-size:28px;line-height:1.3;max-width:none}
  .role-quote .mini-label{font-size:12px;line-height:1.6;max-width:none}
  .voice-demo{width:calc(100% - 6px);max-width:580px;padding:28px 22px;box-shadow:6px 6px 0 #081319}
  .voice-demo>.mini-label{font-size:12px;line-height:1.7}
  .voice-user{font-size:20px;line-height:1.5;margin:22px 0}
  .voice-reply{padding:18px 14px;gap:11px}
  .voice-reply p{font-size:17px;line-height:1.65}
  .voice-reply img{width:25px;margin-top:4px}
  .voice-disclaimer{font-size:14px;margin-top:20px}
  .fine-print{font-size:15px;line-height:1.7;color:#b3c1c8}
  .founder{align-items:flex-start}
  .founder>span{flex-shrink:0;font-size:15px;width:42px;height:42px}
  .founder strong{font-size:16px;line-height:1.6;padding-top:5px}
  .roadmap li{gap:20px;padding-bottom:32px}
  .roadmap .mini-label{font-size:13px;margin-bottom:10px;color:#56645c}
  .roadmap h3{font-size:26px;line-height:1.15}
  .roadmap p{font-size:16px;max-width:none}
  .roadmap-dot{margin-top:6px}
  .control{padding-top:0}
  .control-grid{grid-template-columns:1fr;gap:28px}
  .control-grid article{display:grid;grid-template-columns:26px 1fr;gap:12px 16px}
  .control-grid .icon{grid-row:1/3}
  .control-grid h3{font-size:24px;line-height:1.2;margin:0}
  .control-grid p{grid-column:2;margin:0;max-width:none}
  .pilot-steps{margin-top:32px}
  .pilot-steps li{gap:15px;margin-top:27px}
  .pilot-steps li>span{font-size:16px;flex-shrink:0}
  .pilot-steps h3{font-size:23px;line-height:1.2}
  .pilot-steps p{font-size:16px;margin-top:10px}
  .pilot-card{padding:29px 24px;width:calc(100% - 7px);box-shadow:7px 7px 0 #15232c}
  .pilot-card-top>span{font-size:13px;letter-spacing:.07em;padding:5px 9px}
  .pilot-card h3{font-size:31px;line-height:1.15}
  .pilot-card>p:not(.eyebrow){font-size:17px;line-height:1.7}
  .pilot-card .btn{font-size:16px;white-space:normal;text-transform:none;padding:16px 17px;justify-content:space-between}
  .faq{gap:30px}
  summary,.faq summary{font-size:18px;line-height:1.5;padding-block:23px;gap:20px}
  .faq-plus{font-size:28px;flex-shrink:0}
  details>p,.faq details>p{font-size:17px;line-height:1.7;padding-right:0;padding-bottom:25px}
  .contact-section{grid-template-columns:1fr;padding:37px 25px;gap:27px;width:calc(100% - 46px);margin-left:20px;box-shadow:6px 6px 0 #10212b}
  .contact-section h2{font-size:clamp(33px,8.7vw,48px);line-height:1.02}
  .contact-section .eyebrow{font-size:12px;line-height:1.6;letter-spacing:.04em}
  .contact-section p:not(.eyebrow){font-size:18px;line-height:1.65;max-width:none}
  .contact-actions{align-items:stretch;flex-direction:column;gap:16px}
  .contact-actions .btn{font-size:16px;text-transform:none;text-align:left;justify-content:space-between;min-height:58px;line-height:1.5}
  .contact-actions>span{font-size:14px;line-height:1.6}
  .footer-main{grid-template-columns:1fr 1fr;gap:32px 26px}
  .footer-brand{grid-column:1/-1}
  .footer-brand p{font-size:18px;line-height:1.5}
  .footer-brand>span{font-size:15px;line-height:1.6}
  .footer-main h2{font-size:14px;line-height:1.5;letter-spacing:.06em;margin-bottom:12px}
  .footer-main>div>a:not(.text-button),.footer-button{font-size:16px;line-height:1.55;min-height:44px;padding:10px 0;margin-top:0}
  .footer-brand>a{padding:0!important}
  .footer-app{grid-column:1/-1;flex-direction:row;align-items:center;gap:20px}
  .footer-app .text-button{font-size:16px}
  .footer-app .language{margin:0}
  .footer-bottom{font-size:14px;line-height:1.7;flex-direction:column;gap:10px}
  .footer-bottom>span:last-child{font-size:12px;line-height:1.6;letter-spacing:.06em}
  dialog{padding:38px 24px 28px;max-height:calc(100dvh - 24px);width:min(620px,calc(100% - 24px))}
  dialog h2{font-size:32px;line-height:1.15}
  dialog .eyebrow{font-size:12px;line-height:1.6;padding-right:20px}
  dialog p:not(.eyebrow){font-size:17px;line-height:1.65}
  .dialog-close{min-width:44px;min-height:44px;right:6px;top:5px;padding:11px}
  .dialog-close .icon{width:22px;height:22px}
  .form-grid{grid-template-columns:1fr}
  form label{font-size:16px;line-height:1.55;gap:8px;margin-bottom:20px}
  input,select,textarea{font-size:18px;line-height:1.5;min-height:52px;padding:12px}
  .optional{font-size:14px;line-height:1.5}
  dialog p.form-notice{font-size:15px;line-height:1.65;margin-bottom:23px}
  a.contact-email{font-size:17px;line-height:1.6;overflow-wrap:anywhere}
  #prepared-message{font-size:16px;line-height:1.6}
  .ready-actions{flex-direction:column;align-items:stretch;gap:12px}
  .ready-actions .btn{font-size:16px}
}
@media screen and (max-width:380px){
  .container{width:calc(100% - 32px)}
  .header-inner{width:calc(100% - 24px);gap:8px}
  .site-header .brand{font-size:26px;gap:6px}
  .site-header .brand img{width:26px;height:25px}
  .header-actions{gap:3px}
  .header-actions .language{font-size:13px}
  .language a{min-width:34px}
  .hero h1{font-size:clamp(39px,10.9vw,43px)}
  .hero .eyebrow{font-size:12px;line-height:1.6}
  .hero-text{font-size:18px}
  .hero-buttons .btn,.hero-buttons .text-button{font-size:16px}
  .hero-image{height:340px}
  .hero .photo-caption{font-size:25px;max-width:none;bottom:60px}
  .photo-top{font-size:12px;gap:7px;inset-inline:12px}
  .site-note{padding:22px 15px;gap:11px}
  .site-note strong{font-size:18px}
  .site-note .mini-label{font-size:12px}
  .note-status{font-size:14px}
  .trades>div{grid-template-columns:1fr;gap:18px}
  .trades>div>span{font-size:16px}
  .workflow-tabs{grid-template-columns:1fr}
  .workflow-tabs button{font-size:16px;min-height:54px}
  .role-tabs{grid-template-columns:1fr}
  .role-tabs button{font-size:16px;min-height:54px;text-align:left;padding-inline:16px}
  .demo-heading{flex-wrap:wrap}
  .plan-toolbar{flex-wrap:wrap}
  .floorplan>g>text{font-size:25px}
  .voice-demo{padding:26px 18px}
  .pilot-card{padding:27px 20px}
  .pilot-card h3{font-size:29px}
  .contact-section{width:calc(100% - 38px);margin-left:16px;padding:33px 21px}
  .contact-section .eyebrow{font-size:12px}
  .contact-actions .btn{font-size:16px;padding-inline:15px}
  .footer-app{align-items:flex-start;flex-direction:column;gap:14px}
  dialog{padding:40px 20px 25px}
}
@media screen and (max-width:960px){
  /* Lower room labels sit below the drawing, clear of equipment symbols. */
  .floorplan>g[font-family]>text:nth-child(n+3){transform:translateY(42px)}
}
