/* SpyMeLive: лендинг и текстовые страницы. */
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 40px); }

/* Фон: два мягких пятна света */
body.v-landing, body.v-doc {
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(255, 106, 77, .17), transparent 60%),
    radial-gradient(800px 520px at -6% 8%, rgba(45, 212, 191, .13), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

/* Шапка */
.site-h { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top); transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.site-h.scrolled, body.nav-open .site-h { background: rgba(12, 14, 23, .78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.h-in { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.h-r { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); position: relative; }
.burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(112px, 16vh, 168px) 0 clamp(56px, 9vh, 104px); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 26px; flex-wrap: wrap; }
.kick-sep { opacity: .5; }
#online-txt { color: var(--teal); }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lead { margin-top: 24px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 32em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.fine { margin-top: 16px; color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.chips .ic { color: var(--amber); width: 17px; height: 17px; }

/* Иллюстрация героя: только CSS, без картинок */
.stage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 560px; margin-inline: auto; }
.tile { position: absolute; border-radius: 30px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.tile .glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 30%, rgba(255, 255, 255, .22), transparent 70%); }
.tile .hd { position: absolute; left: 50%; top: 24%; width: 30%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; }
.tile .bd { position: absolute; left: 50%; bottom: -8%; width: 68%; height: 46%; transform: translateX(-50%); border-radius: 50% 50% 0 0 / 60% 60% 0 0; }
.tile-a { left: 0; top: 4%; width: 62%; height: 72%; transform: rotate(-4deg); background: linear-gradient(165deg, #2b2147 0%, #4d2a45 55%, #7a3b3d 100%); animation: floatA 7s ease-in-out infinite; }
.tile-a .hd { background: linear-gradient(160deg, #ffd7c0, #f0a087); }
.tile-a .bd { background: linear-gradient(180deg, #ff6a4d, #c8472f); }
.tile-b { right: 0; bottom: 4%; width: 58%; height: 62%; transform: rotate(3deg); background: linear-gradient(165deg, #12303a 0%, #17475a 55%, #1d6b73 100%); animation: floatB 8s ease-in-out infinite; }
.tile-b .hd { background: linear-gradient(160deg, #e8dcff, #b9a6f0); top: 27%; }
.tile-b .bd { background: linear-gradient(180deg, #2dd4bf, #16988a); }
.live { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); animation: pulse 1.6s infinite; }
.bubble { position: absolute; padding: 11px 16px; border-radius: 20px; font-size: 15px; font-weight: 600; background: rgba(21, 25, 48, .82); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .8); }
.bub-1 { left: 30%; top: 2%; border-bottom-left-radius: 6px; animation: bob 6s ease-in-out infinite; }
.bub-2 { right: 2%; top: 46%; background: var(--grad); color: #21120c; border-color: transparent; border-bottom-right-radius: 6px; animation: bob 7s ease-in-out infinite; }
.dock-mock { position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%); display: flex; gap: 10px; padding: 10px; border-radius: 999px; background: rgba(21, 25, 48, .88); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dock-mock span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; height: 46px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 700; font-size: 14px; }
.dock-mock .next { padding: 0 20px; background: var(--grad); color: #21120c; }
@keyframes floatA { 50% { transform: rotate(-4deg) translateY(-10px); } }
@keyframes floatB { 50% { transform: rotate(3deg) translateY(-9px); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Секции */
.sec { padding: clamp(64px, 10vw, 120px) 0; }
.sec-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01)); border-block: 1px solid var(--line); }
.sec-h { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.sec-h h2, .prem h2, .safe-h h2, .cta-band h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.sec-h p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 30px 28px 32px; border-radius: var(--r-lg); background: var(--surf); border: 1px solid var(--line); overflow: hidden; }
.step-n { position: absolute; right: 22px; top: 8px; font-size: 92px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .1); }
.step-ic, .card-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 184, 77, .12); color: var(--amber); margin-bottom: 22px; }
.step-ic .ic, .card-ic .ic { width: 26px; height: 26px; }
.step h3, .card h3, .safe-list h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.step p, .card p, .safe-list p { margin-top: 10px; color: var(--muted); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { padding: 30px 28px; border-radius: var(--r-lg); background: var(--surf); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.b1 { grid-column: span 7; background: linear-gradient(140deg, rgba(255, 106, 77, .16), var(--surf) 60%); }
.b2 { grid-column: span 5; }
.b3, .b4, .b5 { grid-column: span 4; }
.b6 { grid-column: span 12; background: linear-gradient(140deg, rgba(45, 212, 191, .13), var(--surf) 60%); }
.b2 .card-ic, .b4 .card-ic { background: rgba(45, 212, 191, .12); color: var(--teal); }

/* Premium */
.prem { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 36px; background: radial-gradient(600px 300px at 100% 0, rgba(255, 106, 77, .22), transparent 60%), var(--surf); border: 1px solid var(--line-2); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 184, 77, .14); color: var(--amber); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.badge .ic { width: 16px; height: 16px; }
.prem p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.prem-list { display: grid; gap: 10px; }
.prem-list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px dashed var(--line-2); font-weight: 600; }
.prem-list .lk { color: var(--amber); width: 20px; height: 20px; }

/* Безопасность */
.safe { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.safe-h p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 26em; }
.shield { display: none; margin-top: 36px; width: 120px; height: 120px; border-radius: 34px; align-items: center; justify-content: center; background: rgba(45, 212, 191, .12); color: var(--teal); }
.shield .ic { width: 60px; height: 60px; }
.safe-list { display: grid; gap: 14px; }
.safe-list li { display: flex; gap: 18px; padding: 24px; border-radius: var(--r-md); background: var(--surf); border: 1px solid var(--line); }
.safe-list .card-ic { margin: 0; background: rgba(45, 212, 191, .12); color: var(--teal); }
.safe-list p { margin-top: 6px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-i { border-radius: var(--r-md); background: var(--surf); border: 1px solid var(--line); transition: border-color .2s; }
.faq-i[open] { border-color: var(--line-2); }
.faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 18px; letter-spacing: -.01em; list-style: none; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary .ic { color: var(--muted); transition: transform .25s var(--ease); }
.faq-i[open] summary .ic { transform: rotate(180deg); color: var(--amber); }
.faq-i p { padding: 0 24px 22px; color: var(--muted); }

/* Финальный призыв */
.cta-sec { padding-top: 0; }
.cta-band { text-align: center; padding: clamp(40px, 7vw, 88px) 24px; border-radius: 40px; background: radial-gradient(500px 260px at 50% 0, rgba(255, 106, 77, .32), transparent 70%), radial-gradient(500px 260px at 50% 120%, rgba(45, 212, 191, .22), transparent 70%), var(--surf); border: 1px solid var(--line-2); }
.cta-band p { margin: 14px 0 32px; color: var(--muted); font-size: 18px; }

/* Подвал */
.site-f { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.f-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.f-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.f-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.f-links a:hover { color: var(--text); }
.f-note { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 28px; padding: 0 8px; border-radius: 999px; border: 1.5px solid var(--coral); color: var(--coral); font-weight: 800; font-size: 13px; }
.f-copy { width: 100%; color: var(--muted); font-size: 13px; opacity: .8; }

/* Текстовые страницы */
.doc { padding: clamp(112px, 14vh, 150px) 0 clamp(56px, 8vw, 96px); min-height: 70vh; }
.doc h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 28px; }
.doc-body { color: #d5d8e6; font-size: 17px; }
.doc-body .tfc-lead { font-size: 21px; color: var(--text); margin-bottom: 8px; }
.doc-body h2 { margin: 40px 0 12px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.doc-body p { margin-top: 12px; }
.doc-body ul { margin: 12px 0 0; display: grid; gap: 8px; }
.doc-body li { position: relative; padding-left: 26px; }
.doc-body li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.doc-body a { color: var(--teal); text-underline-offset: 3px; }
.doc-body strong { color: var(--text); }

/* Появление при прокрутке (без JS всё видно) */
.js-reveal .step, .js-reveal .card, .js-reveal .safe-list li, .js-reveal .prem, .js-reveal .faq-i, .js-reveal .cta-band { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s; }
.js-reveal .in { opacity: 1 !important; transform: none !important; }

/* Планшет и телефон */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; }
  .stage { max-width: 460px; margin-top: 12px; }
  .safe, .prem { grid-template-columns: 1fr; }
  .shield { display: inline-flex; }
}
@media (max-width: 900px) {
  .burger { display: inline-block; }
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 4px; padding: 14px 20px 22px; background: rgba(12, 14, 23, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .2s; padding-top: calc(14px + env(safe-area-inset-top) * 0); }
  .nav a { font-size: 18px; padding: 14px 16px; }
  body.nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .steps { grid-template-columns: 1fr; }
  .b1, .b2, .b3, .b4, .b5, .b6 { grid-column: span 12; }
  .bento .card { padding: 26px 24px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .h-in { height: 62px; }
  .nav { inset: 62px 0 auto 0; }
  .h-r .btn-sm { display: none; }
  .lang select { height: 38px; }
  .btn-lg { width: 100%; }
  .cta-row { flex-direction: column; }
  .stage { max-width: 100%; }
  .dock-mock span { min-width: 40px; height: 40px; }
  .bubble { font-size: 13px; padding: 9px 13px; }
  .faq-i summary { font-size: 16px; padding: 18px; }
  .faq-i p { padding: 0 18px 18px; }
  .f-in { flex-direction: column; align-items: flex-start; }
}
