:root{--bg:#020611;--surface:#071023;--surface2:#0a1429;--line:rgba(151,172,239,.20);--text:#f8f9ff;--muted:#aeb8d1;--purple:#8a5dff;--blue:#4298ff;--header-h:82px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:hidden}button,a{font:inherit}button{color:inherit}.space{position:fixed;inset:0;z-index:-3;background:radial-gradient(circle at 73% 17%,rgba(68,60,169,.22),transparent 32%),radial-gradient(circle at 8% 3%,rgba(37,67,149,.16),transparent 27%),linear-gradient(180deg,#020817 0%,#020611 65%);pointer-events:none}.space:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.68) .65px,transparent .8px);background-size:82px 82px;opacity:.22}.space span{position:absolute;border-radius:50%;filter:blur(80px);opacity:.22}.space span:nth-child(1){width:480px;height:480px;background:#5c4bff;right:-180px;top:260px}.space span:nth-child(2){width:420px;height:420px;background:#1d67d6;left:-180px;bottom:20%}.shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}.site-header{position:fixed;inset:0 0 auto;z-index:60;height:var(--header-h);background:linear-gradient(180deg,rgba(2,6,17,.96),rgba(2,6,17,.70));border-bottom:1px solid rgba(255,255,255,.04);backdrop-filter:blur(18px)}.nav-shell{height:100%;display:flex;align-items:center;gap:30px}.brand{display:inline-flex;align-items:center;gap:11px;color:#fff;text-decoration:none;flex:0 0 auto}.brand img{width:43px;height:43px}.brand span{display:flex;flex-direction:column;min-width:0}.brand strong{font-size:20px;line-height:1}.brand small{font-size:11px;color:#a6b0c7;margin-top:4px;white-space:nowrap}.desktop-nav{display:flex;gap:34px;margin:auto;align-items:center}.desktop-nav a,.desktop-nav button,.footer-links a,.footer-links button{border:0;background:none;color:#b5bdd1;text-decoration:none;cursor:pointer;padding:0}.desktop-nav a:hover,.desktop-nav button:hover,.footer-links a:hover,.footer-links button:hover{color:#fff}.legal-header{height:44px;max-width:245px;padding:0 17px;border:1px solid var(--line);border-radius:13px;background:rgba(8,15,32,.62);display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;cursor:pointer}.legal-header svg,.button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.menu-toggle{display:none;margin-left:auto;width:43px;height:43px;border:1px solid var(--line);border-radius:12px;background:rgba(8,15,32,.7);align-items:center;justify-content:center;flex-direction:column;gap:4px}.menu-toggle span{width:18px;height:2px;background:#fff;border-radius:2px}.mobile-menu{display:none}.hero{padding:calc(var(--header-h) + 68px) 0 54px;min-height:690px;position:relative}.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(440px,.95fr);align-items:center;gap:42px}.hero-copy{min-width:0}.platform-chip{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border:1px solid rgba(139,92,255,.45);border-radius:999px;background:rgba(111,67,201,.14);color:#ded7ff;font-size:13px;margin-bottom:24px}.hero h1{margin:0 0 12px;font-size:clamp(76px,7.8vw,112px);line-height:.9;letter-spacing:-.066em;background:linear-gradient(180deg,#fff 0%,#d9ddff 58%,#979dbd 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 36px rgba(128,111,255,.22)}.hero h2{margin:0 0 24px;font-size:clamp(29px,2.8vw,39px);line-height:1.08;letter-spacing:-.04em;color:#e4e8f7}.hero h2 em{font-style:normal;color:#956cff}.hero p{max-width:620px;margin:0;color:#b9c2d8;font-size:17px;line-height:1.7}.hero-actions{display:flex;gap:14px;margin-top:32px}.button{min-height:52px;padding:0 22px;border-radius:14px;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:700;text-decoration:none;cursor:pointer;position:relative;overflow:hidden;white-space:nowrap}.button:after{content:"";position:absolute;top:0;bottom:0;width:80px;left:-110px;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);transition:.7s}.button:hover:after{left:calc(100% + 40px)}.button-primary{border-color:transparent;background:linear-gradient(135deg,#8c58ff,#3f9cff);box-shadow:0 12px 35px rgba(82,83,255,.32);color:#fff}.button-ghost{background:rgba(5,11,24,.64);color:#fff}.moon-scene{height:510px;position:relative;display:grid;place-items:center;isolation:isolate}.moon-glow{position:absolute;width:430px;height:430px;border-radius:50%;background:rgba(173,177,255,.25);filter:blur(80px)}.moon-image{width:min(470px,100%);z-index:3;filter:drop-shadow(0 0 56px rgba(196,198,255,.38));animation:moonFloat 7s ease-in-out infinite}.orbit{position:absolute;border:1px solid rgba(181,194,255,.17);border-radius:50%;z-index:2}.orbit-one{width:565px;height:565px}.orbit-two{width:660px;height:330px;transform:rotate(-19deg)}.orbit-three{width:570px;height:250px;transform:rotate(24deg)}.orbit i{position:absolute;width:9px;height:9px;border-radius:50%;background:#b99dff;box-shadow:0 0 18px #a47aff}.orbit-one i{left:11%;top:26%}.orbit-two i{right:5%;bottom:22%;width:5px;height:5px}.projects-section{padding:6px 0 68px}.section-heading{display:flex;align-items:center;justify-content:center;gap:15px;margin-bottom:22px}.section-heading h2{font-size:30px;margin:0}.section-heading i{font-style:normal;color:#8b64ff}.section-heading span{width:48px;height:1px;background:linear-gradient(90deg,transparent,#657096)}.section-heading span:last-child{transform:scaleX(-1)}.projects-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.project-card{min-height:320px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,rgba(9,20,44,.94),rgba(3,9,22,.96));padding:26px 28px 20px;display:flex;flex-direction:column;color:#fff;text-decoration:none;overflow:hidden;position:relative;transition:transform .35s,border-color .35s,box-shadow .35s}.project-card:hover{transform:translateY(-6px);box-shadow:0 28px 70px rgba(0,0,0,.34)}.project-card.secret:hover{border-color:rgba(139,92,255,.62)}.project-card.spy:hover{border-color:rgba(66,152,255,.62)}.project-visual{display:grid;grid-template-columns:86px 1fr;gap:20px;position:relative;z-index:3}.project-icon{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#7048df,#41239d);border:1px solid #9b72ff;box-shadow:inset 0 0 28px rgba(255,255,255,.08),0 12px 28px rgba(74,39,170,.25)}.spy .project-icon{background:linear-gradient(145deg,#2863d2,#173978);border-color:#5ca4ff}.project-icon svg{width:39px;height:39px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.project-copy h3{font-size:29px;margin:3px 0 4px;letter-spacing:-.035em}.project-copy h4{font-size:16px;margin:0 0 13px;color:#9d6cff}.spy .project-copy h4{color:#51a0ff}.project-copy p{margin:0;color:#bac3d8;line-height:1.55;max-width:440px}.project-landscape{position:absolute;left:0;right:0;bottom:0;height:130px;opacity:.8}.purple-landscape{background:radial-gradient(ellipse at 25% 80%,rgba(150,65,255,.55),transparent 23%),linear-gradient(165deg,transparent 40%,rgba(70,25,126,.55) 41%,rgba(10,9,28,.92) 72%)}.blue-landscape{background:radial-gradient(ellipse at 75% 80%,rgba(36,126,255,.5),transparent 25%),linear-gradient(165deg,transparent 42%,rgba(20,58,124,.56) 43%,rgba(6,11,28,.94) 74%)}.project-landscape:after{content:"";position:absolute;inset:0;background-image:linear-gradient(115deg,transparent 52%,rgba(255,255,255,.08) 53%,transparent 54%);background-size:88px 88px}.project-link{margin-top:auto;position:relative;z-index:4;color:#a782ff;font-weight:700;display:inline-flex;gap:10px;align-items:center}.spy .project-link{color:#59a4ff}.project-link b{font-size:22px;transition:.25s}.project-card:hover .project-link b{transform:translateX(5px)}.advantages{display:grid;grid-template-columns:repeat(3,1fr);margin-top:22px;border:1px solid var(--line);border-radius:19px;overflow:hidden;background:rgba(5,12,27,.8)}.advantage{min-height:105px;padding:20px 24px;display:grid;grid-template-columns:52px 1fr;gap:15px;align-items:center;border-right:1px solid var(--line)}.advantage:last-child{border-right:0}.adv-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#342168,#172757);color:#8a70ff}.adv-icon svg,.support-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.advantage div:last-child{display:flex;flex-direction:column;gap:5px}.advantage strong{font-size:18px}.advantage span{color:#aeb8cf;font-size:14px;line-height:1.35}.support-section{padding:0 0 68px}.support-card{min-height:122px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,rgba(13,25,52,.86),rgba(4,10,23,.9));display:grid;grid-template-columns:66px 1fr auto;align-items:center;gap:22px;padding:23px 28px}.support-icon{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#6940db,#2c1c6d);border:1px solid #946cff}.support-card h2{font-size:25px;margin:0 0 4px}.support-card p{margin:0;color:#aeb8cf}.support-action{min-width:225px}.site-footer{border-top:1px solid rgba(255,255,255,.06);padding:38px 0 46px;background:rgba(2,6,16,.72)}.footer-layout{display:grid;grid-template-columns:1.15fr .75fr 1.35fr auto;align-items:center;gap:28px}.footer-brand strong{font-size:19px}.footer-links{display:grid;gap:10px}.footer-company{font-size:12px;line-height:1.65;color:#929db7}.mir-logo span{font-size:27px;font-weight:900;letter-spacing:.04em;background:linear-gradient(90deg,#fff,#8f99ae);-webkit-background-clip:text;color:transparent}.modal{position:fixed;inset:0;z-index:100;display:none}.modal.open{display:block}.modal-backdrop{position:absolute;inset:0;background:rgba(0,3,12,.78);backdrop-filter:blur(16px)}.modal-dialog{position:relative;width:min(600px,calc(100% - 30px));max-height:90vh;overflow:auto;margin:5vh auto;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,#0b152c,#060d1c);padding:30px;box-shadow:0 42px 120px rgba(0,0,0,.65)}.modal-close{position:absolute;right:18px;top:12px;border:0;background:none;font-size:34px;cursor:pointer}.modal-title{display:flex;align-items:center;gap:12px;margin-bottom:24px;padding-right:35px}.modal-title svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:1.7}.modal-title h2{font-size:28px;margin:0}.legal-group+.legal-group{margin-top:26px}.legal-project{display:flex;align-items:center;gap:12px;margin-bottom:10px}.legal-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center}.secret-icon{background:linear-gradient(145deg,#6942dd,#38208e)}.spy-icon{background:linear-gradient(145deg,#245dc5,#163873)}.legal-icon svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8}.legal-group a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 4px;border-bottom:1px solid var(--line);color:#b69bff;text-decoration:none}.legal-group:nth-of-type(3) a{color:#78b3ff}.legal-group a:hover{color:#fff}.modal-note{text-align:center;color:#8994ad;font-size:12px;line-height:1.45;margin:24px 0 0}.reveal{opacity:0;transform:translateY(18px);transition:.7s ease}.reveal.visible{opacity:1;transform:none}@keyframes moonFloat{50%{transform:translateY(10px)}}
@media(max-width:980px){:root{--header-h:72px}.shell{width:min(100% - 32px,720px)}.desktop-nav,.legal-header{display:none}.menu-toggle{display:flex}.mobile-menu{position:fixed;top:var(--header-h);left:16px;right:16px;border:1px solid var(--line);border-radius:16px;background:#081226;padding:8px;display:grid;gap:2px;opacity:0;visibility:hidden;transform:translateY(-8px);transition:.25s}.mobile-menu.open{opacity:1;visibility:visible;transform:none}.mobile-menu a,.mobile-menu button{min-height:44px;border:0;background:none;color:#fff;text-align:left;padding:0 14px;text-decoration:none;border-radius:10px}.mobile-menu a:hover,.mobile-menu button:hover{background:rgba(255,255,255,.05)}.hero{padding:calc(var(--header-h) + 35px) 0 38px;min-height:auto}.hero-layout{grid-template-columns:1fr;gap:18px}.hero-copy{text-align:left}.hero h1{font-size:clamp(52px,13vw,72px)}.hero h2{font-size:clamp(23px,6vw,31px)}.hero p{font-size:16px}.hero-actions{flex-direction:column}.button{width:100%}.moon-scene{height:330px}.moon-image{width:310px}.moon-glow{width:290px;height:290px}.orbit-one{width:360px;height:360px}.orbit-two{width:430px;height:220px}.orbit-three{width:390px;height:180px}.projects-grid{grid-template-columns:1fr}.project-card{min-height:290px}.advantages{grid-template-columns:1fr}.advantage{border-right:0;border-bottom:1px solid var(--line)}.advantage:last-child{border-bottom:0}.support-card{grid-template-columns:58px 1fr}.support-action{grid-column:1/-1;width:100%}.footer-layout{grid-template-columns:1fr 1fr}.footer-company{grid-column:1/2}.mir-logo{grid-column:2/3;justify-self:end}}
@media(max-width:560px){.shell{width:calc(100% - 28px)}.brand img{width:37px;height:37px}.brand strong{font-size:18px}.brand small{font-size:9px}.hero{padding-top:calc(var(--header-h) + 22px)}.platform-chip{font-size:10px;min-height:28px;margin-bottom:16px}.hero h1{font-size:49px;margin-bottom:10px}.hero h2{font-size:21px;margin-bottom:18px}.hero p{font-size:14px;line-height:1.6}.hero-actions{gap:9px;margin-top:22px}.button{min-height:48px;font-size:13px}.moon-scene{height:285px;margin-top:2px}.moon-image{width:250px}.moon-glow{width:235px;height:235px}.orbit-one{width:300px;height:300px}.orbit-two{width:340px;height:180px}.orbit-three{width:305px;height:155px}.projects-section{padding-bottom:48px}.section-heading{gap:10px}.section-heading h2{font-size:24px}.section-heading span{width:28px}.project-card{min-height:315px;padding:22px 20px 18px}.project-visual{grid-template-columns:58px 1fr;gap:14px}.project-icon{width:54px;height:54px}.project-icon svg{width:28px;height:28px}.project-copy h3{font-size:24px;margin-top:0}.project-copy h4{font-size:12px;line-height:1.35}.project-copy p{font-size:13px;line-height:1.5}.project-landscape{height:115px}.project-link{font-size:13px}.advantage{min-height:91px;padding:16px}.advantage strong{font-size:16px}.advantage span{font-size:12px}.support-card{grid-template-columns:48px 1fr;padding:20px 18px;gap:14px}.support-icon{width:46px;height:46px}.support-card h2{font-size:21px}.support-card p{font-size:13px;line-height:1.45}.site-footer{padding:30px 0}.footer-layout{grid-template-columns:1fr}.footer-links,.footer-company,.mir-logo{grid-column:auto}.mir-logo{justify-self:start}.modal-dialog{padding:25px 18px;margin:3vh auto}.modal-title h2{font-size:23px}.legal-group a{font-size:13px}.footer-brand{display:flex}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* v4 layout stabilization */
html,body{max-width:100%;overflow-x:clip}
.site-header,.hero,.projects-section,.support-section,.site-footer{width:100%;overflow-x:clip}
.hero-layout,.projects-grid,.advantages,.support-card,.footer-layout{min-width:0}
.hero-copy,.moon-scene,.project-card,.project-copy,.advantage>div:last-child,.support-card>div,.footer-layout>*{min-width:0}
.hero h1,.hero h2,.hero p,.project-copy h3,.project-copy h4,.project-copy p,.advantage strong,.advantage span,.support-card h2,.support-card p,.footer-company{overflow-wrap:anywhere;word-break:normal}
.hero h1{font-size:clamp(64px,6.6vw,102px)}
.hero-layout{grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)}
.moon-scene{overflow:visible}
.project-card{isolation:isolate}
.project-copy{padding-right:4px}
.footer-layout{grid-template-columns:minmax(230px,1.1fr) minmax(150px,.7fr) minmax(310px,1.45fr) minmax(74px,auto)}
.footer-company{max-width:420px}
.mir-logo{white-space:nowrap}
@media(max-width:1180px) and (min-width:981px){
  .shell{width:min(1080px,calc(100% - 56px))}
  .desktop-nav{gap:22px}
  .hero-layout{grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);gap:22px}
  .hero h1{font-size:clamp(60px,7vw,86px)}
  .hero h2{font-size:clamp(25px,2.6vw,34px)}
  .moon-scene{height:460px}
  .moon-image{width:420px}
  .orbit-one{width:500px;height:500px}.orbit-two{width:570px;height:290px}.orbit-three{width:510px;height:225px}
  .footer-layout{grid-template-columns:1fr .7fr 1.4fr auto;gap:20px}
}
@media(max-width:980px){
  .hero-layout{grid-template-columns:minmax(0,1fr)}
  .hero-copy{width:100%;max-width:680px;margin-inline:auto}
  .moon-scene{width:100%;max-width:620px;margin-inline:auto;overflow:hidden}
  .footer-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:560px){
  .site-header{position:sticky}
  .nav-shell{gap:12px}
  .brand{max-width:calc(100% - 58px)}
  .brand span{max-width:210px}
  .hero-copy{max-width:none}
  .hero h1{font-size:clamp(42px,13vw,54px);line-height:.96;letter-spacing:-.055em}
  .hero h2{font-size:clamp(19px,5.5vw,23px);line-height:1.14;letter-spacing:-.025em}
  .hero p{max-width:100%}
  .hero-actions .button{white-space:normal;text-align:center;padding-inline:16px}
  .moon-scene{overflow:hidden;max-width:100%}
  .projects-grid{gap:14px}
  .project-card{min-height:300px}
  .project-visual{align-items:start}
  .project-copy h3,.project-copy h4,.project-copy p{max-width:100%}
  .advantages{border-radius:20px}
  .advantage{grid-template-columns:52px minmax(0,1fr)}
  .support-card{grid-template-columns:50px minmax(0,1fr)}
  .support-action{min-width:0;white-space:normal;text-align:center}
  .footer-layout{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
  .footer-layout>*{width:100%}
  .footer-links{align-items:start}
  .footer-links button,.footer-links a{text-align:left;font-size:15px}
  .footer-company{font-size:13px;line-height:1.7}
  .mir-logo{justify-self:auto;width:auto}
  .mir-logo span{font-size:35px}
}
@media(max-width:560px){
  .footer-links{display:flex;flex-direction:column;gap:12px;width:100%}
  .footer-links button,.footer-links a{display:block;width:100%;text-align:left!important;margin:0;padding:0}
}

/* v5 — strict responsive alignment */
.button,.legal-header,.project-link,.footer-links a,.footer-links button,.support-action{
  max-width:100%;min-width:0;box-sizing:border-box
}
.button span,.legal-header span,.support-action span{
  min-width:0;overflow-wrap:anywhere;word-break:normal;line-height:1.25
}
.hero-actions{align-items:stretch;flex-wrap:wrap}
.hero-actions .button{flex:0 1 auto}
.advantages{grid-template-columns:repeat(3,minmax(0,1fr))}
.advantage{grid-template-columns:48px minmax(0,1fr);overflow:hidden}
.advantage strong,.advantage span{display:block;max-width:100%;overflow-wrap:anywhere}
.support-card{grid-template-columns:60px minmax(0,1fr) minmax(210px,auto)}
.support-card>div{min-width:0}
.footer-layout{grid-template-columns:minmax(230px,1.1fr) minmax(190px,.8fr) minmax(300px,1.35fr) minmax(64px,auto)}
.footer-links{min-width:0;justify-items:start}
.footer-links button,.footer-links a{display:block;width:auto;text-align:left;white-space:normal;line-height:1.35}
.footer-company{overflow-wrap:anywhere}
@media(max-width:980px){
  .hero-actions .button{flex:1 1 100%;width:100%}
  .advantages{grid-template-columns:1fr}
  .support-card{grid-template-columns:54px minmax(0,1fr)}
  .support-action{grid-column:1/-1;width:100%}
  .footer-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
}
@media(max-width:560px){
  .hero-actions{display:grid;grid-template-columns:1fr;gap:10px}
  .hero-actions .button{width:100%;min-height:50px;padding:10px 14px;white-space:normal}
  .advantages{display:grid;grid-template-columns:1fr}
  .advantage{width:100%;grid-template-columns:48px minmax(0,1fr);padding:17px 16px}
  .support-card{display:grid;grid-template-columns:50px minmax(0,1fr);padding:20px 18px;gap:14px}
  .support-card h2{font-size:clamp(20px,7vw,25px);overflow-wrap:anywhere}
  .support-card p{font-size:13px;overflow-wrap:anywhere}
  .support-action{grid-column:1/-1;width:100%;min-width:0;min-height:52px;padding:10px 14px;white-space:normal}
  .site-footer{padding:34px 0 38px}
  .footer-layout{display:grid;grid-template-columns:1fr;gap:24px;align-items:start}
  .footer-layout>*{min-width:0;width:100%}
  .footer-brand{max-width:100%}
  .footer-links{display:grid;grid-template-columns:1fr;gap:12px;width:100%;justify-items:start}
  .footer-links button,.footer-links a{display:block;width:100%;max-width:100%;text-align:left!important;font-size:15px;white-space:normal;overflow-wrap:anywhere}
  .footer-company{font-size:13px;line-height:1.72;max-width:100%}
  .mir-logo{justify-self:start;width:auto}
}
