/* Dean's November3 shared grid corrections. */
:root{--u:clamp(.85px,calc(100vw / 812),1.15px)}
.frame,.modebits .workspace{width:92%;max-width:1100px;margin-inline:auto}
.frame .frame{width:100%}
.site-header{height:clamp(45px,5.55vw,56px)}
.header-row,.footer-row{width:92%;max-width:1100px}
.hero,.hero.feature,.modebits .hero.feature{width:100%;max-width:1195.65px;margin-inline:auto;height:clamp(260px,32vw,383px);background-image:none}
.hero:after,.modebits .hero.feature:after{display:none;background:none;mask:none}
.hero-art,.modebits .hero.feature .hero-art{display:block;width:55%;height:100%;object-fit:cover;object-position:center;clip-path:none;opacity:1}
.hero .frame,.modebits .hero:not(.feature) .frame,.modebits .hero.feature .frame{padding-top:calc(28 * var(--u));padding-bottom:20px}
.hero h1{max-width:49%;font-size:calc(34 * var(--u));line-height:1.05}
.hero p,.hero.feature p,.modebits .hero.feature .detail{max-width:43%;font-size:calc(17 * var(--u));line-height:1.35}
.modebits .hero.feature h1{font-size:calc(37 * var(--u));max-width:47%}
.modebits .hero.feature .detail{font-size:calc(14 * var(--u));max-width:39%}
.modebits .tool,.modebits .workspace{margin-top:0;min-height:0}
.sharing,.modebits .sharing{min-height:0;padding:calc(18 * var(--u)) 0}
.sizes{height:auto;min-height:58px}
.share-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:calc(28 * var(--u))}
.tips,.modebits .tips{min-height:0;margin-top:8px}
.faq,.modebits[data-page=feature] .faq{min-height:0;padding-inline:0;margin-top:16px}
.guide{height:auto;min-height:calc(207 * var(--u));grid-template-columns:32% 34% minmax(0,1fr)}
.guide-art{height:auto;display:flex;flex-direction:column;justify-content:center;position:relative}
.guide-art img{width:100%;height:auto;object-fit:contain}
.modebits .guide-art:after{position:static;content:'Free PDF guide';text-align:center;font-size:12px;line-height:1.4;padding:4px}
.guide h2,.modebits .guide h2{font-size:calc(22 * var(--u));line-height:1.15}
.guide ul,.modebits .guide ul{font-size:calc(12 * var(--u));line-height:1.5}
.guide-signup input{font-size:13px;height:32px}
.guide-signup label{font-size:12px}
.guide-signup p{font-size:12px;line-height:1.4}
.guide-signup button{min-height:36px}
.teaser{height:auto;min-height:calc(210 * var(--u));overflow:hidden}
.site-footer{height:auto;min-height:80px;padding-block:16px}
.footer-row{gap:20px;flex-wrap:wrap}
.site-footer nav{margin:0}
.support{position:static;border:0;background:none;padding:0;margin:0;white-space:nowrap}
.support-heart{mask:none;background:none;display:inline-block;width:20px;height:20px;margin:0 6px 0 0;fill:var(--bright);vertical-align:middle}
.puzzle-grid .actions,.puzzle-result{position:static;width:auto;height:auto;margin-top:12px}
.puzzle-grid>.scenario+div{padding-bottom:0}
.puzzle-result{min-height:40px}
.sizes label:focus-within{outline:3px solid var(--accent);outline-offset:2px}
[data-loading-status]{font-size:13px;line-height:1.4;color:var(--ink)}
@media(max-width:767px){
 :root{--u:1px}
 .frame,.modebits .workspace,.header-row,.footer-row{width:92%}
 .site-header{height:auto;min-height:60px}
 .header-row{min-height:60px;padding-block:10px}
 .brand{font-size:22px}
 .menu{display:block}
 .site-header nav{display:none;position:absolute;right:4%;top:57px;z-index:30;background:#1c2c35;padding:16px;box-shadow:0 4px 12px #0004;flex-direction:column;gap:16px}
 .site-header nav.open{display:flex}
 .hero,.hero.feature,.modebits .hero.feature{height:auto;min-height:0;overflow:visible;display:flex;flex-direction:column}
 .hero .frame,.modebits .hero:not(.feature) .frame,.modebits .hero.feature .frame{order:0;position:relative;padding:22px 0 18px}
 .hero h1,.modebits .hero.feature h1{font-size:32px;max-width:100%;line-height:1.05}
 .hero p,.hero.feature p,.modebits .hero.feature .detail{font-size:16px;max-width:100%}
 .hero-art,.modebits .hero.feature .hero-art{order:1;position:relative;width:100%;height:auto;max-height:260px;object-fit:cover}
 .mode-grid,.puzzle-grid,.role-cards,.share-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .role-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
 .role-card strong{padding:12px 8px}
 .role-card label{padding:9px 7px;font-size:13px}
 .role-card input{width:18px;height:18px}
 .scenario p{padding-left:0;font-size:15px}
 .scenario{min-height:0;padding:16px}
 .scenario h3{margin-bottom:12px}
 .workspace-heading{flex-wrap:wrap}
 .scenario-choice{width:100%}
 .steps,.examples{grid-template-columns:minmax(0,1fr)}
 .step+.step{border-left:0}
 .sizes{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sizes label{font-size:14px}
 .guide{grid-template-columns:minmax(0,1fr);height:auto}
 .guide-art img{max-height:280px;object-fit:contain}
 .guide-copy,.guide-signup{border-left:0;padding:18px}
 .guide h2,.modebits .guide h2{font-size:26px}
 .guide ul,.modebits .guide ul{font-size:15px}
 .guide-signup input{height:38px;font-size:15px}
 .guide-signup button{min-height:44px;font-size:16px}
 .teaser{display:flex;flex-direction:column;min-height:0}
 .teaser>div{width:100%;padding:20px}
 .teaser img{position:static;width:100%;height:auto;max-height:250px;object-fit:cover}
 .site-footer{padding-bottom:18px}
 .footer-row{flex-direction:column;align-items:flex-start}
 .site-footer nav{display:flex;position:static;flex-direction:row;flex-wrap:wrap;gap:18px;font-size:14px}
 .support{min-height:40px;font-size:13px}
 button,.button{min-height:40px}
 .share-controls button{height:auto;min-height:42px;font-size:15px}
}

@media(min-width:768px){.modebits .hero:not(.feature),.modebits .hero.feature{height:clamp(260px,32vw,383px)}}
.modebits .guide{height:auto;min-height:calc(207 * var(--u));overflow:visible}
.modebits .guide-signup{min-height:0;align-self:stretch}

[data-tool-pending] .role-cards,[data-tool-pending] .puzzle-result{visibility:hidden}

.modebits h1,.modebits h2,.modebits h3,.modebits .brand{font-family:Nunito,"DM Sans",Arial,sans-serif;font-weight:900}

@media(min-width:768px){
 .modebits .hero:not(.feature){background-image:url('/assets/hero-home-panorama.webp?v=mini-20261103-foundation18');background-size:cover;background-position:center}
 .modebits .hero.feature{background-image:url('/assets/hero-feature-panorama.webp?v=mini-20261103-foundation18');background-size:cover;background-position:center}
 .modebits .hero .hero-art{display:none}
 .modebits .hero.feature h1{max-width:39%;font-size:calc(34 * var(--u))}
 .modebits .hero.feature p,.modebits .hero.feature .detail{max-width:38%}
}

@media(min-width:768px){.modebits .hero.feature .hero-art,.modebits .hero:not(.feature) .hero-art{display:none!important}}
.modebits .guide-art,.modebits .guide-art img{position:static;transform:none;inset:auto;height:auto;max-width:100%}
.modebits .guide-art{min-width:0;align-self:stretch;overflow:hidden}
.modebits .guide-art img{display:block;max-height:290px;object-fit:contain}

@media(max-width:767px){
 body.modebits{font-size:15px}
 .modebits .tips p,.modebits .examples p,.modebits details,.modebits details p{font-size:14px;line-height:1.4}
 .modebits .tips h3{font-size:15px;line-height:1.3}
 .modebits .fine{font-size:12px;line-height:1.4}
 .modebits .examples button{font-size:14px}
 .modebits .sizes small{font-size:12px}
}

.modebits .guide-art:after{content:none}
.guide-caption{margin:0;padding:4px;font-size:12px;line-height:1.4;color:white;text-align:center}

.modebits .workspace>.info{display:flex;gap:8px;align-items:center}
.modebits .workspace>.info:before{content:'i';display:inline-grid;place-items:center;flex:0 0 20px;width:20px;height:20px;background:#0873ff;color:white;border-radius:50%;font:700 16px Georgia,serif}

@media(min-width:768px){.modebits .hero:not(.feature) p{max-width:31%}}
