:root{
  --bg:#05030b;
  --fg:#f5f0ff;
  --muted:#b9afd4;
  --accent:#e36bff;
  --border-soft:rgba(255,255,255,0.12);
  --card-bg:rgba(13,7,34,0.96);
  --shadow-soft:0 22px 60px rgba(0,0,0,0.75);
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{
  min-height:100%;
  background:var(--bg);
  color:var(--fg);
  font-family:system-ui,-apple-system,"Inter",sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

/* Базовый градиент */

body{
  background:
    radial-gradient(1600px 900px at 10% 0%, rgba(130,90,240,.22), transparent 60%),
    radial-gradient(1500px 900px at 90% 100%, rgba(40,26,110,.30), transparent 65%),
    #05030b;
}

/* Резонансный слой */

.bg-layer{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 15% 12%, rgba(210,160,255,0.26) 0, transparent 55%),
    radial-gradient(circle at 82% 78%, rgba(150,110,255,0.28) 0, transparent 60%),
    radial-gradient(circle at 48% 40%, rgba(255,255,255,0.08) 0, transparent 55%),
    repeating-radial-gradient(circle at 18% 18%,
      rgba(220,180,255,0.20) 0px,
      rgba(220,180,255,0.20) 1px,
      transparent 1px,
      transparent 18px),
    repeating-radial-gradient(circle at 80% 72%,
      rgba(190,150,255,0.18) 0px,
      rgba(190,150,255,0.18) 1px,
      transparent 1px,
      transparent 24px);
  mix-blend-mode:screen;
  opacity:.9;
}

/* Лейаут */

.page-wrap{
  max-width:960px;
  margin:0 auto;
  padding:20px 16px 40px;
}
@media (min-width:960px){
  .page-wrap{padding:26px 0 56px;}
}

/* Шапка */

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:20px;
}
.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.brand__logo{
  font-size:14px;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
}
.brand__sub{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:0.18em;
  color:var(--muted);
}

/* Бургер */

.menu-toggle{
  width:34px;
  height:26px;
  border:none;
  background:transparent;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:3px 2px;
}
.menu-toggle span{
  display:block;
  height:2px;
  border-radius:999px;
  background:#fdfbff;
  transition:transform .2s ease-out,opacity .2s ease-out;
}
body.menu-open .menu-toggle span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}
body.menu-open .menu-toggle span:nth-child(2){
  opacity:0;
}
body.menu-open .menu-toggle span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

/* Меню-оверлей */

.menu[hidden]{display:none;}
.menu{
  position:fixed;
  inset:0;
  z-index:20;
  background:rgba(5,3,18,0.97);
  backdrop-filter:blur(18px);
}
.menu__inner{
  max-width:960px;
  margin:70px auto 24px;
  padding:0 16px 24px;
  display:grid;
  gap:18px;
}
.menu__section{
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(12,7,32,0.98);
  padding:12px 14px;
}
.menu__label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:0.18em;
  color:var(--muted);
  margin-bottom:8px;
}
.menu__langs{
  display:flex;
  gap:8px;
}
.menu__langs button{
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.16);
  padding:6px 12px;
  font-size:11px;
  background:rgba(7,4,22,0.96);
  color:var(--muted);
  cursor:pointer;
}
.menu__langs button.is-active{
  background:var(--accent);
  border-color:var(--accent);
  color:#1b041c;
}
.menu__section a{
  display:inline-flex;
  margin:2px 4px 4px 0;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(9,5,26,0.96);
  font-size:13px;
}
.menu__section a:hover{
  border-color:var(--accent);
}

/* Контент */

.page{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.block{
  border-radius:20px;
  background:var(--card-bg);
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-soft);
  padding:20px 18px 22px;
}
.block__title{
  font-size:20px;
  margin-bottom:10px;
}
.block__text{
  font-size:14px;
  line-height:1.6;
  color:var(--fg);
  margin-bottom:8px;
}
.block__list{
  margin:4px 0 4px 20px;
}
.block__list li{
  font-size:14px;
  line-height:1.5;
  color:var(--muted);
  margin-bottom:4px;
}

@media (min-width:960px){
  .block{
    padding:24px 24px 26px;
  }
  .block__title{
    font-size:22px;
  }
  .block__text,.block__list li{
    font-size:15px;
  }
}

/* Футер */

.footer{
  margin-top:20px;
  font-size:11px;
  color:var(--muted);
}
