*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}

/* Обёртка как на главной — одинаковый подвал по ширине */
.page{
  position:relative;
  max-width:1440px;
  margin:0 auto;
  overflow:hidden;
}

:root{
  --bg:#0d1b2a;--surface:#1b263b;--surface-elevated:#415a77;
  --text-primary:#e0e1dd;--text-secondary:#778da9;--text-muted:#415a77;
  --border:#1b263b;--border-strong:#415a77;--white:#e0e1dd;
  font-synthesis:none;text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background:linear-gradient(135deg,#060e18 0%,#091420 20%,#0e1e32 40%,#131f30 55%,#162538 70%,#0f1a2a 85%,#091420 100%);
  background-size:400% 400%;
  color:var(--text-secondary);line-height:1.6;min-height:100vh;
}
a{color:var(--text-primary);text-decoration:none;transition:color .2s}
a:hover{color:var(--white)}

.page-header{
  max-width:1200px;margin:0 auto;padding:24px 32px;
  display:flex;justify-content:space-between;align-items:center;
  border-bottom:1px solid var(--border);
}
.page-header__logo{
  display:flex;align-items:center;gap:14px;
  text-decoration:none;color:var(--text-primary);transition:opacity .2s;
}
.page-header__logo:hover{opacity:.8}
.page-header__logo-mark{width:36px;height:36px;min-width:36px;max-width:36px;flex-shrink:0}
.page-header__logo-text{display:flex;flex-direction:column;gap:1px}
.page-header__logo-name{font-family:'Sora',sans-serif;font-weight:700;font-size:18px;letter-spacing:-0.5px;line-height:1.1;color:var(--text-primary)}
.page-header__logo-sub{font-family:'Inter',sans-serif;font-weight:500;font-size:9px;letter-spacing:2.5px;text-transform:uppercase;color:var(--text-muted)}
.page-header__back{
  font-size:14px;color:var(--text-secondary);display:flex;align-items:center;gap:6px;
}
.page-header__back:hover{color:var(--white)}

.page-content{
  max-width:860px;margin:0 auto;padding:64px 32px 80px;
}
.page-content h1{
  font-size:clamp(28px,4vw,42px);font-weight:700;color:var(--text-primary);
  line-height:1.2;margin-bottom:16px;letter-spacing:-0.5px;
}
.page-content .subtitle{
  font-size:18px;color:var(--text-secondary);margin-bottom:48px;
  max-width:640px;
}
.page-content h2{
  font-size:22px;font-weight:600;color:var(--text-primary);
  margin-top:48px;margin-bottom:16px;
}
.page-content h3{
  font-size:18px;font-weight:600;color:var(--text-primary);
  margin-top:32px;margin-bottom:12px;
}
.page-content p{
  margin-bottom:16px;font-size:16px;line-height:1.7;
}
.page-content ul,.page-content ol{
  margin-bottom:16px;padding-left:24px;
}
.page-content li{
  margin-bottom:8px;font-size:16px;line-height:1.7;
}
.page-content strong{color:var(--text-primary)}

.specs-table{
  width:100%;border-collapse:collapse;margin:24px 0 32px;
}
.specs-table th,.specs-table td{
  padding:12px 16px;text-align:left;border-bottom:1px solid var(--border);
  font-size:15px;
}
.specs-table th{
  color:var(--text-muted);font-weight:500;text-transform:uppercase;
  font-size:12px;letter-spacing:1px;
}
.specs-table td:first-child{color:var(--text-primary);font-weight:500}

.highlight-box{
  background:var(--surface);border:1px solid var(--border);
  border-radius:12px;padding:24px 28px;margin:24px 0;
}
.highlight-box p{margin-bottom:0}

.cta-block{
  margin-top:48px;padding:32px;border-radius:12px;
  background:linear-gradient(135deg,var(--surface) 0%,rgba(65,90,119,0.3) 100%);
  border:1px solid var(--border-strong);text-align:center;
}
.cta-block p{margin-bottom:16px}
.cta-block .btn{
  display:inline-block;padding:12px 32px;border-radius:8px;
  background:var(--text-primary);color:var(--bg);font-weight:600;
  font-size:15px;transition:opacity .2s;
}
.cta-block .btn:hover{opacity:.85;color:var(--bg)}

.template-notice{
  background:rgba(119,141,169,0.1);border:1px dashed var(--border-strong);
  border-radius:8px;padding:20px 24px;margin:24px 0;
  font-size:14px;color:var(--text-muted);font-style:italic;
}

.steps{counter-reset:step;list-style:none;padding-left:0;margin:24px 0 32px}
.steps li{
  counter-increment:step;position:relative;padding-left:48px;margin-bottom:24px;
}
.steps li::before{
  content:counter(step);position:absolute;left:0;top:0;
  width:32px;height:32px;border-radius:50%;
  background:var(--surface-elevated);color:var(--text-primary);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:14px;
}

.footer{border-top:1px solid var(--border)}
.footer__top{display:flex;gap:80px;padding:80px 120px 60px}
.footer__brand{flex-shrink:0;max-width:280px;display:flex;flex-direction:column;gap:20px}
.footer__logo{font-family:'Sora',sans-serif;font-weight:700;font-size:28px;letter-spacing:-1px;color:var(--text-primary)}
.footer__tagline{font-size:14px;line-height:1.6;color:var(--text-muted)}
.footer__columns{display:flex;flex:1;gap:48px}
.footer__col{flex:1;display:flex;flex-direction:column;gap:16px}
.footer__col-title{font-family:'Inter',sans-serif;font-weight:700;font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--text-secondary)}
.footer__list{list-style:none;display:flex;flex-direction:column;gap:10px}
.footer__link{font-size:14px;color:var(--text-muted);text-decoration:none;transition:color .2s}
.footer__link:hover{color:var(--text-primary)}
.footer__link--static{cursor:default}
.footer__link--static:hover{color:var(--text-muted)}
.footer__bottom{display:flex;align-items:center;justify-content:space-between;padding:24px 120px;border-top:1px solid var(--border)}
.footer__copy{font-size:13px;color:var(--text-muted)}
.footer__bottom-links{display:flex;gap:24px}
.footer__bottom-links .footer__link{font-size:13px}

.contact-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;margin:24px 0;
}
.contact-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:12px;padding:24px;
}
.contact-card h4{color:var(--text-primary);font-size:16px;margin-bottom:8px}
.contact-card p{font-size:14px;margin-bottom:4px}

.benefits-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;margin:24px 0;
}
.benefit{
  background:var(--surface);border:1px solid var(--border);
  border-radius:12px;padding:24px;
}
.benefit h4{color:var(--text-primary);margin-bottom:8px;font-size:16px}
.benefit p{font-size:14px;margin-bottom:0}

@media(max-width:1200px){
  .footer__top{padding:60px 60px 48px;gap:60px}
  .footer__bottom{padding:24px 60px}
}
@media(max-width:768px){
  .footer__top{flex-direction:column;padding:48px 32px;gap:40px}
  .footer__brand{max-width:100%}
  .footer__columns{flex-wrap:wrap;gap:32px}
  .footer__col{min-width:140px}
  .footer__bottom{flex-direction:column;gap:12px;text-align:center;padding:20px 32px}
  .page-header__logo-mark{width:30px;height:30px}
  .page-header__logo-name{font-size:16px}
}
@media(max-width:640px){
  .page-header{padding:16px 20px}
  .page-content{padding:40px 20px 60px}
  .footer__top{padding:40px 20px;gap:32px}
  .footer__columns{flex-direction:column;gap:24px}
  .footer__bottom{padding:16px 20px}
}
