/* Удалёнка каждый день — Landing styles */
:root{
  --bg0:#0c0c10;
  --bg1:#14141b;
  --card:#ffffff;
  --ink:#111118;
  --muted:#6a6a7a;
  --muted2:#8b8b9a;

  --accent:#7a1cff;
  --accent2:#b000ff;
  --accentSoft: rgba(122, 28, 255, .10);
  --border: rgba(20, 20, 27, .10);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:#f5f5f7;
  background:
    radial-gradient(1000px 600px at 10% 10%, rgba(122,28,255,.35), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(176,0,255,.25), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

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

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(12,12,16,.6);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}
.brand__mark{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 25px rgba(122,28,255,.35);
  font-weight:800;
}
.brand__text{ min-width:0; }
.brand__name{
  font-weight:800;
  letter-spacing:.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand__tag{
  font-size:12px;
  color: rgba(245,245,247,.70);
  margin-top:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.topbar__actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.linklike{
  border:none;
  background:none;
  padding:10px 10px;
  border-radius:12px;
  color: rgba(245,245,247,.85);
  cursor:pointer;
  font-weight:600;
}
.linklike:hover{ background: rgba(255,255,255,.06); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border: 1px solid rgba(255,255,255,.10);
  text-decoration:none;
  color: rgba(245,245,247,.95);
  font-weight:800;
  letter-spacing:.2px;
  cursor:pointer;
  user-select:none;
}
.btn--primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 14px 35px rgba(122,28,255,.35);
}
.btn--primary:hover{ filter: brightness(1.05); }
.btn--soft{
  background: rgba(255,255,255,.06);
}
.btn--soft:hover{ background: rgba(255,255,255,.09); }
.btn--ghost{
  background: transparent;
}
.btn--ghost:hover{ background: rgba(255,255,255,.06); }

.hero{
  padding:42px 0 24px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:28px;
  align-items:center;
}
.bannerWrap{
  width: 180px;
  max-width: 48vw;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 10px;
}
.banner{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

.h1{
  margin:18px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height:1.05;
  letter-spacing:-.6px;
}
.lead{
  margin:0;
  color: rgba(245,245,247,.82);
  font-size: 16px;
  line-height:1.6;
  max-width: 62ch;
}
.hero__cta{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.miniStats{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
.miniCard{
  padding:14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.miniCard__title{
  font-weight:900;
  margin-bottom:6px;
}
.miniCard__value{
  font-size:13px;
  color: rgba(245,245,247,.78);
  line-height:1.45;
}


.section{
  padding: 34px 0;
}
.section--alt{
  padding: 34px 0 46px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.h2{
  margin:0 0 16px;
  font-size: 26px;
  letter-spacing:-.2px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  min-height: 160px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.card--accent{
  background: linear-gradient(135deg, rgba(122,28,255,.20), rgba(176,0,255,.12));
  border-color: rgba(255,255,255,.14);
}
.card__icon{
  width:38px;
  height:38px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: 12px;
}
.card__title{
  margin:0 0 8px;
  font-size: 16px;
  font-weight: 900;
}
.card__text{
  margin:0;
  font-size: 13px;
  line-height:1.6;
  color: rgba(245,245,247,.78);
}

.split{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:16px;
  align-items:start;
}
.steps{
  margin: 0;
  padding-left: 0;
  list-style:none;
  display:grid;
  gap:10px;
}
.steps li{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 12px 12px;
  color: rgba(245,245,247,.85);
  line-height:1.5;
}
.stepNum{
  display:inline-grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius: 10px;
  margin-right:10px;
  background: rgba(122,28,255,.18);
  border: 1px solid rgba(122,28,255,.35);
  color: rgba(245,245,247,.95);
  font-weight: 900;
}

.panel{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  position: sticky;
  top: 78px;
}
.panel__title{
  font-weight: 900;
  margin-bottom: 10px;
}
.bullets{
  margin:0;
  padding-left: 18px;
  color: rgba(245,245,247,.82);
  line-height:1.7;
}

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

.footer{
  padding: 24px 0 34px;
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 16px;
}
.footer__brand{
  font-weight: 900;
}
.footer__meta{
  font-size: 12px;
  color: rgba(245,245,247,.65);
  margin-top:6px;
}

/* Modal */
.modal{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 100;
}
.modal.is-open{ display:block; }
.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(2px);
}
.modal__dialog{
  position:relative;
  width: min(820px, calc(100% - 26px));
  margin: 6vh auto;
  border-radius: 20px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow:hidden;
  border: 1px solid rgba(17,17,24,.12);
}
.modal__header{
  position: sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 14px;
  background: #ffffff;
  border-bottom: 1px solid rgba(17,17,24,.10);
}
.modal__title{
  font-weight: 900;
  font-size: 16px;
}
.modal__close{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(17,17,24,.12);
  background: rgba(122,28,255,.08);
  color: var(--accent);
  font-weight: 900;
  cursor:pointer;
}
.modal__close:hover{
  background: rgba(122,28,255,.14);
}
.modal__body{
  max-height: 68vh;
  overflow:auto;
  padding: 14px 16px 18px;
  line-height:1.6;
}
.modal__body h3{
  margin: 16px 0 8px;
}
.muted{
  color: rgba(17,17,24,.55);
  font-size: 12px;
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 900px){
  .hero__grid{ grid-template-columns: 1fr; }
    .cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split{ grid-template-columns: 1fr; }
  .panel{ position: static; }
}
@media (max-width: 560px){
  .container{ width: calc(100% - 26px); }
  .miniStats{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .brand__tag{ display:none; }

  /* Mobile: do not truncate app name in the header */
  .brand__name{
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.1;
    font-size: 14px;
  }
}


/* Policy text formatting */
.policyText{
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
  color: inherit;
}
