:root{
  --bg:#0b0c0e;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --muted2:rgba(255,255,255,.55);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius:22px;
  --radius2:16px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 50% -10%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(900px 600px at 100% 10%, rgba(255,255,255,.06), transparent 55%),
    radial-gradient(900px 600px at 0% 20%, rgba(255,255,255,.05), transparent 55%),
    linear-gradient(180deg, #0b0c0e, #07080a);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{color:inherit}
img{max-width:100%;height:auto}

.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 22px;
}

/* Skip link (чтобы не торчал сверху) */
.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:18px;
  top:18px;
  width:auto;
  height:auto;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.12);
  border:1px solid var(--border);
}

/* ===== Header (эталон) ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(10,10,12,.78), rgba(10,10,12,.45));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-row{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap:18px;
  align-items:center;
  padding:16px 0;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.brand .name{
  font-size:18px;
  font-weight:700;
  letter-spacing:.2px;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand .tagline{
  font-size:13px;
  color:var(--muted2);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Навигация “пилюли” */
.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.nav a{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  font-weight:600;
  font-size:14px;
  letter-spacing:.1px;
  transition:.15s ease;
}
.nav a:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}
.nav a.active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.95);
}

/* CTA справа */
.header-cta{
  display:flex;
  justify-content:flex-end;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:12px 18px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.1px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  transition:.15s ease;
}
.btn:hover{
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.18);
}
.btn.primary{
  background: rgba(255,255,255,.92);
  color:#0b0c0e;
  border-color: rgba(255,255,255,.86);
}
.btn.primary:hover{ background:#ffffff; }

.btn.big{ padding:14px 22px; font-size:16px; }

/* ===== Main layout ===== */
.shell{
  padding:26px 0 70px;
}
.panel{
  background: rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.075);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel-inner{
  padding:34px;
}

/* Hero */
.kicker{
  color:var(--muted2);
  font-size:14px;
  letter-spacing:.25px;
  margin:0 0 14px;
}
h1{
  margin:0 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height:1.05;
  letter-spacing:-.6px;
}
.lead{
  margin:0 0 14px;
  font-size:18px;
  line-height:1.6;
  color:var(--muted);
  max-width:78ch;
}
p{
  color:var(--muted);
  line-height:1.7;
  font-size:16px;
}
strong{ color:rgba(255,255,255,.92); }
em{ color:rgba(255,255,255,.82); }

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 8px;
}
.small-note{
  margin-top:10px;
  color:var(--muted2);
  font-size:14px;
}
.small-note b{ color:rgba(255,255,255,.9); }

.section{
  margin-top:34px;
}
h2{
  margin:0 0 10px;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing:-.3px;
}
h3{
  margin:0 0 8px;
  font-size:20px;
}

/* ВАЖНО: списки всегда ровно и читабельно (не “по центру”) */
ul, ol{
  margin:12px 0 0;
  padding-left:22px;
  color:var(--muted);
}
li{ margin:8px 0; }
.list-block{
  max-width:78ch;
}
.list-block ul, .list-block ol{
  text-align:left;
}

/* Cards grid */
.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}
.card{
  background: rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.09);
  border-radius: var(--radius2);
  padding:16px;
}
.card .t{
  font-weight:800;
  color:rgba(255,255,255,.92);
  margin:0 0 6px;
  font-size:14px;
}
.card p{
  margin:0;
  font-size:13px;
  color:var(--muted2);
}

/* FAQ accordion */
.faq{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
details{
  background: rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px 14px;
}
summary{
  cursor:pointer;
  list-style:none;
  font-weight:800;
  color:rgba(255,255,255,.92);
}
summary::-webkit-details-marker{ display:none; }
details p{
  margin:10px 0 0;
  color:var(--muted);
}

/* Footer */
.site-footer{
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.15);
}
.footer-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:18px 0;
  color:var(--muted2);
  font-size:13px;
}
.footer-row a{ color:var(--muted2); text-decoration:none; }
.footer-row a:hover{ text-decoration:underline; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .header-row{ grid-template-columns: 1fr; }
  .header-cta{ justify-content:flex-start; }
  .nav{ justify-content:flex-start; }
  .panel-inner{ padding:22px; }
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .grid{ grid-template-columns: 1fr; }
  .btn.big{ width:100%; }
}
