/* Bantergram homepage v2 (preview).
   Loads after relay-style.css, relay-alive.css and site.css, and only styles
   what those do not: the new sections and the hero scene. Everything is scoped
   under .home-v2 so it cannot leak into other pages. Logical properties on
   purpose, so the page still reads right in RTL languages. */

.home-v2 {
  --blue: #315cff;
  --blue-deep: #2447d6;
  --ink: #192136;
  --muted: #6c7892;
  --soft: #eef3ff;
  --line: #e2e6ef;
  --tg: #3390ec;
  --tg-chat: #dfe8f3;
  --navy: #0f1633;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  background: #fafbff;
  color: var(--ink);
}

/* ---------- shared heading pieces ---------- */
.home-v2 .v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #6d7fa8;
}
.home-v2 .v2-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px #315cff1f;
}
.home-v2 .v2-h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin-top: 14px;
  text-wrap: balance;
}
.home-v2 .v2-h2 .tint { color: var(--blue); }
.home-v2 .v2-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--muted);
  margin-top: 14px;
  max-width: 56ch;
}
.home-v2 .v2-head { margin-bottom: clamp(26px, 4vw, 44px); }
.home-v2 .v2-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 30px;
}
.home-v2 .v2-head-row .text-action { margin-top: 0; gap: 14px; font-size: 15px; }

/* ---------- hero ---------- */
.v2-hero {
  position: relative;
  padding-block: clamp(14px, 1.5vw, 18px) clamp(44px, 6vw, 76px);
  overflow: clip;
  isolation: isolate;
}
.v2-hero::before {
  content: '';
  position: absolute;
  inset-block-start: -220px;
  inset-inline-end: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, #dfe7ff 0%, #eef2ff00 68%);
  z-index: -1;
  pointer-events: none;
}
.v2-hero-top { display: grid; gap: 22px; }
.v2-hero .pill-label { justify-content: flex-start; font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; }
.v2-h1 {
  font-size: clamp(40px, 11vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-top: 20px;
}
.v2-h1 .tint { color: var(--blue); }
.v2-lede { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 46ch; }
.v2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 24px; }
.home-v2 .v2-actions .button { gap: 14px; min-height: 52px; padding-inline: 24px; font-size: 15px; white-space: nowrap; }
.v2-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid #d6dff8;
  border-radius: 100px;
  background: #fff;
  font-size: 15px;
  font-weight: 550;
  color: #2e3a57;
  white-space: nowrap;
  transition: border-color .2s, color .2s, transform .2s;
}
.v2-ghost:hover { border-color: #aebfff; color: var(--blue); transform: translateY(-2px); }
.v2-ghost .glyph { font-size: 1.1em; }
.v2-trust {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--muted);
}
.v2-trust li { display: inline-flex; align-items: center; gap: 6px; }
.v2-trust .glyph { color: var(--blue); stroke-width: 2.6; font-size: 13px; }

@media (max-width: 480px) {
  .v2-actions > * { flex: 1 1 140px; }
}
@media (max-width: 400px) {
  .home-v2 .v2-actions .button, .v2-ghost { gap: 8px; padding-inline: 14px; font-size: 14.5px; }
}
@media (min-width: 980px) {
  .v2-hero-top {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
  }
  .v2-h1 { font-size: clamp(56px, 5.6vw, 76px); }
  .v2-hero-side { padding-bottom: 8px; }
}

/* ---------- hero stage ---------- */
.stage {
  position: relative;
  margin-top: clamp(28px, 4vw, 46px);
  border: 1px solid #dfe7fd;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 18% 0%, #ffffffd9 0%, #ffffff00 55%),
    radial-gradient(ellipse at 90% 100%, #dde6ff 0%, #dde6ff00 60%),
    radial-gradient(#b9c8f5 .8px, transparent .9px) 0 0 / 20px 20px,
    #eaf0ff;
  overflow: hidden;
  isolation: isolate;
  height: 548px;
}
.stage-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.arc-line {
  fill: none;
  stroke: #98adeb;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1 8;
}
.arc-flow {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 130 2000;
  stroke-dashoffset: 130;
  opacity: 0;
}
.arc-flow.is-reply { stroke: var(--tg); }
.stage-badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #d8e2ff;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px #2d55d420;
  transform: translate(-50%, -50%) rotate(-8deg);
  opacity: 0;
  transition: opacity .3s;
}
.stage.is-ready .stage-badge { opacity: 1; }
.stage-badge .logo-symbol { scale: .82; }
.packet {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 28px;
  margin: -14px 0 0 -19px;
  border-radius: 14px 14px 14px 5px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 5px #315cff22, 0 10px 22px #315cff66;
  opacity: 0;
  pointer-events: none;
}
.packet .glyph { font-size: 15px; }
.packet.is-reply { background: var(--tg); box-shadow: 0 0 0 5px #3390ec22, 0 10px 22px #3390ec66; border-radius: 14px 14px 5px 14px; }

.stage-label {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid #dbe4fb;
  border-radius: 100px;
  background: #ffffffcc;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6c7fa8;
  white-space: nowrap;
}
.stage-label .glyph { color: var(--blue); font-size: 14px; }
.label-tg .glyph { color: var(--tg); }

/* browser window */
.browser {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #d9e2f7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 34px 60px -24px #2a4bb040, 0 2px 6px #2a4bb00d;
  overflow: hidden;
}
.browser-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding-inline: 14px;
  background: #f4f7fe;
  border-bottom: 1px solid #e6ecf8;
}
.browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #f1a7a0; }
.browser-dots i:nth-child(2) { background: #f3cf7f; }
.browser-dots i:nth-child(3) { background: #9ad6a4; }
.browser-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding-inline: 11px;
  border: 1px solid #e3e9f6;
  border-radius: 9px;
  background: #fff;
  font-size: 12.5px;
  color: #7d88a3;
  white-space: nowrap;
  overflow: hidden;
  direction: ltr;
}
.browser-url .glyph { font-size: 12px; color: #6fb37b; flex-shrink: 0; }
.url-path { font-weight: 600; color: #34426a; overflow: hidden; text-overflow: ellipsis; }
.browser-page { position: relative; flex: 1; min-height: 0; background: linear-gradient(#fff, #f7f9ff); }
.fake-site {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 52%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 20px;
}
.fake-nav { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.fake-nav b { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.fake-nav i { width: 22px; height: 6px; border-radius: 4px; background: #e4e9f5; }
.fake-nav i:first-of-type { margin-inline-start: auto; }
.fake-kicker { font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #9aa6c0; }
.fake-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.fake-line { display: block; height: 7px; width: 92%; border-radius: 5px; background: #e8edf8; }
.fake-line.short { width: 62%; }
.fake-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
  padding: 9px;
  border: 1px solid #edf1f9;
  border-radius: 13px;
  background: #fff;
}
.fake-card img { grid-row: span 2; width: 58px; height: 58px; border-radius: 9px; object-fit: cover; background: var(--soft); }

/* the chat widget inside the browser */
.widget {
  position: absolute;
  inset-block: 14px;
  inset-inline-end: 14px;
  width: 256px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dee5f5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 44px -14px #2446a547;
  overflow: hidden;
}
.widget-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--blue);
  color: #fff;
}
.widget-initial {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #ffffff2e;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
}
.widget-head strong { display: block; font-size: 13.5px; font-weight: 600; }
.widget-head div > span { display: block; font-size: 11px; opacity: .78; margin-top: 2px; }
.widget-head > .glyph { margin-inline-start: auto; opacity: .75; }
.widget-log {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
}
.w-msg {
  align-self: flex-start;
  max-width: 86%;
  padding: 8px 11px;
  border-radius: 15px;
  border-end-start-radius: 5px;
  background: #f1f4fb;
  color: #45546f;
  font-size: 12.5px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.w-msg.out {
  align-self: flex-end;
  border-radius: 15px;
  border-end-end-radius: 5px;
  background: var(--blue);
  color: #fff;
}
.w-msg.reply { background: #e9f3ff; color: #274266; }
.w-typing { display: inline-flex; align-items: center; gap: 4px; padding: 11px 13px; }
.w-typing i, .closing-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: v2-dot 1.15s ease-in-out infinite;
}
.w-typing i:nth-child(2), .closing-typing i:nth-child(2) { animation-delay: .15s; }
.w-typing i:nth-child(3), .closing-typing i:nth-child(3) { animation-delay: .3s; }
.widget-compose {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-inline: 10px;
  padding-block: 5px;
  padding-inline: 11px 5px;
  border: 1px solid #e6ebf5;
  border-radius: 11px;
  font-size: 12px;
  color: #a4aec3;
}
.widget-input { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget-send {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}
.widget-send .glyph { font-size: 14px; }
.widget-credit-v2 { display: block; flex-shrink: 0; padding: 6px 0 8px; text-align: center; font-size: 10px; color: #aab5ca; }
.widget-credit-v2 b { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: #8b9bbc; }

/* the phone */
.phone {
  position: absolute;
  z-index: 2;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(150deg, #2c3450, #10152a 60%);
  box-shadow: 0 44px 70px -26px #1a2b6b73, inset 0 0 0 1.5px #414b6a;
}
.phone::before,
.phone::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: #242b43;
}
.phone::before { inset-inline-end: -3px; top: 120px; height: 62px; }
.phone::after { inset-inline-start: -3px; top: 98px; height: 34px; }
.phone-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 36px;
  background: #fff;
  overflow: hidden;
}
.phone-status {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding-inline: 24px 20px;
  font-size: 12.5px;
  color: #0e1424;
  direction: ltr;
}
.phone-status b { font-weight: 650; }
.phone-island {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 80px;
  height: 21px;
  border-radius: 12px;
  background: #0b0f1d;
  transform: translateX(-50%);
}
.phone-icons { display: flex; align-items: flex-end; gap: 2px; }
.phone-icons i { width: 3px; height: 5px; border-radius: 1px; background: #0e1424; }
.phone-icons i:nth-child(2) { height: 7px; }
.phone-icons i:nth-child(3) { height: 9px; }
.phone-icons em {
  width: 20px;
  height: 10px;
  margin-inline-start: 5px;
  border: 1.5px solid #0e1424;
  border-radius: 3px;
  background: linear-gradient(90deg, #0e1424 70%, transparent 70%) 1px 1px / calc(100% - 2px) calc(100% - 2px) no-repeat;
}
.tg-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 10px;
  border-bottom: 1px solid #edf0f5;
  background: #fff;
}
.tg-back { font-size: 18px; color: var(--tg); transform: rotate(180deg); flex-shrink: 0; }
[dir="rtl"] .tg-back { transform: none; }
.tg-group-ava {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #5a7dff, var(--blue));
}
.tg-group-ava .logo-symbol { scale: .66; }
.tg-group-ava .logo-symbol i { background: #fff; }
.tg-head-text { min-width: 0; }
.tg-head-text strong { display: block; font-size: 13.5px; font-weight: 650; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-head-text span { display: block; font-size: 11.5px; color: #8a94a8; margin-top: 1px; }
.tg-more { margin-inline-start: auto; color: #8a94a8; font-size: 18px; flex-shrink: 0; }

.tg-list { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.tg-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 62px;
  padding-inline: 12px 0;
  overflow: hidden;
}
.tg-row.is-new { animation: v2-row-flash 2.2s ease-out; }
.tg-ava {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 1px #0000001f;
}
/* Telegram's own topic colours */
.tg-ava.c0 { background: linear-gradient(145deg, #86c6f7, #4f98e6); }
.tg-ava.c1 { background: linear-gradient(145deg, #ffd67e, #eba43a); }
.tg-ava.c2 { background: linear-gradient(145deg, #d99ae6, #b06ad0); }
.tg-ava.c3 { background: linear-gradient(145deg, #8eee98, #45b95b); }
.tg-ava.c4 { background: linear-gradient(145deg, #ffa3be, #ee6993); }
.tg-ava.c5 { background: linear-gradient(145deg, #fd9a8d, #eb5846); }
.tg-row-main {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding-inline-end: 12px;
  border-bottom: 1px solid #eef1f5;
}
.tg-row-top, .tg-row-bottom { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tg-name { font-size: 13.5px; font-weight: 650; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tg-tag {
  flex-shrink: 1;
  min-width: 0;
  max-width: 45%;
  padding: 1px 6px;
  border-radius: 6px;
  background: #eaf1ff;
  color: #3f64d6;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
}
.tg-time { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; font-size: 11px; color: #97a1b3; }
.tg-time .glyph { font-size: 13px; color: #3fae5a; stroke-width: 2.2; }
.tg-preview { flex: 1; min-width: 0; font-size: 12.5px; color: #7c869a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-preview em { font-style: normal; color: #1d2638; }
.tg-badge {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 6px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--tg);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.tg-ripple {
  position: absolute;
  inset-inline-start: 30px;
  top: 50%;
  width: 260px;
  height: 260px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #3390ec2e;
  pointer-events: none;
  transform: scale(0);
}
[dir="rtl"] .tg-ripple { translate: 50% -50%; }

/* one open topic, slides over the list */
.tg-topic {
  position: absolute;
  inset: 36px 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(#c9d8ea 1px, transparent 1.2px) 0 0 / 16px 16px,
    var(--tg-chat);
  transform: translateX(104%);
}
[dir="rtl"] .tg-topic { transform: translateX(-104%); }
.tg-topic .tg-ava { width: 34px; height: 34px; font-size: 14px; }
.tg-pinned {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-bottom: 1px solid #e3e9f1;
  background: #fff;
  font-size: 11.5px;
  color: #5b6b86;
}
.tg-pinned .glyph { color: var(--tg); font-size: 14px; }
.pinned-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-thread {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  overflow: hidden;
}
.tg-msg {
  align-self: flex-start;
  max-width: 84%;
  padding: 6px 10px 5px;
  border-radius: 15px;
  border-end-start-radius: 5px;
  background: #fff;
  color: #1b2436;
  font-size: 12.5px;
  line-height: 1.4;
  box-shadow: 0 1px 1px #1b24360f;
  overflow-wrap: anywhere;
}
.tg-msg b { display: block; font-size: 11.5px; font-weight: 650; color: #d0703a; }
.tg-msg small { display: inline-flex; align-items: center; gap: 2px; float: inline-end; margin-inline-start: 10px; margin-top: 4px; font-size: 10px; color: #93a3b8; }
.tg-msg.out { align-self: flex-end; border-radius: 15px; border-end-end-radius: 5px; background: #e2fbd2; }
.tg-msg.out small { color: #5aa55a; }
.tg-msg small .glyph { font-size: 12px; stroke-width: 2.2; }
.tg-compose {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 12px;
  border-top: 1px solid #e6ebf2;
  background: #fff;
  font-size: 12.5px;
  color: #9aa5b8;
}
.tg-compose > .glyph { font-size: 17px; flex-shrink: 0; }
.tg-input { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-send {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tg);
  color: #fff;
}
.tg-send .glyph { font-size: 14px; }
.is-typing { color: #1d2638; }
.is-typing::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-inline-start: 1px;
  vertical-align: -0.2em;
  background: currentColor;
  animation: v2-blink 1s steps(1) infinite;
}

/* The scene's sample text is English: in an RTL page it keeps its own
   punctuation order while the layout itself mirrors. */
.stage :is(.w-msg, .widget-head div, .widget-input, .fake-title, .fake-kicker, .fake-nav b,
  .tg-name, .tg-preview, .tg-head-text strong, .tg-head-text span, .pinned-text, .tg-msg, .tg-input) {
  unicode-bidi: plaintext;
}

/* stage layout: side by side from 720px */
@media (min-width: 720px) {
  .browser { inset-inline-start: 5%; top: 66px; width: min(580px, 52%); height: 396px; rotate: -1.2deg; }
  .phone { inset-inline-end: 7%; top: 28px; width: 288px; height: 474px; rotate: 1.4deg; }
  .label-site { inset-inline-start: 5%; bottom: 24px; }
  .label-tg { inset-inline-end: 7%; bottom: 12px; translate: -46px 0; }
  [dir="rtl"] .label-tg { translate: 46px 0; }
}
@media (min-width: 720px) and (max-width: 979px) {
  .stage { height: 500px; }
  .browser { inset-inline-start: 4%; top: 60px; width: 58%; height: 360px; }
  .phone { inset-inline-end: 4%; top: 26px; width: 250px; height: 432px; }
  .label-site { inset-inline-start: 4%; bottom: 22px; }
  .label-tg { display: none; }
  .fake-site { width: 44%; padding-inline: 14px; }
  .fake-title { font-size: 24px; }
  .widget { width: 232px; }
}

/* stacked: phone first, browser under it, the path runs down the free lane */
@media (max-width: 719px) {
  .stage {
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 16px 12px 16px;
    border-radius: 26px;
  }
  .stage-label { position: relative; align-self: flex-start; font-size: 11px; padding: 5px 10px; }
  .label-tg { order: 1; margin-bottom: 10px; }
  .phone { order: 2; position: relative; width: min(272px, 80%); height: 388px; padding: 8px; border-radius: 40px; }
  .phone-screen { border-radius: 32px; }
  .label-site { order: 3; margin-block: 18px 10px; }
  .browser { order: 4; position: relative; width: 100%; height: 300px; }
  .browser-bar { height: 38px; gap: 9px; padding-inline: 11px; }
  .browser-dots i { width: 8px; height: 8px; }
  .browser-url { font-size: 12px; height: 26px; }
  .fake-site { width: 40%; padding: 14px 12px; gap: 7px; }
  .fake-nav { margin-bottom: 8px; }
  .fake-nav i { display: none; }
  .fake-kicker { display: none; }
  .fake-title { font-size: 21px; }
  .fake-card { grid-template-columns: 1fr; padding: 6px; }
  .fake-card img { width: 100%; height: 52px; grid-row: auto; }
  .fake-card .fake-line { display: none; }
  .widget { width: min(224px, 72%); inset-block: 10px; inset-inline-end: 10px; }
  .tg-row { height: 58px; gap: 9px; padding-inline-start: 10px; }
  .tg-ava { width: 38px; height: 38px; font-size: 15px; }
  .tg-name { font-size: 13px; }
  .tg-preview { font-size: 12px; }
  .tg-tag { max-width: 42%; }
  .phone-status { height: 32px; padding-inline: 20px 16px; font-size: 12px; }
  .phone-island { top: 8px; width: 64px; height: 18px; }
  .tg-topic { inset-block-start: 32px; }
  .tg-head { padding: 4px 10px 9px; gap: 8px; }
  .tg-group-ava { width: 32px; height: 32px; }
  .tg-more { display: none; }
}
@media (max-width: 359px) {
  .fake-site { display: none; }
  .widget { width: auto; inset-inline-start: 10px; }
}

/* ---------- pillars ---------- */
.v2-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: clamp(52px, 7vw, 92px);
}
.pillar {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px #2a4bb040; }
.pillar-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: #edf2ff;
  color: var(--blue);
  rotate: -6deg;
}
.pillar-icon .icon { width: 24px; height: 24px; }
.pillar:nth-child(2) .pillar-icon { background: var(--blue); color: #fff; rotate: 5deg; }
.pillar:nth-child(3) .pillar-icon { background: #e6f3fd; color: var(--tg); }
.pillar-num {
  position: absolute;
  inset-block-start: 26px;
  inset-inline-end: 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: #aab6d3;
}
.pillar h2 {
  font-size: clamp(21px, 1.9vw, 25px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-top: 22px;
}
.pillar p { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin-top: 9px; }
@media (max-width: 860px) {
  .v2-pillars { grid-template-columns: 1fr; gap: 12px; }
  .pillar { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; }
  .pillar-icon { grid-row: span 2; }
  .pillar h2 { margin-top: 2px; padding-inline-end: 30px; }
  .pillar p { grid-column: 2; }
  .pillar-num { inset-block-start: 22px; inset-inline-end: 20px; }
}

/* ---------- live demo (the reused playground, re-headed) ---------- */
.v2-demo-intro {
  padding-top: clamp(50px, 7vw, 84px);
  background: #eef3ff;
  border-top: 1px solid #e5edfe;
}
.home-v2 .media-playground { border-top: 0; padding-top: 22px; }
.home-v2 .play-heading > div:first-child { display: none; }
.home-v2 .play-heading { justify-content: flex-start; margin-bottom: 30px; }
.home-v2 .play-heading .try-actions { margin-top: 0; }

/* ---------- setup ---------- */
.v2-setup { padding-block: clamp(60px, 8vw, 104px); }
.setup-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.setup-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}
.step-n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #edf2ff;
  color: var(--blue);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
}
.setup-step h3 { font-size: 23px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.2; margin-top: 18px; }
.setup-step p { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin-block: 8px 22px; }
.step-art {
  position: relative;
  margin-top: auto;
  padding: 16px;
  border: 1px dashed #d3ddf6;
  border-radius: 18px;
  background: #f6f8ff;
}
.setup-step.is-scan {
  border-color: transparent;
  background: linear-gradient(155deg, #4570ff 0%, var(--blue) 45%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 34px 60px -26px #315cff99;
}
.is-scan .step-n { background: #ffffff26; color: #fff; }
.is-scan h3 { font-size: clamp(26px, 2.6vw, 32px); }
.is-scan p { color: #dbe4ff; }
.scan-art {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  border: 1px solid #ffffff33;
  background: #ffffff14;
}
.qr-frame {
  position: relative;
  width: 140px;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 30px -12px #0b1d6680;
}
.qr-art { display: block; width: 100%; height: 100%; fill: #1c2540; shape-rendering: crispEdges; }
.qr-scanline {
  position: absolute;
  inset-inline: 6px;
  top: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  box-shadow: 0 0 14px 3px #315cff80;
  animation: v2-scan 2.6s ease-in-out infinite alternate;
}
.qr-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px #fff;
}
.qr-logo .logo-symbol { scale: .66; }
.scan-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.scan-checks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.35; color: #fff; transition: opacity .35s; }
.tick {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  transition: background .3s, border-color .3s, transform .35s var(--ease-out);
}
.tick .glyph { font-size: 12px; stroke-width: 3.2; transition: opacity .25s; }
.scan-checks.is-armed li:not(.done) { opacity: .5; }
.scan-checks.is-armed li:not(.done) .tick { background: transparent; border-color: #ffffff80; transform: scale(.85); }
.scan-checks.is-armed li:not(.done) .tick .glyph { opacity: 0; }

.site-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid #dbe3f5;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  direction: ltr;
}
.site-input .glyph { color: #8ea2c9; }
.caret { width: 1.5px; height: 17px; background: var(--blue); animation: v2-blink 1s steps(1) infinite; }
.site-found { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 14px; color: #4f5f7f; }
.found-swatch { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px #315cff26; }
.found-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-inline-start: auto;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.site-hello {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 11px;
  padding: 8px 12px;
  border-radius: 14px;
  border-end-start-radius: 5px;
  background: #fff;
  border: 1px solid #e1e8f6;
  font-size: 13.5px;
  color: #45546f;
}
.code-art { padding-bottom: 70px; }
.code-art code {
  display: block;
  padding: 12px 13px;
  border: 1px solid #e1e8f6;
  border-radius: 12px;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.7;
  color: #3f4d6e;
  overflow-wrap: anywhere;
  direction: ltr;
  text-align: left;
}
.c-tag { color: var(--blue); }
.c-attr { color: #8d58db; }
.c-str { color: #14756b; }
.bubble-pop {
  position: absolute;
  inset-inline-end: 16px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: var(--blue);
  box-shadow: 0 10px 22px #315cff55;
  animation: v2-pop 3.2s var(--ease-out) infinite;
}
.bubble-pop .logo-symbol { scale: .68; }
.bubble-pop .logo-symbol i { background: #fff; }

@media (min-width: 940px) {
  .setup-steps {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.34fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
  }
  .setup-step.is-scan { margin-block: -18px; padding: 34px; }
  .qr-frame { width: 150px; }
}
@media (max-width: 420px) {
  .scan-art { grid-template-columns: 1fr; justify-items: start; gap: 16px; }
  .qr-frame { width: 132px; }
}

/* ---------- everything a visitor might send ---------- */
.v2-send {
  padding-block: clamp(60px, 8vw, 100px);
  background: #f3f6ff;
  border-block: 1px solid #e6edfd;
}
.send-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}
.send-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}
.send-card h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.25; }
.send-card p { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin-top: 9px; }
.plan-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 13.5px;
  font-weight: 550;
  color: #4f6bb5;
}
.plan-note::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.send-art {
  position: relative;
  height: 172px;
  margin-bottom: 22px;
  padding: 16px;
  border-radius: 18px;
  background: var(--soft);
  overflow: hidden;
}
.m-photo {
  position: absolute;
  inset-inline-start: 18px;
  top: 16px;
  padding: 4px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px -8px #2446a540;
  rotate: -5deg;
}
.m-photo img { display: block; width: 92px; height: 92px; border-radius: 10px; object-fit: cover; }
.m-voice {
  position: absolute;
  inset-inline-end: 14px;
  top: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 7px;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px -8px #315cff80;
  rotate: 3deg;
}
.m-play { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ffffff2e; }
.m-play .glyph { font-size: 14px; }
.m-wave { display: flex; align-items: center; gap: 2px; height: 20px; }
.m-wave i { width: 3px; height: 9px; border-radius: 2px; background: #ffffffc0; }
.m-wave i:nth-child(3n) { height: 18px; }
.m-wave i:nth-child(4n) { height: 6px; }
.m-wave i:nth-child(5n) { height: 14px; }
.m-voice b { font-size: 11.5px; font-weight: 600; }
.m-file {
  position: absolute;
  inset-inline-end: 26px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #e1e8f6;
  border-radius: 12px;
  background: #fff;
  font-size: 12.5px;
  color: #45546f;
  rotate: -2deg;
}
.m-file .glyph { color: var(--blue); font-size: 16px; }
.context-art {
  background:
    radial-gradient(#c9d8ea 1px, transparent 1.2px) 0 0 / 16px 16px,
    var(--tg-chat);
}
.ctx-pin { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--tg); margin-bottom: 8px; }
.ctx-pin .glyph { font-size: 14px; }
.ctx-card {
  display: grid;
  gap: 3px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 13px;
  border-radius: 15px;
  border-end-start-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 2px #1b243614;
}
.ctx-line { font-size: 13px; color: #33415f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctx-line b { font-weight: 650; }
.ctx-line em { font-style: normal; color: #3f64d6; }
.auto-clock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 100px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #5b6f9b;
}
.auto-clock .glyph { color: #8d58db; }
.auto-msg {
  display: block;
  max-width: 94%;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 15px;
  border-end-start-radius: 5px;
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
  color: #45546f;
}
.auto-meta { display: block; margin-top: 7px; font-size: 11.5px; color: #8494b8; }

/* ---------- team band ---------- */
.v2-team {
  position: relative;
  padding-block: clamp(64px, 9vw, 116px);
  background: var(--navy);
  color: #e8edff;
  overflow: hidden;
  isolation: isolate;
}
.v2-team::before {
  content: '';
  position: absolute;
  inset-block-start: -260px;
  inset-inline-start: -200px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, #315cff66 0%, #315cff00 65%);
  z-index: -1;
}
.v2-team::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(#ffffff14 .8px, transparent .9px) 0 0 / 22px 22px;
  z-index: -1;
  pointer-events: none;
}
.team-inner { display: grid; gap: 44px; align-items: center; }
.v2-team .v2-eyebrow { color: #a9b9ff; }
.v2-team .v2-eyebrow::before { background: #7f99ff; box-shadow: 0 0 0 4px #7f99ff2e; }
.v2-team .v2-h2 { color: #fff; }
.v2-team .v2-h2 .tint { color: #8fa6ff; }
.team-copy > p { font-size: 17px; line-height: 1.7; color: #c3cdef; margin-top: 18px; max-width: 46ch; }
.team-copy > p.team-quiet {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(19px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #fff;
}
.team-copy > p.team-tip {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid #ffffff1f;
  border-radius: 16px;
  background: #ffffff0d;
  font-size: 14.5px;
  line-height: 1.6;
  color: #b9c4e6;
}
.team-tip .glyph { margin-top: 3px; color: #8fa6ff; font-size: 16px; }
.team-tip code {
  padding: 1px 7px;
  border-radius: 6px;
  background: #ffffff1f;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
.team-card {
  width: 100%;
  max-width: 430px;
  padding: 8px;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 90px -30px #000000a0;
  rotate: 1.5deg;
}
.team-card-head { display: flex; align-items: center; gap: 11px; padding: 12px 14px 14px; border-bottom: 1px solid #eef1f6; }
.team-card-head strong { display: block; font-size: 15px; font-weight: 650; }
.team-card-head div > span { display: block; font-size: 12.5px; color: #8a94a8; margin-top: 2px; }
.team-list { list-style: none; margin: 0; padding: 4px 0; }
.team-list li { display: flex; align-items: center; gap: 12px; padding: 9px 14px; }
.team-list li > div { min-width: 0; }
.team-list b { display: block; font-size: 14.5px; font-weight: 650; }
.team-list li > div > span { display: block; font-size: 12.5px; color: #8a94a8; margin-top: 1px; }
.team-list em {
  margin-inline-start: auto;
  padding: 4px 10px;
  border-radius: 100px;
  background: #e4f4ea;
  color: #2c7449;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.team-add b { color: var(--tg); }
.add-ico { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: #e8f2fd; color: var(--tg); font-size: 18px; }
@media (min-width: 900px) {
  .team-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; }
  .team-card { justify-self: end; }
}
@media (max-width: 899px) {
  .team-card { justify-self: center; rotate: 0deg; }
}

/* ---------- studio (the reused section, re-headed) ---------- */
.v2-studio-intro { padding-top: clamp(60px, 8vw, 104px); margin-bottom: 30px; }
.home-v2 .studio-heading { display: none; }
.home-v2 .studio-section { padding-top: 0; }

/* ---------- addons ---------- */
.v2-addons { padding-block: clamp(20px, 3vw, 30px) clamp(60px, 8vw, 100px); }
.addon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.mini-addon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.mini-addon.is-soon { border-style: dashed; border-color: #d6dff2; background: #fcfdff; }
.mini-addon.is-soon .tile-icon { background: #f1f4fb; color: #7f90b6; }
.mini-addon h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; margin-top: 10px; }
.mini-addon p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.mini-addon .chip { margin-top: auto; white-space: normal; font-size: 12.5px; }

/* ---------- pricing ---------- */
.v2-pricing {
  padding-block: clamp(60px, 8vw, 100px);
  background: #eef3ff;
  border-block: 1px solid #e5edfe;
}
.price-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}
.price-tile:hover { transform: translateY(-4px); border-color: #c4d1fb; box-shadow: 0 22px 40px -22px #2a4bb040; }
.price-tile.is-pick { border-color: #b9c8ff; background: linear-gradient(#f4f7ff, #fff 60%); box-shadow: 0 20px 45px #314da715; }
.price-name { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 500; }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price-amount b { font-family: 'Space Grotesk', sans-serif; font-size: clamp(42px, 4.4vw, 54px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.price-amount span { font-size: 14px; color: #8d97ab; }
.price-line { font-size: 15px; line-height: 1.6; color: #5f6c88; }
.price-note { margin-top: 20px; text-align: center; font-size: 14.5px; line-height: 1.6; color: #637396; }
@media (max-width: 860px) { .price-row { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- faq ---------- */
.v2-faq { display: grid; gap: 8px; padding-block: clamp(60px, 8vw, 104px); }
.v2-faq .faq { max-width: none; }
.v2-faq .faq summary { font-size: 17px; }
.v2-faq .faq details p { font-size: 15.5px; }
@media (min-width: 960px) {
  .v2-faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .v2-faq .v2-head { position: sticky; top: 30px; }
}

/* ---------- closing ---------- */
.v2-closing {
  position: relative;
  background:
    radial-gradient(ellipse at 85% 20%, #5b7dff 0%, #315cff00 55%),
    radial-gradient(ellipse at 0% 100%, #2447d6 0%, #2447d600 60%),
    var(--blue);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.v2-closing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(#ffffff1c .8px, transparent .9px) 0 0 / 22px 22px;
  z-index: -1;
}
.closing-inner {
  display: grid;
  align-items: center;
  gap: 36px;
  padding-block: clamp(60px, 8vw, 100px);
}
.closing-copy .v2-h2 { color: #fff; font-size: clamp(38px, 6vw, 70px); margin-top: 0; }
.ln-soft { color: #c7d3ff; }
.closing-copy > p { font-size: 18px; line-height: 1.6; color: #dbe4ff; margin-top: 16px; max-width: 40ch; }
.home-v2 .v2-light { background: #fff; color: var(--blue); }
.home-v2 .v2-light:hover { background: #f1f5ff; box-shadow: 0 10px 26px #0b1d6640; }
.closing-fine { font-size: 14px; color: #c7d3ff; }
.closing-art { position: relative; justify-self: center; width: min(300px, 72vw); aspect-ratio: 1; }
.closing-art img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #edf3ff;
  box-shadow: 0 30px 70px -20px #0b1d6699;
  animation: mascot-bob 7s ease-in-out infinite;
}
.closing-ring {
  position: absolute;
  inset: -16px;
  border: 1.5px dashed #ffffff5c;
  border-radius: 50%;
  animation: spin 50s linear infinite;
}
.closing-typing {
  position: absolute;
  inset-inline-start: -8px;
  bottom: 16%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 20px;
  border-end-start-radius: 6px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 16px 32px -10px #0b1d6680;
}
.closing-typing i { width: 8px; height: 8px; }
@media (min-width: 820px) {
  .closing-inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; }
}
@media (max-width: 819px) {
  .closing-art { width: 150px; order: -1; justify-self: start; margin-inline-start: 18px; margin-top: 8px; }
  .closing-typing { padding: 10px 12px; bottom: 6%; inset-inline-start: -14px; }
  .closing-typing i { width: 6px; height: 6px; }
  .closing-ring { inset: -12px; }
  .closing-copy .v2-actions > * { flex: 0 1 auto; }
}

/* ---------- keyframes ---------- */
@keyframes v2-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-3px); opacity: 1; }
}
@keyframes v2-blink { 50% { opacity: 0; } }
@keyframes v2-scan { from { top: 8px; } to { top: calc(100% - 10px); } }
@keyframes v2-pop {
  0%, 20% { transform: scale(0); opacity: 0; }
  32% { transform: scale(1.12); opacity: 1; }
  40%, 100% { transform: scale(1); opacity: 1; }
}
@keyframes v2-row-flash { from { background: #e4edff; } to { background: #e4edff00; } }

/* Paused off screen or in a hidden tab. */
.stage.is-paused *, .stage.is-paused *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .pillar:hover, .price-tile:hover, .v2-ghost:hover { transform: none; }
  .qr-scanline { display: none; }
}
