@media (max-width:1180px){:root{--container:min(100% - 32px,1100px)}.main-nav a{padding:8px 7px;font-size:.82rem}.hero-grid{grid-template-columns:1fr 470px}.project-grid{grid-template-columns:repeat(2,1fr)}.stack-grid{grid-template-columns:repeat(3,1fr)}.models-grid{grid-template-columns:repeat(2,1fr)}.floating-nav{display:none}}
@media (max-width:980px){:root{--header:66px}.nav-shell{gap:10px}.brand-logo{width:190px;max-height:40px}.main-nav{position:fixed;top:76px;left:16px;right:16px;display:grid;gap:4px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-lg);transform:translateY(-8px);opacity:0;pointer-events:none;transition:.2s}.main-nav.open{transform:none;opacity:1;pointer-events:auto}.main-nav a{padding:11px 12px}.menu-toggle{display:block;margin-left:auto}.hero{min-height:auto;padding-top:130px}.hero-grid{grid-template-columns:1fr}.hero-copy{max-width:820px}.hero-visual{max-width:680px;margin:auto}.section{padding:88px 0}.areas-grid{grid-template-columns:repeat(2,1fr)}.stack-grid{grid-template-columns:repeat(2,1fr)}.complexity-tool,.infra-grid,.backup-layout,.security-layout,.faq-layout{grid-template-columns:1fr}.faq-copy{position:static}.security-rings{text-align:center}.module-toolbar{grid-template-columns:1fr 1fr}.module-search{grid-column:1/-1}.timeline{grid-template-columns:repeat(2,1fr);gap:30px 0}.timeline::before{display:none}.section-heading{align-items:flex-start;flex-direction:column;gap:15px}.section-heading>p{max-width:720px}.tech-map{height:580px}.tech-core{width:190px;height:190px}.tech-node{width:135px}.footer-grid{grid-template-columns:1.6fr 1fr 1fr}}
@media (max-width:760px){:root{--container:min(100% - 24px,680px)}body{font-size:15px}.brand-logo{width:165px;max-height:37px}.nav-actions{gap:6px}.nav-actions .icon-btn{width:38px;height:38px}.hero{padding-top:112px}.hero h1{font-size:clamp(2.6rem,12vw,4.5rem)}.hero-lead{font-size:1rem}.stats-grid{grid-template-columns:1fr 1fr}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--border-soft)}.tech-map{height:auto;min-height:0;padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.tech-map::before,.tech-map-lines,.tech-core{display:none}.tech-node{position:static;width:auto!important;transform:none!important}.map-tooltip{position:static;grid-column:1/-1;transform:none;text-align:center}.areas-grid,.project-grid,.architecture-grid,.glossary-grid{grid-template-columns:minmax(0,1fr)}.project-card>p{min-height:0}.stack-grid{grid-template-columns:1fr 1fr}.complexity-ladder{grid-template-columns:1fr 1fr}.complexity-step:nth-child(2){border-right:0}.complexity-step:nth-child(-n+2){border-bottom:1px solid var(--border)}.complexity-tool{padding:24px}.module-table-wrap{display:none}.module-mobile{display:grid;gap:10px}.module-mobile article{padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.module-mobile article>div{display:flex;justify-content:space-between}.module-mobile h3{font-size:.95rem;margin:10px 0}.module-mobile p{font-size:.76rem;margin:0}.infra-grid,.backup-layout{gap:30px}.timeline{grid-template-columns:1fr;padding-left:24px;border-left:1px solid var(--border)}.timeline article{padding:0 0 15px 20px}.timeline-dot{position:absolute;left:-44px;width:38px;height:38px}.models-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{grid-template-columns:1fr;gap:10px}.search-overlay{padding-top:7vh}.search-dialog{padding:18px}.glossary-card p{min-height:0}}
@media (max-width:520px){:root{--container:calc(100% - 20px)}.brand{font-size:.94rem}.brand-logo{width:138px;max-height:32px}.footer-logo{width:220px;max-height:44px}.brand-mark{width:31px;height:31px}.menu-toggle{width:38px;height:38px}.nav-actions .icon-btn{width:36px;height:36px}.hero-actions{display:grid}.btn{width:100%}.legal-note{padding:13px}.visual-chip{display:none}.stats-grid{grid-template-columns:1fr}.stat{border-right:0!important;border-bottom:1px solid var(--border-soft)!important;padding:20px 12px}.stat:last-child{border-bottom:0!important}.section{padding:72px 0}.area-card{min-height:0}.stack-grid{grid-template-columns:1fr}.complexity-ladder{grid-template-columns:1fr}.complexity-step{border-right:0!important;border-bottom:1px solid var(--border)!important;min-height:145px}.complexity-step:last-child{border-bottom:0!important}.complexity-tool{padding:18px}.check-grid{grid-template-columns:1fr}.module-toolbar{grid-template-columns:1fr}.module-search{grid-column:auto}.infra-points,.backup-numbers{grid-template-columns:1fr}.models-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}.tech-map{grid-template-columns:1fr}.map-tooltip{grid-column:auto}.project-toolbar{flex-wrap:nowrap;overflow:auto;padding-bottom:5px}.filter-btn{white-space:nowrap}.back-top{right:12px;bottom:12px}.arch-card{padding:18px}}
@media (min-width:1600px){:root{--container:min(1380px,calc(100% - 80px))}.hero-grid{grid-template-columns:1fr 600px}.hero{min-height:900px}.areas-grid{grid-template-columns:repeat(3,1fr)}.project-grid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:2200px){:root{--container:1540px}.hero{min-height:980px}.section{padding:140px 0}body{font-size:17px}}

@media (max-width:360px){.nav-shell{gap:6px}.brand-logo{width:118px;max-height:29px}.nav-actions{gap:4px}.nav-actions .icon-btn{width:34px;height:34px}.menu-toggle{width:36px;height:36px;padding:9px}}
