/* UY Community — сайт. Чёрно-белый, стекло и хром, как баннеры бота и приватки. */
:root {
  --bg: #050505;
  --bg2: #0b0b0c;
  --fg: #f3f3f3;
  --muted: #8d8d8d;
  --dim: #5a5a5a;
  --line: rgba(255, 255, 255, .10);
  --line2: rgba(255, 255, 255, .18);
  --glass: rgba(255, 255, 255, .045);
  --glass2: rgba(255, 255, 255, .08);
  --r: 22px;
  --display: "Unbounded", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --pad: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .07; mix-blend-mode: overlay; }

/* ---------- навигация ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 40; width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px 9px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 10, 10, .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--display); letter-spacing: .06em; }
.brand img { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line2); }
.nav .links { display: flex; gap: 4px; }
.nav .links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #cfcfcf; transition: background .2s; }
.nav .links a:hover { background: var(--glass2); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  font: 600 15px/1 var(--body); border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.white { background: #f4f4f4; color: #000; box-shadow: 0 0 30px rgba(255, 255, 255, .18); }
.btn.white:hover { background: #fff; box-shadow: 0 0 44px rgba(255, 255, 255, .3); }
.btn.glass { background: var(--glass); border-color: var(--line2); color: #eee; backdrop-filter: blur(10px); }
.btn.glass:hover { background: var(--glass2); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 760px) { .nav .links { display: none; } }

/* ---------- первый экран: волна (Agent Wave) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
#wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.hero .inner { position: relative; z-index: 2; text-align: center; padding: 0 var(--pad) clamp(28px, 6vh, 64px); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2);
  background: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); font: 500 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #cfcfcf; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.hero h1 { margin: 22px 0 10px; font: 700 clamp(34px, 8.6vw, 128px)/.95 var(--display); letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(180deg, #fff 0%, #f0f0f0 40%, #9a9a9a 62%, #e9e9e9 82%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(255, 255, 255, .22)); }
.hero p.lead { margin: 0 auto; max-width: 640px; font-size: clamp(17px, 2.2vw, 22px); color: #d0d0d0; }
.hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: clamp(28px, 6vh, 56px) auto 0;
  width: min(1180px, calc(100% - 2 * var(--pad))); border-top: 1px solid var(--line); }
.stats div { padding: 16px 6px 0; text-align: center; font-size: 13px; color: var(--muted); }
.stats b { display: block; font: 600 20px/1.2 var(--display); color: #fff; margin-bottom: 4px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 14px; } }

/* ---------- секции ---------- */
section.s { position: relative; padding: clamp(72px, 12vh, 140px) 0; }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--muted); }
h2 { margin: 0 0 16px; font: 600 clamp(30px, 5vw, 56px)/1.05 var(--display); letter-spacing: -.03em; }
.sub { color: var(--muted); max-width: 620px; font-size: 18px; margin: 0; }

/* ---------- что внутри: свет + стеклянные карточки (Wealthcore) ---------- */
.inside { overflow: hidden; }
.inside .light { position: absolute; width: 900px; height: 900px; border-radius: 50%; left: 50%; top: 40%; translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .05) 35%, transparent 65%); filter: blur(30px);
  animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { 0% { transform: translate(-30%, -10%) scale(.9); } 50% { transform: translate(25%, 8%) scale(1.15); } 100% { transform: translate(-5%, 18%) scale(1); } }
.bento { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.card { position: relative; padding: 22px 20px 24px; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 20px 50px rgba(0, 0, 0, .45); display: flex; flex-direction: column; min-height: 230px; }
/* свет за курсором */
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 0%), rgba(255, 255, 255, .14), transparent 60%); }
.card:hover::before { opacity: 1; }
/* блик, который волной проходит по карточкам */
.card::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .10), transparent); transform: skewX(-12deg);
  animation: sheen 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .22s + 1.2s); }
@keyframes sheen { 0% { left: -60%; } 22%, 100% { left: 130%; } }
.card .no { font: 500 12px/1 var(--mono); color: var(--dim); letter-spacing: .1em; }
.card .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line2); margin: 18px 0 0;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04) 70%); box-shadow: 0 0 24px rgba(255, 255, 255, .06); transition: transform .4s, box-shadow .4s; }
.card:hover .ic { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 34px rgba(255, 255, 255, .18); }
.card .ic svg { width: 21px; height: 21px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 26px 0 6px; font: 600 17px/1.25 var(--display); letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.bento .card { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 40px)) rotate(var(--rot, 0deg)) scale(.94);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1), border-color .4s; transition-delay: var(--d, 0s); }
.bento.in .card { opacity: 1; transform: none; }
.bento.in .card:hover { border-color: var(--line2); }
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, 1fr); } .card { min-height: 0; } }
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; gap: 10px; }
  .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 16px 18px; align-items: center; }
  .card .no { position: absolute; right: 16px; top: 14px; }
  .card .ic { grid-row: span 2; margin: 0; }
  .card h3 { margin: 0 0 3px; font-size: 16px; padding-right: 28px; }
}

/* ---------- разделы ---------- */
.groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.group { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); }
.group h4 { margin: 0 0 12px; font: 600 14px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #cfcfcf; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: #d6d6d6; background: rgba(255, 255, 255, .03); }
.group.total { display: flex; flex-direction: column; justify-content: center; gap: 6px; background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.02)); }
.group.total b { font: 700 54px/1 var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #8f8f8f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.group.total span { color: var(--muted); font-size: 14px; }
@media (max-width: 1000px) { .groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .groups { grid-template-columns: 1fr; } }

/* ---------- как это выглядит: форум Telegram ---------- */
.look { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.look .facts { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.look .facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.look .facts b { color: #fff; font-weight: 500; text-align: right; }
.phone { position: relative; width: min(400px, 100%); justify-self: center; border-radius: 34px; padding: 14px 12px 12px; border: 1px solid var(--line2);
  background: linear-gradient(170deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 120px rgba(255, 255, 255, .06), 0 40px 90px rgba(0, 0, 0, .6); }
.ph-head { display: flex; align-items: center; gap: 12px; padding: 8px 10px 14px; border-bottom: 1px solid var(--line); }
.ph-head img { width: 40px; height: 40px; border-radius: 50%; }
.ph-head b { display: block; font: 600 15px/1.2 var(--display); }
.ph-head small { color: var(--muted); font-size: 12.5px; }
.ph-list { position: relative; height: 448px; overflow: hidden; margin-top: 6px; }
.ph-row { position: absolute; left: 0; right: 0; top: 0; height: 64px; display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 0 10px;
  border-radius: 14px; transition: transform .7s cubic-bezier(.2, .7, .2, 1), background .8s, opacity .6s; }
.ph-row .em { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; filter: grayscale(1);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.ph-row .tx { min-width: 0; }
.ph-row .tx b { display: block; font: 600 14.5px/1.3 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-row .tx span { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-row .mt { text-align: right; font: 400 11.5px/1 var(--mono); color: var(--dim); display: grid; gap: 7px; justify-items: end; }
.ph-row .badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #fff; color: #000; font: 600 11px/20px var(--body); text-align: center; opacity: 0; transform: scale(.4); transition: opacity .4s, transform .4s; }
.ph-row.new { background: rgba(255, 255, 255, .08); }
.ph-row.new .badge { opacity: 1; transform: none; }
.ph-row.new .mt i { color: #fff; }
.ph-row .mt i { font-style: normal; }
.ph-list::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, rgba(12, 12, 12, .95)); pointer-events: none; }
@media (max-width: 860px) { .look { grid-template-columns: 1fr; } .ph-list { height: 384px; } }

/* ---------- как это работает ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; counter-reset: st; }
.step { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); }
.step::before { counter-increment: st; content: "0" counter(st); display: block; font: 500 13px/1 var(--mono); color: var(--muted); margin-bottom: 26px; }
.step h3 { margin: 0 0 6px; font: 600 18px/1.25 var(--display); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- тарифы: хромовая лента (Grow) ---------- */
.prices { overflow: hidden; }
#ribbon { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; opacity: .9; pointer-events: none; }
.prices .word { font: 700 clamp(64px, 14vw, 190px)/.9 var(--display); letter-spacing: -.05em; text-align: center; margin: 0 0 8px;
  background: linear-gradient(180deg, #fff 0%, #cfcfcf 45%, #5b5b5b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prices .center { text-align: center; }
.prices .sub { margin: 0 auto; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2);
  background: rgba(0, 0, 0, .5); font-size: 14px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 10px #e5484d; }
.status.open i { background: #3dd68c; box-shadow: 0 0 10px #3dd68c; }
.tariffs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 40px; }
.tcard { display: flex; flex-direction: column; padding: 26px; border-radius: 26px; border: 1px solid var(--line2);
  background: linear-gradient(170deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 30px 70px rgba(0, 0, 0, .55); }
.tcard .tag { align-self: flex-start; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #000; background: #eee; padding: 6px 9px; border-radius: 6px; margin-bottom: 18px; }
.tcard .tag.dark { background: transparent; color: #cfcfcf; border: 1px solid var(--line2); }
.tcard h3 { margin: 0 0 14px; font: 600 20px/1.2 var(--display); }
.tcard .price { font: 700 52px/1 var(--display); letter-spacing: -.04em; }
.tcard .price small { font: 500 16px/1 var(--body); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.tcard .term { color: var(--muted); margin: 8px 0 18px; font-size: 15px; }
.tcard ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; font-size: 15px; color: #d8d8d8; }
.tcard li { display: flex; gap: 10px; }
.tcard li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 1px solid var(--line2);
  background: radial-gradient(circle, #fff 0 3px, transparent 4px); }
.tcard .btn { margin-top: auto; width: 100%; }
.tcard .note { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 500 18px/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 26px/1 var(--body); color: var(--muted); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 760px; }

/* ---------- отзывы / финал ---------- */
.final { text-align: center; }
.final .box { padding: clamp(36px, 7vw, 80px) var(--pad); border-radius: 32px; border: 1px solid var(--line2); position: relative; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 0%, rgba(255, 255, 255, .12), transparent 70%), var(--bg2); }
.shots { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 30px auto 4px; max-width: 980px; }
.shots:empty { display: none; }
.shots img { height: 300px; width: auto; border-radius: 16px; border: 1px solid var(--line2); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.shots .ph { width: 200px; height: 300px; border-radius: 16px; border: 1px dashed var(--line2); display: grid; place-items: center; color: var(--dim); font: 400 12px/1.4 var(--mono); padding: 16px; }
@media (max-width: 560px) { .shots { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding-bottom: 6px; } .shots img, .shots .ph { height: 260px; scroll-snap-align: center; flex: none; } .shots .ph { width: 170px; } }
a.u { text-decoration: underline; color: #fff; }
.final .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

footer { padding: 40px 0 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a:hover { color: #fff; }
.testbar { position: fixed; bottom: 12px; left: 12px; z-index: 60; padding: 7px 12px; border-radius: 999px; background: #fff; color: #000;
  font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- страница оплаты ---------- */
.pay { padding: 110px 0 80px; min-height: 100svh; position: relative; overflow: hidden; }
.pay .light { position: absolute; width: 900px; height: 900px; left: 50%; top: -10%; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 60%); filter: blur(20px); pointer-events: none; }
.paygrid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: start; }
.panel { padding: 26px; border-radius: 26px; border: 1px solid var(--line2); background: linear-gradient(170deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.panel h2 { font-size: clamp(24px, 3.4vw, 34px); }
.stepn { font: 500 12px/1 var(--mono); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin: 0 0 12px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; margin-top: 10px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); color: #eee; font: 500 16px/1.3 var(--body); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--line2); }
.opt.on { border-color: #fff; background: rgba(255, 255, 255, .08); }
.opt .r { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid #888; }
.opt.on .r { border-color: #fff; background: radial-gradient(circle, #fff 0 4px, transparent 5px); }
.opt .t { flex: 1; }
.opt .t small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.opt .v { font: 600 16px/1 var(--display); white-space: nowrap; }
.nets { display: none; flex-wrap: wrap; gap: 6px; margin: 10px 0 0 32px; }
.nets.show { display: flex; }
.net { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: #ddd; font: 500 13px/1 var(--body); cursor: pointer; }
.net.on { background: #fff; color: #000; }
.who { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--line2); margin-bottom: 18px; }
.who b { font-weight: 600; }
.consent { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.consent a { text-decoration: underline; }
.notice { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 14px; color: #ddd; display: none; }
.notice.show { display: block; }
.done { text-align: center; padding: 30px 10px; }
.done .ok { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2);
  background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 70%); font-size: 30px; }
@media (max-width: 860px) { .paygrid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .inside .light { animation: none; }
  .bento .card { transition: none; opacity: 1; transform: none; } .card::after { display: none; }
}

/* правки 28.11 после снимков на телефоне */
@media (max-width: 560px) {
  .pill { font-size: 10.5px; letter-spacing: .07em; padding: 7px 12px; }
  .who { flex-direction: column; align-items: stretch; text-align: left; }
  .who .btn { width: 100%; }
  .testbar { top: 74px; bottom: auto; left: auto; right: 12px; font-size: 10px; }
}

/* ================= эксперимент 29.11 ================= */

/* ---------- 25 разделов: плитки раскрываются внутри себя (не налезают на соседей) ---------- */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.tile { position: relative; height: 200px; outline: none; cursor: default; }
.tin { position: absolute; inset: 0; padding: 18px 18px 18px; border-radius: 20px; border: 1px solid var(--line); display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10); overflow: hidden; isolation: isolate;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), background .5s, box-shadow .5s, border-color .5s; }
/* свет снизу, который поднимается при раскрытии */
.tin::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1; opacity: 0; transform: translateY(30%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent); transition: opacity .6s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.trow { display: flex; justify-content: space-between; align-items: center; }
.tem { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; filter: grayscale(1) brightness(1.15);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tno { font: 500 11px/1 var(--mono); color: var(--dim); letter-spacing: .1em; transition: color .4s; }
.tgr { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: auto;
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s; }
.tin h3 { margin: 6px 0 0; font: 600 15px/1.25 var(--display); letter-spacing: -.01em; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tin p { margin: 0; max-height: 0; opacity: 0; color: #bdbdbd; font-size: 13.5px; line-height: 1.45; transform: translateY(10px);
  transition: max-height .55s cubic-bezier(.2, .7, .2, 1), opacity .35s, transform .5s, margin .5s; }
.tile:hover .tin, .tile:focus .tin, .tile.open .tin { transform: translateY(-4px); border-color: var(--line2);
  background: linear-gradient(160deg, rgba(40, 40, 40, .9), rgba(16, 16, 16, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 50px rgba(255, 255, 255, .07), 0 24px 50px rgba(0, 0, 0, .6); }
.tile:hover .tin::before, .tile:focus .tin::before, .tile.open .tin::before { opacity: 1; transform: none; }
.tile:hover .tin p, .tile:focus .tin p, .tile.open .tin p { max-height: 90px; opacity: 1; transform: none; margin-top: 8px; transition-delay: 0s, .1s, .1s, 0s; }
.tile:hover .tem, .tile:focus .tem, .tile.open .tem { transform: rotate(-10deg) scale(1.1); }
.tile:hover .tgr, .tile:focus .tgr, .tile.open .tgr { opacity: 1; transform: none; }
.tile:hover .tno, .tile:focus .tno, .tile.open .tno { color: #fff; }
/* появление — как у карточек «Что внутри» */
.tiles .tile { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 40px)) rotate(var(--rot, 0deg)) scale(.94);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.tiles.in .tile { opacity: 1; transform: none; }
@media (max-width: 1080px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; } .tile { height: 186px; } .tin { padding: 14px; } .tem { width: 34px; height: 34px; font-size: 15px; } .tin h3 { font-size: 14px; } .tin p { font-size: 12px; } .tile:hover .tin p, .tile.open .tin p { max-height: 110px; } }

/* ---------- три шага: линия, узлы, мини-анимации ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.flow .track { position: absolute; left: 16.6%; right: 16.6%; top: 25px; height: 2px; background: var(--line); border-radius: 2px; }
.flow .fill { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.2), #fff); transform-origin: left; transform: scaleX(0);
  transition: transform 1.8s cubic-bezier(.6, 0, .2, 1) .2s; border-radius: 2px; }
.flow.in .fill { transform: scaleX(1); }
.flow .pulse { position: absolute; top: -5px; left: 0; width: 60px; height: 12px; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, #fff, rgba(255,255,255,.4) 40%, transparent); filter: blur(1px); }
.flow.in .pulse { animation: pulse 3.2s cubic-bezier(.5, 0, .5, 1) 2.2s infinite; }
@keyframes pulse { 0% { left: -4%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 96%; opacity: 0; } }
.st { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.node { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 600 18px/1 var(--display);
  background: #0b0b0b; border: 1px solid var(--line2); color: var(--muted); transition: all .6s; }
.flow.in .st:nth-child(2) .node { transition-delay: .3s; }
.flow.in .st:nth-child(3) .node { transition-delay: 1.0s; }
.flow.in .st:nth-child(4) .node { transition-delay: 1.8s; }
.flow.in .node { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 0 40px rgba(255,255,255,.35); }
.ill { position: relative; width: 100%; max-width: 330px; height: 150px; margin: 26px 0 22px; border-radius: 20px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.st h3 { margin: 0 0 6px; font: 600 19px/1.25 var(--display); }
.st p { margin: 0; color: var(--muted); font-size: 15px; max-width: 320px; }
/* 1 — выбор тарифа */
.ill1 .mt1, .ill1 .mt2 { position: absolute; left: 22px; right: 22px; height: 46px; border-radius: 12px; border: 1px solid var(--line); display: flex;
  justify-content: space-between; align-items: center; padding: 0 14px; font-size: 13px; background: rgba(255,255,255,.03); }
.ill1 .mt1 { top: 22px; animation: pick 4.4s infinite; } .ill1 .mt2 { top: 80px; color: var(--muted); }
.ill1 b { font-weight: 500; } .ill1 span { font-family: var(--mono); }
.ill1 .ptr { position: absolute; width: 22px; height: 22px; fill: #fff; stroke: #000; stroke-width: 1; animation: ptr 4.4s infinite; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
@keyframes ptr { 0% { left: 78%; top: 118px; } 35% { left: 64%; top: 40px; } 42% { transform: scale(.82); } 48% { transform: none; } 80% { left: 64%; top: 40px; } 100% { left: 78%; top: 118px; } }
@keyframes pick { 0%, 40% { background: rgba(255,255,255,.03); color: #fff; border-color: var(--line); box-shadow: none; }
  46%, 88% { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 30px rgba(255,255,255,.3); } 100% { background: rgba(255,255,255,.03); } }
/* 2 — оплата */
.ill2 svg { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; translate: -50% -50%; transform: rotate(-90deg); }
.ill2 .bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 5; }
.ill2 .ring { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 239; stroke-dashoffset: 239; animation: ring 4.4s infinite; filter: drop-shadow(0 0 6px rgba(255,255,255,.6)); }
.ill2 .ok { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; transform: rotate(90deg); transform-origin: 50px 50px; animation: ok 4.4s infinite; }
.ill2 .sum { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font: 600 20px/1 var(--display); animation: sum 4.4s infinite; }
@keyframes ring { 0% { stroke-dashoffset: 239; } 50%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ok { 0%, 52% { stroke-dashoffset: 50; } 64%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes sum { 0%, 46% { opacity: 1; transform: scale(1); } 54%, 92% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; } }
/* 3 — вступление */
.ill3 .tgc { position: absolute; left: 22px; top: 22px; display: flex; gap: 10px; align-items: center; text-align: left; }
.ill3 .tgc img { width: 38px; height: 38px; border-radius: 50%; }
.ill3 .tgc b { display: block; font: 600 14px/1.2 var(--display); } .ill3 .tgc small { color: var(--muted); font-size: 12px; }
.ill3 .join, .ill3 .in { position: absolute; left: 22px; right: 22px; bottom: 20px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 600 14px/1 var(--body); }
.ill3 .join { background: #fff; color: #000; animation: join 4.4s infinite; }
.ill3 .in { border: 1px solid var(--line2); color: #fff; opacity: 0; animation: inn 4.4s infinite; }
@keyframes join { 0%, 30% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 38% { transform: scale(.95); box-shadow: 0 0 0 10px rgba(255,255,255,0); } 46% { transform: scale(1); opacity: 1; } 54%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes inn { 0%, 48% { opacity: 0; transform: translateY(8px); } 58%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 34px; }
  .flow .track { left: 25px; right: auto; top: 26px; bottom: 60px; width: 2px; height: auto; }
  .flow .fill { transform-origin: top; transform: scaleY(0); background: linear-gradient(180deg, rgba(255,255,255,.2), #fff); }
  .flow.in .fill { transform: scaleY(1); }
  .flow .pulse { display: none; }
  .st { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; text-align: left; align-items: start; }
  .st .node { grid-row: span 3; }
  .ill { margin: 0 0 16px; max-width: none; height: 140px; }
}

/* ---------- отзывы: карточки переворачиваются и показывают скрин ---------- */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 6px; text-align: left; perspective: 1400px; }
.rev { margin: 0; animation: float 7s ease-in-out infinite; }
.rev:nth-child(2) { animation-delay: -2.3s; } .rev:nth-child(3) { animation-delay: -4.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.rv-in { display: grid; height: 100%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.rev.flip .rv-in { transform: rotateY(180deg); }
.rv-f, .rv-k { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 22px; border: 1px solid var(--line2); padding: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 30px 70px rgba(0,0,0,.5); display: flex; flex-direction: column; }
.rv-k { transform: rotateY(180deg); justify-content: center; gap: 14px; background: #0d0d0d; }
.rv-k img { width: 100%; border-radius: 14px; }
.rv-h { display: flex; align-items: center; gap: 12px; }
.rv-h .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 600 16px/1 var(--display); background: #fff; color: #000; filter: grayscale(1); flex: none; }
.rv-h b { display: block; font: 600 15px/1.2 var(--display); }
.rv-h small { color: var(--muted); font-size: 12.5px; }
.rv-h .qm { margin-left: auto; font: italic 64px/0.6 var(--serif, 'Instrument Serif', serif); color: rgba(255,255,255,.25); align-self: flex-start; padding-top: 14px; }
.rev blockquote { margin: 18px 0 18px; font-size: 16px; line-height: 1.55; color: #e9e9e9; flex: 1; }
.rv-b { align-self: flex-start; background: none; border: 1px solid var(--line2); color: var(--muted); border-radius: 999px; padding: 8px 14px; font: 500 12.5px/1 var(--body); cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
.rv-b:hover { color: #000; background: #fff; border-color: #fff; }
@media (max-width: 900px) { .revs { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* ---------- бабочка v2: 3D-крылья ---------- */
#bfly { --w: 66px; --h: 56px; position: fixed; left: 0; top: 0; width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  z-index: 60; pointer-events: none; will-change: transform; perspective: 220px; }
#bfly .bf-glow { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent); filter: blur(8px); }
#bfly .bf-3d { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
#bfly .bf-w { position: absolute; top: 0; width: 50%; height: 100%; will-change: transform; }
#bfly .bf-r { left: 50%; transform-origin: 0 50%; }
#bfly .bf-l { left: 0; transform-origin: 100% 50%; }
#bfly .bf-l svg { transform: scaleX(-1); }
#bfly .bf-w svg { display: block; width: 100%; height: 100%; overflow: visible; }
#bfly .bf-b { position: absolute; left: 50%; top: 0; width: 7px; height: 100%; margin-left: -3.5px; transform: translateZ(1px); }
#bfly .bf-b svg { display: block; width: 100%; height: 100%; overflow: visible; }
#bfly-shadow { position: fixed; left: 0; top: 0; width: 46px; height: 30px; margin: -15px 0 0 -23px; z-index: 59; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent); filter: blur(5px); will-change: transform, opacity; }
@media (max-width: 700px) { #bfly { --w: 52px; --h: 44px; } #bfly-shadow { width: 36px; height: 24px; margin: -12px 0 0 -18px; } }

@media (prefers-reduced-motion: reduce) {
  .tiles .tile { transition: none; opacity: 1; transform: none; }
  .ill *, .rev, .flow .pulse { animation: none !important; }
  .flow .fill { transform: none; transition: none; }
  #bfly, #bfly-shadow { display: none; }
}
.rv-h .av.em { background: rgba(255,255,255,.08); border: 1px solid var(--line2); font-size: 20px; }
.rv-h .emn { filter: grayscale(1); }
.ill1 span { white-space: nowrap; }
@media (max-width: 700px) { .ill1 .mt1, .ill1 .mt2 { font-size: 12px; padding: 0 12px; } .ill1 .mt2 b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* ================= блоки по разбору сайтов обучения (29.11) ================= */
/* полоса прокрутки сверху */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 70; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(255,255,255,.3), #fff); box-shadow: 0 0 12px rgba(255,255,255,.6); }

/* бегущая лента разделов */
.marquee { position: relative; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq { display: flex; overflow: hidden; }
.mq + .mq { margin-top: 12px; }
.mq-in { display: flex; flex: none; align-items: center; gap: 26px; padding-right: 26px; animation: mq 60s linear infinite; white-space: nowrap; }
.mq.rev .mq-in { animation-direction: reverse; animation-duration: 70s; }
.mq span { font: 600 clamp(22px, 3.2vw, 40px)/1 var(--display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.38); transition: color .4s; }
.mq.rev span { color: rgba(255,255,255,.88); -webkit-text-stroke: 0; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.mq i { font-style: normal; color: var(--dim); font-size: 16px; }
.marquee:hover .mq-in { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* для кого */
.who4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.wc { position: relative; padding: 24px 22px; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .5s; }
.wc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #fff, transparent);
  transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.wc:hover { transform: translateY(-4px); border-color: var(--line2); }
.wc:hover::after { transform: scaleX(1); }
.wn { font: 500 12px/1 var(--mono); color: var(--dim); letter-spacing: .1em; }
.wc h3 { margin: 40px 0 8px; font: 600 18px/1.25 var(--display); letter-spacing: -.01em; }
.wc p { margin: 0; color: var(--muted); font-size: 14.5px; }
.notfor { margin: 22px 0 0; padding: 16px 20px; border-radius: 14px; border: 1px dashed var(--line2); color: var(--muted); font-size: 15px; max-width: 760px; }
.notfor b { color: #fff; font-weight: 600; }
@media (max-width: 1000px) { .who4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who4 { grid-template-columns: 1fr; } .wc h3 { margin-top: 22px; } }

/* кто ведёт */
.author { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.mono { position: relative; aspect-ratio: 1; width: min(380px, 100%); justify-self: center; display: grid; place-items: center; }
.mono img { width: 46%; border-radius: 50%; position: relative; z-index: 1; box-shadow: 0 0 80px rgba(255,255,255,.12); }
.mono .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line2);
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(255,255,255,.55) 86%, transparent 100%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin 9s linear infinite; }
.mono .ring.r2 { inset: 13%; animation-duration: 14s; animation-direction: reverse; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.why { margin-top: 28px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); }
.why h4 { margin: 0 0 12px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.why ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.why b { color: #fff; font-weight: 600; }
@media (max-width: 860px) { .author { grid-template-columns: 1fr; } .mono { width: min(240px, 70%); } }

/* финальный призыв */
.endcta { text-align: center; padding-top: 40px !important; }
.ebox { position: relative; padding: clamp(48px, 9vw, 110px) var(--pad); border-radius: 32px; overflow: hidden; border: 1px solid var(--line2);
  background: radial-gradient(ellipse at 50% 120%, rgba(255,255,255,.18), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); }
.ebox h2 { font-size: clamp(34px, 6vw, 72px); }
.ebox .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* нижняя панель на телефоне */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 65; display: none; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 18px; border-radius: 18px; border: 1px solid var(--line2); background: rgba(14,14,14,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0,0,0,.6); transform: translateY(140%); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.dock span { font: 600 14px/1 var(--display); }
.dock b { padding: 11px 16px; border-radius: 12px; background: #fff; color: #000; font: 600 14px/1 var(--body); }
.dock.show { transform: none; }
@media (max-width: 760px) { .dock { display: flex; } }

/* заголовки поднимаются по словам */
h2 .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
h2 .wd > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--k) * 60ms); }
h2.rise .wd > span { transform: none; }
/* кнопки тянутся к курсору */
.btn.mag { transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, color .3s; }

@media (prefers-reduced-motion: reduce) {
  .mq-in, .mono .ring { animation: none; }
  h2 .wd > span { transform: none; transition: none; }
}
html, body { overflow-x: clip; }

/* ================= правки Егора 29.11 (вечер) ================= */
/* отступ между цифрами и лентой */
.marquee { margin-top: clamp(44px, 8vh, 96px); }

/* «Что внутри»: описание появляется только при наведении на карточку */
.bento .card p { opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .5s cubic-bezier(.2,.7,.2,1), color .45s; }
.bento .card:hover p, .bento .card.open p { opacity: 1; transform: none; color: #d4d4d4; }
.bento .card h3 { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.bento .card:hover h3 { transform: translateY(-4px); }
@media (hover: none) {
  .bento .card p { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.2,.7,.2,1), opacity .4s, transform .5s; }
  .bento .card.open p { max-height: 90px; }
}

/* финальный блок: одна большая кнопка */
.btn.big { padding: 18px 46px; font-size: 17px; }
.ebox h2 { margin-bottom: 0; }

/* ---------- три шага: по этапам, шарик едет по линии от шага к шагу ---------- */
.flow.seq .fill { transform: scaleX(var(--k, 0)); transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.flow.seq.vert .fill { transform: scaleY(var(--k, 0)); }
.flow .pulse { display: none !important; }
.flow .ball { position: absolute; top: 1px; left: var(--d, 0px); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; z-index: 2;
  box-shadow: 0 0 0 5px rgba(255,255,255,.12), 0 0 26px 6px rgba(255,255,255,.55); opacity: 0;
  transition: left .9s cubic-bezier(.65, 0, .35, 1), top .9s cubic-bezier(.65, 0, .35, 1), opacity .4s; }
.flow.seq .ball { opacity: 1; }
.flow.vert .ball { left: 1px; top: var(--d, 0px); }
.flow.seq .node, .flow.seq.in .node { background: #0b0b0b; color: var(--muted); border-color: var(--line2); box-shadow: none; transition: all .5s; transition-delay: 0s !important; }
.flow.seq .st.past .node { background: #fff; color: #000; border-color: #fff; }
.flow.seq .st.act .node { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 0 7px rgba(255,255,255,.08), 0 0 44px rgba(255,255,255,.45); transform: scale(1.08); }
.flow.seq .st .ill, .flow.seq .st h3, .flow.seq .st p { transition: opacity .5s, border-color .5s, box-shadow .5s; }
.flow.seq .st:not(.act):not(.past) .ill, .flow.seq .st:not(.act):not(.past) h3, .flow.seq .st:not(.act):not(.past) p { opacity: .38; }
.flow.seq .st.act .ill { border-color: var(--line2); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 60px rgba(255,255,255,.08); }
/* иллюстрации: одна прокрутка на этап, потом остаются в конечном состоянии */
.flow.seq .ill * { animation: none !important; }
.ill1 .ptr { left: 78%; top: 118px; }
.flow.seq .st.act .ill1 .ptr { animation: ptr1 2.4s cubic-bezier(.4, 0, .2, 1) forwards !important; }
.flow.seq .st.act .ill1 .mt1 { animation: pick1 2.4s forwards !important; }
.flow.seq .st.past .ill1 .ptr { left: 64%; top: 40px; }
.flow.seq .st.past .ill1 .mt1 { background: #fff; color: #000; border-color: #fff; }
@keyframes ptr1 { 0% { left: 78%; top: 118px; } 55% { left: 64%; top: 40px; transform: none; } 64% { transform: scale(.8); } 74%, 100% { left: 64%; top: 40px; transform: none; } }
@keyframes pick1 { 0%, 62% { background: rgba(255,255,255,.03); color: #fff; border-color: var(--line); box-shadow: none; }
  74%, 100% { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 30px rgba(255,255,255,.3); } }
.flow.seq .st.act .ill2 .ring { animation: ring1 2.4s cubic-bezier(.5, 0, .3, 1) forwards !important; }
.flow.seq .st.act .ill2 .sum { animation: sum1 2.4s forwards !important; }
.flow.seq .st.act .ill2 .ok { animation: ok1 2.4s forwards !important; }
.flow.seq .st.past .ill2 .ring, .flow.seq .st.past .ill2 .ok { stroke-dashoffset: 0; }
.flow.seq .st.past .ill2 .sum { opacity: 0; }
@keyframes ring1 { 0% { stroke-dashoffset: 239; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes sum1 { 0%, 56% { opacity: 1; transform: scale(1); } 68%, 100% { opacity: 0; transform: scale(.7); } }
@keyframes ok1 { 0%, 62% { stroke-dashoffset: 50; } 82%, 100% { stroke-dashoffset: 0; } }
.flow.seq .st.act .ill3 .join { animation: join1 2.4s forwards !important; }
.flow.seq .st.act .ill3 .in { animation: inn1 2.4s forwards !important; }
@keyframes join1 { 0%, 36% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 46% { transform: scale(.94); box-shadow: 0 0 0 12px rgba(255,255,255,0); } 56% { transform: scale(1); opacity: 1; } 68%, 100% { opacity: 0; } }
@keyframes inn1 { 0%, 60% { opacity: 0; transform: translateY(8px); } 76%, 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .flow .ball { display: none; } }

/* ================= 30.11: шарик, финал, интерактив вместо бабочки ================= */
/* шарик уходит под кружок шага, а не закрывает цифру */
.flow .ball { z-index: 0; }
.flow .node { z-index: 3; }
/* финал */
.ebox .ebig { font-size: clamp(52px, 11vw, 150px); line-height: .95; margin-bottom: 14px; }
.ebox .sub { font-size: clamp(17px, 2vw, 22px); color: #cfcfcf; }
/* «Что внутри» — плитки сразу под текстом */
.inside .tiles { margin-top: 44px; }

/* 1) наклон карточек за мышкой + блик по стеклу */
.tiles .tile .tin.tilt { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tiles .tile:hover .tin.tilt, .tiles .tile.open .tin.tilt { transform: perspective(800px) translateY(-4px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tcard.tilt, .wc.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2,.7,.2,1), border-color .5s; }
.wc.tilt:hover { transform: perspective(900px) translateY(-4px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tilt.moving { transition-duration: .12s !important; }
.tcard.tilt { position: relative; overflow: hidden; }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .4s;
  background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.16), rgba(255,255,255,.04) 35%, transparent 65%); }
.tilt:hover .glare { opacity: 1; }

/* 2) мягкий свет за курсором */
.cursor-light { position: fixed; left: 0; top: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%; pointer-events: none; z-index: 40;
  background: radial-gradient(closest-side, rgba(255,255,255,.07), rgba(255,255,255,.025) 45%, transparent 70%); mix-blend-mode: screen;
  opacity: 0; transition: opacity .6s; will-change: transform; }
.cursor-light.on { opacity: 1; }

/* 3) хромовая капля за курсором */
.blob { position: fixed; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; pointer-events: none; z-index: 80;
  background: radial-gradient(circle at 32% 28%, #fff 0 12%, #d9d9d9 28%, #7a7a7a 55%, #e8e8e8 72%, #555 100%);
  box-shadow: 0 0 18px rgba(255,255,255,.35), inset -2px -3px 6px rgba(0,0,0,.45); opacity: 0; will-change: transform;
  transition: width .35s cubic-bezier(.2,.7,.2,1), height .35s cubic-bezier(.2,.7,.2,1), margin .35s cubic-bezier(.2,.7,.2,1), opacity .4s, background .3s; }
.blob.on { opacity: 1; }
.blob.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; mix-blend-mode: difference; box-shadow: none; }
.blob.down { width: 14px; height: 14px; margin: -7px 0 0 -7px; }

/* 4) карта страницы справа */
.pmap { position: fixed; right: 26px; top: 50%; translate: 0 -50%; z-index: 55; display: flex; flex-direction: column; gap: 18px; padding: 8px 0; }
.pmap::before { content: ""; position: absolute; right: 4px; top: 0; bottom: 0; width: 1px; background: var(--line2); }
.pmap .pfill { position: absolute; right: 4px; top: 0; width: 1px; height: 100%; background: #fff; transform-origin: top; transform: scaleY(var(--pm, 0)); box-shadow: 0 0 8px rgba(255,255,255,.6); }
.pmap a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 9px; text-decoration: none; }
.pmap a i { position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: #0b0b0b; border: 1px solid rgba(255,255,255,.45); transition: all .4s; }
.pmap a span { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
  opacity: 0; transform: translateX(8px); transition: opacity .35s, transform .35s; pointer-events: none; }
.pmap a:hover span, .pmap a.cur span { opacity: 1; transform: none; }
.pmap a.cur span { color: #fff; }
.pmap a.past i { background: #fff; border-color: #fff; }
.pmap a.cur i { background: #fff; border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 16px rgba(255,255,255,.7); transform: scale(1.2); }
.pmap:not(:hover) a:not(.cur) span { opacity: 0; }
@media (max-width: 1240px) { .pmap { display: none; } }
@media (hover: none) { .cursor-light, .blob { display: none; } }
@media (prefers-reduced-motion: reduce) { .cursor-light, .blob { display: none; } }
/* финал: «UY Community» тем же шрифтом и хромом, что «Тарифы» */
.ebox .ebig { font: 700 clamp(44px, 9.5vw, 140px)/.92 var(--display); letter-spacing: -.05em; margin: 0 0 16px;
  background: linear-gradient(180deg, #fff 0%, #cfcfcf 45%, #5b5b5b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ================= телефон: проще и компактнее (Егор 30.11) ================= */
.tiles-more { display: none; }
@media (max-width: 700px) {
  section.s { padding: 56px 0; }
  h2 { font-size: 29px; margin-bottom: 12px; }
  .sub { font-size: 16px; }
  .kicker { margin-bottom: 12px; }

  /* лента — одна строка */
  .marquee { margin-top: 36px; padding: 16px 0; }
  .mq.rev { display: none; }
  .mq span { font-size: 22px; }

  /* разделы — простой список: значок, название, стрелка; по нажатию описание; сначала 6, остальные по кнопке */
  .inside .tiles { grid-template-columns: 1fr; gap: 8px; margin-top: 26px; }
  .tile { height: auto; }
  .tiles .tile { transform: translateY(14px) !important; }
  .tiles.in .tile { transform: none !important; }
  .tin { position: relative; inset: auto; display: grid; grid-template-columns: 34px 1fr 18px; column-gap: 12px; align-items: center; padding: 11px 14px; border-radius: 14px; }
  .tin::before { display: none; }
  .tin .trow { display: contents; }
  .tin .tem { grid-column: 1; grid-row: 1; width: 34px; height: 34px; font-size: 15px; }
  .tin .tno { display: none; }
  .tin .tgr { display: none; }
  .tin h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 15px; }
  .tin::after { content: "+"; grid-column: 3; grid-row: 1; font: 300 22px/1 var(--body); color: var(--muted); transition: transform .3s; }
  .tile.open .tin::after { transform: rotate(45deg); }
  .tin p { grid-column: 2 / 4; grid-row: 2; font-size: 13.5px; }
  .tile:hover .tin, .tile:focus .tin, .tile.open .tin { transform: none; }
  .tile.open .tin p { margin-top: 6px; }
  .tiles:not(.all) .tile:nth-child(n+7) { display: none; }
  .tiles-more { display: block; width: 100%; margin-top: 10px; padding: 14px; border-radius: 14px; border: 1px dashed var(--line2); background: none;
    color: #fff; font: 500 15px/1 var(--body); cursor: pointer; }

  /* для кого — компактные карточки */
  .who4 { gap: 8px; margin-top: 24px; }
  .wc { padding: 16px 18px; }
  .wc .wn { display: none; }
  .wc h3 { margin: 0 0 4px; font-size: 16px; }
  .wc p { font-size: 14px; }

  /* как выглядит — только макет телефона */
  .look .facts { display: none; }
  .look { gap: 22px; }
  .ph-list { height: 272px; }

  /* три шага — без картинок: линия с шариком, номер, заголовок, текст */
  .flow { gap: 26px; margin-top: 28px; }
  .ill { display: none; }
  .st { grid-template-columns: 44px 1fr; column-gap: 16px; }
  .st .node { width: 44px; height: 44px; font-size: 16px; grid-row: span 2; }
  .flow .track { left: 21px; top: 22px; bottom: 40px; }
  .st h3 { font-size: 17px; margin: 10px 0 4px; }
  .st p { font-size: 14px; }

  /* тарифы */
  .prices .word { font-size: 64px; }

  /* отзывы — листаются вбок, видно край следующего */
  .revs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 24px calc(var(--pad) * -1) 4px; padding: 0 var(--pad) 8px; max-width: none; scrollbar-width: none; }
  .revs::-webkit-scrollbar { display: none; }
  .rev { flex: 0 0 84%; scroll-snap-align: center; animation: none; }
  .final .box { padding: 36px 18px; }
  .rev blockquote { font-size: 15px; margin: 14px 0; }

  /* вопросы */
  .faq summary { font-size: 16px; padding: 16px 34px 16px 0; }
  .faq summary::after { top: 12px; }
}

/* ================= телефон: тарифы листаются свайпом (Егор 29.11) ================= */
.tdots { display: none; }
@media (max-width: 700px) {
  .prices .center .sub { font-size: 14px; }
  .prices .word { font-size: 58px; }
  .tariffs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 26px calc(var(--pad) * -1) 0;
    padding: 4px var(--pad) 10px; scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .tariffs::-webkit-scrollbar { display: none; }
  .tcard { flex: 0 0 84%; scroll-snap-align: center; padding: 20px; border-radius: 22px; }
  .tcard .tag { margin-bottom: 12px; }
  .tcard h3 { font-size: 18px; margin-bottom: 10px; }
  .tcard .price { font-size: 42px; }
  .tcard .term { margin: 6px 0 14px; font-size: 14px; }
  .tcard ul { gap: 7px; font-size: 14px; margin-bottom: 18px; }
  .tdots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; }
  .tdots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); transition: all .35s; }
  .tdots i.on { width: 22px; border-radius: 4px; background: #fff; }
  .tdots span { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-left: 6px; }
  /* отзывы: такие же точки */
  .rdots { margin-top: 8px; }
}
