:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#5b6476;
  --border:rgba(15,23,42,.12);
  --soft:#f6f8fc;
  --primary:#2563eb;
  --primary2:#1d4ed8;
  --shadow:0 18px 50px rgba(15,23,42,.10);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:radial-gradient(900px 400px at 70% -10%, rgba(37,99,235,.12), transparent 55%),
             radial-gradient(700px 400px at 10% 0%, rgba(16,185,129,.10), transparent 55%),
             var(--bg);
}

a{color:inherit; text-decoration:none}

.container{
  width:min(1120px, 92vw);
  margin:0 auto;
}

.skip{
  position:absolute; left:-9999px; top:12px;
  background:var(--bg); border:1px solid var(--border);
  padding:10px 12px; border-radius:12px;
}
.skip:focus{left:12px; z-index:999}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(160%) blur(10px);
  background:rgba(255,255,255,.75);
  border-bottom:1px solid var(--border);
}
.header__inner{
  display:flex; align-items:center; gap:16px;
  padding:14px 0;
}

.brand{display:flex; align-items:center; gap:10px; font-weight:700}
.brand__mark{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:34px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(37,99,235,1), rgba(16,185,129,1));
  color:white;
  font-size:13px;
  letter-spacing:.6px;
}
.brand__text{font-weight:700}

.nav{display:flex; gap:18px; margin-left:10px}
.nav__link{color:var(--muted); font-weight:500}
.nav__link:hover{color:var(--text)}

.header__actions{margin-left:auto; display:flex; gap:10px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  font-weight:600;
  border:1px solid var(--border);
  background:white;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{transform:translateY(-1px); box-shadow:0 10px 24px rgba(15,23,42,.10)}
.btn:active{transform:translateY(0)}

.btn--primary{
  background:linear-gradient(135deg, var(--primary), rgba(16,185,129,1));
  color:white;
  border-color:transparent;
}
.btn--primary:hover{background:linear-gradient(135deg, var(--primary2), rgba(16,185,129,1))}

.btn--ghost{background:rgba(255,255,255,.7)}

.btn--telegram{
  margin-top:12px;
  background:#0ea5e9;
  border-color:transparent;
  color:white;
}
.btn--telegram:hover{background:#0284c7}

.burger{
  display:none;
  margin-left:auto;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.7);
}
.burger span{
  display:block;
  width:18px; height:2px;
  background:var(--text);
  margin:4px auto;
  border-radius:2px;
}

.mobile{
  border-top:1px solid var(--border);
  background:rgba(255,255,255,.9);
}
.mobile__inner{padding:14px 0; display:grid; gap:12px}
.mobile__link{color:var(--muted); font-weight:600}
.mobile__cta{width:100%}

.hero{padding:46px 0 12px}
.hero__grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:start;
}

.pill{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.75);
  color:var(--muted);
  font-weight:600;
}

.h1{font-size:44px; line-height:1.07; margin:14px 0 12px}
.h2{font-size:26px; margin:0}
.h3{font-size:18px; margin:0 0 6px}
.lead{font-size:16px; line-height:1.55; color:var(--muted); margin:0 0 18px}

.hero__cta{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px}

.trust{display:flex; gap:14px; flex-wrap:wrap}
.trust__item{
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(255,255,255,.75);
}
.trust__num{font-weight:800; font-size:18px}
.trust__label{color:var(--muted); font-weight:600; font-size:12px}

.hero__card{position:sticky; top:86px}

.card{
  border-radius:var(--radius);
  background:rgba(255,255,255,.78);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card__header{padding:18px 18px 8px}

.muted{color:var(--muted)}

.form{padding:0 18px 18px}

.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.field{display:grid; gap:8px}
.field__label{font-weight:600; color:var(--muted); font-size:13px}

.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  outline:none;
  background:white;
  font:inherit;
}
.input:focus{border-color:rgba(37,99,235,.55); box-shadow:0 0 0 4px rgba(37,99,235,.12)}

.form__row{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}

.result{
  margin-top:14px;
  padding:14px;
  border-radius:16px;
  background:var(--soft);
  border:1px solid var(--border);
}
.result__line{display:flex; justify-content:space-between; gap:12px; align-items:baseline}
.result__value{font-weight:800; font-size:20px}
.result__hint{margin-top:6px; font-weight:600; font-size:12px}

.note{
  margin-top:12px;
  display:flex;
  gap:10px;
  padding:12px 12px;
  border-radius:16px;
  border:1px dashed rgba(37,99,235,.35);
  background:rgba(37,99,235,.06);
}
.note__icon{
  width:22px; height:22px;
  border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  color:var(--primary);
  background:rgba(37,99,235,.14);
  flex:0 0 auto;
}
.note__text{color:var(--muted); font-weight:600; font-size:13px; line-height:1.35}

.section{padding:56px 0}
.section--soft{background:linear-gradient(180deg, rgba(246,248,252,.7), rgba(246,248,252,1))}
.section__head{display:flex; justify-content:space-between; align-items:flex-end; gap:14px; margin-bottom:18px}
.section__head p{margin:0}

.features{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}
.feature{
  padding:16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:white;
}

.steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  padding:0;
  margin:0;
  list-style:none;
}
.step{
  background:white;
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  display:flex;
  gap:12px;
}
.step__num{
  font-weight:900;
  color:rgba(37,99,235,.85);
  background:rgba(37,99,235,.10);
  border:1px solid rgba(37,99,235,.18);
  border-radius:14px;
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.step__body p{margin:0}

.rate{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:14px;
  align-items:stretch;
}
.rate__card{
  background:white;
  border:1px solid var(--border);
  border-radius:20px;
  padding:18px;
}
.rate__top{display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:10px}
.rate__price{font-weight:900; font-size:22px}

.list{margin:0; padding-left:18px; color:var(--muted); font-weight:600; display:grid; gap:6px}

.rate__cta{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap}

.rate__example{
  border-radius:20px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,1), rgba(246,248,252,1));
  padding:18px;
}
.rate__example p{margin-top:8px}

.mini{
  margin-top:12px;
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  background:white;
  display:grid;
  gap:10px;
}
.mini__row{display:flex; justify-content:space-between; gap:12px; font-weight:700}

.faq{display:grid; gap:10px}
.faq__item{
  border:1px solid var(--border);
  border-radius:18px;
  background:white;
  padding:14px 16px;
}
.faq__item summary{cursor:pointer; font-weight:800}
.faq__item p{margin:10px 0 0}

.cta{padding:40px 0 64px}
.cta__inner{
  background:linear-gradient(135deg, rgba(37,99,235,.10), rgba(16,185,129,.10));
  border:1px solid var(--border);
  border-radius:24px;
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.cta__buttons{display:flex; gap:10px; flex-wrap:wrap}

.footer{padding:24px 0 30px; border-top:1px solid var(--border); background:rgba(255,255,255,.65)}
.footer__inner{display:flex; justify-content:space-between; gap:14px; align-items:flex-start}
.footer__right{display:flex; gap:14px; flex-wrap:wrap}
.footer__link{color:var(--muted); font-weight:600}
.footer__link:hover{color:var(--text)}

.footer__legal{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  align-items:center;
}

.legal__links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.legal__link{
  background:none;
  border:none;
  padding:0;
  color:var(--muted);
  font:inherit;
  font-weight:600;
  cursor:pointer;
  border-bottom:1px dashed rgba(15,23,42,.2);
}
.legal__link:hover{color:var(--text)}

.payments{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.payments__label{color:var(--muted); font-weight:600}
.payments__icons{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.pay-icon{
  display:inline-flex;
  width:56px;
  height:36px;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 6px 16px rgba(15,23,42,.12);
  background:white;
}
.pay-icon svg{width:100%; height:100%; display:block}

.modal{
  position:fixed;
  inset:0;
  display:grid;
  place-items:center;
  z-index:200;
}
.modal[hidden]{display:none}
.modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.35);
  backdrop-filter:blur(4px);
}
.modal__dialog{
  position:relative;
  z-index:1;
  width:min(640px, 92vw);
  background:white;
  border-radius:20px;
  border:1px solid var(--border);
  box-shadow:0 20px 60px rgba(15,23,42,.25);
  padding:18px 18px 20px;
}
.modal__title{margin:0 0 10px; font-size:20px}
.modal__body{color:var(--muted); line-height:1.55; font-weight:600}
.modal__close{
  position:absolute;
  top:10px; right:12px;
  border:none;
  background:transparent;
  font-size:20px;
  cursor:pointer;
  line-height:1;
  color:var(--muted);
}
.modal__close:hover{color:var(--text)}

@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr;}
  .hero__card{position:static}
  .features{grid-template-columns:repeat(2, 1fr)}
  .steps{grid-template-columns:1fr}
  .rate{grid-template-columns:1fr}
  .section__head{flex-direction:column; align-items:flex-start}
}

@media (max-width: 860px){
  .nav, .header__actions{display:none}
  .burger{display:inline-flex}
}

@media (max-width: 560px){
  .h1{font-size:34px}
  .grid{grid-template-columns:1fr}
  .trust__item{flex:1 1 auto}
  .cta__inner{flex-direction:column; align-items:flex-start}
  .footer__inner{flex-direction:column}
}
