:root {
  --bg: #f4f7ff;
  --bg-2: #eef2ff;
  --surface: #ffffff;
  --text: #0f172a;
  --hint: #64748b;
  --line: rgba(15, 23, 42, .08);
  --blue: #2b59fb;
  --blue-2: #1d4ed8;
  --blue-soft: #e8efff;
  --ok: #0d9f6e;
  --ok-soft: #e6f7f0;
  --warn: #c47a00;
  --warn-soft: #fff6e5;
  --danger: #e11d48;
  --btn: var(--blue);
  --btn-text: #fff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(43, 89, 251, .12);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .06);
  font-family: "Plus Jakarta Sans", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

/* Telegram: компактный светлый миниапп, лендинг скрыт */
body.tg {
  --bg: var(--tg-theme-bg-color, #f4f7ff);
  --surface: var(--tg-theme-secondary-bg-color, #fff);
  --text: var(--tg-theme-text-color, #0f172a);
  --hint: var(--tg-theme-hint-color, #64748b);
  --btn: var(--tg-theme-button-color, #2b59fb);
  --btn-text: var(--tg-theme-button-text-color, #fff);
}
body.tg .landing-only,
body.tg .page-bg { display: none !important; }
body.tg .nav {
  position: static; background: transparent; border: 0; box-shadow: none; backdrop-filter: none;
}
body.tg .wrap { padding: 0 12px 24px; }
body.tg .installer { box-shadow: var(--shadow-sm); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); min-height: 100%; }
body {
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: var(--blue); text-decoration: none; }
[hidden] { display: none !important; }
.hidden { display: none !important; }

.page-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% -10%, rgba(43, 89, 251, .16), transparent 70%),
    radial-gradient(40% 35% at 100% 20%, rgba(14, 165, 233, .1), transparent 60%),
    linear-gradient(180deg, #f8faff 0%, var(--bg) 40%, #eef3ff 100%);
}
.page-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(43, 89, 251, .07) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: .55;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 247, 255, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1120px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background:
    conic-gradient(from 210deg, #2b59fb, #60a5fa, #2b59fb),
    var(--blue);
  position: relative; box-shadow: 0 6px 16px rgba(43, 89, 251, .35);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 9px;
  border: 2.5px solid #fff; border-left-color: transparent; border-radius: 50%;
  transform: rotate(-40deg);
}
.nav-links { display: flex; gap: 18px; margin-left: auto; font-size: .9rem; font-weight: 600; color: var(--hint); }
.nav-links a { color: inherit; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 8px; align-items: center; margin-left: 8px; }
.nav-links + .nav-actions { margin-left: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px 48px; }

/* BUTTONS */
.btn, button.btn, a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 700;
  cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s, opacity .15s;
  -webkit-tap-highlight-color: transparent; text-decoration: none;
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--btn); color: var(--btn-text); box-shadow: 0 10px 28px rgba(43, 89, 251, .28); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:disabled { opacity: .55; cursor: default; }
.btn-tg { background: var(--blue); color: #fff; box-shadow: 0 10px 28px rgba(43, 89, 251, .28); }
.btn-tg::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M21.5 3.5 2.8 10.7c-1.3.5-1.3 1.2-.2 1.5l4.8 1.5 1.8 5.6c.2.7.1.9.9.9.6 0 .8-.3 1.1-.6l2.3-2.2 4.8 3.5c.9.5 1.5.2 1.7-.8L23 5c.3-1.2-.4-1.8-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn-outline {
  background: #fff; color: var(--blue); border: 1.5px solid rgba(43, 89, 251, .28);
  box-shadow: var(--shadow-sm);
}
.btn-ghost { background: transparent; color: var(--hint); border: 1px solid var(--line); }
.btn.lg { padding: 15px 26px; font-size: 1rem; }
.btn.sm { padding: 8px 14px; font-size: .85rem; }
.install {
  border: 0; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: .86rem; font-weight: 700;
  cursor: pointer; background: var(--blue-soft); color: var(--blue); white-space: nowrap;
}
.install:disabled { opacity: .5; }

/* HERO */
.hero { text-align: center; padding: 56px 0 20px; max-width: 780px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; color: #9a3412;
  background: #fff7ed; border: 1px solid #fed7aa;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em;
  margin: 18px 0 14px; font-weight: 800;
}
.hero h1 span { color: var(--blue); }
.lead { color: var(--hint); font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.55; margin: 0 auto; max-width: 620px; }
.hero-cta { display: flex; gap: 10px; justify-content: center; margin: 28px 0 32px; flex-wrap: wrap; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); max-width: 640px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.stats > div { background: var(--surface); padding: 16px 10px; display: grid; gap: 2px; }
.stats b { font-size: 1.15rem; font-weight: 800; }
.stats span { color: var(--hint); font-size: .78rem; font-weight: 600; }

/* APP ICONS MARQUEE */
.apps-strip { margin: 28px 0 8px; text-align: center; }
.strip-title { color: var(--hint); font-weight: 600; margin: 0 0 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-inner {
  display: flex; gap: 14px; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.app-chip {
  flex: 0 0 auto; width: 72px; display: grid; gap: 6px; justify-items: center;
}
.app-chip img, .app-chip .ph {
  width: 56px; height: 56px; border-radius: 14px; object-fit: cover;
  box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--line);
}
.app-chip .ph {
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1.1rem;
}
.app-chip span {
  font-size: .68rem; font-weight: 650; color: var(--hint);
  max-width: 72px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.icon-skel {
  width: 56px; height: 56px; border-radius: 14px; flex: 0 0 auto;
  background: linear-gradient(90deg, #e8eefc, #f7f9ff, #e8eefc); background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.mini-icons { display: flex; }
.mini-icons img, .mini-icons .ph {
  width: 28px; height: 28px; border-radius: 8px; border: 2px solid #fff;
  margin-left: -8px; object-fit: cover; box-shadow: var(--shadow-sm); background: var(--blue);
}
.mini-icons .ph { display: grid; place-items: center; color: #fff; font-size: .65rem; font-weight: 800; }
body:not(.tg) .mini-icons { display: none; }

/* NOTICE */
.notice {
  display: flex; gap: 12px; align-items: flex-start; margin: 22px auto; max-width: 760px;
  padding: 14px 16px; border-radius: 18px; background: var(--warn-soft); border: 1px solid #fde68a;
}
.notice b { display: block; margin-bottom: 4px; }
.notice p { margin: 0; color: var(--hint); font-size: .88rem; line-height: 1.5; }
.notice u { color: var(--text); text-underline-offset: 3px; }
.notice-ico {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; background: var(--warn);
}

/* INSTALLER */
.installer {
  max-width: 760px; margin: 0 auto; padding: 22px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; gap: 16px; scroll-margin-top: 80px;
}
.installer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.installer-head h2 { margin: 0; font-size: 1.4rem; letter-spacing: -.02em; font-weight: 800; }
.sub, .hint { margin: 4px 0 0; color: var(--hint); font-size: .88rem; line-height: 1.45; }
.fineprint { font-size: .76rem; opacity: .9; }
.center { text-align: center; }

.pipeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pipeline li {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px;
  border-radius: 16px; background: #f7f9ff; border: 1px solid var(--line); transition: .2s;
}
.pi-num {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; color: var(--hint); background: #e8eefc;
}
.pi-text { display: grid; min-width: 0; }
.pi-text b { font-size: .9rem; font-weight: 750; }
.pi-text small { color: var(--hint); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipeline li.active { border-color: rgba(43, 89, 251, .35); background: var(--blue-soft); }
.pipeline li.active .pi-num { background: var(--blue); color: #fff; }
.pipeline li.active.busy .pi-num { animation: pulse 1.2s infinite; }
.pipeline li.done { border-color: rgba(13, 159, 110, .3); background: var(--ok-soft); }
.pipeline li.done .pi-num { background: var(--ok); color: #fff; font-size: 0; }
.pipeline li.done .pi-num::before { content: "✓"; font-size: .85rem; }
.pipeline li.error { border-color: rgba(225, 29, 72, .35); }
.pipeline li.error .pi-num { background: var(--danger); color: #fff; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(43, 89, 251, .18); } }
@media (min-width: 720px) {
  .pipeline { grid-auto-flow: column; grid-auto-columns: 1fr; }
}

.card {
  background: #fbfcff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 14px;
}
.login-head { display: flex; gap: 12px; align-items: flex-start; }
.login-head h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.015em; }
.shield {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #60a5fa); position: relative;
}
.shield::after {
  content: ""; position: absolute; inset: 10px 12px; border: 2.5px solid #fff;
  border-radius: 3px 3px 11px 11px;
}
.prep { border-radius: 14px; background: var(--ok-soft); border: 1px solid #bbf7d0; padding: 12px 14px; }
.prep summary { cursor: pointer; font-weight: 750; font-size: .9rem; color: var(--ok); list-style: none; }
.prep summary::-webkit-details-marker { display: none; }
.prep summary::before { content: "▸ "; }
.prep[open] summary::before { content: "▾ "; }
.prep ol { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--hint); font-size: .86rem; line-height: 1.5; }
.prep ol b { color: var(--text); }

.field { display: grid; gap: 6px; font-size: .84rem; color: var(--hint); font-weight: 650; }
input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--text); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 89, 251, .14); }
.privacy-line {
  margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px;
  background: #f1f5ff; color: var(--hint); font-size: .8rem; line-height: 1.5;
}
.lock { flex: 0 0 auto; width: 14px; height: 16px; margin-top: 2px; position: relative; }
.lock::before { content: ""; position: absolute; left: 2px; top: 0; width: 10px; height: 8px; border: 2px solid var(--ok); border-bottom: 0; border-radius: 6px 6px 0 0; box-sizing: border-box; }
.lock::after { content: ""; position: absolute; left: 0; bottom: 0; width: 14px; height: 9px; background: var(--ok); border-radius: 2px; }
.err { color: var(--danger); margin: 0; font-size: .88rem; font-weight: 650; }

/* LIST */
.tabs { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 10px; }
.tab {
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: .9rem; font-weight: 750;
  cursor: pointer; background: #fff; color: var(--hint);
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.tab.active { background: var(--blue-soft); border-color: rgba(43, 89, 251, .35); color: var(--blue); }
.tab-count, .sub-count {
  min-width: 20px; padding: 1px 6px; border-radius: 999px; background: rgba(100, 116, 139, .12);
  color: var(--hint); font-size: .72rem; font-weight: 800;
}
.ghost-tab { font-size: 1.05rem; padding: 9px 13px; min-width: 44px; }
.subtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.subtab {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font: inherit; font-size: .85rem; font-weight: 700;
  cursor: pointer; background: #fff; color: var(--hint);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.subtab.active { border-color: rgba(43, 89, 251, .4); background: var(--blue-soft); color: var(--blue); }
.search-line { display: flex; gap: 8px; margin-bottom: 10px; }
.search-wrap { position: relative; flex: 1; }
.search-line input { padding-left: 38px; padding-right: 34px; }
.search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; opacity: .55; border: 2px solid var(--hint); border-radius: 50%; }
.search-ico::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 7px; height: 2px; background: var(--hint); transform: rotate(45deg); border-radius: 2px; }
.clear-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(100, 116, 139, .15); color: var(--text); cursor: pointer; font: inherit; }
.toolbar { margin-bottom: 10px; }
.sort { display: flex; gap: 6px; margin-top: 8px; }
.sort button { border: 1px solid var(--line); background: #fff; color: var(--hint); border-radius: 999px; padding: 6px 11px; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.sort button.active { background: var(--blue-soft); border-color: rgba(43, 89, 251, .35); color: var(--blue); }
.list { display: grid; gap: 8px; }
@media (min-width: 720px) { .list { grid-template-columns: 1fr 1fr; } }
.row {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 10px 12px; transition: border-color .15s, box-shadow .15s;
}
.row:hover { border-color: rgba(43, 89, 251, .3); box-shadow: var(--shadow-sm); }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: #e8eefc; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: var(--hint); overflow: hidden;
}
.icon img { width: 100%; height: 100%; object-fit: cover; }
.meta { flex: 1; min-width: 0; }
.meta b { display: block; font-size: .94rem; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta span { color: var(--hint); font-size: .78rem; }
.empty { text-align: center; color: var(--hint); padding: 28px 12px; grid-column: 1 / -1; }
.group-apps { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.group-apps summary { cursor: pointer; font-weight: 750; list-style: none; color: var(--text); }
.group-apps summary::-webkit-details-marker { display: none; }
.group-apps .row { border: 0; padding: 8px 0; box-shadow: none; }
.group-apps .row + .row { border-top: 1px solid var(--line); border-radius: 0; }

/* LANDING BLOCKS */
.block { padding: 64px 0 8px; scroll-margin-top: 70px; }
.block-title { font-size: clamp(1.55rem, 3.4vw, 2.2rem); letter-spacing: -.03em; margin: 0 0 8px; text-align: center; font-weight: 800; }
.block-lead { color: var(--hint); text-align: center; margin: 0 auto 28px; max-width: 600px; line-height: 1.5; font-weight: 550; }
/* HOW — двухколоночный блок как у Rebound */
.how-block { padding-top: 72px; }
.how-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.how-copy h2 {
  margin: 0 0 12px; font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -.035em; font-weight: 800; color: #0b1b4d;
}
.how-lead { margin: 0 0 22px; color: var(--hint); font-size: 1.05rem; line-height: 1.55; max-width: 460px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.how-step {
  width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left;
  border: 0; background: transparent; padding: 12px 14px; border-radius: 18px;
  cursor: pointer; font: inherit; color: inherit; transition: .2s;
}
.how-steps li.active .how-step {
  background: #fff; box-shadow: 0 14px 36px rgba(15, 23, 42, .08); border: 1px solid var(--line);
}
.how-num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  background: var(--blue-soft); color: var(--blue);
}
.how-steps li.active .how-num { background: var(--blue); color: #fff; }
.how-step-body { display: grid; gap: 2px; padding-top: 4px; }
.how-step-body b { font-size: 1.05rem; font-weight: 750; color: #0b1b4d; }
.how-step-body small {
  color: var(--hint); font-size: .88rem; line-height: 1.4; display: none;
}
.how-steps li.active .how-step-body small { display: block; }
.how-cta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px;
}
.how-free {
  display: inline-flex; align-items: center; gap: 8px; color: var(--hint);
  font-weight: 650; font-size: .9rem;
}
.how-free i {
  width: 18px; height: 18px; border-radius: 50%; background: var(--ok);
  position: relative; display: inline-block;
}
.how-free i::after {
  content: ""; position: absolute; left: 5px; top: 3px; width: 5px; height: 9px;
  border: 2px solid #fff; border-top: 0; border-left: 0; transform: rotate(40deg);
}
.how-visual {
  position: relative; display: grid; place-items: center; min-height: 520px;
}
.how-halo {
  position: absolute; width: min(460px, 92%); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(43, 89, 251, .22), transparent 58%),
    radial-gradient(circle at 62% 58%, rgba(249, 115, 22, .18), transparent 45%);
  filter: blur(2px);
}
.how-halo::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background-image: radial-gradient(rgba(43, 89, 251, .55) 1.2px, transparent 1.3px);
  background-size: 10px 10px;
  mask-image: radial-gradient(circle, #000 35%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 72%);
  opacity: .55;
}
.how-halo::after {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background-image: radial-gradient(rgba(249, 115, 22, .7) 1.1px, transparent 1.2px);
  background-size: 9px 9px;
  mask-image: radial-gradient(circle at 70% 65%, #000 20%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 70% 65%, #000 20%, transparent 60%);
  opacity: .45;
}
.phone-frame {
  position: relative; z-index: 1; width: min(290px, 72vw);
  filter: drop-shadow(0 28px 50px rgba(15, 23, 42, .22));
}
.phone-shots {
  position: relative; width: 100%; aspect-ratio: 9 / 19.5;
  border-radius: 36px; overflow: hidden; background: #0f172a;
  box-shadow: 0 0 0 10px #0f172a, 0 0 0 12px #1e293b;
}
.how-shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: translateY(12px) scale(.98);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.how-shot.active {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.phone-frame[data-mode="shots"] .phone-bezel { display: none; }
.phone-frame[data-mode="mock"] .phone-shots { display: none; }
.phone-bezel {
  background: #0f172a; border-radius: 40px; padding: 10px;
  border: 2px solid #1e293b;
}
.phone-notch {
  width: 38%; height: 18px; margin: 4px auto 8px; border-radius: 999px; background: #020617;
}
.phone-screen {
  background: #f8faff; border-radius: 30px; overflow: hidden; min-height: 520px;
  display: flex; flex-direction: column;
}
.ps-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px 8px; font-size: .72rem; font-weight: 750; color: #0b1b4d;
}
.ps-brand { display: inline-flex; align-items: center; gap: 6px; }
.ps-brand i {
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #60a5fa); display: inline-block;
}
.ps-pill {
  padding: 3px 8px; border-radius: 999px; background: #e8efff; color: var(--blue); font-size: .65rem;
}
.ps-body { padding: 8px 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ps-banner {
  background: linear-gradient(135deg, #2b59fb, #60a5fa); color: #fff;
  border-radius: 16px; padding: 14px; font-weight: 800; font-size: .95rem;
}
.ps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.ps-grid img, .ps-grid .ph {
  width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; background: #e2e8f0;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .75rem;
}
.ps-bar {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  background: #0f172a; color: #fff; border-radius: 999px; padding: 10px 12px; font-size: .78rem; font-weight: 700;
}
.ps-bar b {
  background: var(--blue); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: .75rem;
}
.ps-login, .ps-prep, .ps-ready { display: grid; gap: 10px; }
.ps-field {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; color: var(--hint); font-size: .8rem;
}
.ps-btn {
  display: grid; place-items: center; background: var(--blue); color: #fff;
  border-radius: 12px; padding: 11px; font-weight: 750; font-size: .85rem;
}
.ps-app { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px; border: 1px solid var(--line); }
.ps-ico {
  width: 42px; height: 42px; border-radius: 10px; background: #ffdd2d; color: #111;
  display: grid; place-items: center; font-weight: 900;
}
.ps-ico.green { background: #21a038; color: #fff; }
.ps-app b { display: block; font-size: .88rem; }
.ps-app small { color: var(--hint); font-size: .72rem; }
.ps-app small.ok { color: var(--ok); font-weight: 700; }
.ps-progress {
  height: 8px; border-radius: 999px; background: #e8efff; overflow: hidden;
}
.ps-progress i {
  display: block; height: 100%; width: 62%; border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  animation: grow 1.6s ease-in-out infinite alternate;
}
@keyframes grow { from { width: 35%; } to { width: 88%; } }
.ps-ready ol { margin: 0; padding-left: 18px; color: var(--hint); font-size: .75rem; display: grid; gap: 4px; }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 28px; }
  .how-visual { order: -1; min-height: 420px; }
  .phone-frame { width: min(260px, 62vw); }
}
.grid3 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  box-shadow: var(--shadow-sm);
}
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--hint); font-size: .9rem; line-height: 1.55; }

/* SAFETY — intro + 3 cards (свой визуал, не pixel-art) */
.safety-block {
  margin: 24px 0 8px;
  padding: 48px 28px 40px;
  border-radius: 32px;
  background:
    radial-gradient(80% 60% at 12% 0%, rgba(59, 130, 246, .12), transparent 55%),
    linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
  border: 1px solid rgba(43, 89, 251, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.safety-intro {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 28px 40px;
  align-items: center;
  margin-bottom: 28px;
}
.safety-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
}
.sv-ring {
  position: absolute;
  width: 150px; height: 150px; border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(43, 89, 251, .18), transparent 55%, rgba(14, 165, 233, .2));
  filter: blur(1px);
  animation: sv-spin 14s linear infinite;
}
@keyframes sv-spin { to { transform: rotate(360deg); } }
.sv-shield {
  position: relative; z-index: 1;
  filter: drop-shadow(0 18px 28px rgba(29, 78, 216, .28));
}
.sv-badge {
  position: absolute; top: 8px; right: 18%;
  z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: #0f172a; color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .2);
}
.safety-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  letter-spacing: -.035em; font-weight: 800; line-height: 1.15;
  text-align: left;
}
.safety-copy p {
  margin: 0 0 14px; color: var(--hint); font-size: 1.02rem;
  line-height: 1.55; max-width: 520px; font-weight: 550;
}
.safety-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 750; font-size: .95rem; color: var(--blue);
}
.safety-more:hover { text-decoration: underline; }

.safety-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.safety-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 24px;
  padding: 18px 18px 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
  display: grid; gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.safety-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(43, 89, 251, .1);
}
.safety-card h3 { margin: 0; font-size: 1.08rem; letter-spacing: -.02em; }
.safety-card p { margin: 0; color: var(--hint); font-size: .9rem; line-height: 1.5; }

.sc-art {
  height: 92px;
  border-radius: 18px;
  background: linear-gradient(160deg, #f1f5ff 0%, #e8f0ff 100%);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  overflow: hidden; position: relative;
}
.sc-dots {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .95rem; font-weight: 700; letter-spacing: .12em;
  padding: 8px 12px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); color: #334155;
  box-shadow: var(--shadow-sm);
}
.sc-arrow { color: var(--blue); font-weight: 800; font-size: 1.1rem; }
.sc-chip {
  padding: 8px 12px; border-radius: 12px;
  background: linear-gradient(135deg, #2b59fb, #60a5fa);
  color: #fff; font-size: .72rem; font-weight: 800;
  box-shadow: 0 10px 20px rgba(43, 89, 251, .25);
}
.sc-art-zero { gap: 14px; }
.sc-zero {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  color: #fff; font-size: 1.8rem; font-weight: 800;
  box-shadow: 0 12px 24px rgba(37, 99, 235, .3);
}
.sc-zero-label {
  font-size: .78rem; font-weight: 700; color: #334155; line-height: 1.25;
}
.sc-dl {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line);
  font-weight: 800; color: var(--blue); font-size: 1.1rem;
}
.sc-app {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 14px;
  background: #0f172a; color: #fff; font-weight: 800; font-size: .85rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .2);
}
.sc-app i {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok); color: #fff;
  display: grid; place-items: center;
  font-style: normal; font-size: .65rem; font-weight: 900;
}

@media (max-width: 900px) {
  .safety-intro { grid-template-columns: 1fr; text-align: left; gap: 16px; }
  .safety-visual { min-height: 140px; justify-self: start; }
  .safety-cards { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1040px) {
  .safety-cards { grid-template-columns: 1fr 1fr; }
  .safety-card:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
}

/* PROMO — сторис = бесплатная установка */
.promo-block { scroll-margin-top: 70px; }
.promo-card {
  display: grid;
  grid-template-columns: 1.35fr minmax(180px, 280px);
  gap: 28px 36px;
  align-items: center;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(43, 89, 251, .14), transparent 55%),
    linear-gradient(145deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
  color: #e2e8f0;
  border-radius: 32px;
  padding: 32px 30px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, .22);
}
.promo-pill {
  display: inline-flex; width: fit-content;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.promo-copy h2 {
  margin: 12px 0 10px; color: #fff;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  letter-spacing: -.035em; line-height: 1.15;
}
.promo-copy > p {
  margin: 0 0 18px; color: #cbd5e1; line-height: 1.55; font-weight: 550; max-width: 540px;
}
.promo-brief {
  margin: 0 0 18px; padding: 14px 16px;
  border-radius: 16px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
}
.promo-brief h3 {
  margin: 0 0 10px; color: #fff; font-size: .95rem; font-weight: 750;
}
.promo-brief ul {
  margin: 0; padding-left: 18px; display: grid; gap: 7px;
  color: #cbd5e1; font-size: .86rem; line-height: 1.45;
}
.promo-brief b { color: #fff; font-weight: 700; }
.promo-steps {
  margin: 0 0 16px; padding: 0; list-style: none;
  display: grid; gap: 12px; counter-reset: promo-step;
}
.promo-steps li {
  display: grid; gap: 4px; padding-left: 44px; position: relative;
  counter-increment: promo-step;
}
.promo-steps li::before {
  content: counter(promo-step);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 10px;
  background: rgba(255, 255, 255, .14); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.promo-steps b { color: #fff; font-size: .98rem; }
.promo-steps span { color: #94a3b8; font-size: .86rem; line-height: 1.45; }
.promo-rules {
  margin: 0 0 18px; padding-left: 18px;
  color: #94a3b8; font-size: .8rem; display: grid; gap: 4px; line-height: 1.4;
}
.promo-paths {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0 0 16px;
}
.promo-path {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px; padding: 14px;
  display: grid; gap: 10px; align-content: start;
}
.promo-path h3 { margin: 0; color: #fff; font-size: 1rem; }
.promo-path p { margin: 0; color: #cbd5e1; font-size: .82rem; line-height: 1.4; }
.promo-mention { color: #93c5fd !important; font-size: .78rem !important; }
.promo-field {
  display: grid; gap: 4px; color: #e2e8f0; font-size: .75rem; font-weight: 650;
}
.promo-field input {
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px;
  background: rgba(15, 23, 42, .35); color: #fff; padding: 8px 10px; font: inherit;
}
.promo-status {
  margin: 0 0 14px; padding: 10px 12px; border-radius: 12px;
  background: rgba(16, 185, 129, .15); color: #a7f3d0; font-size: .88rem; font-weight: 650;
}
.promo-status.err { background: rgba(244, 63, 94, .15); color: #fecdd3; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.promo-copy .btn-primary { box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.promo-btn-light {
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .28) !important;
}
.promo-btn-light:hover { background: rgba(255, 255, 255, .2) !important; }
.promo-visual { display: flex; justify-content: center; }
.promo-phone {
  width: min(220px, 70vw);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px; padding: 14px;
  backdrop-filter: blur(8px);
}
.promo-story {
  background: #fff; color: var(--text); border-radius: 20px;
  padding: 16px; min-height: 280px; display: grid; align-content: space-between;
}
.ps-ring {
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, #2b59fb, #60a5fa 40%, #e2e8f0 40%);
}
.ps-body { display: grid; gap: 8px; padding-top: 20px; }
.ps-body b { font-size: 1.1rem; letter-spacing: -.02em; }
.ps-body small { color: var(--hint); font-size: .82rem; line-height: 1.35; }
.ps-shots {
  margin: 8px 0 0; padding-left: 16px; color: var(--hint);
  font-size: .78rem; display: grid; gap: 4px;
}
.ps-free {
  margin-top: 14px; justify-self: start;
  padding: 8px 12px; border-radius: 999px;
  background: #ecfdf5; color: #047857; font-weight: 800; font-size: .78rem;
}
@media (max-width: 800px) {
  .promo-card { grid-template-columns: 1fr; padding: 24px 18px; }
  .promo-visual { order: -1; }
}

/* PARTNERS — рефералки карта / VPN */
.partners-block { scroll-margin-top: 70px; }
.partners-head { max-width: 720px; margin: 0 auto 24px; text-align: center; }
.partners-head h2 {
  margin: 0 0 10px; font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  letter-spacing: -.035em; font-weight: 800;
}
.partners-head p { margin: 0; color: var(--hint); line-height: 1.55; font-weight: 550; }
.partners-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.partner-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 22px; box-shadow: var(--shadow-sm);
  display: grid; gap: 12px; align-content: start;
}
.partner-top { display: grid; gap: 8px; }
.partner-badge {
  display: inline-flex; width: fit-content;
  padding: 4px 10px; border-radius: 999px;
  background: #ecfdf5; color: #047857;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.partner-badge.vpn { background: var(--blue-soft); color: var(--blue); }
.partner-card h3 { margin: 0; font-size: 1.12rem; letter-spacing: -.02em; }
.partner-card > p { margin: 0; color: var(--hint); font-size: .9rem; line-height: 1.5; }
.partner-perks {
  margin: 0; padding-left: 18px; color: var(--hint);
  display: grid; gap: 6px; font-size: .86rem; line-height: 1.4;
}
.partner-card .btn { justify-self: start; margin-top: 4px; }
.partners-note {
  margin: 16px 0 0; text-align: center; color: var(--hint);
  font-size: .78rem; line-height: 1.45; max-width: 640px; margin-left: auto; margin-right: auto;
}

/* HELP — если приложение не запускается */
.help-block { scroll-margin-top: 70px; }
.help-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 36px 48px;
  align-items: center;
  background:
    radial-gradient(70% 50% at 90% 0%, rgba(43, 89, 251, .1), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f3f7ff 100%);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.help-phone { display: flex; justify-content: center; }
.help-phone-frame {
  width: min(280px, 78vw);
  background: #0f172a;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 28px 50px rgba(15, 23, 42, .22), 0 0 0 1px #1e293b;
}
.help-phone-screen {
  background: linear-gradient(180deg, #e8efff 0%, #f8faff 40%, #fff 100%);
  border-radius: 28px;
  min-height: 460px;
  padding: 14px 12px 16px;
  position: relative;
  overflow: hidden;
}
.hp-bar {
  display: flex; gap: 5px; justify-content: center; margin-bottom: 14px; opacity: .35;
}
.hp-bar span { width: 6px; height: 6px; border-radius: 50%; background: #64748b; }
.hp-sheet {
  background: #fff;
  border-radius: 22px;
  padding: 16px 14px 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
  border: 1px solid var(--line);
  display: grid; gap: 10px;
}
.hp-title { margin: 0; font-size: 1.05rem; letter-spacing: -.02em; }
.hp-lead { margin: 0; color: var(--hint); font-size: .78rem; line-height: 1.45; font-weight: 550; }
.hp-builds { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.hp-build {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 8px; align-items: center;
  padding: 10px; border-radius: 14px;
  border: 1px solid var(--line); background: #f8faff;
}
.hp-build.on {
  border-color: rgba(43, 89, 251, .45);
  background: #eef3ff;
  box-shadow: 0 0 0 2px rgba(43, 89, 251, .12);
}
.hp-build.dim { opacity: .55; }
.hp-ico {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .85rem;
}
.hp-ico-a { background: linear-gradient(135deg, #ef4444, #f97316); }
.hp-ico-b { background: linear-gradient(135deg, #2b59fb, #60a5fa); }
.hp-ico-c { background: linear-gradient(135deg, #64748b, #94a3b8); }
.hp-meta b { display: block; font-size: .82rem; letter-spacing: -.01em; }
.hp-meta small { color: var(--hint); font-size: .68rem; }
.hp-tag {
  font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  padding: 4px 6px; border-radius: 8px; max-width: 72px; text-align: center; line-height: 1.2;
}
.hp-tag.warn { background: #fff1f2; color: #be123c; }
.hp-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: .7rem; font-weight: 900;
}
.hp-cta {
  margin-top: 4px; text-align: center;
  background: var(--blue); color: #fff;
  border-radius: 14px; padding: 12px;
  font-weight: 750; font-size: .88rem;
}

.help-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  letter-spacing: -.035em; font-weight: 800; line-height: 1.15;
}
.help-lead {
  margin: 0 0 22px; color: var(--hint); font-size: 1.02rem;
  line-height: 1.55; font-weight: 550; max-width: 520px;
}
.help-list {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: grid; gap: 14px;
}
.help-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start;
}
.hl-ico {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
  font-weight: 800; font-size: 1.05rem;
}
.hl-ico-chat {
  position: relative;
}
.hl-ico-chat::before,
.hl-ico-chat::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 5px;
}
.hl-ico-chat::before {
  width: 18px; height: 14px; top: 12px; left: 10px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 62% 70%, 42% 100%, 42% 70%, 0 70%);
}
.hl-ico-chat::after {
  width: 14px; height: 11px; top: 16px; left: 20px; opacity: .45;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 70%, 55% 100%, 55% 70%, 0 70%);
}
.help-list b { display: block; margin-bottom: 4px; font-size: 1.02rem; }
.help-list p { margin: 0; color: var(--hint); font-size: .9rem; line-height: 1.5; }
.help-copy .btn { margin-top: 4px; }

@media (max-width: 900px) {
  .help-grid { grid-template-columns: 1fr; padding: 24px 18px; gap: 24px; }
  .help-phone { order: -1; }
  .help-phone-frame { width: min(260px, 70vw); }
  .help-phone-screen { min-height: 420px; }
}

/* SHARED — нет в покупках / чужой Apple ID */
.shared-block { scroll-margin-top: 70px; }
.shared-head {
  max-width: 760px; margin: 0 auto 28px; text-align: center;
}
.shared-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  letter-spacing: -.035em; font-weight: 800; line-height: 1.2;
}
.shared-head p {
  margin: 0; color: var(--hint); font-size: 1.02rem; line-height: 1.55; font-weight: 550;
}
.shared-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
}
.shared-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.shared-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.shared-card p { margin: 0; color: var(--hint); font-size: .9rem; line-height: 1.5; }
.shared-card.warn { border-color: rgba(190, 18, 60, .18); background: linear-gradient(180deg, #fff 0%, #fff7f8 100%); }
.shared-card.warn h3 { color: #9f1239; }
.shared-card.ok { border-color: rgba(13, 159, 110, .22); background: linear-gradient(180deg, #fff 0%, #f3fcf8 100%); }
.shared-card.ok h3 { color: #047857; }

.shared-guide {
  background:
    radial-gradient(60% 40% at 0% 0%, rgba(43, 89, 251, .08), transparent 50%),
    #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
}
.shared-guide > h3 {
  margin: 0 0 18px; font-size: 1.25rem; letter-spacing: -.02em;
}
.shared-steps {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 16px; counter-reset: shared-step;
}
.shared-steps li {
  position: relative;
  padding: 16px 16px 16px 64px;
  border-radius: 18px;
  background: #f7f9ff;
  border: 1px solid rgba(43, 89, 251, .08);
  counter-increment: shared-step;
}
.shared-steps li::before {
  content: counter(shared-step);
  position: absolute; left: 14px; top: 16px;
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(145deg, #2b59fb, #1d4ed8);
  color: #fff; font-weight: 800; font-size: .95rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(43, 89, 251, .28);
}
.shared-steps b { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.shared-steps p { margin: 0; color: var(--hint); font-size: .9rem; line-height: 1.55; }
.shared-tips {
  margin-top: 22px; padding: 18px 20px;
  border-radius: 18px; background: #0f172a; color: #e2e8f0;
}
.shared-tips h4 { margin: 0 0 10px; color: #fff; font-size: 1rem; }
.shared-tips ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.shared-tips li { font-size: .88rem; line-height: 1.5; color: #cbd5e1; }
.notice a { font-weight: 750; }

@media (max-width: 720px) {
  .shared-grid { grid-template-columns: 1fr; }
  .shared-guide { padding: 20px 14px 22px; }
  .shared-steps li { padding: 14px 14px 14px 58px; }
}

.price-card {
  max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 28px; display: grid; gap: 18px; box-shadow: var(--shadow);
  grid-template-columns: 1.2fr 1fr; align-items: center;
}
.price-label { margin: 0; color: var(--hint); font-weight: 650; }
.price-value { margin: 4px 0 8px; font-size: 1.1rem; }
.price-value b { font-size: 3rem; letter-spacing: -.04em; color: var(--blue); }
.price-perks { margin: 0; padding-left: 18px; color: var(--hint); display: grid; gap: 8px; font-size: .9rem; }
.price-perks-wide { max-width: 720px; margin: 18px auto 0; }
.price-card .btn { grid-column: 1 / -1; justify-self: start; }

.price-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
  margin: 0 auto;
}
.pkg {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 8px;
  align-content: start;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pkg:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(43, 89, 251, .12);
  border-color: rgba(43, 89, 251, .28);
}
.pkg.featured {
  border-color: rgba(43, 89, 251, .45);
  background: linear-gradient(180deg, #f7f9ff 0%, #fff 55%);
  box-shadow: 0 14px 36px rgba(43, 89, 251, .14);
}
.pkg-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 8px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font-size: .68rem; font-weight: 800; letter-spacing: .02em;
}
.pkg.featured .pkg-badge { background: var(--blue); color: #fff; }
.pkg-qty { margin: 0; color: var(--hint); font-weight: 650; font-size: .88rem; }
.pkg-price { margin: 0; font-size: 1.85rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.pkg-price span { font-size: .95rem; font-weight: 700; color: var(--hint); }
.pkg-per { margin: 0; color: var(--blue); font-weight: 750; font-size: .9rem; }
.pkg-save { margin: 0; color: var(--ok); font-size: .78rem; font-weight: 700; min-height: 1.1em; }
.pkg .btn { margin-top: 8px; width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .price-grid { grid-template-columns: 1fr; }
}

.proof-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.proof {
  display: grid; gap: 4px; padding: 18px 20px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; transition: .15s;
}
.proof:hover { border-color: rgba(43, 89, 251, .35); transform: translateY(-2px); }
.proof b::after { content: " →"; color: var(--blue); }
.proof span { color: var(--hint); font-size: .86rem; }

.faq {
  max-width: 760px; margin: 0 auto 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-sm);
}
.faq summary { cursor: pointer; font-weight: 750; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--hint); margin: 10px 0 0; line-height: 1.55; font-size: .9rem; }
.foot { text-align: center; color: var(--hint); font-size: .78rem; padding: 40px 0 10px; }

/* SHEET / TOAST */
.sheet {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: grid; align-items: end;
  z-index: 30; padding: 12px; backdrop-filter: blur(4px);
}
@media (min-width: 720px) { .sheet { align-items: center; } }
.sheet-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px;
  display: grid; gap: 12px; max-width: 480px; width: 100%; margin: 0 auto; max-height: 92vh; overflow-y: auto;
  box-shadow: var(--shadow);
}
#legacyActions, #paymentBlock { display: grid; gap: 10px; }
.sheet-head { display: flex; align-items: center; gap: 12px; }
.sheet-head h2 { margin: 0; font-size: 1.15rem; }
.sheet-icon {
  width: 56px; height: 56px; border-radius: 14px; flex: 0 0 auto; background: #e8eefc;
  display: grid; place-items: center; overflow: hidden; font-size: 1.4rem; font-weight: 800; color: var(--hint);
}
.sheet-icon img { width: 100%; height: 100%; object-fit: cover; }
.price-row {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 14px;
  border-radius: 14px; background: #f7f9ff; font-size: .92rem; font-weight: 650;
}
.price-row b { font-size: 1.15rem; color: var(--blue); }
.toast {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 14px; font-size: .9rem; font-weight: 650;
  max-width: min(92vw, 420px); z-index: 40; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); text-align: center;
}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .price-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 36px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .installer { padding: 16px; border-radius: 22px; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; }
  * { animation: none !important; transition: none !important; }
}
