:root{
  --bg: #f7f8fe;
  --bg2:#eef2ff;
  --ink:#0b1020;
  --muted:#4b5563;
  --muted2:#6b7280;

  --card:#ffffff;
  --stroke: rgba(15, 23, 42, .12);
  --shadow: 0 18px 40px rgba(2, 6, 23, .12);

  --a:#6d28d9;
  --b:#06b6d4;
  --c:#22c55e;
  --r: 18px;
  --r2: 26px;
  --max: 1160px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth; scroll-padding-top:96px;}

/* 🔥 ОСНОВА */
body{
  margin:0;
  color:var(--ink);
  font-family: var(--sans);
  position: relative;
  z-index:0;
  background: none; /* убрали фон отсюда */
}

/* 🔥 ФОН ТЕПЕРЬ НЕ ЗАВИСИТ ОТ КОНТЕНТА */
body::before{
  content:"";
  position: fixed;
  inset:0;
  z-index:-2;

  background:
    radial-gradient(800px 520px at 10% 10%, rgba(109,40,217,.18), transparent 60%),
    radial-gradient(900px 560px at 90% 8%, rgba(6,182,212,.16), transparent 60%),
    radial-gradient(900px 560px at 50% 95%, rgba(34,197,94,.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

/* сетка поверх фона */
body::after{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  z-index:-1;

  background:
    repeating-linear-gradient(90deg, rgba(2,6,23,.05) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(2,6,23,.04) 0 1px, transparent 1px 72px);

  opacity:.35;
  mask-image: radial-gradient(1100px 640px at 50% 0%, black 40%, transparent 82%);
}

/* дальше твой CSS без изменений */

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

/* ... ОСТАЛЬНОЕ МОЖЕШЬ ОСТАВИТЬ КАК ЕСТЬ ... */
.kbd{
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 22px rgba(2,6,23,.08);
}
.muted{color:var(--muted)}
.small{font-size: 14px; color: var(--muted2)}

.header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:50;
  background: rgba(247,248,254,.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(2,6,23,.08);
}

.header + main{
  padding-top:72px;
}
.header::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-1px; height:2px;
  background: linear-gradient(90deg, transparent, rgba(109,40,217,.75), rgba(6,182,212,.75), transparent);
}
.header-inner{
  height:72px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 14px;
}
.brand{display:flex; align-items:center; gap:12px; min-width: 240px}
.brand img{
  width:38px; height:38px; border-radius: 14px;
}
.brand-title{display:flex; flex-direction:column; line-height:1.15}
.brand-title strong{font-size: 14px}
.brand-title span{font-size: 12px; color: var(--muted2)}

.page-top-anchor{
  position:absolute;
  inset:0 auto auto 0;
  width:0;
  height:0;
}

.nav{display:flex; align-items:center; gap: 22px; flex-wrap:wrap}
.nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:72px;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: #1692da;
  border-radius: 0;
  transition: color .15s ease, opacity .15s ease;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:20px;
  height:3px;
  border-radius: 999px;
  background:#1692da;
  transform:scaleX(0);
  transform-origin:center;
  transition: transform .18s ease;
}
.nav a:hover{
  color: #127fc2;
}
.nav a:hover::after,
.nav a.is-active::after{
  transform:scaleX(1);
}
.nav a.is-active{
  color:#127fc2;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border:1px solid rgba(2,6,23,.12);
  background: rgba(255,255,255,.85);
  color: var(--ink);
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px); box-shadow: 0 14px 26px rgba(2,6,23,.12)}
.btn-primary{
  border-color: rgba(109,40,217,.35);
  background: linear-gradient(135deg, rgba(109,40,217,.92), rgba(6,182,212,.72));
  color: #fff;
}
.btn-primary:hover{box-shadow: 0 18px 32px rgba(109,40,217,.22)}
.btn-ghost{background: transparent}
.btn-ghost:hover{background: rgba(2,6,23,.05)}

.menu-btn{display:none}
.mobile-menu{
  display:none;
  padding: 10px 18px 18px;
  border-top: 1px solid rgba(2,6,23,.08);
}
.mobile-menu[data-open="1"]{display:block}
.mobile-menu a{display:block; padding:10px 0; color:#1692da; font-weight:700; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: color .15s ease, text-decoration-color .15s ease}
.mobile-menu a.is-active{color:#127fc2; text-decoration-color:#1692da}
.mobile-menu a:hover{color:#127fc2; text-decoration-color:#1692da}
.mobile-menu .row{display:flex; gap:10px; flex-wrap:wrap; padding-top: 10px}

section{
  padding: 50px 0;
  scroll-margin-top: 110px;
}
.hero{padding-top: 44px; padding-bottom: 62px}

.h1{
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 14px 0 14px;
}
.lead{
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 52ch;
}
.section-title{
  font-size: 38px;
  line-height:1.1;
  margin: 0 0 15px;
  letter-spacing: -0.02em;
}
.section-sub{
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 78ch;
}

.grid{display:grid; gap: 18px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 20px;
  align-items: start;
}
.hero-actions{display:flex; gap: 12px; flex-wrap:wrap; margin-top: 18px}
.hero-bullets{display:flex; gap: 10px; flex-wrap:wrap; margin-top: 16px}
.pill{
  display:inline-flex; gap: 10px; align-items:center;
  padding: 10px 12px;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.78);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}
.pill .dot{
  width:10px; height:10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 0 0 4px rgba(109,40,217,.14);
}

.card{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(2,6,23,.10);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  position: relative;
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(560px 140px at 22% 0%, rgba(109,40,217,.18), transparent 55%);
  opacity: .9;
  pointer-events:none;
}
.card-inner{padding: 22px; position:relative}

.terminal{
  background: #0b1020;
  color: #eaf2ff;
  border-radius: var(--r2);
  border: 1px solid rgba(109,40,217,.35);
  box-shadow: 0 22px 44px rgba(2,6,23,.22);
  overflow:hidden;
}
.term-top{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 14px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.dots{display:flex; gap:7px}
.dotx{width:10px;height:10px;border-radius:999px;background: rgba(255,255,255,.22)}
.term-title{font-family: var(--mono); font-size: 12px; opacity:.85}
.term-body{
  padding: 14px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
}
.term-line{display:flex; gap:10px; margin: 6px 0}
.prompt{color:#7dd3fc}
.cmd{color:#eaf2ff}
.ok{color:#86efac}
.warn{color:#fde68a}
.hl{color:#c4b5fd}

.products{grid-template-columns: repeat(3, 1fr)}
.products > .card{display:flex; flex-direction:column; min-height: 560px}
.kicker{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
}
.h3{margin: 8px 0 10px; font-size: 20px}
.product-desc{margin:0; color: var(--muted)}
.badges{display:flex; gap: 8px; flex-wrap:wrap; margin-top: 14px}
.tag{
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.75);
  color: var(--muted);
}
.product-img{
  margin-top:12px;
  padding:12px 14px 16px;
}

.product-img img{
  width:100%;
  height: 240px;
  border-radius: 18px;
  border:1px solid rgba(2,6,23,.10);
  object-fit: cover;
  background: #fff;
}

.features{grid-template-columns: repeat(3, 1fr)}
.feature{
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.78);
  border-radius: var(--r);
  padding: 18px;
}
.icon{
  width:44px; height:44px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(2,6,23,.10);
  background: linear-gradient(135deg, rgba(109,40,217,.18), rgba(6,182,212,.14));
  margin-bottom: 12px;
}
.feature h4{margin:0 0 6px; font-size: 16px}
.feature p{margin:0; color: var(--muted); font-size: 14px}

.visual{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items:center;
}
.visual .copy{
  padding: 18px;
  border-radius: var(--r2);
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.74);
}
.visual .copy h3{margin:0 0 10px; font-size: 22px}
.visual .copy p{margin:0; color: var(--muted)}
.visual .imgwrap{
  border-radius: var(--r2);
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.74);
  padding: 14px;
  box-shadow: var(--shadow);
}
.visual img{
  width:100%;
  height:auto;
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,.10);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.steps{grid-template-columns: repeat(4, 1fr)}
.step{
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.78);
  border-radius: var(--r);
  padding: 18px;
  min-height: 130px;
}
.num{
  width:36px; height:36px;
  border-radius: 999px;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.85);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 10px;
}
.step h4{margin:0 0 6px; font-size: 15px}
.step p{margin:0; color: var(--muted); font-size: 14px}

.pricing{grid-template-columns: repeat(3, 1fr)}
.pricing .card.card-inner{display:flex; flex-direction:column; min-height: 420px}
.price{font-size: 36px; margin: 10px 0 0}
.ul{margin: 14px 0 0; padding:0; list-style:none; color: var(--muted)}
.ul li{display:flex; gap: 10px; margin: 10px 0}
.check{
  width:18px;height:18px;border-radius: 6px;
  border: 1px solid rgba(34,197,94,.35);
  background: rgba(34,197,94,.12);
  display:inline-flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
  margin-top: 3px;
}
.check::before{content:"✓"; font-size: 12px; color: #16a34a}
.highlight{
  border-color: rgba(109,40,217,.22);
  box-shadow: 0 22px 44px rgba(109,40,217,.14);
}
.card-actions{margin-top:auto; padding-top: 18px}

.accordion{display:grid; gap: 12px}
.acc-item{
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.78);
  border-radius: var(--r);
  overflow:hidden;
}
.acc-item button{
  width:100%;
  padding: 16px 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display:flex; align-items:center; justify-content:space-between;
  -webkit-tap-highlight-color: transparent; /* убирает синий флеш */
  outline: none;
  cursor:pointer;
  font-size: 15px;
}
.plus{
  width:28px;height:28px;border-radius: 50%;
  border:1px solid rgba(2,6,23,.10);
  background:#0088cc;
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--mono);
  transition: transform .15s ease;
}

/* сам символ */
.plus::before{
  content:"+";
  font-size:16px;
  line-height:1;
}

/* состояние ОТКРЫТО */
.acc-item[data-open="1"] .plus{
  background:#fff;
  color:#0088cc;
}

/* меняем + на − */
.acc-item[data-open="1"] .plus::before{
  content:"−";
}
.acc-item .content{
  padding: 0 16px 16px;
  color: var(--muted);
  display:none;
}
.acc-item[data-open="1"] .content{display:block}

.cta{padding: 44px 0 88px}
.cta-box{
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
  padding: 26px;
  border-radius: var(--r2);
  border: 1px solid rgba(2,6,23,.10);
  background:
    radial-gradient(800px 220px at 14% 10%, rgba(109,40,217,.18), transparent 60%),
    radial-gradient(800px 220px at 86% 10%, rgba(6,182,212,.14), transparent 60%),
    rgba(255,255,255,.80);
  box-shadow: var(--shadow);
}


.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.contact-shell{
  position:relative;
}
.contact-card{
  position:relative;
  z-index:1;
  padding: 24px;
  border-radius: var(--r2);
  border: 1px solid rgba(2,6,23,.10);
  background:
    radial-gradient(760px 180px at 12% 0%, rgba(109,40,217,.12), transparent 58%),
    radial-gradient(760px 180px at 88% 0%, rgba(6,182,212,.10), transparent 58%),
    rgba(255,255,255,.84);
  box-shadow: var(--shadow);
  transition: filter .22s ease, opacity .22s ease, transform .22s ease;
}
.contact-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field{
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.field span{
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.field span em{
  font-style: normal;
  font-weight: 500;
  color: var(--muted2);
}
.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid rgba(2,6,23,.12);
  border-radius: 16px;
  background:#fff;
  color: var(--ink);
  padding: 14px 15px;
  outline:none;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.field textarea{
  min-height: 164px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(109,40,217,.46);
  box-shadow: 0 0 0 4px rgba(109,40,217,.10);
}
.field-hint{
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted2);
}
.field-email-verify{
  gap: 8px;
}
.email-inline{
  position: relative;
}
.email-inline[hidden],
.email-code-row[hidden]{
  display: none !important;
}
.email-inline input{
  padding-right: 238px;
}
.email-inline-actions{
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  height: calc(100% - 12px);
}
.field-inline-btn{
  height: 100%;
  min-width: 126px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--a), var(--b));
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 18px rgba(109,40,217,.18);
}
.field-inline-btn:hover{
  transform: scale(1.01);
}
.field-inline-btn--danger{
  min-width: 48px;
  padding: 0;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 10px 18px rgba(220,38,38,.18);
  font-size: 24px;
  line-height: 1;
}
.email-code-btn:hover,
.email-repeat-btn:hover{
  transform: scale(1.01);
}
.field-inline-btn:disabled,
.email-code-btn:disabled,
.email-repeat-btn:disabled,
.contact-actions [data-contact-submit]:disabled{
  opacity: .6;
  cursor: not-allowed;
  pointer-events: none;
}
.email-code-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: stretch;
}
.email-code-row input{
  letter-spacing: .18em;
  text-align: center;
  font-family: var(--mono);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, color .16s ease;
}
.email-code-row input.is-feedback{
  letter-spacing: 0;
  font-family: var(--sans);
  font-size: clamp(11px, .82vw + 7px, 14px);
  line-height: 1.15;
  padding-inline: 10px;
}
.email-code-row input.is-feedback::placeholder{
  font-size: inherit;
}
.email-code-row input.is-error,
.email-code-row input.is-error:focus{
  border-color: rgba(220,38,38,.55);
  box-shadow: 0 0 0 4px rgba(220,38,38,.12);
  color: #b91c1c;
}
.email-code-row input.is-error::placeholder{
  color: #dc2626;
  opacity: 1;
}
.email-code-row input.is-shaking{
  animation: email-code-shake .34s ease;
}
.email-code-btn{
  min-width: 176px;
}
.email-repeat-btn{
  min-width: 138px;
  justify-content: center;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(2,6,23,.12);
  color: var(--ink);
  box-shadow: none;
}
.email-repeat-btn:hover{
  box-shadow: 0 12px 24px rgba(2,6,23,.08);
}
.email-inline.is-verified input,
.email-inline.is-verified input:focus{
  border-color: rgba(22,163,74,.38);
  box-shadow: 0 0 0 4px rgba(22,163,74,.10);
  color: #15803d;
}
.email-inline.is-verified .field-inline-btn:not(.field-inline-btn--danger){
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 10px 18px rgba(34,197,94,.18);
}
.email-inline.is-verified .field-inline-btn--danger{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.field textarea:disabled{
  background: rgba(248,250,252,.96);
  color: rgba(71,85,105,.82);
  cursor: not-allowed;
}
.field-full{
  margin-top: 16px;
}
.contact-actions{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
}
.contact-note{
  margin:0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 14px;
}
.contact-error{
  margin: 14px 0 0;
  min-height: 20px;
  color: #b91c1c;
  font-size: 14px;
}
.contact-success{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding: 18px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:2;
  transition: opacity .22s ease, visibility .22s ease;
}
.contact-success-box{
  max-width: 720px;
  padding: 26px 24px;
  text-align:center;
  border-radius: 24px;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.84);
  box-shadow: 0 24px 48px rgba(2,6,23,.16);
}
.contact-success-kicker{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 10px;
}
.contact-success h3{
  margin:0 0 10px;
  font-size: 28px;
}
.contact-success p{
  margin:0;
  color: var(--muted);
}
.contact-shell[data-sent="1"] .contact-card{
  filter: blur(7px);
  opacity: .45;
  transform: scale(.995);
  pointer-events:none;
  user-select:none;
}
.contact-shell[data-sent="1"] .contact-success{
  opacity:1;
  visibility:visible;
}
.contact-card.is-submitting [data-contact-submit]{
  opacity:.78;
  pointer-events:none;
}
@keyframes email-code-shake{
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-6px)}
  40%{transform:translateX(6px)}
  60%{transform:translateX(-4px)}
  80%{transform:translateX(4px)}
}


.footer{
  margin-top: 28px;
  padding: 30px 0 44px;
  color: var(--muted2);
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.62)),
    radial-gradient(1000px 260px at 15% 0%, rgba(109,40,217,.07), transparent 62%),
    radial-gradient(1000px 260px at 85% 0%, rgba(6,182,212,.07), transparent 62%);
  border-top: 1px solid rgba(2,6,23,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
.footer-wrap{
  display:block;
}
.footer-card,
.footer-card--compact{
  width:100%;
  max-width:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  text-align:center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.footer-copy{
  max-width: 980px;
  margin: 0 auto;
  line-height: 1.65;
}
.footer-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.footer-link{
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 600;
  padding: 2px 0;
}
.footer-link:hover{
  color: var(--a);
}
.footer-sep{
  color: rgba(2,6,23,.35);
}


.cookie-banner{
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
}
.cookie-banner[hidden]{
  display: none !important;
}
.cookie-banner__inner{
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 56px rgba(2,6,23,.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-banner__copy{
  max-width: 78ch;
}
.cookie-banner__copy strong{
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
.cookie-banner__copy p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.cookie-banner__copy a{
  color: var(--a);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn-secondary{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(2,6,23,.12);
  box-shadow: none;
}
.cookie-btn-secondary:hover{
  box-shadow: 0 12px 24px rgba(2,6,23,.08);
}

@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr}
  .products,.features,.steps,.pricing,.contact-grid{grid-template-columns: 1fr}
  .visual{grid-template-columns: 1fr}
  .contact-actions{align-items:flex-start}
  .h1{font-size: 44px}
}
@media (max-width: 760px){
  section{padding: 50px 0}
  .hero{padding-top: 36px; padding-bottom: 52px}
  .nav{display:none}
  .menu-btn{display:inline-flex}
  .h1{font-size: 40px}
  .section-title{font-size: 32px}
  .contact-card{padding: 18px}
  .contact-success-box{padding: 22px 18px}
  .contact-success h3{font-size: 24px}
  .email-inline input{padding-right: 15px}
  .email-inline-actions{
    position: static;
    transform: none;
    height: auto;
    margin-top: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }
  .email-inline.is-verified .email-inline-actions{
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .field-inline-btn{
    width: 100%;
    min-width: 0;
    height: 46px;
  }
  .field-inline-btn:hover{transform:none}
  .field-inline-btn--danger{
    width: 56px;
    min-width: 56px;
    padding: 0;
    font-size: 22px;
    justify-self: start;
  }
  .email-code-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .email-code-row input{
    grid-column: 1 / -1;
  }
  .email-code-btn,
  .email-repeat-btn{min-width: 0}
  .footer{padding: 24px 0 38px}
  .footer-links{gap:10px}
  .cookie-banner{
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-banner__inner{
    padding: 16px;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions{
    justify-content: stretch;
  }
  .cookie-banner__actions .btn{
    width: 100%;
  }
}

.btn-icon{
  width:46px;
  padding:0;
}

.tg-png{
  width:20px;
  height:20px;
  display:block;
  object-fit:contain;
}

/* Telegram standalone icon */
.tg-link{
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  transition: transform .15s ease, opacity .15s ease;
}

.tg-link img{
  width:28px;   /* нормальный размер */
  height:28px;
  object-fit:contain;
  display:block;
}

/* hover эффект без фона */
.tg-link:hover{
  transform: scale(1.08);
  opacity: .85;
}

/* выравнивание с кнопкой меню */
.menu-btn{
  width:46px;
  height:46px;
  padding:0;
}

/* Правильный контейнер кнопок */
.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

/* Одинаковая базовая кнопка */
.tg-link,
.menu-btn{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  flex-shrink:1;      /* могут уменьшаться */
  max-width:40px;
  max-height:40px;
}

/* Telegram — без лишнего фона */
.tg-link{
  background:none;
  border:none;
}

/* Размер иконки Telegram */
.tg-link img{
  width:40px;
  height:40px;
  object-fit:contain;
}

/* Кнопка меню */
.menu-btn{
  border:2px solid #229ED9;
  background:rgba(255,255,255,.85);
  font-size:20px;
  cursor:pointer;
  transition:.15s ease;
  color:#229ED9;   /* ← вот это добавь */
}

.menu-btn:hover{
  background:rgba(2,6,23,.06);
}


/* видео внутри терминала */
.term-body.term-video{
  padding: 14px; /* как было */
}

.demo-video{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: #000;
  aspect-ratio: 16 / 9;     /* держим красивую форму */
  object-fit: cover;
}

/* на всякий: чтобы iOS не делал странные отступы */
.demo-video::-webkit-media-controls-panel{
  border-radius: 18px;
}

/* term-body без отступов — видео закрывает всё */
.term-body.term-video{
  padding: 0;
}

/* контейнер видео = “экран” */
.video-shell{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;        /* подгони если нужно */
  background: #000;
  overflow: hidden;
}

/* видео полностью закрывает фон */
.demo-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;           /* “залить” весь блок */
  display: block;
}

.video-play{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);

  /* круг меньше */
  width:64px;
  height:64px;
  border-radius:999px;

  /* чистый красный */
  background:#e10600;
  border:2px solid rgba(255,255,255,.6);

  display:grid;
  place-items:center;
  cursor:pointer;

  /* мощное белое свечение */
  box-shadow:
    0 0 0 10px rgba(255,255,255,.25),
    0 0 40px rgba(255,255,255,.35),
    0 20px 50px rgba(0,0,0,.45);

  transition: transform .12s ease, box-shadow .12s ease;
  animation: playPulse 1.4s ease-in-out infinite;
}

.video-play:hover{
  transform:translate(-50%,-50%) scale(1.08);
}

/* иконка больше */
.video-play .play-ic{
  width:44px;
  height:44px;
  display:block;
  fill:#ffffff;

  /* компенсация визуального центра */
  transform:translateX(0px);

  filter:drop-shadow(0 8px 16px rgba(0,0,0,.45));
}

/* белая пульсация ярче */
@keyframes playPulse{
  0%,100%{
    box-shadow:
      0 0 0 10px rgba(255,255,255,.30),
      0 0 40px rgba(255,255,255,.35),
      0 20px 50px rgba(0,0,0,.45);
  }
  50%{
    box-shadow:
      0 0 0 18px rgba(255,255,255,.15),
      0 0 60px rgba(255,255,255,.45),
      0 20px 50px rgba(0,0,0,.45);
  }
}

.video-shell.is-playing .video-play{
  opacity:0;
  pointer-events:none;
  animation:none;
}

@media (max-width: 760px){
  .video-shell.mobile-play-hidden .video-play{
    opacity:0;
    pointer-events:none;
    animation:none;
  }
}


/* fix: burger only on mobile, hidden on desktop */
.header .header-actions .menu-btn{
  display:none;
}

@media (max-width: 760px){
  .header .header-actions .menu-btn{
    display:flex;
  }
}

@media (min-width: 761px){
  .mobile-menu{
    display:none !important;
  }
}


.legal-page{
  padding-top: 26px;
  padding-bottom: 72px;
}
.legal-page .section-title{
  margin-bottom: 10px;
}
.legal-page .section-sub{
  max-width: 76ch;
}
.legal-card{
  overflow:hidden;
  border-radius: var(--r2);
}
.legal-card::before{
  background:
    radial-gradient(720px 160px at 12% 0%, rgba(109,40,217,.14), transparent 55%),
    radial-gradient(720px 180px at 88% 0%, rgba(6,182,212,.10), transparent 55%);
}
.legal-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 0 0 20px;
}
.legal-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid rgba(2,6,23,.10);
  border-radius:999px;
  background: rgba(255,255,255,.84);
  color: var(--muted);
  font-size:14px;
}
.legal-download{
  margin-left:auto;
  justify-content:center;
  min-height:42px;
  padding:8px 16px;
  font-weight:700;
  color:#127fc2;
  text-decoration:none;
  box-shadow: 0 10px 24px rgba(18,127,194,.12);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.legal-download:hover{
  transform: translateY(-1px);
  border-color: rgba(18,127,194,.28);
  box-shadow: 0 14px 28px rgba(18,127,194,.16);
  color:#0f74b4;
}
.legal-download::before{
  content:"PDF";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  background: rgba(18,127,194,.12);
  color:#127fc2;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
}
.legal-note{
  margin:0 0 22px;
  padding:14px 16px;
  border:1px solid rgba(2,6,23,.08);
  border-radius:16px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  line-height:1.65;
}
.legal-toc{
  margin:0 0 26px;
  padding:18px 20px;
  border:1px solid rgba(2,6,23,.08);
  border-radius:20px;
  background: rgba(255,255,255,.74);
}
.legal-toc-title{
  margin:0 0 12px;
  font-size:16px;
  font-weight:700;
}
.legal-toc-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px 18px;
}
.legal-toc a{
  color:#127fc2;
  font-weight:600;
  text-decoration:underline;
  text-decoration-color: rgba(18,127,194,.3);
  text-underline-offset: 4px;
}
.legal-toc a:hover{
  text-decoration-color:#127fc2;
}
.legal-doc{
  line-height:1.72;
  color: var(--muted);
}
.legal-doc h2{
  scroll-margin-top: 110px;
  margin: 30px 0 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}
.legal-doc h3{
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 18px;
}
.legal-doc p{
  margin: 0 0 12px;
}
.legal-doc ul,
.legal-doc ol{
  margin: 0 0 14px 0;
  padding-left: 22px;
}
.legal-doc li{
  margin: 0 0 8px;
}
.legal-doc strong{
  color: var(--ink);
}
.legal-doc a{
  color:#127fc2;
  text-decoration:underline;
  text-underline-offset: 4px;
}
.legal-doc hr{
  border:0;
  border-top:1px solid rgba(2,6,23,.08);
  margin:24px 0;
}
.legal-doc .legal-muted{
  color: var(--muted2);
}
@media (max-width: 760px){
  .legal-page{
    padding-top: 18px;
    padding-bottom: 52px;
  }
  .legal-toc-grid{
    grid-template-columns: 1fr;
  }
  .legal-download{
    margin-left:0;
  }
  .legal-doc h2{
    font-size: 22px;
  }
}
