:root{
  --bg:#070a12;
  --card:#0e1424;
  --text:#eaf0ff;
  --muted:#a8b3d5;
  --accent:#f5b301;
  --accent2:#ffd54a;
  --stroke:rgba(255,255,255,.08);
  --stroke2:rgba(245,179,1,.22);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
}

*{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";
  color:var(--text);
  background: var(--bg);
  overflow-y: auto;
}

/* аккуратный скроллбар (не убираем полностью, а делаем тонким и “дорогим”) */
*{
  scrollbar-width: thin;
  scrollbar-color: rgba(245,179,1,.45) rgba(255,255,255,.06);
}
::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-track{ background: rgba(255,255,255,.06); }
::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, rgba(245,179,1,.7), rgba(255,213,74,.45));
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.35);
}

/* background layers */
.bg{ position:fixed; inset:0; pointer-events:none; z-index:0; }
.bg__glow{
  position:absolute;
  width: 900px;
  height: 600px;
  filter: blur(70px);
  opacity:.35;
}
.bg__glow--a{
  left:-240px; top:-220px;
  background: radial-gradient(circle at 30% 30%, rgba(245,179,1,.9), transparent 60%);
}
.bg__glow--b{
  right:-320px; top:-160px;
  background: radial-gradient(circle at 40% 40%, rgba(120,90,255,.9), transparent 60%);
}
.bg__noise{
  position:absolute; inset:0;
  opacity:.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  position:relative;
  z-index:1;
}

.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 22px;
}

.content{
  background: linear-gradient(180deg, rgba(14,20,36,.72), rgba(14,20,36,.52));
  border: 1px solid var(--stroke);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px;
}

/* links */
a{color:inherit}
a:hover{color:var(--text)}

/* header */
.header{
  position:sticky; top:0; z-index:20;
  border-bottom:1px solid rgba(255,255,255,.06);
  background: rgba(7,10,18,.55);
  backdrop-filter: blur(14px);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  font-weight:900;
  letter-spacing:.2px;
}
.brand__dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(245,179,1,.15);
}
.brand__text{ font-size:16px; }

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav a{
  text-decoration:none;
  font-size:14px;
  color: rgba(234,240,255,.82);
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.nav a:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

/* hero */
.hero{
  padding: 6px 0 14px;
}
.hero h1{
  margin:0 0 10px;
  font-size: 44px;
  line-height:1.06;
  letter-spacing:-0.03em;
}
.hero p{
  margin:0;
  color:var(--muted);
  max-width: 78ch;
}
.hero--small h1{font-size:32px}

/* grid */
.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}
@media (max-width: 1120px){
  .grid{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 680px){
  .grid{grid-template-columns: 1fr;}
  .hero h1{font-size:34px}
  .content{padding:18px}
  .container{padding:16px}
}

/* cards */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.32);
  display:flex;
  flex-direction:column;
  min-height: 330px;
  position:relative;
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(600px 240px at 0% 0%, rgba(245,179,1,.18), transparent 55%);
  pointer-events:none;
}

.card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 10px;
  position:relative;
}

.card h2{margin:0;font-size:18px}

.price{
  padding: 7px 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color:#1a1200;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(245,179,1,.22);
}

.desc{
  color: rgba(234,240,255,.78);
  margin: 0 0 14px;
  line-height: 1.55;
  flex: 1;
  position:relative;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  border:0;
  cursor:pointer;
  text-decoration:none;

  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color:#1a1200;
  font-weight: 950;

  padding: 12px 14px;
  border-radius: 14px;
  width:100%;
  transition: transform .12s ease, filter .12s ease;
  position:relative;
}
.btn:hover{ filter:brightness(1.04); transform: translateY(-1px); }

/* form */
.form{display:grid;gap:12px;margin-top:14px}
.label{display:grid;gap:6px;color:var(--muted);font-size:14px}

.input{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  padding:12px 12px;
  color:var(--text);
  outline:none;
}
.input:focus{border-color: rgba(245,179,1,.45); box-shadow: 0 0 0 4px rgba(245,179,1,.10); }
.hint{color:var(--muted);font-size:13px;margin:0}

/* “документные” страницы (политика/оферта и т.п.) */
.content h1{margin: 4px 0 14px; font-size: 34px; letter-spacing:-0.02em;}
.content h2{margin: 22px 0 10px; font-size: 20px;}
.content h3{margin: 18px 0 8px; font-size: 17px; color: rgba(234,240,255,.92);}
.content p, .content li{
  color: rgba(234,240,255,.78);
  line-height: 1.65;
}
.content hr{
  border:0;
  height:1px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
}
.content ol, .content ul{
  padding-left: 20px;
}

/* footer */
.footer{
  margin-top: 18px;
  background: rgba(7,10,18,.35);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color: rgba(234,240,255,.62);
  font-size:14px;
  flex-wrap:wrap;
}
.footer__link{
  color: rgba(234,240,255,.72);
  text-decoration: none;
}
.footer__link:hover{ text-decoration: underline; }