:root{
  /* Светлая банковская палитра */
  --bg1:#f6f9ff;
  --bg2:#eef3ff;
  --surface:#ffffff;
  --surface2:#f7f9fc;

  --text:#0f172a;     /* slate-900 */
  --muted:#5b6b86;    /* мягкий серо-синий */
  --line:rgba(15,23,42,.10);

  --primary:#1e4fff;  /* premium blue */
  --primary2:#00b9a5; /* teal */
  --gold:#c9a24a;

  --shadow: 0 18px 60px rgba(15,23,42,.08);
  --shadow2: 0 10px 30px rgba(15,23,42,.08);

  --radius:16px;
  --radius2:22px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  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 520px at 18% 0%, rgba(30,79,255,.16), transparent 55%),
    radial-gradient(900px 520px at 85% -10%, rgba(0,185,165,.14), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}

.container{
  width:min(1120px, calc(100% - 32px));
  margin:0 auto;
}

/* Верхняя панель */
.topbar{
  position:sticky;
  top:0;
  z-index:50;

  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--line);
}

.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
}
.logo-mark{
  width:42px;height:42px;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(30,79,255,.96), rgba(0,185,165,.92));
  box-shadow: 0 12px 30px rgba(30,79,255,.18);
  position:relative;
}
.logo-mark:after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.75);
}
.logo-title{
  font-weight:800;
  letter-spacing:.2px;
  font-size:15px;
  display:block;
  line-height:1.1;
}
.logo-sub{
  color:var(--muted);
  font-size:12px;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a{
  color: rgba(15,23,42,.72);
  font-weight:700;
  font-size:14px;
}
.nav a:hover{color: var(--text)}

.burger{
  display:none;
  background: rgba(255,255,255,.8);
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 10px;
  cursor:pointer;
  box-shadow: var(--shadow2);
}
.burger span{
  display:block;
  width:20px;height:2px;
  background: rgba(15,23,42,.75);
  margin:4px 0;
  border-radius: 2px;
}

.mobile-nav{
  display:none;
  border-top:1px solid var(--line);
  padding:14px 16px 16px;
  background: rgba(255,255,255,.86);
}
.mobile-nav a{
  display:block;
  padding:10px 0;
  color: rgba(15,23,42,.72);
  font-weight:700;
}
.mobile-nav .btn{width:100%}

.main{min-height: 70vh}

/* Секции */
.section{padding: 42px 0;}
.section-soft{
  background: linear-gradient(180deg, rgba(255,255,255,.92), transparent);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head h1,.section-head h2{
  margin:0 0 8px;
  letter-spacing:.2px;
}
.section-head .muted{margin:0}

.hero{
  padding: 46px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:24px;
  align-items:stretch;
}

.badge{
  display:inline-flex;
  border:1px solid rgba(30,79,255,.22);
  color: rgba(15,23,42,.85);
  background: rgba(30,79,255,.06);
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
}

h1{
  margin:14px 0 10px;
  font-size: 40px;
  line-height:1.1;
}
.lead{
  margin:0;
  color: rgba(15,23,42,.75);
  font-size: 16px;
  line-height: 1.55;
}

.hero-actions{
  display:flex;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}

/* Trust cards */
.trust{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:10px;
  margin-top:22px;
}
.trust-item{
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
  border-radius: var(--radius);
  padding:12px 14px;
  box-shadow: var(--shadow2);
}
.trust-title{font-weight:900;font-size:13px}
.trust-text{color:var(--muted);font-size:12px;margin-top:4px}

.hero-card{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow);
  padding:18px;
}
.hero-card-title{
  font-weight:900;
  letter-spacing:.2px;
  margin-bottom:10px;
}
.hero-card-note{
  color:var(--muted);
  font-size:12px;
  margin-top:10px;
}

/* Карточки продуктов */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
.card{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.88);
  padding:16px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:14px;
  box-shadow: var(--shadow2);
}
.card-title{
  font-weight:950;
  letter-spacing:.2px;
  font-size:16px;
}
.card-sub{
  color:var(--muted);
  font-size:13px;
  margin-top:6px;
  line-height:1.45;
}
.card-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.steps{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:14px;
  margin-top:18px;
}
.step{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.88);
  padding:16px;
  box-shadow: var(--shadow2);
}
.step-n{
  width:32px;height:32px;
  border-radius: 12px;
  display:flex;align-items:center;justify-content:center;
  font-weight:950;
  color: rgba(30,79,255,.96);
  background: rgba(30,79,255,.08);
  border:1px solid rgba(30,79,255,.20);
}
.step-t{margin-top:10px;font-weight:950}
.step-d{margin-top:6px;color:var(--muted);font-size:13px;line-height:1.45}

/* FAQ */
.faq{
  display:grid;
  gap:10px;
  margin-top:18px;
}
.faq-item{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.88);
  padding:14px 16px;
  box-shadow: var(--shadow2);
}
.faq-item summary{
  cursor:pointer;
  font-weight:950;
}
.faq-body{
  color:var(--muted);
  margin-top:8px;
  line-height:1.5;
}

/* Продуктовая страница */
.product-hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:start;
  margin-top:12px;
}
.panel{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.90);
  padding:16px;
  box-shadow: var(--shadow2);
}
.panel-title{
  font-weight:950;
  letter-spacing:.2px;
  margin-bottom:10px;
}
.checklist, .list{
  margin:0;
  padding-left:18px;
  color: rgba(15,23,42,.85);
}
.checklist li, .list li{margin:8px 0}
.checklist{list-style: "✓  "}
.list{list-style: disc}

.crumbs{
  display:flex;
  gap:8px;
  align-items:center;
  color: rgba(15,23,42,.55);
  font-size:12px;
}
.crumbs a{color: rgba(15,23,42,.55)}
.crumbs a:hover{color: var(--text)}

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

.posts{
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap:14px;
  margin-top:18px;
}
.post{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.88);
  padding:16px;
  box-shadow: var(--shadow2);
}
.post-meta{color: rgba(15,23,42,.55);font-size:12px;margin-bottom:8px}
.post-title{display:block;font-weight:950;letter-spacing:.2px;font-size:18px;line-height:1.25}
.post-excerpt{color:var(--muted);margin-top:10px;line-height:1.55}
.post-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}

/* Статья */
.article{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.90);
  padding:18px;
  margin-top:16px;
  box-shadow: var(--shadow2);
}
.article-meta{color: rgba(15,23,42,.55);font-size:12px;margin-bottom:8px}
.article h1{font-size:32px;margin:0 0 10px}
.article-content{
  color: rgba(15,23,42,.86);
  line-height:1.7;
}
.article-content h2{margin:18px 0 8px;font-size:20px}
.article-content p{margin:10px 0}
.article-content ul{margin:10px 0 10px 18px}
.article-cta{
  margin-top:18px;
  border-top:1px solid var(--line);
  padding-top:16px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.article-cta-title{font-weight:950}

/* Кнопки */
.btn{
  border:1px solid rgba(15,23,42,.14);
  border-radius: 14px;
  padding:10px 14px;
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  background: rgba(255,255,255,.86);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15,23,42,.10);
}
.btn:active{transform: translateY(0px)}

.btn-primary{
  border-color: rgba(30,79,255,.28);
  background: linear-gradient(135deg, rgba(30,79,255,.95), rgba(0,185,165,.90));
  color:#fff;
  box-shadow: 0 18px 40px rgba(30,79,255,.20);
}
.btn-primary:hover{box-shadow: 0 22px 46px rgba(30,79,255,.25)}
.btn-ghost{
  background: rgba(255,255,255,.75);
}

.w-100{width:100%}

.muted{color:var(--muted)}
.small{font-size:12px}
.mt-24{margin-top:24px}
.mt-16{margin-top:16px}
.mt-12{margin-top:12px}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding: 28px 0;
  background: rgba(255,255,255,.72);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .9fr .7fr;
  gap:18px;
}
.footer-title{font-weight:950;letter-spacing:.2px;margin-bottom:8px}
.footer-muted{color:var(--muted);font-size:13px;line-height:1.5}
.footer-link{color: rgba(15,23,42,.86); font-size:13px; margin:8px 0}
.footer-link a{color: rgba(15,23,42,.86); text-decoration:underline}

/* Modal */
.modal-overlay{
  position:fixed;
  inset:0;
  background: rgba(15,23,42,.44);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index:100;
}
.modal-overlay.is-open{display:flex}
.modal{
  width:min(760px, 100%);
  border-radius: 22px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  padding: 18px;
  position:relative;
}
.modal-close{
  position:absolute;
  top:10px; right:12px;
  width:40px;height:40px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
  color: rgba(15,23,42,.85);
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.modal-head{padding-right:44px}
.modal-title{font-weight:950;font-size:18px;letter-spacing:.2px}
.modal-sub{color:var(--muted);font-size:13px;margin-top:6px}

.tabs{
  display:flex;
  gap:10px;
  margin-top:14px;
}
.tab{
  border:1px solid var(--line);
  background: rgba(255,255,255,.78);
  color: rgba(15,23,42,.72);
  padding:10px 12px;
  border-radius: 14px;
  cursor:pointer;
  font-weight:950;
}
.tab.is-active{
  color: var(--text);
  border-color: rgba(30,79,255,.20);
  background: rgba(30,79,255,.07);
}

/* Form */
.form{margin-top:14px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{color: rgba(15,23,42,.86); font-size:13px; font-weight:900}

.input{
  border:1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.88);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
  outline:none;
}
.input:focus{
  border-color: rgba(30,79,255,.40);
  box-shadow: 0 0 0 4px rgba(30,79,255,.12);
}
textarea.input{resize:vertical}

.consent{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:12px;
  color: rgba(15,23,42,.78);
  font-size:13px;
  line-height:1.35;
}
.consent input{margin-top:3px}
.consent a{text-decoration:underline}

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

.form-msg{
  margin-top:12px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.78);
  color: rgba(15,23,42,.75);
  display:none;
}
.form-msg.is-show{display:block}
.form-msg.is-ok{
  border-color: rgba(0,185,165,.30);
  background: rgba(0,185,165,.10);
  color: rgba(15,23,42,.90);
}
.form-msg.is-bad{
  border-color: rgba(255,90,90,.35);
  background: rgba(255,90,90,.10);
  color: rgba(15,23,42,.90);
}

/* Honeypots */
.hp{position:absolute;left:-9999px;top:-9999px;height:1px;width:1px;opacity:0}

.is-hidden{display:none !important}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .trust{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .product-hero{grid-template-columns:1fr}
  .posts{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .nav{display:none}
  .burger{display:block}
  .mobile-nav.is-open{display:block}
  h1{font-size:32px}
}
.btn-ghost{
  border-color: rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
}
.btn-ghost:hover{
  background: rgba(255,255,255,1);
}
