:root{
  --bg: #0b1220;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.085);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --muted2: rgba(255,255,255,0.60);
  --stroke: rgba(255,255,255,0.14);
  --shadow: 0 16px 44px rgba(0,0,0,0.35);
  --radius: 18px;
  --radius2: 22px;
  --max: 1120px;
  --accent: #6ee7ff;
  --accent2: #a78bfa;
  --btn: #22c55e;
  --btnText: #06120a;
}

*{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);
  line-height: 1.55;

  /* Сам body — просто базовый цвет */
  background: #0b1220;
  min-height: 100vh;
  position: relative;
}
/* Слой 1: базовый ОЧЕНЬ плавный градиент (fixed) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background: linear-gradient(
    180deg,
    #0b1220 0%,
    #0b1424 18%,
    #0c172b 34%,
    #0c1b33 50%,
    #0d203b 66%,
    #0f2746 82%,
    #113053 100%
  );
}
/* Слой 2: “пятна” (тоже fixed) */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(900px 520px at 12% 10%, rgba(110,231,255,0.16), transparent 62%),
    radial-gradient(900px 520px at 86% 22%, rgba(167,139,250,0.16), transparent 62%),
    radial-gradient(900px 520px at 50% 90%, rgba(34,197,94,0.10), transparent 65%);
  opacity: 0.95;
}

/* чтобы контент был поверх ::before */
body > *{
  position: relative;
  z-index: 1;
}
img{max-width:100%; display:block}

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11,18,32,0.62);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}
.brand{display:flex; align-items:center; gap:12px}
.brand__logo{
  width:42px; height:42px; border-radius: 12px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.55), transparent 55%),
    linear-gradient(135deg, rgba(110,231,255,0.75), rgba(167,139,250,0.75));
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.brand__name{font-weight:800; letter-spacing:0.2px}
.brand__tag{font-size:12px; color: var(--muted2); margin-top:2px}

.topbar__badges{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.badge{
  font-size:12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.06);
}
.badge--muted{color: var(--muted2)}

/* Hero */
.hero{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  padding: 26px 0 10px;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.82);
  margin: 0 0 10px;
}
.kicker::before{
  content:"";
  width:10px; height:10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(110,231,255,0.10);
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.6px;
}
.subhead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}
.meta{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin: 0 0 18px;
}
.meta__item{
  display:flex;
  align-items:center;
  gap:8px;
  font-size: 13px;
  color: var(--muted2);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 8px 10px;
  border-radius: 999px;
}
.dot{
  width:7px; height:7px; border-radius:999px;
  background: rgba(34,197,94,0.9);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.10);
}

.cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 0 0 10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.btn:hover{transform: translateY(-1px); filter: brightness(1.05)}
.btn:active{transform: translateY(0px); filter: brightness(0.98)}

.btn--primary{
  background: linear-gradient(135deg, rgba(34,197,94,1), rgba(110,231,255,0.55));
  color: var(--btnText);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 18px 44px rgba(34,197,94,0.18);
}
.btn--ghost{
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-color: rgba(255,255,255,0.14);
}
.btn--wide{width:100%}

.tiny{
  font-size: 12px;
  color: var(--muted2);
  margin: 8px 0 0;
}
.tiny--center{text-align:center}

/* Hero media */
.hero__media{
  display:flex;
  align-items:stretch;
}
.hero__card{
  width:100%;
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}
.hero__imgwrap{
  height: 320px;
  background: rgba(255,255,255,0.04);
}
@media (max-width: 980px){
  .hero__imgwrap{ height: 260px; }
}
.hero__imgwrap img{
  width:100%;
  height:100%;
  object-fit: cover;
  display: block;
}
.hero__cardbody{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding: 14px;
}
.hero__stat{
  display:flex;
  gap:10px;
  align-items:center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.10);
  border-radius: 14px;
  padding: 10px 12px;
  flex:1;
}
.hero__stat--right{justify-content:flex-end}
.hero__statnum{
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__stattext{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.2;
}

/* Info strip */
.info-strip{
  margin: 18px 0 24px;
}
.info-strip__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.info{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 14px;
}
.info__icon{font-size: 20px; margin-bottom: 8px}
.info__title{font-weight: 900; margin-bottom: 6px}
.info__text{color: var(--muted); font-size: 13px}

/* Article */
.article{
  padding: 6px 0 60px;
}
.card{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius2);
  box-shadow: 0 12px 34px rgba(0,0,0,0.22);
  padding: 18px;
  margin: 14px 0;
}
.card h2{
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}
.card p{margin: 10px 0; color: var(--muted)}
.note{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.10);
  color: var(--muted2) !important;
}

/* Grid 2 cols */
.card--aside{
  position: sticky;
  top: 84px;
}
.aside__img{
  height: 230px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  margin-bottom: 12px;
}
.aside__img img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.checklist{
  list-style:none;
  padding:0;
  margin: 10px 0 0;
}
.checklist li{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
}
.checklist li:last-child{border-bottom:none}
.check{
  width:22px; height:22px;
  display:grid;
  place-items:center;
  border-radius: 8px;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.25);
  color: rgba(255,255,255,0.9);
  font-weight: 900;
}
.aside__cta{margin-top: 14px}

/* Steps */
.step{
  display:flex;
  gap:12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.step:last-child{border-bottom:none}
.step__num{
  width:34px; height:34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(135deg, rgba(110,231,255,0.25), rgba(167,139,250,0.25));
  border: 1px solid rgba(255,255,255,0.14);
}
.step__body h3{
  margin: 0 0 6px;
  font-size: 16px;
}
.step__body p{margin: 0; color: var(--muted)}

/* Grid 2 cols (single source of truth) */
.grid-2{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;

  /* важно: обе карточки одной строки одинаковой высоты */
  align-items: stretch;
}

/* left card behaves normally (no "holes") */
.card--habits{
  display: block;   /* убираем flex-колонку */
  height: auto;
}

/* sticky aside ок, но пусть не ломает компоновку */
.card--aside{
  position: sticky;
  top: 84px;
  align-self: start;  /* sticky должен стартовать сверху */
}
/* УБРАЛИ margin-top:auto — он и создавал "дыру" */

.habit-note{
  margin-top: 16px;
  padding-top: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;

  border-top: 1px dashed rgba(255,255,255,0.12);
}

.habit-icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(110,231,255,0.15);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.habit-text strong{
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.habit-text p{
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
/* Product block */
.product{
  display:grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
/* ЛЕВЫЙ БЛОК С КАРТИНКОЙ */
.product__img{
  height: 240px;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  border-radius: 18px;
}
.product__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}
.product__body h3{margin: 0 0 6px}
.pill-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin: 10px 0 12px;
  width: 100%; 
}
.pill{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  flex: 1 1 0;
  text-align: center;
}

/* FAQ */
.faq{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 12px 12px;
  margin: 10px 0;
}
.faq summary{
  cursor:pointer;
  font-weight: 800;
}
.faq p{margin: 8px 0 0; color: var(--muted)}

/* CTA box */
.cta-box{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(34,197,94,0.28);
  background:
    radial-gradient(420px 220px at 20% 10%, rgba(34,197,94,0.20), transparent 60%),
    rgba(0,0,0,0.10);
}
.cta-box h3{margin:0 0 6px}
.cta-box p{margin:0; color: var(--muted)}

/* CTA iFrame form */
.cta-copy{flex: 1 1 auto; min-width: 240px;}
.cta-disclaimer{margin-top: 8px; font-size: 12px; opacity: 0.9;}

.cta-form{
  flex: 0 0 520px;     /* ширина формы на десктопе */
  max-width: 520px;
  width: 100%;
}

.lead-iframe{
  width: 100%;
  height: 240px;       /* стартовая высота (под твою форму) */
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
  overflow: hidden;
}

/* Legal */
.card--legal{
  background: rgba(255,255,255,0.04);
}
.legal{color: var(--muted2) !important}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}
/* CTA button tweaks (desktop) */
.cta-box .btn{
  min-width: 220px;   /* увеличиваем ширину на десктопе */
  padding: 14px 22px; /* чуть “мясистее” */
  font-size: 16px;
}
/* Responsive */
@media (max-width: 980px){
  .hero{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .card--aside{position: static}
  .info-strip__grid{grid-template-columns: 1fr}
  .product{grid-template-columns: 1fr}
  .cta-box{flex-direction: column; align-items: stretch;}
  .cta-form{flex: none; max-width: none;}
  .lead-iframe{height: 320px;}

    /* CTA button mobile full width */
  .cta-box{
    flex-direction: column;
    align-items: stretch;
  }
  .cta-box .btn{
    width: 100%;
    min-width: 100%;
    font-size: 17px;
    padding: 16px;
  }
}
/* ===== BIG CTA BUTTONS ===== */

/* общий класс для больших CTA */
.btn--wide {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 16px 22px;
  font-size: 16px;
  border-radius: 14px;
}
/* выравнивание в карточках */
.card .btn--wide {
  margin-top: 14px;
}
html{
  scroll-behavior: smooth;
}

.product-explain h2{ margin-bottom: 10px; }
.product-explain .muted{ opacity: .85; }

.pe-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.pe-item{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.pe-item h3{ margin-top: 0; font-size: 16px; }
.pe-item ul, .pe-item ol{ margin: 8px 0 0 18px; }
.pe-item li{ margin: 6px 0; }
.pe-item .note{ margin-top: 10px; font-size: 12px; opacity: .8; }

.pe-callout{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(34,197,94,0.22);
  background: rgba(34,197,94,0.08);
}

.pe-badge{
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.25);
  margin-bottom: 8px;
}

.pe-anchor{ margin-top: 14px; }

@media (max-width: 980px){
  .pe-grid{ grid-template-columns: 1fr; }
}

/* Legal / Disclaimer – FORCE small text (strong) */
.card--legal,
.card--legal *,
.legal,
.legal * {
  font-size: 11px !important;
  line-height: 1.35 !important;
}

.footer-links a {
  font-size: 11px !important;
}