/* Mobile layout: same content, rebuilt for touch and narrow screens. */
@media(max-width:750px){
html{scroll-padding-top:90px}body{padding-bottom:calc(74px + env(safe-area-inset-bottom));overflow-x:clip}.nav{position:sticky;top:0;z-index:20;background:#090909;border-bottom:1px solid #333;padding:15px 20px;min-height:70px}.brand{font-size:30px;letter-spacing:-1.8px;gap:9px}.brand img{width:30px;height:30px}.nav nav{gap:0}.nav nav a[href="#team"]{display:none}.nav-action{min-height:44px;font-size:0;gap:0}.nav-action:after{content:'История ↗';font-size:13px}.nav-action>span{display:none}.hero{padding:40px 20px 32px;display:block;min-height:0}.hero h1{font-size:clamp(43px,11.6vw,82px);letter-spacing:-.065em;line-height:.96;margin-bottom:28px}.hero-description{font-size:16px;line-height:1.65;max-width:520px}.hero-description p{margin-bottom:14px}.hero-cta{width:100%;max-width:none;min-height:58px;margin-top:26px;padding-left:16px;font-size:14px;gap:12px}.hero-note{font-size:12px;line-height:1.6;max-width:310px}.brain-wrap{display:none}.about,.section{padding:38px 20px;gap:22px}.about h2,.section-heading h2,.privacy h2{font-size:34px;letter-spacing:-1.6px;line-height:1.08}.about p,.privacy p,.team-heading p,.report-intro{font-size:15px;line-height:1.7}.form-layout{display:flex;flex-direction:column;gap:24px}.form-layout>*{width:100%;min-width:0}.report h2,.team h2{font-size:38px;letter-spacing:-2px}.report-intro{margin-bottom:16px}.text-link{font-size:13px;line-height:1.6}.story-form{width:calc(100% + 40px);margin:0 -20px;padding:26px 20px;background:#161616;border-block:1px solid #3c3c3c;box-shadow:none}.steps{gap:6px;padding-bottom:20px;margin-bottom:25px}.steps li{font-size:11px;gap:5px}.steps li>span{width:23px;height:23px;flex-shrink:0;border-radius:0}.story-form legend{font-size:28px;line-height:1.1}.form-subtitle{font-size:14px;line-height:1.6}.category-grid{gap:8px}.category-grid button{min-height:108px;padding:12px}.category-title{font-size:14px;line-height:1.3;overflow-wrap:anywhere}.category-grid small{font-size:12px;line-height:1.5}.choices{display:grid;grid-template-columns:1fr;gap:8px}.choices button{min-height:46px;text-align:left;font-size:14px;padding:12px}.story-form label{font-size:14px;margin-top:22px}.story-form label small{font-size:12px}.story-form input:not([type=radio]):not([type=checkbox]),.story-form textarea{font-size:16px;min-height:50px;padding:13px;line-height:1.5}.story-form textarea{min-height:170px}.field-help,.hint,.safety-note{font-size:12px;line-height:1.6}.field-help{flex-wrap:wrap}.check{font-size:13px;gap:12px}.check input{width:19px;height:19px}.check strong{font-size:14px}.check small{font-size:12px}.form-controls{gap:12px;flex-wrap:wrap;padding-top:18px}.step-count{font-size:12px}.button{min-height:52px;font-size:15px}.next{min-width:0;flex:1;max-width:230px}.back{min-height:44px;min-width:50px;font-size:14px}.form-bottom{font-size:11px}.team-heading{gap:20px;margin-bottom:25px}.team-roles{gap:8px;margin-bottom:28px}.team-roles button{padding:18px;min-height:60px}.team-roles button>span{font-size:16px}.team-roles p{display:none;font-size:14px;line-height:1.6;margin-top:12px}.team-roles button.selected p{display:block}.team-form{margin-top:6px}.team .hint{font-size:13px}.empty-case{padding:24px 20px}.empty-case p{font-size:14px}.empty-case a{font-size:12px;padding-block:12px}.privacy-grid{gap:14px}.privacy h3{font-size:18px}.success{padding:24px 20px;width:100%}.success h3{font-size:28px}footer{padding:28px 20px 16px}footer>div{padding-bottom:30px;font-size:13px}.mobile-dock{position:fixed;z-index:30;bottom:0;left:0;right:0;background:#101010;border-top:1px solid #444;display:grid;grid-template-columns:1fr 1fr;padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:8px}.mobile-dock a{display:flex;justify-content:space-between;align-items:center;padding:13px 14px;font-size:13px;min-height:48px;border:1px solid #555}.mobile-dock a:first-child{background:#eaeae4;color:#111}.mobile-dock a[aria-current=true]{outline:1px solid #aaa}.keyboard-open .mobile-dock{display:none}
}
@media(min-width:751px){.mobile-dock{display:none}}
@media(max-width:350px){.nav{padding-inline:16px}.brand{font-size:27px}.hero,.section,.about{padding-inline:16px}.story-form{width:calc(100% + 32px);margin-inline:-16px;padding-inline:16px}.steps li{font-size:10px}.hero h1{font-size:11.4vw}.category-grid{grid-template-columns:1fr}.category-grid button{min-height:80px}.mobile-dock{padding-inline:10px}.mobile-dock a{font-size:12px;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.tg-gate{min-height:100svh;background:#090909;color:#eee;display:flex;flex-direction:column;justify-content:center;max-width:520px;padding:40px 24px;margin:auto;font:16px/1.6 Arial,sans-serif}.tg-gate h1{font-size:44px;line-height:1;letter-spacing:-2px}.tg-gate p{color:#aaa}.tg-gate a,.tg-gate button{display:block;padding:16px;border:1px solid #666;margin-top:12px;background:#1b1b1b;color:#eee;text-align:center;text-decoration:none;font:inherit}.tg-gate button{background:#eee;color:#111;cursor:pointer}.tg-gate small{font-size:12px;color:#888}.tg-gate [role=status]{min-height:26px}.tg-locked #root,.tg-locked .mobile-dock{display:none}.tg-locked{padding-bottom:0}.tg-app .nav{top:var(--tg-content-safe-area-inset-top,0px)}

@media(max-width:750px){.story-form fieldset{scroll-margin-top:100px}}
