/* ===== VARIABLES ===== */
[data-theme="dark"] {
  --bg:        #080d18;
  --bg2:       #0d1424;
  --bg3:       #111d33;
  --surface:   #141f35;
  --surface2:  #1a2845;
  --border:    #1f3158;
  --border2:   #2a4070;
  --text:      #e0e8f4;
  --text-s:    #8ca8cc;
  --text-xs:   #4a6888;
  --accent:    #00cfff;
  --accent-g:  linear-gradient(135deg,#00cfff,#7c5af0);
  --green:     #10d98a;
  --yellow:    #f5a623;
  --red:       #ff4f6a;
  --purple:    #9d6ef7;
  --header:    rgba(8,13,24,.92);
  --hero-bg:   linear-gradient(140deg,#080d18 0%,#0c1838 60%,#080d18 100%);
  --card-sh:   0 2px 24px rgba(0,207,255,.07);
  --card-sh2:  0 8px 32px rgba(0,207,255,.14);
  --glow:      0 0 24px rgba(0,207,255,.35);
}
[data-theme="light"] {
  --bg:        #f2f6fc;
  --bg2:       #ffffff;
  --bg3:       #e8eef8;
  --surface:   #ffffff;
  --surface2:  #f5f8ff;
  --border:    #d4dff0;
  --border2:   #b8cce0;
  --text:      #0f1e38;
  --text-s:    #4a6080;
  --text-xs:   #8a9ab8;
  --accent:    #1a56db;
  --accent-g:  linear-gradient(135deg,#1a56db,#7c3aed);
  --green:     #059669;
  --yellow:    #d97706;
  --red:       #dc2626;
  --purple:    #7c3aed;
  --header:    rgba(242,246,252,.95);
  --hero-bg:   linear-gradient(140deg,#0f2460 0%,#1a56db 60%,#1e40af 100%);
  --card-sh:   0 2px 16px rgba(0,0,0,.07);
  --card-sh2:  0 8px 32px rgba(0,0,0,.13);
  --glow:      none;
}

/* ===== BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background:var(--bg);color:var(--text);
  line-height:1.65;transition:background .3s,color .3s;
}
a{color:var(--accent);text-decoration:none;transition:opacity .2s}
a:hover{opacity:.75}
img{max-width:100%}
.container{max-width:1200px;margin:0 auto;padding:0 2rem}
.section{padding:5rem 0}
.section-alt{background:var(--bg2)}

/* ===== TYPOGRAPHY ===== */
.section-title{
  font-size:1.9rem;font-weight:800;text-align:center;
  margin-bottom:0.6rem;letter-spacing:-.02em;
}
.section-sub{
  text-align:center;color:var(--text-s);
  font-size:1rem;margin-bottom:3rem;
}
.eyebrow{
  display:inline-block;font-size:.72rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--accent);margin-bottom:.75rem;
}

/* ===== HEADER ===== */
.site-header{
  position:sticky;top:0;z-index:200;
  background:var(--header);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(16px);
}
.site-header .container{
  display:flex;align-items:center;gap:1rem;height:68px;
}
.logo{display:flex;align-items:center;gap:.75rem;color:var(--text);flex-shrink:0}
.logo-mark{
  width:38px;height:38px;border-radius:10px;
  background:var(--accent-g);
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;flex-shrink:0;
}
.logo-text strong{display:block;font-size:.9rem;font-weight:700;color:var(--text);line-height:1.2}
.logo-text small{font-size:.68rem;color:var(--text-s)}
.main-nav{display:flex;gap:.1rem;margin-left:auto}
.main-nav a{
  font-size:.85rem;font-weight:500;
  padding:.4rem .8rem;border-radius:7px;
  color:var(--text-s);transition:all .2s;white-space:nowrap;
}
.main-nav a:hover,.main-nav a.active{
  color:var(--accent);background:rgba(0,207,255,.09);opacity:1;
}
[data-theme="light"] .main-nav a:hover,
[data-theme="light"] .main-nav a.active{background:rgba(26,86,219,.08)}
.hdr-actions{display:flex;gap:.5rem;align-items:center;flex-shrink:0}
.btn-icon{
  width:36px;height:36px;border-radius:8px;
  border:1px solid var(--border);background:var(--surface);
  color:var(--text-s);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;transition:all .2s;
}
.btn-icon:hover{border-color:var(--accent);color:var(--accent)}
.nav-toggle{display:none;background:none;border:none;color:var(--text);font-size:1.4rem;cursor:pointer;padding:.4rem}

/* ===== HERO ===== */
.hero{
  background:var(--hero-bg);
  padding:6rem 0 7rem;position:relative;overflow:hidden;
  cursor:default;
}
.hero::after{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300cfff' fill-opacity='0.025'%3E%3Cpath d='M0 0h4v4H0zm8 0h4v4H8zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zm8 0h4v4h-4zM0 8h4v4H0zm80 0h4v4h-4zM0 16h4v4H0zm80 0h4v4h-4z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;
}
.hero .container{
  display:grid;grid-template-columns:1fr 420px;
  gap:4rem;align-items:center;position:relative;z-index:1;
}
.hero-tag{
  display:inline-flex;align-items:center;gap:.5rem;
  background:rgba(0,207,255,.12);border:1px solid rgba(0,207,255,.25);
  color:#7de8ff;padding:.3rem .9rem;border-radius:20px;
  font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  margin-bottom:1.5rem;
}
[data-theme="light"] .hero-tag{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.35);color:#fff}
.hero h1{
  font-size:clamp(2.2rem,5vw,3.6rem);font-weight:900;
  color:#fff;line-height:1.1;letter-spacing:-.03em;
  margin-bottom:1.25rem;
}
.hero h1 em{
  font-style:normal;
  background:var(--accent-g);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.hero-desc{
  font-size:1.1rem;color:rgba(255,255,255,.7);
  max-width:520px;margin-bottom:2.5rem;
}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.8rem 1.75rem;border-radius:9px;
  font-size:.92rem;font-weight:600;cursor:pointer;
  transition:all .25s;border:2px solid transparent;
}
.btn-primary{background:var(--accent-g);color:#fff}
.btn-primary:hover{transform:translateY(-2px);box-shadow:var(--glow);opacity:1}
[data-theme="dark"] .btn-primary{color:#080d18}
.btn-ghost{border-color:rgba(255,255,255,.35);color:#fff;background:rgba(255,255,255,.08)}
.btn-ghost:hover{background:rgba(255,255,255,.16);opacity:1}
.btn-outline{border-color:var(--border2);color:var(--text-s);background:var(--surface)}
.btn-outline:hover{border-color:var(--accent);color:var(--accent);opacity:1}

/* ===== HERO SCROLL HINT ===== */
.hero-scroll-hint{
  position:absolute;bottom:1.5rem;left:50%;transform:translateX(-50%);
  color:rgba(255,255,255,.35);
  transition:color .2s;
  animation:bounce-arrow 2s ease-in-out infinite;
  z-index:2;
}
.hero-scroll-hint:hover{color:rgba(255,255,255,.8);opacity:1}
@keyframes bounce-arrow{
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(6px)}
}

/* ===== HERO CANVAS ===== */
.hero{position:relative}
.hero-canvas{
  position:absolute;inset:0;
  width:100%;height:100%;
  pointer-events:none;
  z-index:0;
}
.hero-inner{
  position:relative;z-index:1;
  display:flex;flex-direction:column;
  justify-content:center;min-height:100%;
}
.hero-legend{display:flex;gap:1.5rem;flex-wrap:wrap;margin-top:2.5rem}
.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:rgba(255,255,255,.5);font-weight:500}
.legend-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.legend-dot.cyan{background:#00cfff;box-shadow:0 0 6px #00cfff}
.legend-dot.red{background:#ff4f6a;box-shadow:0 0 6px #ff4f6a}
.legend-dot.purple{background:#9d6ef7;box-shadow:0 0 6px #9d6ef7}

/* ===== CHART SOURCE ===== */
.chart-src{font-size:.72rem;color:var(--text-xs);margin-top:.85rem;padding-top:.75rem;border-top:1px solid var(--border);line-height:1.4}

/* ===== ACTIVITY PAGE ===== */
.activity-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.act-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:16px;padding:2rem;position:relative;overflow:hidden;transition:all .25s}
[data-theme="light"] .act-card{background:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.9);box-shadow:0 4px 20px rgba(0,0,0,.06)}
.act-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent-g)}
.act-card.green::before{background:linear-gradient(90deg,var(--green),#0fa86e)}
.act-card.purple::before{background:linear-gradient(90deg,var(--purple),#c77dff)}
.act-card.yellow::before{background:linear-gradient(90deg,var(--yellow),#f7c948)}
.act-card:hover{border-color:var(--border2);transform:translateY(-3px);box-shadow:var(--card-sh2)}
.act-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:1.25rem;background:var(--bg3)}
.act-card h3{font-size:1.1rem;font-weight:700;margin-bottom:.75rem}
.act-list{list-style:none;display:flex;flex-direction:column;gap:.5rem}
.act-list li{display:flex;align-items:flex-start;gap:.6rem;font-size:.88rem;color:var(--text-s)}
.act-list li::before{content:'→';color:var(--accent);flex-shrink:0;font-weight:700;font-size:.8rem;margin-top:.15rem}

/* ===== PROJECTS HOMEPAGE TRACK ===== */
.proj-track-wrap{position:relative;margin:0 -2rem;padding:0 2rem;overflow:hidden}
.proj-track-wrap::before,.proj-track-wrap::after{content:'';position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none}
.proj-track-wrap::before{left:2rem;background:linear-gradient(90deg,var(--bg),transparent)}
.proj-track-wrap::after{right:2rem;background:linear-gradient(270deg,var(--bg),transparent)}
[data-theme="light"] .proj-track-wrap::before{background:linear-gradient(90deg,var(--bg2),transparent)}
[data-theme="light"] .proj-track-wrap::after{background:linear-gradient(270deg,var(--bg2),transparent)}
.proj-track{display:flex;gap:1.25rem;overflow-x:auto;padding:.5rem .25rem 1.5rem;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.proj-track::-webkit-scrollbar{display:none}
.proj-tile{flex-shrink:0;width:280px;scroll-snap-align:start;border-radius:18px;padding:1.75rem;position:relative;overflow:hidden;transition:transform .3s,box-shadow .3s;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);cursor:pointer;text-decoration:none;color:inherit;display:block}
[data-theme="light"] .proj-tile{background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);box-shadow:0 4px 20px rgba(0,0,0,.06)}
.proj-tile:hover{transform:translateY(-6px);box-shadow:0 16px 48px rgba(0,207,255,.14)}
[data-theme="light"] .proj-tile:hover{box-shadow:0 16px 48px rgba(26,86,219,.1)}
.proj-tile::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent-g);border-radius:18px 18px 0 0}
.pt-green::before{background:linear-gradient(90deg,var(--green),#0db36e)}
.pt-cyan::before{background:linear-gradient(90deg,var(--accent),#7c5af0)}
.pt-purple::before{background:linear-gradient(90deg,var(--purple),#c77dff)}
.pt-yellow::before{background:linear-gradient(90deg,var(--yellow),#f7c948)}
.pt-gray::before{background:var(--border2)}
.pt-num{font-size:3.5rem;font-weight:900;line-height:1;opacity:.08;position:absolute;top:.75rem;right:1rem;font-variant-numeric:tabular-nums;pointer-events:none}
.proj-tile:hover .pt-num{opacity:.14;transition:opacity .3s}
.pt-status{display:inline-flex;align-items:center;gap:.4rem;font-size:.72rem;font-weight:700;padding:.25rem .7rem;border-radius:20px;margin-bottom:1rem}
.pt-status.s-active{background:rgba(16,217,138,.12);color:var(--green);border:1px solid rgba(16,217,138,.2)}
.pt-status.s-soon{background:rgba(0,207,255,.1);color:var(--accent);border:1px solid rgba(0,207,255,.2)}
.pt-status.s-plan{background:rgba(255,255,255,.05);color:var(--text-xs);border:1px solid var(--border)}
[data-theme="light"] .pt-status.s-active{background:rgba(5,150,105,.08);color:#059669;border-color:rgba(5,150,105,.2)}
[data-theme="light"] .pt-status.s-soon{background:rgba(26,86,219,.08);color:#1a56db;border-color:rgba(26,86,219,.2)}
[data-theme="light"] .pt-status.s-plan{background:rgba(0,0,0,.04);color:#94a3b8;border-color:#e2e8f0}
.pt-title{font-size:1.05rem;font-weight:700;margin-bottom:.6rem}
.pt-desc{font-size:.85rem;color:var(--text-s);line-height:1.6}
.pt-tags{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:1rem}
.pt-tag{font-size:.68rem;font-weight:600;padding:.2rem .55rem;border-radius:20px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:var(--text-xs)}
[data-theme="light"] .pt-tag{background:rgba(0,0,0,.04);border-color:#e2e8f0;color:#64748b}
.proj-track-nav{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:1.25rem}
.track-dot{width:6px;height:6px;border-radius:50%;background:var(--border2);cursor:pointer;transition:all .2s}
.track-dot.active{width:20px;border-radius:3px;background:var(--accent)}

/* ===== PROJECTS PAGE ===== */
.project-cards{display:flex;flex-direction:column;gap:1.25rem}
.proj-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:14px;padding:1.75rem 2rem;display:grid;grid-template-columns:1fr auto;gap:1.5rem;align-items:start;transition:border-color .2s,box-shadow .2s}
[data-theme="light"] .proj-card{background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);box-shadow:0 2px 16px rgba(0,0,0,.06)}
.proj-card:hover{border-color:rgba(0,207,255,.25);box-shadow:0 8px 32px rgba(0,207,255,.08)}
[data-theme="light"] .proj-card:hover{border-color:rgba(26,86,219,.3);box-shadow:0 8px 32px rgba(26,86,219,.06)}
.proj-name{display:flex;align-items:center;gap:.75rem;font-size:1.15rem;font-weight:700;margin-bottom:.5rem}
.status-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.dot-green{background:var(--green);box-shadow:0 0 8px var(--green)}
.dot-blue{background:var(--accent);box-shadow:0 0 8px var(--accent)}
.dot-gray{background:var(--text-xs)}
.proj-desc{font-size:.9rem;color:var(--text-s);max-width:640px}
.proj-tags{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}
.tag{font-size:.72rem;font-weight:600;padding:.25rem .65rem;border-radius:20px;background:var(--bg3);color:var(--text-s);border:1px solid var(--border)}
.proj-status{white-space:nowrap;font-size:.78rem;font-weight:700;padding:.4rem 1rem;border-radius:20px;display:flex;align-items:center;gap:.45rem}
.status-active{background:rgba(16,217,138,.1);color:var(--green);border:1px solid rgba(16,217,138,.25)}
.status-soon{background:rgba(0,207,255,.1);color:var(--accent);border:1px solid rgba(0,207,255,.25)}
.status-planned{background:var(--bg3);color:var(--text-s);border:1px solid var(--border)}
[data-theme="light"] .status-active{background:rgba(5,150,105,.08);color:#059669;border-color:rgba(5,150,105,.2)}
[data-theme="light"] .status-soon{background:rgba(26,86,219,.08);color:#1a56db;border-color:rgba(26,86,219,.2)}

/* ===== SERVICES PAGE ===== */
.services-tabs{display:flex;gap:.5rem;margin-bottom:2.5rem;flex-wrap:wrap}
.tab-btn{padding:.55rem 1.2rem;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text-s);font-size:.88rem;font-weight:600;cursor:pointer;transition:all .2s}
.tab-btn.active,.tab-btn:hover{border-color:var(--accent);color:var(--accent);background:rgba(0,207,255,.07)}
[data-theme="light"] .tab-btn.active,[data-theme="light"] .tab-btn:hover{background:rgba(26,86,219,.07)}
.tab-panel{display:none}
.tab-panel.active{display:block}
.services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
.svc-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:14px;padding:1.75rem;transition:all .2s}
[data-theme="light"] .svc-card{background:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.9);box-shadow:0 2px 16px rgba(0,0,0,.06)}
.svc-card:hover{border-color:rgba(0,207,255,.3);box-shadow:0 8px 32px rgba(0,207,255,.1)}
[data-theme="light"] .svc-card:hover{border-color:rgba(26,86,219,.3);box-shadow:0 8px 32px rgba(26,86,219,.08)}
.svc-icon{font-size:1.8rem;margin-bottom:1rem}
.svc-card h4{font-size:1rem;font-weight:700;margin-bottom:.65rem}
.svc-card p{font-size:.87rem;color:var(--text-s);line-height:1.6}
.audit-table{width:100%;border-collapse:collapse;margin-top:1.5rem}
.audit-table th{text-align:left;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-xs);padding:.6rem 1rem;border-bottom:2px solid var(--border)}
.audit-table td{padding:.85rem 1rem;border-bottom:1px solid var(--border);font-size:.88rem;color:var(--text-s);vertical-align:top}
.audit-table td:first-child{font-weight:600;color:var(--text);width:35%}
.severity{display:inline-flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:700;padding:.2rem .6rem;border-radius:6px}
.sev-h{background:rgba(255,79,106,.12);color:var(--red)}
.sev-m{background:rgba(245,166,35,.12);color:var(--yellow)}
.sev-l{background:rgba(16,217,138,.12);color:var(--green)}
[data-theme="light"] .sev-h{background:rgba(220,38,38,.1);color:#dc2626}
[data-theme="light"] .sev-m{background:rgba(217,119,6,.1);color:#d97706}
[data-theme="light"] .sev-l{background:rgba(5,150,105,.1);color:#059669}
.notice-box{background:var(--bg3);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:0 10px 10px 0;padding:1rem 1.25rem;font-size:.85rem;color:var(--text-s);margin-top:2rem}

/* ===== NEWS ===== */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.news-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:14px;padding:1.75rem;display:flex;flex-direction:column;transition:all .25s}
[data-theme="light"] .news-card{background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);box-shadow:0 2px 16px rgba(0,0,0,.06)}
.news-card:hover{border-color:rgba(0,207,255,.25);transform:translateY(-3px);box-shadow:0 12px 36px rgba(0,207,255,.1)}
[data-theme="light"] .news-card:hover{border-color:rgba(26,86,219,.3);box-shadow:0 12px 36px rgba(26,86,219,.08)}
.news-date{font-size:.75rem;color:var(--text-xs);margin-bottom:.75rem}
.news-card h3{font-size:1rem;font-weight:700;margin-bottom:.75rem;color:var(--text);flex:1}
.news-card p{font-size:.87rem;color:var(--text-s);line-height:1.6;margin-bottom:1.25rem}
.news-card a.link{font-size:.82rem;font-weight:700;color:var(--accent)}
.news-single h1{font-size:1.9rem;font-weight:800;color:#fff}
.back-link{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--text-s);margin-bottom:.5rem}
.back-link:hover{color:var(--accent);opacity:1}

/* ===== INNER PAGES ===== */
.inner-page{padding:3rem 0 5rem}
.page-header{margin-bottom:3rem;padding-bottom:2rem;border-bottom:1px solid var(--border)}
.page-title{font-size:clamp(1.8rem,4vw,2.4rem);font-weight:900;letter-spacing:-.02em;margin-bottom:.75rem;background:linear-gradient(90deg,var(--text) 0%,var(--text) 30%,var(--accent) 50%,var(--text) 70%,var(--text) 100%);background-size:200% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:shimmer 6s linear infinite;display:inline-block}
.page-lead{font-size:1.05rem;color:var(--text-s);max-width:640px;line-height:1.7}

/* О центре */
.about-layout{display:grid;grid-template-columns:1fr 280px;gap:2.5rem;align-items:start}
.about-main .content-block{margin-bottom:2.5rem}
.about-main .content-block h2{font-size:1.15rem;font-weight:700;margin-bottom:.85rem;color:var(--text)}
.about-main .content-block p{font-size:.93rem;color:var(--text-s);line-height:1.75;margin-bottom:.75rem}
.about-principles{list-style:none;display:flex;flex-direction:column;gap:1rem;margin-top:.5rem}
.about-principles li{display:flex;align-items:flex-start;gap:1rem}
.principle-icon{font-size:1.4rem;flex-shrink:0;margin-top:.1rem}
.about-principles strong{display:block;font-size:.9rem;font-weight:700;margin-bottom:.2rem}
.about-principles p{font-size:.83rem;color:var(--text-s);margin:0}
.about-aside{position:sticky;top:88px;display:flex;flex-direction:column;gap:0}
.aside-card{padding:1.25rem !important}
.aside-card-title{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-xs);margin-bottom:.85rem}
.aside-cta{display:block;text-align:center;margin-top:1rem;padding:.8rem 1.5rem;border-radius:10px;background:var(--accent-g);color:#fff;font-weight:700;font-size:.9rem;transition:opacity .2s,transform .2s}
[data-theme="dark"] .aside-cta{color:#080d18}
.aside-cta:hover{opacity:.88;transform:translateY(-2px)}

/* Программы */
.prog-list{display:flex;flex-direction:column;gap:1.25rem}
.prog-item{display:grid;grid-template-columns:100px 1fr;gap:2rem;align-items:start;padding:2rem}
.prog-meta{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding-top:.2rem}
.prog-num{font-size:2.5rem;font-weight:900;line-height:1;color:var(--border2);font-variant-numeric:tabular-nums}
.prog-body h3{font-size:1.1rem;font-weight:700;margin-bottom:.75rem}
.prog-body p{font-size:.9rem;color:var(--text-s);line-height:1.7;margin-bottom:.6rem}
.prog-body p:last-of-type{margin-bottom:.85rem}
.tab-desc{font-size:.93rem;color:var(--text-s);max-width:640px;line-height:1.7;margin-bottom:2rem}

/* Аналитика */
.news-list-grid{display:flex;flex-direction:column;gap:1rem}
.news-list-item{display:block;padding:1.75rem 2rem;color:inherit;transition:border-color .2s,transform .2s}
.news-list-item:hover{border-color:rgba(0,207,255,.3);transform:translateX(4px);opacity:1}
[data-theme="light"] .news-list-item:hover{border-color:rgba(26,86,219,.3)}
.news-list-date{font-size:.75rem;color:var(--text-xs);margin-bottom:.5rem}
.news-list-item h3{font-size:1.05rem;font-weight:700;margin-bottom:.5rem;color:var(--text)}
.news-list-item p{font-size:.88rem;color:var(--text-s);line-height:1.6;margin-bottom:.75rem}
.news-list-link{font-size:.82rem;font-weight:700;color:var(--accent)}

/* Статья */
.article-layout{max-width:740px;margin:0 auto}
.article-header{margin:1rem 0 2.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}
.article-header h1{font-size:clamp(1.5rem,3vw,2rem);font-weight:800;margin-top:.5rem;line-height:1.25}

/* Контакты */
.contacts-layout{display:grid;grid-template-columns:1fr 280px;gap:2rem;align-items:start}
.contacts-main h3{font-size:1rem;font-weight:700;margin-bottom:.65rem;color:var(--text)}
.contacts-main p{font-size:.92rem;color:var(--text-s);line-height:1.75}

/* ===== GLASS CARD ===== */
.glass-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:16px;padding:2rem}
[data-theme="light"] .glass-card{background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);box-shadow:0 4px 20px rgba(0,0,0,.06)}

.about-top-grid{display:grid;grid-template-columns:1fr 300px;gap:1.5rem;align-items:start}
.about-mission-icon{font-size:2.5rem;margin-bottom:1rem}
.about-mission h2{font-size:1.4rem;font-weight:800;margin-bottom:1rem}
.about-mission p{font-size:.95rem;color:var(--text-s);line-height:1.75;margin-bottom:.75rem}
.about-nums{display:flex;flex-direction:column;gap:1rem}
.about-num-card{text-align:center;padding:1.5rem 1rem}
.about-big-num{font-size:2.8rem;font-weight:900;line-height:1;background:var(--accent-g);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.about-num-label{font-size:.78rem;color:var(--text-s);margin-top:.4rem}
.about-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.about-why-card{text-align:center;padding:1.75rem 1.25rem}
.about-why-num{font-size:1.8rem;font-weight:900;line-height:1;margin-bottom:.75rem}
.about-why-desc{font-size:.85rem;color:var(--text-s);line-height:1.6;margin-bottom:.75rem}
.about-why-src{font-size:.72rem;color:var(--text-xs);font-style:italic}
.about-why-text{padding:1.5rem 2rem}
.about-why-text p{font-size:.95rem;color:var(--text-s);line-height:1.75;margin:0}
.about-req-grid{max-width:800px;margin:0 auto}
.about-req-card{padding:0;overflow:hidden}
.req-row{display:flex;gap:.75rem;padding:.6rem 0;border-bottom:1px solid var(--border);align-items:baseline}
.req-row:last-child{border-bottom:none}
.req-k{font-size:.78rem;color:var(--text-xs);width:80px;flex-shrink:0;font-weight:500}
.req-v{font-size:.85rem;color:var(--text-s);min-width:0;word-break:break-word}
.req-mono{font-family:monospace;font-size:.82rem;color:var(--text);letter-spacing:.02em}

/* ===== CONTACTS ===== */
.contacts-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.info-block{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:14px;padding:2rem}
[data-theme="light"] .info-block{background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);box-shadow:0 2px 16px rgba(0,0,0,.06)}
.info-block h3{font-size:1rem;font-weight:700;margin-bottom:1.25rem;color:var(--accent)}
.info-row{display:flex;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--border);font-size:.88rem}
.info-row:last-child{border-bottom:none}
.info-label{color:var(--text-xs);width:120px;flex-shrink:0;font-weight:500}
.info-val{color:var(--text-s)}
.req-table{width:100%;border-collapse:collapse}
.req-table td{padding:.6rem 0;border-bottom:1px solid var(--border);font-size:.87rem;vertical-align:top}
.req-table td:first-child{color:var(--text-xs);width:45%;padding-right:1rem;font-weight:500}
.req-table td:last-child{color:var(--text-s)}
.req-table tr:last-child td{border-bottom:none}

/* ===== CHARTS ===== */
.charts-row{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin:3rem 0}
.chart-box{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:14px;padding:1.75rem}
[data-theme="light"] .chart-box{background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);box-shadow:0 2px 16px rgba(0,0,0,.06)}
.chart-box h4{font-size:.9rem;font-weight:700;margin-bottom:1.25rem;color:var(--text-s)}
.chart-wrap{position:relative;height:220px;max-width:100%;overflow:hidden}

/* ===== PAGE HERO ===== */
.page-hero{background:var(--hero-bg);padding:3.5rem 0 3rem;position:relative;overflow:hidden}
.page-hero::after{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300cfff' fill-opacity='0.02'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E")}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{font-size:clamp(1.75rem,4vw,2.6rem);font-weight:900;color:#fff;letter-spacing:-.02em}
.page-hero p{color:rgba(255,255,255,.65);margin-top:.6rem;max-width:560px;font-size:1rem}

/* ===== SHIMMER ===== */
.section-title{background:linear-gradient(90deg,var(--text) 0%,var(--text) 30%,var(--accent) 50%,var(--text) 70%,var(--text) 100%);background-size:200% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:shimmer 6s linear infinite}
@keyframes shimmer{0%{background-position:200% center}100%{background-position:-200% center}}
.section-title::after{content:'';display:block;width:60px;height:3px;background:var(--accent);margin:.75rem auto 0;border-radius:2px;-webkit-text-fill-color:initial;background-clip:initial;-webkit-background-clip:initial}
.typed-cursor{display:inline-block;width:2px;height:1em;background:var(--accent);margin-left:2px;vertical-align:middle;animation:blink .7s step-end infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}

/* ===== CONTENT ===== */
.content h2{font-size:1.3rem;font-weight:700;margin:2.5rem 0 1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border)}
.content h3{font-size:1.05rem;font-weight:700;margin:1.5rem 0 .5rem;color:var(--accent)}
.content p{color:var(--text-s);margin-bottom:.9rem;font-size:.95rem}
.content ul,.content ol{margin:.5rem 0 1rem 1.5rem}
.content li{color:var(--text-s);font-size:.9rem;margin-bottom:.35rem}
.content blockquote{border-left:3px solid var(--accent);padding:.75rem 1.25rem;background:var(--surface);border-radius:0 8px 8px 0;margin:1.5rem 0;color:var(--text-s);font-style:italic;font-size:.9rem}

/* ===== FOOTER ===== */
.site-footer{background:var(--bg2);border-top:1px solid var(--border);padding:3.5rem 0 1.5rem}
.footer-cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem;margin-bottom:2.5rem}
.footer-col strong{display:block;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--text-xs);margin-bottom:1rem}
.footer-col p,.footer-col a{display:block;font-size:.85rem;color:var(--text-s);margin-bottom:.4rem}
.footer-col a:hover{color:var(--accent);opacity:1}
.footer-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;line-height:1.2}
.footer-mark{width:36px;height:36px;border-radius:9px;background:var(--accent-g);display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0}
.footer-bottom{border-top:1px solid var(--border);padding-top:1.5rem;display:flex;justify-content:space-between;align-items:center}
.footer-bottom p{font-size:.78rem;color:var(--text-xs)}

/* ===== BENTO GRID ===== */
.bento-section{position:relative;overflow:hidden;padding-top:2.5rem !important}
.bento-section::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 60% 50% at 20% 40%,rgba(0,207,255,.07) 0%,transparent 70%),radial-gradient(ellipse 50% 60% at 80% 60%,rgba(124,90,240,.06) 0%,transparent 70%);pointer-events:none}
[data-theme="light"] .bento-section::before{background:radial-gradient(ellipse 60% 50% at 20% 40%,rgba(26,86,219,.06) 0%,transparent 70%),radial-gradient(ellipse 50% 60% at 80% 60%,rgba(124,58,237,.05) 0%,transparent 70%)}
.bento-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:auto auto auto;grid-template-areas:"edu edu audit" "thr anti audit" "help boinc boinc";gap:1.25rem;position:relative;z-index:1}
.feat-edu{grid-area:edu}.feat-audit{grid-area:audit}.feat-thr{grid-area:thr}.feat-anti{grid-area:anti}.feat-help{grid-area:help}.feat-boinc{grid-area:boinc}
.feat{border-radius:18px;padding:2rem;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;position:relative;overflow:hidden;cursor:pointer;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
[data-theme="light"] .feat{background:rgba(255,255,255,.65);border:1px solid rgba(255,255,255,.9);box-shadow:0 4px 24px rgba(0,0,0,.06)}
.feat::before{content:'';position:absolute;inset:0;border-radius:18px;background:var(--accent-g);opacity:0;transition:opacity .3s;pointer-events:none}
.feat:hover::before{opacity:.04}
.feat:hover{transform:translateY(-4px);border-color:rgba(0,207,255,.25);box-shadow:0 12px 40px rgba(0,207,255,.12),0 0 0 1px rgba(0,207,255,.1)}
[data-theme="light"] .feat:hover{border-color:rgba(26,86,219,.3);box-shadow:0 12px 40px rgba(26,86,219,.1)}
.feat::after{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--accent-g);transform:scaleX(0);transform-origin:left;transition:transform .35s ease;border-radius:18px 18px 0 0}
.feat:hover::after{transform:scaleX(1)}
.feat-lg{grid-column:span 2}.feat-tall{grid-row:span 2}
.feat-icon{font-size:2rem;margin-bottom:1.25rem;display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:rgba(0,207,255,.08);transition:background .3s}
[data-theme="light"] .feat-icon{background:rgba(26,86,219,.07)}
.feat:hover .feat-icon{background:rgba(0,207,255,.15)}
[data-theme="light"] .feat:hover .feat-icon{background:rgba(26,86,219,.13)}
.feat h3{font-size:1.05rem;font-weight:700;margin-bottom:.6rem}
.feat p{font-size:.88rem;color:var(--text-s);line-height:1.65}
.feat-tall p{margin-bottom:1rem}
.feat-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.82rem;font-weight:700;color:var(--accent);margin-top:1.25rem;opacity:.8;transition:opacity .2s}
.feat:hover .feat-link{opacity:1}
.feat-big-num{font-size:3rem;font-weight:900;line-height:1;background:var(--accent-g);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:1rem 0 .5rem}
.feat-num-label{font-size:.8rem;color:var(--text-s)}

/* ===== CHECKER WIDGET ===== */
.checker-wrap{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;padding:2.5rem}
.checker-title{font-size:1.4rem;font-weight:800;margin:.5rem 0 .75rem}
.checker-desc{font-size:.9rem;color:var(--text-s);line-height:1.65}
.checker-input-wrap{display:flex;gap:.75rem;margin-bottom:.85rem}
.checker-input{flex:1;background:var(--bg3);border:1px solid var(--border);border-radius:9px;padding:.75rem 1rem;color:var(--text);font-size:.9rem;font-family:inherit;outline:none;transition:border-color .2s}
.checker-input:focus{border-color:var(--accent)}
.checker-btn{flex-shrink:0;padding:.75rem 1.5rem;border-radius:9px;background:var(--accent-g);border:none;cursor:pointer;color:#080d18;font-weight:700;font-size:.9rem;font-family:inherit;transition:opacity .2s,transform .2s}
[data-theme="light"] .checker-btn{color:#fff}
.checker-btn:hover{opacity:.85;transform:translateY(-1px)}
.checker-result{padding:.75rem 1rem;border-radius:9px;font-size:.88rem;margin-bottom:.75rem}
.checker-result.checking{background:var(--bg3);color:var(--text-s)}
.checker-result.safe{background:rgba(16,217,138,.08);color:var(--green);border:1px solid rgba(16,217,138,.2)}
.checker-result.danger{background:rgba(255,79,106,.08);color:var(--red);border:1px solid rgba(255,79,106,.2)}
[data-theme="light"] .checker-result.safe{background:rgba(5,150,105,.07);color:#059669;border-color:rgba(5,150,105,.2)}
[data-theme="light"] .checker-result.danger{background:rgba(220,38,38,.07);color:#dc2626;border-color:rgba(220,38,38,.2)}
.checker-note{font-size:.75rem;color:var(--text-xs)}
.chart-annotation{font-size:.8rem;color:var(--green);font-weight:600;margin-bottom:.5rem;padding:.4rem .75rem;background:rgba(16,217,138,.08);border-radius:6px;border-left:3px solid var(--green)}
[data-theme="light"] .chart-annotation{background:rgba(5,150,105,.07);color:#059669}
.contact-methods{display:flex;flex-direction:column;gap:.75rem;margin:1.25rem 0}
.contact-method{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;border-radius:10px;background:var(--bg3);border:1px solid var(--border);color:inherit;transition:border-color .2s}
.contact-method:hover{border-color:var(--accent);opacity:1}
.cm-icon{font-size:1.4rem;flex-shrink:0}
.contact-method strong{display:block;font-size:.88rem;font-weight:700;margin-bottom:.1rem}
.contact-method span{font-size:.83rem;color:var(--text-s)}
.contact-note{font-size:.82rem;color:var(--text-xs);margin-top:.5rem}

/* ===== ANALYTICS / NEWS LIST ===== */
.analytics-page .page-header{display:none}
.analytics-header{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid var(--border)}
.analytics-search-wrap{position:relative;flex-shrink:0;width:300px}
.analytics-search{width:100%;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:.7rem 1rem .7rem 2.75rem;color:var(--text);font-size:.9rem;font-family:inherit;outline:none;transition:border-color .2s}
.analytics-search:focus{border-color:var(--accent)}
[data-theme="light"] .analytics-search{background:#fff}
.search-icon{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);color:var(--text-xs);pointer-events:none}
.tag-filters{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:2rem}
.tag-filter{padding:.4rem .9rem;border-radius:20px;border:1px solid var(--border);background:var(--surface);color:var(--text-s);font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit}
.tag-filter:hover,.tag-filter.active{border-color:var(--accent);color:var(--accent);background:rgba(0,207,255,.07)}
[data-theme="light"] .tag-filter:hover,[data-theme="light"] .tag-filter.active{background:rgba(26,86,219,.07)}
.articles-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
.article-featured{grid-column:span 2}
.article-card{display:block;color:inherit;border-radius:16px;transition:transform .25s,border-color .25s,box-shadow .25s}
.article-card:hover{transform:translateY(-3px);border-color:rgba(0,207,255,.3);box-shadow:0 12px 36px rgba(0,207,255,.1);opacity:1}
[data-theme="light"] .article-card:hover{border-color:rgba(26,86,219,.3);box-shadow:0 12px 36px rgba(26,86,219,.08)}
.article-card-inner{padding:1.75rem}
.article-featured .article-card-inner{padding:2.25rem}
.article-meta-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:.85rem}
.article-category{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:.25rem .65rem;border-radius:20px;background:rgba(0,207,255,.1);color:var(--accent);border:1px solid rgba(0,207,255,.2)}
[data-theme="light"] .article-category{background:rgba(26,86,219,.08);color:var(--accent);border-color:rgba(26,86,219,.2)}
.article-date{font-size:.78rem;color:var(--text-xs)}
.article-read-time{font-size:.78rem;color:var(--text-xs)}
.article-card-title{font-size:1.05rem;font-weight:700;line-height:1.35;margin-bottom:.65rem;color:var(--text)}
.article-featured .article-card-title{font-size:1.5rem}
.article-card-summary{font-size:.88rem;color:var(--text-s);line-height:1.65;margin-bottom:1.25rem}
.article-featured .article-card-summary{font-size:.95rem}
.article-card-footer{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.article-tag{font-size:.72rem;padding:.2rem .55rem;border-radius:20px;background:var(--bg3);border:1px solid var(--border);color:var(--text-xs)}
.article-read-link{margin-left:auto;font-size:.82rem;font-weight:700;color:var(--accent)}
.no-results{text-align:center;padding:4rem 0;color:var(--text-s)}
.no-results-icon{font-size:3rem;margin-bottom:1rem}
.reading-progress{position:fixed;top:0;left:0;height:3px;width:0%;background:var(--accent-g);z-index:1000;transition:width .1s linear;border-radius:0 2px 2px 0}
.article-page .inner-page{padding-top:2rem}
.article-layout{display:grid;grid-template-columns:1fr 280px;gap:3rem;align-items:start}
.article-header{margin:1rem 0 2.5rem;padding-bottom:2rem;border-bottom:1px solid var(--border)}
.article-header-meta{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}
.article-title{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:900;line-height:1.2;letter-spacing:-.02em;margin-bottom:1rem}
.article-lead{font-size:1.05rem;color:var(--text-s);line-height:1.7}
.article-body{font-size:.97rem;line-height:1.8;color:var(--text-s)}
.article-body h2{font-size:1.25rem;font-weight:800;color:var(--text);margin:2.5rem 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--border)}
.article-body h3{font-size:1.05rem;font-weight:700;color:var(--accent);margin:2rem 0 .75rem}
.article-body p{margin-bottom:1rem}
.article-body strong{color:var(--text);font-weight:700}
.article-body ul,.article-body ol{margin:.5rem 0 1rem 1.5rem}
.article-body li{margin-bottom:.5rem}
.article-body table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.88rem}
.article-body th{text-align:left;padding:.6rem 1rem;border-bottom:2px solid var(--border);font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-xs);font-weight:700}
.article-body td{padding:.75rem 1rem;border-bottom:1px solid var(--border);color:var(--text-s)}
.article-body td:first-child{font-weight:600;color:var(--text)}
.article-footer{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--border)}
.article-tags-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.tags-label{font-size:.78rem;color:var(--text-xs);font-weight:600}
.article-tag-link{font-size:.78rem;padding:.25rem .65rem;border-radius:20px;background:var(--bg3);border:1px solid var(--border);color:var(--text-s);transition:border-color .2s}
.article-tag-link:hover{border-color:var(--accent);color:var(--accent);opacity:1}
.article-sidebar{position:sticky;top:88px}
.sidebar-block{padding:1.25rem}
.sidebar-block-title{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-xs);margin-bottom:1rem}
.sidebar-article{display:flex;gap:.75rem;padding:.6rem 0;border-bottom:1px solid var(--border);color:inherit;transition:color .2s}
.sidebar-article:last-child{border-bottom:none}
.sidebar-article:hover{color:var(--accent);opacity:1}
.sidebar-article-date{font-size:.75rem;color:var(--text-xs);flex-shrink:0;padding-top:.1rem}
.sidebar-article-title{font-size:.83rem;font-weight:600;line-height:1.4}
.sidebar-cta{display:block;font-size:.82rem;font-weight:700;color:var(--accent)}
.sidebar-cta:hover{opacity:.75}

/* ===== DESKTOP RESPONSIVE ===== */
@media(max-width:960px){
  .analytics-header{flex-direction:column}
  .analytics-search-wrap{width:100%}
  .articles-grid{grid-template-columns:1fr}
  .article-featured{grid-column:span 1}
  .article-layout{grid-template-columns:1fr}
  .article-sidebar{position:static;margin-top:2rem}
  .checker-wrap{grid-template-columns:1fr}
  .about-layout{grid-template-columns:1fr}
  .about-aside{position:static}
  .contacts-layout{grid-template-columns:1fr}
  .prog-item{grid-template-columns:1fr}
  .prog-meta{flex-direction:row;align-items:center}
  .about-top-grid{grid-template-columns:1fr}
  .about-nums{flex-direction:row}
  .about-num-card{flex:1}
  .about-why-grid{grid-template-columns:repeat(2,1fr)}
  .hero .container{display:block}
  .hero-visual{display:none}
  .activity-grid{grid-template-columns:1fr}
  .services-grid{grid-template-columns:1fr}
  .news-grid{grid-template-columns:1fr 1fr}
  .charts-row{grid-template-columns:1fr}
  .contacts-grid{grid-template-columns:1fr}
  .bento-grid{grid-template-columns:1fr 1fr;grid-template-areas:"edu edu" "audit audit" "thr anti" "help boinc"}
  .footer-cols{grid-template-columns:1fr;gap:1.5rem}
  .main-nav{display:none;position:absolute;top:68px;left:0;right:0;background:var(--header);padding:1rem 1.25rem;flex-direction:column;border-bottom:1px solid var(--border);z-index:100}
  .main-nav.open{display:flex}
  .nav-toggle{display:block;margin-left:auto}
  .hero{padding:3.5rem 0 4rem}
  .hero h1{font-size:1.8rem;line-height:1.2}
  .hero-desc{font-size:.92rem;max-width:100%;margin-bottom:1.5rem}
  .hero-btns{flex-direction:column;gap:.6rem}
  .hero-btns .btn{width:100%;text-align:center;justify-content:center}
  .hero-scroll-hint{display:none}
}
@media(max-width:600px){
  .article-featured .article-card-title{font-size:1.2rem}
  .container{padding:0 1rem}
  .site-header .container{padding:0 1rem;height:52px}
  .main-nav{top:52px;padding:.75rem 1rem}
  .about-nums{flex-direction:column}
  .about-why-grid{grid-template-columns:1fr 1fr}
  .req-row{flex-direction:column;gap:.25rem}
  .req-k{width:auto}
  .bento-grid{grid-template-columns:1fr;grid-template-areas:"edu" "audit" "thr" "anti" "help" "boinc"}
  .news-grid{grid-template-columns:1fr}
  .proj-card{grid-template-columns:1fr}
  .hero{padding:2.5rem 0 3rem}
  .hero h1{font-size:1.5rem}
  .section{padding:2.5rem 0}
  .section-title{font-size:1.25rem}
  .footer-bottom{flex-direction:column;gap:.5rem;text-align:center}
  .prog-item{padding:1.25rem}
  .prog-detail-card{padding:1rem;flex-direction:column;gap:.5rem}
  .district-grid{grid-template-columns:1fr}
  .feat{padding:1.25rem}
  .feat h3{font-size:.92rem}
  .feat-icon{font-size:1.4rem;width:44px;height:44px}
}

/* ===== NEWS FEED (analytics list) ===== */
.news-feed{display:flex;flex-direction:column;gap:0}
.news-feed-item{display:flex;align-items:flex-start;gap:1.5rem;padding:1.5rem 0;border-bottom:1px solid var(--border);color:inherit;transition:background .2s;text-decoration:none}
.news-feed-item:first-child{padding-top:0}
.news-feed-item:last-child{border-bottom:none}
.news-feed-item:hover{background:var(--bg2);margin:0 -1.5rem;padding-left:1.5rem;padding-right:1.5rem;border-radius:12px}
.news-feed-item:hover .nfi-arrow{color:var(--accent);opacity:1}
.nfi-left{flex-shrink:0;width:60px;text-align:center;padding-top:.2rem}
.nfi-date{display:flex;flex-direction:column;align-items:center;line-height:1}
.nfi-day{font-size:1.6rem;font-weight:800;color:var(--text);line-height:1}
.nfi-month{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);margin-top:.15rem}
.nfi-year{font-size:.68rem;color:var(--text-xs);margin-top:.1rem}
.nfi-body{flex:1;min-width:0}
.nfi-meta{display:flex;align-items:center;gap:.75rem;margin-bottom:.4rem}
.nfi-category{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:.15rem .5rem;border-radius:4px;background:rgba(0,207,255,.08);color:var(--accent);border:1px solid rgba(0,207,255,.15)}
[data-theme="light"] .nfi-category{background:rgba(26,86,219,.06);color:var(--accent);border-color:rgba(26,86,219,.15)}
.nfi-reading{font-size:.75rem;color:var(--text-xs)}
.nfi-title{font-size:1.05rem;font-weight:700;line-height:1.35;margin-bottom:.4rem;color:var(--text)}
.nfi-summary{font-size:.86rem;color:var(--text-s);line-height:1.6;margin-bottom:.6rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nfi-tags{display:flex;gap:.4rem;flex-wrap:wrap}
.nfi-tag{font-size:.68rem;padding:.15rem .45rem;border-radius:20px;background:var(--bg3);border:1px solid var(--border);color:var(--text-xs)}
.nfi-arrow{flex-shrink:0;font-size:1.2rem;font-weight:700;color:var(--text-xs);opacity:.4;transition:color .2s,opacity .2s;padding-top:.2rem;align-self:center}
.articles-counter{font-size:.82rem;color:var(--text-xs);margin-bottom:1.25rem}
@media(max-width:640px){
  .news-feed-item{gap:1rem}
  .nfi-left{width:48px}
  .nfi-day{font-size:1.3rem}
  .nfi-arrow{display:none}
}

/* ===== PROGRAM DETAILS (projects page) ===== */
.prog-details{display:flex;flex-direction:column;gap:.75rem;margin-top:1.25rem}
.prog-detail-card{display:flex;gap:1rem;padding:1.25rem;background:var(--bg);border:1px solid var(--border);border-radius:10px}
.prog-detail-icon{font-size:1.5rem;flex-shrink:0;line-height:1;padding-top:.1rem}
.prog-detail-body{flex:1;min-width:0}
.prog-detail-body>strong{display:block;font-size:.92rem;margin-bottom:.5rem;color:var(--text)}
.prog-detail-body p{font-size:.85rem;color:var(--text-s);line-height:1.7;margin-bottom:.4rem}
.prog-detail-body ul{list-style:none;padding:0;margin:.4rem 0}
.prog-detail-body ul li{font-size:.85rem;color:var(--text-s);line-height:1.7;padding-left:1.1rem;position:relative;margin-bottom:.25rem}
.prog-detail-body ul li::before{content:"→";position:absolute;left:0;color:var(--accent);font-weight:600}
.module-list{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}
.module-item{display:flex;gap:.75rem;align-items:flex-start}
.module-num{font-size:1.3rem;line-height:1;flex-shrink:0;color:var(--accent);padding-top:.15rem}
.module-item strong{display:block;font-size:.88rem;margin-bottom:.15rem;color:var(--text)}
.module-item p{font-size:.82rem;color:var(--text-s);line-height:1.6;margin:0}
.module-time{font-size:.72rem;color:var(--text-xs);font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.roadmap{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem;padding-left:.25rem}
.roadmap-step{display:flex;gap:.75rem;align-items:flex-start;padding:.5rem 0}
.roadmap-marker{font-size:1.1rem;flex-shrink:0;color:var(--text-xs);line-height:1.3}
.roadmap-step.done .roadmap-marker{color:var(--green)}
.roadmap-step.current .roadmap-marker{color:var(--accent)}
.roadmap-step strong{display:block;font-size:.88rem;margin-bottom:.15rem;color:var(--text)}
.roadmap-step p{font-size:.82rem;color:var(--text-s);line-height:1.6;margin:0}
.roadmap-date{font-size:.72rem;color:var(--text-xs);font-weight:600}
.faq-item{margin-bottom:.75rem}
.faq-item>strong{display:block;font-size:.86rem;color:var(--text);margin-bottom:.2rem}
.faq-item>p{font-size:.83rem;color:var(--text-s);line-height:1.7;margin:0}
.district-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;margin-top:.5rem}
.district-item{padding:.75rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:8px}
.district-item strong{display:block;font-size:.88rem;margin-bottom:.25rem;color:var(--text)}
.district-item p{font-size:.78rem;color:var(--text-s);line-height:1.6;margin:0}

/* ===== GLOBAL OVERFLOW FIX ===== */
html{overflow-x:hidden;-webkit-text-size-adjust:100%}
body{overflow-x:hidden;width:100%;padding-bottom:env(safe-area-inset-bottom,0)}
