/* olamatchbot landing: an information page whose only action opens the bot.
   Layout: a small pretend demo of the Mini App's stage is the hero, its sonar rings run
   past the phone; the same rings close on the link at the end.
   Tokens are copied from webapp/style.css ("night radar") so the page and the
   app read as one product. Dark only, like the app's default. */

@font-face { font-family: 'Onest'; font-weight: 400 800; font-display: swap; src: url(fonts/onest-latin.woff2) format('woff2'); }
@font-face { font-family: 'Unbounded'; font-weight: 400 700; font-display: swap; src: url(fonts/unbounded-latin.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #0b0712;
  --surface: #161022;
  --surface-2: #1e1630;
  --line: #2a2040;
  --line-strong: #453563;
  --text: #f5f2fb;
  --text-dim: #aea3cb;
  --violet: #9d5cff;
  --violet-soft: #cdb0ff;
  --tint: rgba(157, 92, 255, 0.16);
  --bubble: #6d28d9;
  --glow: rgba(124, 58, 237, 0.45);
  --danger: #ff4d6a;
  --stop: #b23a5c;
  --stage: #100b19;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --rim: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --display: "Unbounded", "Onest", "Segoe UI", sans-serif;
  --body: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --band: clamp(72px, 10vw, 128px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: clamp(25px, 3.6vw, 42px); line-height: 1.18; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; }
:where(a, button, [tabindex]):focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1180px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.lead { max-width: 56ch; color: var(--text-dim); }

/* ── the one action on this page ── */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 28px;
  border-radius: 18px;
  background: var(--gradient); color: #fff;
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none;
  box-shadow: 0 18px 40px -16px rgba(236, 72, 153, 0.65);
}
.cta:hover { filter: brightness(1.08); }
.cta:active { filter: brightness(0.92); transform: scale(0.985); }
.cta-sm { min-height: 44px; padding: 0 18px; border-radius: 14px; font-size: 15px; gap: 8px; box-shadow: none; }
.cta-sm .ic { width: 20px; height: 20px; }

/* ── header ── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 7, 18, 0.94); padding-top: env(safe-area-inset-top, 0px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font: 600 17px/1 var(--display); letter-spacing: -0.03em; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 13px; box-shadow: 0 0 0 1px rgba(157, 92, 255, 0.45); }

/* ── hero ── */
.hero { position: relative; overflow: clip; background: radial-gradient(70% 60% at 74% 34%, rgba(124, 58, 237, 0.26), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: 40px; padding-block: 44px 84px; }
.hero-text { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(31px, 5vw, 62px); line-height: 1.08; letter-spacing: -0.045em; }
.hero .lead { margin-top: 24px; font-size: clamp(17px, 1.5vw, 19px); max-width: 46ch; }
.hero-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.hero-go p { font-size: 15px; color: var(--text-dim); }
.pic-hero { position: relative; display: grid; justify-items: center; }

/* still until the demo searches, the app's own rule */
.radar { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.radar i { position: absolute; left: 0; top: 0; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%; border: 1px solid rgba(157, 92, 255, var(--o)); }
.radar i:nth-child(1) { --d: 470px; --o: .36; }
.radar i:nth-child(2) { --d: 660px; --o: .27; }
.radar i:nth-child(3) { --d: 880px; --o: .2; }
.radar i:nth-child(4) { --d: 1130px; --o: .13; }
.radar i:nth-child(5) { --d: 1410px; --o: .08; }
.radar b { position: absolute; left: 0; top: 0; width: 1410px; height: 1410px; margin: -705px 0 0 -705px; border-radius: 50%; border: 2px solid rgba(236, 72, 153, 0.7); opacity: 0; }
[data-state="search"] .radar b { animation: ping 2.4s cubic-bezier(.2, .5, .4, 1) infinite; }
[data-state="search"] .radar b + b { animation-delay: 1.2s; }
@keyframes ping { from { transform: scale(.2); opacity: .75; } to { transform: scale(1); opacity: 0; } }

/* ── phone ── */
.phone { position: relative; display: flex; flex-direction: column; width: 300px; max-width: 100%; height: 600px; border-radius: 46px; background: var(--bg); overflow: hidden; border: 7px solid #251b39; box-shadow: 0 0 0 1px var(--line-strong), 0 40px 80px -30px #000; font-size: 14px; line-height: 1.4; user-select: none; }
.phone-bar { flex: none; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; font: 600 13px/1 var(--display); letter-spacing: -0.01em; }
.phone-bar img { width: 20px; height: 20px; border-radius: 7px; }
.face { display: block; width: 100%; height: 100%; }

/* hero phone: a call */
.stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: 0 0 30px 30px; background: var(--stage); }
.stage > .face { position: absolute; inset: 0; }
.stage::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #7c3aed 25%, #ec4899 75%, transparent); box-shadow: 0 0 14px 1px rgba(236, 72, 153, 0.7); }
.chip { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 9px; padding: 8px 13px 8px 10px; border-radius: 999px; background: rgba(14, 9, 24, 0.78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 13px; font-weight: 600; }
.chip .ic { width: 20px; height: 20px; color: var(--violet-soft); }
.tools { position: absolute; right: 12px; top: 12px; display: grid; gap: 8px; }
.tools span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(14, 9, 24, 0.78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.tools .ic { width: 18px; height: 18px; }
.tools .hot { background: var(--gradient); }
.talk { position: absolute; left: 12px; right: 12px; bottom: 16px; display: grid; gap: 6px; }
.talk span { justify-self: start; padding: 8px 13px; border-radius: 18px 18px 18px 6px; background: rgba(30, 22, 48, 0.94); }
.talk span.me { justify-self: end; border-radius: 18px 18px 6px 18px; background: var(--bubble); }
.dock { flex: none; display: flex; align-items: stretch; gap: 10px; padding: 14px; }
.self { width: 78px; flex: none; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-strong); }
.dock-btns { flex: 1; display: grid; gap: 8px; }
.act { display: grid; place-items: center; min-height: 46px; border-radius: 15px; background: var(--gradient); font-weight: 700; font-size: 15px; }
.act-stop { background: var(--stop); }

/* hero phone as a small demo: idle, search, live, done */
.tag { padding: 4px 8px; border-radius: 999px; background: var(--tint); color: var(--violet-soft); font: 600 11px/1.2 var(--body); letter-spacing: 0; }
.v { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; visibility: hidden; opacity: 0; transition: opacity .35s; }
[data-state="idle"] .v-idle, [data-state="search"] .v-search, [data-state="live"] .v-live, [data-state="done"] .v-done { visibility: visible; opacity: 1; }
.v-idle, .v-search, .v-done { background: radial-gradient(90% 75% at 50% 0%, rgba(124, 58, 237, 0.34), transparent 72%); }
.v-live { padding: 0; }
.v-live > .face { position: absolute; inset: 0; }
.v .talk { text-align: left; }
.v > img { width: 72px; height: 72px; margin-bottom: 6px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(157, 92, 255, 0.5), 0 14px 34px -8px var(--glow); }
.v strong { font: 600 17px/1.3 var(--display); letter-spacing: -0.02em; }
.v em { font-style: normal; font-size: 13px; color: var(--text-dim); }
.v .cta { margin-top: 12px; }
[data-state="idle"] .stage { cursor: pointer; }
.rings { position: relative; width: 96px; height: 96px; margin-bottom: 10px; }
.rings s { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(157, 92, 255, 0.75); }
.rings::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 22px 4px rgba(236, 72, 153, 0.65); }
[data-state="search"] .rings s { animation: ring 1.6s ease-out infinite; }
[data-state="search"] .rings s + s { animation-delay: .6s; }
@keyframes ring { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

button.act { position: relative; width: 100%; color: #fff; transition: filter .15s, transform .1s; }
button.act:hover:not([disabled]) { filter: brightness(1.12); }
button.act:active:not([disabled]) { transform: scale(0.96); }
button.act[disabled] { background: var(--surface-2); color: var(--text-dim); cursor: default; }
/* one way forward at the start, so there is nothing else to press */
[data-state="idle"] #dStop, [data-state="done"] #dStop { display: none; }
[data-state="idle"] #dGo { font-size: 19px; }
[data-state="done"] #dGo { background: var(--surface-2); color: var(--text-dim); }
/* the cue: a halo leaves the button as the finger lands on it. Off after the first press */
#dGo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.9); opacity: 0; pointer-events: none; }
.finger { position: absolute; right: 22px; bottom: 14px; width: 48px; height: 48px; fill: #fff; stroke: #2a1140; stroke-width: 1.2; stroke-linejoin: round; pointer-events: none; display: none; }
.pic-hero:not(.used) .finger { display: block; animation: tap 1.8s ease-in-out infinite; }
.pic-hero:not(.used) #dGo::before { animation: halo 1.8s ease-out infinite; }
.pic-hero:not(.used) #dGo { box-shadow: 0 0 26px -2px rgba(236, 72, 153, 0.75); }
@keyframes tap { 0%, 100% { transform: translate(8px, 10px); } 38%, 52% { transform: translate(-6px, -8px) scale(.88); } }
@keyframes halo { 0%, 38% { transform: none; opacity: 0; } 42% { opacity: 1; } 100% { transform: scale(1.14, 1.3); opacity: 0; } }
.dock { overflow: visible; }
.hint { position: relative; margin-top: 18px; padding: 9px 18px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px; font-weight: 600; color: var(--text); text-align: center; }
.hint::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; transform: rotate(45deg); background: var(--surface-2); box-shadow: inset 1px 1px 0 var(--line-strong); }

/* ── the bot, as a Telegram chat ── */
.bot { padding-block: var(--band); }
.bot .wrap { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 7vw, 96px); align-items: center; }
.chat { border-radius: 28px; overflow: hidden; background: #120c1d; box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; line-height: 1.45; user-select: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: var(--surface); }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; }
.chat-head strong { display: block; font-size: 15.5px; line-height: 1.25; }
.chat-head span { font-size: 13px; color: var(--text-dim); }
.chat-body { display: grid; gap: 10px; padding: 16px 14px; }
.card-msg { width: 86%; border-radius: 18px 18px 18px 6px; overflow: hidden; background: var(--surface-2); }
.card-msg .pic { height: 206px; overflow: hidden; }
.card-msg p { padding: 11px 14px 13px; }
.card-msg b { font-weight: 700; }
.msg { justify-self: start; max-width: 86%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface-2); }
.msg-me { justify-self: end; display: grid; place-items: center; width: 52px; height: 42px; border-radius: 18px 18px 6px 18px; background: var(--bubble); }
.msg-me .ic { width: 20px; height: 20px; fill: #fff; stroke: none; }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; background: var(--surface); }
.keys span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 4px 8px; border-radius: 10px; background: #2a2040; font-size: 14px; font-weight: 600; text-align: center; }
.keys .wide { grid-column: 1 / -1; }
.keys .main { background: var(--bubble); }

.bot-text .lead { margin-top: 18px; }
.facts { margin-top: 30px; }
.facts li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 18px; padding-block: 18px; border-top: 1px solid var(--line); }
.facts .ic { margin-top: 1px; color: var(--violet-soft); }
.facts p { grid-column: 2; color: var(--text-dim); font-size: 16px; line-height: 1.55; }

/* ── mini app ── */
.app { padding-block: var(--band); background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.13) 22%, rgba(124, 58, 237, 0.13) 70%, transparent); }
.app-head { display: grid; gap: 18px; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 46px; }
.shot { display: grid; gap: 20px; align-content: start; }
.shot .phone { width: 100%; max-width: 268px; height: 520px; border-radius: 40px; border-width: 6px; box-shadow: 0 0 0 1px var(--line-strong); }
.shot p { margin-top: 6px; color: var(--text-dim); font-size: 16px; line-height: 1.5; }
.scr { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 9px; padding: 4px 12px 12px; }

.home-head { display: grid; justify-items: center; gap: 2px; padding: 0 0 4px; }
.home-head img { width: 46px; height: 46px; border-radius: 15px; margin-bottom: 6px; box-shadow: 0 0 0 1px rgba(157, 92, 255, 0.45), 0 18px 40px -10px var(--glow); }
.home-head strong { font: 600 17px/1.2 var(--display); letter-spacing: -0.02em; }
.home-head em { font-style: normal; font-size: 13px; color: var(--text-dim); }
.mode { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--rim); }
.mode > i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 13px; background: var(--tint); color: var(--violet-soft); }
.mode > i .ic { width: 21px; height: 21px; }
.mode strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.mode em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.35; color: var(--text-dim); }
.mode-hero { padding: 16px 13px; border-color: rgba(157, 92, 255, 0.4); background: radial-gradient(90% 140% at 100% 0%, rgba(236, 72, 153, 0.3), transparent 60%), radial-gradient(90% 140% at 0% 100%, rgba(124, 58, 237, 0.42), transparent 62%), var(--surface); }
.mode-hero > i { width: 46px; height: 46px; border-radius: 16px; background: var(--gradient); color: #fff; }
.mode-hero strong { font: 600 14px/1.3 var(--display); letter-spacing: -0.02em; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.duo .mode { flex-direction: column; align-items: flex-start; gap: 10px; }
.tabs { margin-top: auto; display: flex; justify-content: space-between; padding: 12px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--text-dim); }
.tabs .ic { width: 20px; height: 20px; }
.tabs .on { color: var(--violet-soft); }

.room-topic { align-self: center; padding: 5px 13px; border-radius: 999px; background: var(--tint); color: var(--violet-soft); font-size: 13px; font-weight: 600; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 14px 8px; }
.person { display: grid; justify-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.person > i { position: relative; width: 84px; height: 84px; border-radius: 50%; }
.person > i .face { border-radius: 50%; }
.person.speaks > i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--violet), 0 0 26px 2px var(--glow); }
.person u { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--bg); }
.person u .ic { width: 14px; height: 14px; }
.person.off u { color: var(--danger); }
.bar-btns { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.bar-btns span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 15px; background: var(--surface-2); font-size: 14px; font-weight: 700; }
.bar-btns .ic { width: 18px; height: 18px; }
.bar-btns .end-call { background: var(--stop); }

.live { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 0 0 28px 28px; background: var(--stage); }
.live > .face { position: absolute; inset: 0; }
.live::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(11, 7, 18, 0.85)); }
.live-badge { position: absolute; left: 12px; top: 12px; z-index: 1; display: flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #d92c4e; font-size: 12px; font-weight: 700; }
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.live-lines { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 16px; display: grid; gap: 7px; justify-items: start; }
.live-lines span { padding: 7px 12px; border-radius: 14px; background: rgba(14, 9, 24, 0.78); font-size: 13.5px; }
.live-lines .gift { display: flex; align-items: center; gap: 8px; background: var(--gradient); font-weight: 700; }
.live-lines .gift .ic { width: 17px; height: 17px; }
.compose { flex: none; display: flex; gap: 9px; padding: 12px; }
.compose span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); }
.compose span:first-child { flex: 1; justify-content: start; padding-inline: 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-dim); font-size: 14px; }
.compose .ic { width: 20px; height: 20px; }

.me-pic { align-self: center; flex: none; width: 84px; height: 84px; margin: 12px 0 6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(157, 92, 255, 0.55), 0 18px 36px -12px var(--glow); }
.me-pic .face { border-radius: 50%; }
.scr small { font-size: 13px; color: var(--text-dim); }
.moods { display: flex; flex-wrap: wrap; gap: 7px; }
.moods span { display: flex; align-items: center; gap: 6px; padding: 6px 11px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.moods .ic { width: 18px; height: 18px; color: var(--violet-soft); }
.moods .on { background: var(--tint); border-color: rgba(157, 92, 255, 0.55); }

.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px clamp(24px, 4vw, 56px); margin-top: 72px; }
.more li { display: grid; gap: 4px; align-content: start; }
.more .ic { margin-bottom: 8px; color: var(--violet-soft); }
.more p { color: var(--text-dim); font-size: 16px; line-height: 1.55; }

/* ── start + safety ── */
.begin { padding-block: var(--band); }
.begin .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 112px); }
.steps { display: grid; gap: 26px; margin-top: 32px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 18px; }
.steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--tint); box-shadow: inset 0 0 0 1px rgba(157, 92, 255, 0.35); font: 600 18px/1 var(--display); color: var(--violet-soft); }
.steps p { color: var(--text-dim); font-size: 16px; line-height: 1.55; }
.begin .facts { margin-top: 32px; }
.begin .facts li:first-child { border-top: 0; padding-top: 0; }

/* ── questions ── */
.faq { padding-block: 0 var(--band); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding-block: 14px; font-size: 18px; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-soft); }
.faq summary .ic { width: 20px; height: 20px; color: var(--violet-soft); transform: rotate(90deg); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(-90deg); }
.faq details p { max-width: 60ch; padding: 0 38px 22px 0; color: var(--text-dim); font-size: 16.5px; line-height: 1.6; }

/* ── the end: the same radar, closing on the link ── */
.end { position: relative; overflow: clip; padding-block: clamp(96px, 13vw, 168px); background: radial-gradient(60% 70% at 50% 50%, rgba(124, 58, 237, 0.3), transparent 72%); }
.end .radar i:first-child { --d: 780px; --o: .3; }
.end .radar i:nth-child(2) { display: none; }
.end .radar i:nth-child(3) { --d: 960px; }
.end .wrap { position: relative; display: grid; justify-items: center; gap: 22px; text-align: center; }
.end img { width: 92px; height: 92px; border-radius: 28px; box-shadow: 0 0 0 1px rgba(157, 92, 255, 0.5), 0 22px 50px -10px var(--glow); }
.end h2 { font-size: clamp(27px, 4.6vw, 54px); max-width: 17ch; }
.end .cta { margin-top: 12px; min-height: 64px; padding-inline: 36px; font-size: 19px; }
.end-handle { font-size: 16px; color: var(--text-dim); }
.end-handle a { color: var(--violet-soft); text-underline-offset: 4px; }
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); font-size: 15px; color: var(--text-dim); }

/* ── desktop helper: shown after the click, when Telegram may not be installed ── */
.help { width: min(460px, calc(100vw - 40px)); padding: 28px; border: 1px solid var(--line-strong); border-radius: 28px; background: var(--surface); color: var(--text); text-align: center; }
.help::backdrop { background: rgba(6, 3, 12, 0.72); }
.help h2 { font-size: 20px; }
.help p { margin-top: 10px; color: var(--text-dim); font-size: 16px; line-height: 1.5; }
.qr { width: 196px; margin: 22px auto 0; padding: 16px; border-radius: 20px; background: #fff; }
.qr svg { display: block; width: 100%; height: auto; }
.help-row { display: grid; gap: 10px; margin-top: 22px; }
.help-row .alt, .help-close { display: grid; place-items: center; min-height: 50px; border-radius: 16px; font-weight: 650; font-size: 16px; text-decoration: none; }
.help-row .alt { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.help-close { width: 100%; margin-top: 6px; color: var(--text-dim); }

/* ── tablet ── */
@media (max-width: 1080px) {
  .strip { grid-template-columns: repeat(4, 268px); justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter-l) * -1) calc(var(--gutter-r) * -1); padding-left: var(--gutter-l); padding-right: var(--gutter-r); scroll-padding-left: var(--gutter-l); padding-block: 2px 4px; }
  .strip::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: start; }
}

/* ── phone ── */
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 52px; padding-block: 28px 64px; }
  .hero-go { margin-top: 28px; }
  .hero-go .cta { width: 100%; }
  .bot .wrap, .begin .wrap, .faq .wrap { grid-template-columns: minmax(0, 1fr); }
  .bot .wrap { gap: 40px; }
  .bot-text { order: -1; }
  .more { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 52px; }
  .more li { grid-template-columns: 24px minmax(0, 1fr); gap: 4px 18px; padding-block: 18px; border-top: 1px solid var(--line); }
  .more .ic { margin: 1px 0 0; }
  .more p { grid-column: 2; }
  .end .cta { width: 100%; padding-inline: 16px; }
}
@media (max-width: 380px) {
  .brand { font-size: 15px; gap: 9px; }
  .cta-sm { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
}
