@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=JetBrains+Mono:wght@400;500;600&family=Sora:wght@600&display=swap');
/* WEAI Universal Auto-Fit v27.3 - device-agnostic responsive guardrails */
:root{--weai-safe-l:max(12px,env(safe-area-inset-left));--weai-safe-r:max(12px,env(safe-area-inset-right));--weai-safe-t:max(8px,env(safe-area-inset-top));--weai-safe-b:max(8px,env(safe-area-inset-bottom));}
html{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body{width:100%;max-width:100%;overflow-x:hidden;}
*,*::before,*::after{box-sizing:border-box;min-width:0;}
img,video,canvas,svg{max-width:100%;height:auto;}
iframe{max-width:100%;border:0;}
main,section,header,footer,nav,.section,.container{max-width:100%;}
h1,h2,h3,p,span,a,button{overflow-wrap:break-word;}
.weai-main-title,.copy-scene h1,.manifesto,.tag{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;}
.section{padding-left:clamp(16px,4.5vw,72px)!important;padding-right:clamp(16px,4.5vw,72px)!important;}
.hero{padding-left:var(--weai-safe-l);padding-right:var(--weai-safe-r);}
iframe[src*="rsi-pullback"],iframe[src*="youtube"],iframe[src*="birth-story"],iframe[src*="hero-film"]{width:100%;aspect-ratio:16/9;object-fit:contain;}
.rsi-float-frame iframe{width:100%!important;height:100%!important;object-fit:contain;}
/* Approved typography. The main-page opening hero remains untouched. */
body :where(p,li,label,input,textarea,select,option,a,button,small,span,nav,footer,table,th,td){font-family:'Inter',sans-serif!important;}
body :where(h1,h2,h3,h4,h5,h6,.title,.section-title,.panel-title,.card-title,.brand,.brand *){font-family:'Sora',sans-serif!important;font-weight:600!important;}
body :where(.price,.number,.value,.amount,.score,.metric,.kpi,time,[data-value],[class~="stat-value"],[class~="price-value"],[class~="metric-value"],[class~="score-value"]){font-family:'JetBrains Mono',monospace!important;}
body:has(.weai-main-title) .hero :where(p,li,label,input,textarea,select,option,a,button,small,span){font-family:Inter,'Inter',Inter,sans-serif!important;}body:has(.weai-main-title) .hero :where(h1,h2,h3,h4,h5,h6,.weai-main-title,.weai-main-title *){font-family:'Sora','Sora',Sora,sans-serif!important;}
header :where(a,button,span,small):not(.brand):not(.brand *){font-family:'Inter',sans-serif!important;font-weight:500!important;}header .brand,header .brand *{font-family:'Sora',sans-serif!important;font-weight:600!important;}
body:not(:has(.weai-main-title)) h1,body:not(:has(.weai-main-title)) h2,body:not(:has(.weai-main-title)) h3,body:not(:has(.weai-main-title)) h4,body:not(:has(.weai-main-title)) h5,body:not(:has(.weai-main-title)) h6,body:not(:has(.weai-main-title)) .brand{font-family:'Sora',sans-serif!important;font-weight:600!important;}
body:has(.weai-main-title) main>:not(.hero) :where(h1,h2,h3,h4,h5,h6,.title,.section-title,.panel-title,.card-title){font-family:'Sora',sans-serif!important;font-weight:600!important;}body:has(.weai-main-title) main>:not(.hero) :where(p,li,label,input,textarea,select,option,a,button,small,span){font-family:'Inter',sans-serif!important;}
body:not(:has(.weai-main-title)) :where(.stats b,.stat b,.metrics b,.metric b,.kpis b,.kpi b,.data b,.value b,.price b,time){font-family:'JetBrains Mono',monospace!important;}
body:not(:has(.weai-main-title)) .billing-row b{font-family:'JetBrains Mono',monospace!important;}
@media (max-width:900px){.section{padding-left:clamp(14px,4vw,28px)!important;padding-right:clamp(14px,4vw,28px)!important;}.section-heading,.split,.feature-grid,.pricing-grid,.demo-download-grid{max-width:100%!important;}.terminal-card,.dashboard,.hero-visual{max-width:100%!important;}}
