:root {
  --bg: #090c0b;
  --panel: #111715;
  --line: #1f2a26;
  --text: #e9f1ec;
  --muted: #9fb0a8;
  --accent: #6ee02a;
  --accent-ink: #0b1406;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

header.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(9, 12, 11, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
header.top img { width: 36px; height: 36px; border-radius: 9px; }
header.top .brand { font-weight: 700; font-size: 19px; color: var(--text); letter-spacing: .3px; }
header.top nav { margin-left: auto; display: flex; gap: 18px; font-weight: 600; font-size: 15px; }
header.top nav a { color: var(--muted); }
header.top nav a.on, header.top nav a:hover { color: var(--text); text-decoration: none; }

.hero {
  position: relative; overflow: hidden;
  background: #050807 url("img/hero.jpg") center 35% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,12,11,.15) 0%, rgba(9,12,11,.55) 55%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 1; text-align: center; padding: 56px 20px 64px; }
.hero img.logo { width: min(320px, 70vw); height: auto; filter: drop-shadow(0 12px 36px rgba(110, 224, 42, .25)); }
.hero h1 { margin: 18px 0 6px; font-size: clamp(28px, 6vw, 44px); line-height: 1.15; }
.hero p.lead { margin: 0 auto; max-width: 560px; color: #cfdcd5; font-size: 19px; }
.badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--text); font-weight: 600;
}
.badge small { color: var(--muted); font-weight: 500; }

main { padding: 40px 0 64px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

article h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.2; margin: 0 0 4px; }
article .date { color: var(--muted); margin: 0 0 28px; }
article h2 { font-size: 22px; margin: 36px 0 10px; padding-top: 6px; }
article h3 { font-size: 18px; margin: 22px 0 6px; }
article p, article li { color: #d6e2dc; }
article ul { padding-left: 22px; }
article li { margin: 6px 0; }
.note {
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 14px 18px; margin: 18px 0;
}
.lang { display: inline-flex; gap: 6px; margin: 0 0 22px; }
.lang a {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-weight: 600; font-size: 14px;
}
.lang a.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mail {
  display: inline-block; margin-top: 6px; padding: 12px 20px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
}
.mail:hover { text-decoration: none; filter: brightness(1.08); }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--text); }
details p { margin: 10px 0 2px; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { padding: 22px 20px 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); }

@media (max-width: 520px) {
  header.top nav { gap: 12px; font-size: 14px; }
  header.top .brand { display: none; }
}
