:root{
  --bg:#0b0c10;
  --card:#11131a;
  --text:#e9edf1;
  --muted:#a7b0bb;
  --line:rgba(255,255,255,.10);
  --soft:rgba(255,255,255,.06);
  --btn:#ffffff;
  --btnText:#0b0c10;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 600px at 18% 12%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(900px 500px at 78% 28%, rgba(120,160,255,.12), transparent 60%),
    radial-gradient(900px 500px at 30% 85%, rgba(255,255,255,.06), transparent 60%),
    var(--bg);
  color:var(--text);
}

.wrap{
  max-width: 1020px;
  margin: 0 auto;
  padding: 40px 20px 28px;
}

.top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:16px;
  margin-bottom: 18px;
}

.brand{
  font-weight: 900;
  letter-spacing: .20em;
  font-size: 12px;
  opacity: .92;
}

.tag{
  font-size: 12px;
  color: var(--muted);
  opacity: .92;
}

.card{
  border: 1px solid var(--line);
  background: rgba(17,19,26,.74);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 26px 26px;
  box-shadow: 0 22px 80px rgba(0,0,0,.40);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.72);
  margin-bottom: 14px;
}

.h1{
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lead{
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--muted);
  max-width: 70ch;
}

.scrollHint{
  margin-top: -8px;
  margin-bottom: 10px;
  font-size: 13px;
  opacity: .55;
}

.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.box{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding: 14px 14px 12px;
}

.boxTitle{
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  margin-bottom: 8px;
  color: rgba(255,255,255,.85);
}

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{ margin: 8px 0; }

.notes{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.note{
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.note .k{
  min-width: 72px;
  font-size: 12px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

.note .v{
  font-size: 12px;
  color: var(--muted);
}

.cta{
  margin-top: 18px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--btn);
  color: var(--btnText);
  text-decoration:none;
  font-weight: 800;
  letter-spacing: .02em;
  width: 260px;
  max-width: 100%;
  transition: transform .12s ease, opacity .12s ease;
  position: relative;
  overflow: hidden;
}

.btn:active{ transform: translateY(1px); opacity:.95; }

.underCta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.pill{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
}

.closeLink{
  display:inline-block;
  width: fit-content;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,.20);
  margin-top: 2px;
  transition: opacity .12s ease;
}
.closeLink:hover{ opacity: .85; }

.divider{
  height: 1px;
  background: var(--line);
  margin: 18px 0 14px;
}

.faqTitle{
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.78);
  margin-bottom: 10px;
}

details{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

summary{
  cursor:pointer;
  font-weight: 800;
  color: rgba(255,255,255,.86);
  list-style:none;
}
summary::-webkit-details-marker{ display:none; }

details p{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer{
  margin-top: 16px;
  color: rgba(255,255,255,.35);
  font-size: 12px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footerSmall{ color: rgba(255,255,255,.35); }

/* ✅ “Дышащая” кнопка + sweep */
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(255,255,255,.12); }
  70%{ box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100%{ box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.btn{ animation: pulse 2.6s ease-out infinite; }

.btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transition:left .6s ease;
}
.btn:hover::before{ left:120%; }

/* ===== Language switch (premium minimal) ===== */
.right{
  display:flex;
  align-items:center;
  gap:14px;
}

.lang-switch{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  letter-spacing:.08em;
}

.lang-switch a,
.lang-switch span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:28px;
  padding:0 11px;
  border-radius:999px;
  text-decoration:none;
  color:rgba(255,255,255,.55);
  border:1px solid transparent;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.lang-switch .active{
  color:rgba(255,255,255,.92);
  font-weight:700;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border-color:rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.35);
  cursor:default;
}

.lang-switch a:hover{
  color:rgba(255,255,255,.85);
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.10);
}

/* ===== Mobile ===== */
@media (max-width: 720px){
  .grid{ grid-template-columns: 1fr; }
  .h1{ font-size: 30px; }

  /* header: brand left, lang right, tag below */
  .top{
    display:grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand lang"
      "tag   tag";
    align-items:center;
    gap:10px 12px;
  }

  .brand{ grid-area: brand; }
  .tag{ grid-area: tag; margin-top: 2px; }

  .right{
    grid-area: lang;
    display: contents;
  }

  .lang-switch{
    justify-self:end;
    margin-right:12px; /* чуть левее от края */
  }

  /* ✅ Enter на всю ширину */
  .btn{ width:100%; }
}
