:root{
  --bg0:#070b16;        /* почти чёрный */
  --bg1:#0b2a5a;        /* глубокий синий */
  --bg2:#144f9b;        /* яркий синий */
  --a1:#27aee0;         /* неон-голубой */
  --a2:#5cd1f1;         /* светлый неон */
  --text:#eaf6ff;       /* светлый текст */
  --muted:#a7c0d6;      /* приглушённый */
  --line:rgba(255,255,255,.10);
  --card:rgba(10,18,36,.55);
  --shadow: 0 18px 50px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(39,174,224,.25), transparent 55%),
    radial-gradient(800px 500px at 80% 20%, rgba(20,79,155,.28), transparent 55%),
    radial-gradient(900px 700px at 55% 90%, rgba(92,209,241,.18), transparent 60%),
    linear-gradient(180deg, var(--bg0), #050712 60%, #04050f);
}

/* Top bar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(5,8,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:650;
  letter-spacing:.5px;
}
.brand-badge{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--a2), var(--a1) 55%, rgba(39,174,224,.15));
  box-shadow: 0 0 18px rgba(39,174,224,.55);
}
.brand span{
  background: linear-gradient(90deg, var(--a2), var(--a1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.nav a{
  text-decoration:none;
  color: rgba(234,246,255,.92);
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.nav a:hover{
  transform: translateY(-1px);
  border-color: rgba(92,209,241,.45);
  background: rgba(39,174,224,.10);
}

/* Page layout */
.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 16px 60px;
}
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Typography */
h1{
  font-size: 30px;
  margin: 0 0 10px;
  font-weight: 650;
  letter-spacing: .2px;
}
h2{
  font-size: 18px;
  margin: 22px 0 10px;
  font-weight: 600;
  color: rgba(234,246,255,.92);
}
p, li{
  line-height: 1.65;
  color: var(--muted);
  font-size: 15px;
}
b, strong{ color: rgba(234,246,255,.95); font-weight: 650; }

.meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 12px 0 18px;
}
.badge{
  font-size:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:7px 10px;
  border-radius:999px;
  color: rgba(234,246,255,.82);
}

a{ color: rgba(92,209,241,.95); }
a:hover{ color: rgba(39,174,224,.95); }

.small{
  font-size: 12px;
  color: rgba(167,192,214,.88);
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 14px;
}

/* Lists */
ul{ padding-left: 18px; }
li{ margin: 7px 0; }

/* Mobile tweaks */
@media (max-width: 520px){
  h1{ font-size: 24px; }
  .nav{ gap: 6px; }
  .nav a{ font-size: 12px; padding: 7px 9px; }
}
