/* Telegram conversion slice. Isolated from the shared motion kit and other sites. */
.tg-conversion { --tg-muted: #a9bdce; background: #0e1621; }
.tg-conversion main { max-width: 1164px; }
.tg-conversion .topbar { position: static; padding: 14px max(22px, calc((100vw - 1120px) / 2)); }
.tg-conversion .brand__name small { font-size: 13px; }
.tg-conversion .topnav { margin-left: auto; }
.tg-conversion .lang-switch { margin-left: 16px; }
.tg-conversion .lang-switch a { min-height: 38px; display: grid; place-items: center; }
.tg-conversion .hero { padding: 54px 0 58px; gap: 56px; grid-template-columns: 1.12fr .88fr; }
.tg-conversion h1 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -.035em; margin: 14px 0 24px; }
.tg-conversion h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; letter-spacing: -.025em; }
.tg-conversion h3 { margin-top: 0; font-size: 23px; line-height: 1.25; }
.tg-conversion p { max-width: 65ch; }
.tg-conversion .lead { font-size: 19px; line-height: 1.6; max-width: 29em; }
.tg-conversion .actions { display: flex; align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 26px; }
.tg-conversion .btn { gap: 14px; font-size: 17px; min-height: 52px; }
.tg-start-note { color: var(--tg-muted); font-size: 16px; line-height: 1.65; margin: 20px 0 0; }
.tg-start-note strong { color: var(--tg-ink); font-weight: 500; }
.tg-conversion a:not(.btn):not(.brand):not(.screenshot-card__link):not(.is-active):hover { color: #b9e1ff; }
.tg-conversion .chat-window { align-self: center; box-shadow: none; }
.tg-breadth-chips { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:22px 0 0; }
.tg-breadth-chips a { display:block; padding:8px 12px; border:1px solid var(--tg-border-strong); border-radius:999px; color:#c4def1; font-size:14px; line-height:1.4; }
.tg-breadth-chips a:hover { background:#1c2a38; }
.tg-conversion .tg-hero-proof { width:100%; background:linear-gradient(150deg,#172331,#101a25); box-shadow:0 20px 65px #0003; }
.tg-conversion .tg-hero-proof .chat-thread { display:grid; justify-items:center; gap:14px; padding:22px; min-height:0; }
.tg-conversion .tg-hero-image { margin:0; width:min(100%,260px); }
.tg-conversion .tg-hero-image .screenshot-card__media { height:auto; max-height:none; }
.tg-conversion .tg-hero-image img { width:100%; height:auto; max-height:none; object-fit:contain; }
.tg-conversion .tg-hero-proof .tg-demo-caption { text-align:center; font-size:13px; line-height:1.5; }
.tg-hero-flow { color:#d6ecff; font-size:14px; text-align:center; margin:0; }
.tg-hero-flow span { color:#70c7ff; padding:0 3px; }
.tg-task-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:28px; }
.tg-task-grid article { padding:24px; border:1px solid var(--tg-border-strong); border-radius:18px; background:linear-gradient(150deg,#172331,#101a25); }
.tg-task-grid h3 { font-size:21px; }
.tg-task-grid p { color:var(--tg-muted); }
.tg-task-grid .tg-task-prompt { border-top:1px solid var(--tg-border-strong); padding-top:14px; margin-bottom:0; font-size:14px; color:#b9e1ff; }
.tg-proof-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.tg-conversion .tg-proof-gallery .screenshot-card { margin:0; }
.tg-conversion .tg-proof-gallery .screenshot-card__media { height:auto; max-height:none; }
.tg-conversion .tg-proof-gallery img { height:auto; object-fit:contain; }
.tg-proof-gallery figcaption strong,.tg-proof-gallery figcaption span { display:block; }
.tg-proof-gallery figcaption strong { color:#edf5fb; font-size:16px; margin-bottom:7px; }
.tg-proof-gallery figcaption span { color:var(--tg-muted); line-height:1.5; }
.tg-conversion .chat-thread { padding: 24px; gap: 16px; }
.tg-conversion .chat-thread .msg { opacity: 1; animation: none; font-size: 17px; max-width: 93%; }
.tg-conversion .chat-window__header { padding: 16px 20px; }
.tg-conversion .chat-window__header small { font-size: 13px; color: var(--tg-muted); margin-top: 4px; }
.tg-conversion .chat-window__header .tg-demo-badge { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--tg-muted); }
.tg-message-label { display: block; font-size: 14px; line-height: 1.4; color: #c0d3e3; margin-bottom: 8px !important; }
.tg-voice { display: flex; gap: 14px; align-items: center; padding: 4px 0 14px; }
.tg-voice > span:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #c8e7ff; color: #163550; }
.tg-wave { color: #c8e7ff; letter-spacing: 1px; white-space: nowrap; overflow: hidden; flex: 1; min-width: 0; }
.tg-voice > span:first-child, .tg-voice > span:last-child { flex-shrink: 0; }
.tg-demo-caption, .tg-fine { color: var(--tg-muted); font-size: 15px; line-height: 1.6; }
.tg-demo-caption { margin: 0; }
.tg-conversion .section { border-top: 1px solid var(--tg-border-strong); padding: 64px 0; margin: 0; }
.tg-proof { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.tg-proof-copy > p:not(.eyebrow):not(.tg-fine) { font-size: 18px; color: var(--tg-muted); }
.tg-result-steps { list-style: none; counter-reset: results; padding: 0; margin: 30px 0; }
.tg-result-steps li { position: relative; padding: 0 0 22px 44px; counter-increment: results; }
.tg-result-steps li::before { content: counter(results, decimal-leading-zero); position: absolute; left: 0; top: 0; font-size: 14px; color: var(--tg-link); }
.tg-result-steps strong, .tg-result-steps span { display: block; }
.tg-result-steps span { color: var(--tg-muted); margin-top: 4px; }
.tg-proof-image { width: min(100%, 300px); justify-self: center; }
.tg-conversion .screenshot-card__hint { opacity: 1; font-size: 14px; }
.tg-conversion .screenshot-card figcaption { font-size: 14px; }
.tg-extra { border-top: 1px solid var(--tg-border-strong); margin-top: 26px; padding-top: 16px; }
.tg-extra summary { cursor: pointer; padding: 8px 0; }
.tg-extra li { margin: 10px 0; }
.tg-extra p { color: var(--tg-muted); }
.tg-capabilities-intro { color: var(--tg-muted); font-size: 18px; }
.tg-capability-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; margin: 28px 0 20px; }
.tg-capability-list > div { border-top: 1px solid var(--tg-border-strong); padding: 20px 0; }
.tg-capability-list dt { font-size: 20px; line-height: 1.35; font-weight: 500; }
.tg-capability-list dd { color: var(--tg-muted); margin: 8px 0 0; line-height: 1.6; }
.tg-start { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: start; }
.tg-start-steps { padding-left: 24px; }
.tg-start-steps li { padding-left: 6px; margin: 16px 0; }
.tg-first-request { border-left: 3px solid var(--tg-accent); background: var(--tg-surface); padding: 20px 24px; margin-top: 28px; }
.tg-first-request p { margin-top: 0; }
.tg-copy { font: inherit; color: var(--tg-link); border: 1px solid var(--tg-border-strong); border-radius: 10px; background: transparent; padding: 10px 16px; cursor: pointer; min-height: 44px; }
.tg-copy-status { display: block; font-size: 14px; color: var(--tg-muted); margin-top: 8px; }
.tg-price { background: var(--tg-surface); padding: 30px; border-radius: 18px; }
.tg-price p { color: var(--tg-muted); }
.tg-price strong { color: var(--tg-ink); font-weight: 500; }
.tg-questions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.tg-conversion .faq-list details p { color: #b7cad9; }
.tg-conversion .faq-list summary { min-height: 54px; }
.tg-more { display: flex; justify-content: space-between; gap: 36px; }
.tg-more h2 { font-size: 26px; }
.tg-more p { color: var(--tg-muted); }
.tg-more-links { display: grid; align-content: center; gap: 16px; }
.tg-reading h2 { font-size: 26px; }
.tg-reading ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: 16px 28px; margin: 24px 0 36px; }
.tg-conversion .footer { max-width: 1164px; padding: 36px 22px; }
.tg-conversion .footer a { font-size: 15px; padding: 4px 0; }
.tg-conversion :target { scroll-margin-top: 24px; }
.tg-conversion :focus-visible { outline: 3px solid #91d3ff; outline-offset: 4px; }
.tg-conversion [hidden] { display: none !important; }
.tg-conversion .screenshot-lightbox__panel { max-height: 95dvh; }
.tg-conversion .screenshot-lightbox__close, .tg-conversion .screenshot-lightbox__original { min-height: 44px; }
@media (max-width: 900px) {
  .tg-conversion .hero { gap: 30px; }
  .tg-proof, .tg-start, .tg-questions { gap: 36px; }
}
@media (max-width: 700px) {
  .tg-conversion main { padding: 0 20px; }
  .tg-conversion .topbar { padding: 12px 20px; gap: 10px; flex-wrap: wrap; }
  .tg-conversion .brand img { width: 34px; height: 34px; }
  .tg-conversion .topnav { display: flex; flex-wrap: wrap; justify-content:space-between; order: 3; width: 100%; margin: 0; gap: 0 10px; }
  .tg-conversion .topnav a { padding: 6px 0; font-size: 14px; }
  .tg-conversion .lang-switch { margin-left: auto; }
  .tg-conversion .hero { display: flex; flex-direction: column; align-items: stretch; padding: 30px 0 38px; gap: 32px; }
  .tg-conversion h1 { font-size: clamp(32px, 8.6vw, 44px); margin: 12px 0 18px; }
  .tg-conversion .lead { font-size: 17px; margin-bottom: 0; }
  .tg-conversion .actions { margin-top: 22px; }
  .tg-conversion .btn { width: 100%; padding: 12px 16px; }
  .tg-conversion .chat-window { width: 100%; }
  .tg-conversion .tg-hero-proof .chat-thread { padding:18px; }
  .tg-conversion .tg-hero-image { width:min(100%,260px); }
  .tg-breadth-chips { gap:7px; margin-top:18px; }
  .tg-breadth-chips a { padding:7px 10px; font-size:13px; }
  .tg-task-grid { grid-template-columns:1fr; gap:14px; }
  .tg-task-grid article { padding:20px; }
  .tg-proof-gallery { width:100%; gap:14px; }
  .tg-proof-gallery figcaption strong { font-size:15px; }
  .tg-proof-gallery figcaption span { font-size:13px; }
  .tg-conversion .chat-thread { padding: 20px 16px; }
  .tg-conversion .chat-thread .msg { font-size: 16px; max-width: 96%; }
  .tg-conversion .section { padding: 38px 0; }
  .tg-proof, .tg-start, .tg-questions { display: flex; flex-direction: column; gap: 26px; }
  .tg-proof-image { align-self: center; width: min(100%, 280px); }
  .tg-capability-list { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .tg-capability-list > div { padding: 16px 0; }
  .tg-price { padding: 24px; }
  .tg-more { display: block; }
  .tg-more-links { margin-top: 24px; }
  .tg-reading ul { display: grid; }
  .tg-conversion .footer { padding: 28px 20px; }
}
/* A short Telegram-blue greeting; the recorded conversation never plays itself. */
.tg-conversion .hero .eyebrow { position:relative; }
.tg-conversion .hero .eyebrow::after {
  content:""; position:absolute; left:0; bottom:-7px; width:80px; height:2px;
  background:linear-gradient(90deg,#70c7ff,#70c7ff00); border-radius:2px;
  pointer-events:none; transform-origin:left center; opacity:.7;
}
.tg-conversion .hero .chat-window__header { position:relative; }
.tg-conversion .hero .chat-window__header::after {
  content:""; position:absolute; left:14px; top:50%; margin-top:-22px;
  width:44px; height:44px; border:1px solid #91d3ff; border-radius:50%;
  pointer-events:none; opacity:.3;
}
@media (prefers-reduced-motion:no-preference) {
  .tg-conversion .hero .eyebrow::after { animation:tgHeroStroke 3.4s ease-out 1; }
  .tg-conversion .hero .chat-window__header::after { animation:tgHeroHalo 4.2s ease-out 1; }
}
@keyframes tgHeroStroke {
  0% { transform:scaleX(.3); opacity:.3; }
  40% { transform:scaleX(1); opacity:1; }
  100% { transform:scaleX(1); opacity:.7; }
}
@keyframes tgHeroHalo {
  0% { transform:scale(.76); opacity:.1; }
  42% { transform:scale(1.2); opacity:.75; }
  100% { transform:scale(1); opacity:.3; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-conversion, .tg-conversion *, .tg-conversion *::before, .tg-conversion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html:has(.tg-conversion) { scroll-behavior: auto; }
}

/* Opus 10.10: the real recording "arrives" message by message, once. Text and CTA are never hidden;
   the veil is decorative, its resting state is scaleY(0), so no-JS/no-animation shows the untouched screenshot. */
.tg-conversion .tg-hero-image .screenshot-card__media { position:relative; }
.tg-conversion .vm-chat-reveal { position:absolute; left:0; right:0; top:30%; bottom:0; pointer-events:none; transform:scaleY(0); transform-origin:50% 100%; background:rgba(13,21,31,.66); -webkit-backdrop-filter:blur(9px); backdrop-filter:blur(9px); -webkit-mask-image:linear-gradient(to bottom,transparent,#000 16px); mask-image:linear-gradient(to bottom,transparent,#000 16px); }
@media (prefers-reduced-motion:no-preference) {
  .tg-conversion .vm-chat-reveal { animation:tgChatReveal 3.6s cubic-bezier(.3,.7,.2,1) .5s both; }
}
/* stops = bottoms of: voice note 41%, recognized text 58%, answer 72%, actions 86%, speech file 100% */
@keyframes tgChatReveal {
  0%,14% { transform:scaleY(1); }
  19%,33% { transform:scaleY(.843); }
  38%,52% { transform:scaleY(.6); }
  57%,71% { transform:scaleY(.4); }
  76%,90% { transform:scaleY(.2); }
  95%,100% { transform:scaleY(0); }
}
@media (prefers-reduced-motion:reduce) { .tg-conversion .vm-chat-reveal { display:none; } }

/* Opus 10.10: compact sticky header keeps the primary action in reach after the hero scrolls away.
   Phones: one row (brand, action, language); in-page links stay in the page body. */
.tg-conversion .topbar { position:sticky; top:0; z-index:40; background:rgba(23,33,43,.97); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-bottom:1px solid var(--tg-border); }
.tg-conversion .topbar__cta { margin-left:16px; }
html:has(.tg-conversion) { scroll-padding-top:78px; }
@media (max-width:700px) {
  .tg-conversion .topbar { flex-wrap:nowrap; padding:10px 16px; }
  .tg-conversion .topnav { display:none; }
  .tg-conversion .topbar__cta { margin-left:auto; padding:8px 13px; font-size:.82rem; }
  .tg-conversion .lang-switch { margin-left:8px; }
  html:has(.tg-conversion) { scroll-padding-top:66px; }
}
@media (max-width:374px) { .tg-conversion .brand__name small { display:none; } }
