/* Scoped product sections. The rest of the landing keeps its existing styles. */
:root { --spy-section-gap: clamp(36px, 7vw, 108px); --tg-icon: #c0c9d2; --tg-service-bg: #263747; --tg-scroll-thumb: #3a4d62; --tg-white: #fff; }
.spy-features, .spy-pricing { --spy-ink: #efebe3; --spy-muted: #aca69a; --spy-line: #363127; }
.spy-eyebrow { margin-bottom: 24px; color: var(--gold-500); font-size: .75rem; font-weight: 600; letter-spacing: .17em; }
.spy-heading { margin-bottom: 24px; font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.spy-intro { color: var(--spy-muted); font-size: 1rem; line-height: 1.7; }
.spy-demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--spy-section-gap); align-items: center; }
.spy-feature-copy { max-width: 450px; }
.spy-scenarios { margin-top: 28px; border-top: 1px solid var(--spy-line); }
.spy-scenario { width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr) 20px; gap: 12px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--spy-line); background: transparent; text-align: left; cursor: pointer; font-family: var(--font-body); color: var(--spy-ink); transition: color 180ms ease, background 180ms ease; }
.spy-scenario-number { padding-top: 2px; font-size: .75rem; color: var(--spy-muted); font-variant-numeric: tabular-nums; }
.spy-scenario strong { display: block; font-size: 1rem; font-weight: 500; line-height: 1.4; }
.spy-scenario small { display: block; margin-top: 5px; font-size: .875rem; line-height: 1.5; color: var(--spy-muted); }
.spy-scenario-arrow { font-size: 1.2rem; color: var(--spy-muted); }
.spy-scenario.is-active strong, .spy-scenario.is-active .spy-scenario-number, .spy-scenario.is-active .spy-scenario-arrow { color: var(--gold-300); }
.spy-scenario:hover { background: rgba(201, 168, 76, .035); }
.spy-feature-footnote { margin-top: 24px; font-size: .875rem; line-height: 1.7; color: var(--spy-muted); }
.spy-demo-stage { width: 100%; max-width: 390px; margin-inline: auto; }
.spy-demo-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 16px; }
.spy-demo-toolbar button { min-height: 44px; padding: 8px; border: 0; background: transparent; color: var(--spy-muted); font: 500 .875rem var(--font-body); cursor: pointer; }
.spy-demo-toolbar .spy-auto { padding-left: 0; }
.spy-auto::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 7px 2px 0; border-radius: 50%; background: #6c675c; }
.spy-demo-toolbar .spy-auto.is-active { color: var(--gold-300); }
.spy-auto.is-active::before { background: var(--gold-300); }
.spy-playback { display: flex; gap: 4px; }
.spy-demo-explanation { display: flex; align-items: flex-start; gap: 12px; min-height: 56px; margin-top: 20px; }
.spy-demo-explanation p { margin: 0; color: var(--spy-ink); font-size: .875rem; line-height: 1.6; }
.spy-demo-step { padding-top: 2px; color: var(--gold-500); font-size: .75rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.spy-demo-progress { height: 2px; margin-top: 10px; background: var(--spy-line); overflow: hidden; }
.spy-demo-progress span { display: block; width: 100%; height: 100%; background: var(--gold-500); transform: scaleX(0); transform-origin: left; }
.spy-demo-note { margin-top: 14px; font-size: .75rem; color: var(--spy-muted); line-height: 1.65; }
.spy-features button:focus-visible, .spy-pricing button:focus-visible, .spy-pricing a:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 4px; }

/* Telegram Android, dark theme. The client chrome is intentionally neutral. */
.tg-phone { --tg-chrome: #17212b; --tg-wallpaper: #0e1621; --tg-in: #182533; --tg-out: #2b5278; --tg-blue: #72b5eb; --tg-text: #f3f5f7; --tg-muted: #a7b5c2; display: grid; grid-template-rows: 26px 62px 44px minmax(0, 1fr) 52px 18px; height: 630px; width: 100%; border: 7px solid #242525; border-radius: 36px; background: var(--tg-chrome); overflow: hidden; color: var(--tg-text); box-shadow: 0 24px 56px rgba(0, 0, 0, .4); font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.4; }
.tg-status { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 0; font-size: 11px; font-weight: 600; line-height: 1; }
.tg-system-icons svg { width: 37px; height: 15px; }
.tg-header { display: flex; align-items: center; gap: 12px; padding: 8px 14px; }
.tg-back { width: 22px; height: 22px; flex-shrink: 0; color: var(--tg-icon); }
.tg-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; color: var(--tg-white); background: #6b8e64; font-size: 23px; font-weight: 500; }
.tg-avatar--bot { background: #856b2b; font-family: Georgia, serif; }
.tg-contact { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.tg-contact strong { color: var(--tg-white); font-size: 17px; font-weight: 600; }
.tg-contact span { font-size: 13px; color: var(--tg-blue); }
.tg-header-menu { width: 20px; height: 22px; flex-shrink: 0; color: var(--tg-icon); }
.tg-chat-switch { display: flex; padding: 0 12px; gap: 14px; border-bottom: 1px solid #263443; }
.tg-chat-switch button { position: relative; flex: 1; min-height: 44px; border: 0; background: transparent; color: var(--tg-muted); font: 500 13px system-ui, sans-serif; cursor: pointer; }
.tg-chat-switch button.is-active { color: var(--tg-blue); }
.tg-chat-switch button.is-active::after { content: ''; position: absolute; bottom: 0; left: 10px; right: 10px; height: 3px; border-radius: 3px 3px 0 0; background: var(--tg-blue); }
.tg-chat-switch button:focus-visible { outline-offset: -4px; }
.tg-chat-switch button > span { display: inline-block; min-width: 17px; margin-left: 4px; padding: 0 4px; border-radius: 9px; color: var(--tg-chrome); background: var(--tg-blue); font-size: 11px; }
.tg-chat-switch button > span[hidden] { display: none; }
.tg-conversation { position: relative; overflow: auto; padding: 14px 10px; scrollbar-width: thin; scrollbar-color: var(--tg-scroll-thumb) var(--tg-wallpaper); background-color: var(--tg-wallpaper); background-image: radial-gradient(#233144 0.7px, transparent 0.7px); background-size: 19px 19px; }
.tg-date { display: table; margin: 0 auto 18px; padding: 4px 10px; border-radius: 12px; font-size: 12px; line-height: 1; color: #d1dbe4; background: var(--tg-service-bg); }
.tg-conversation::-webkit-scrollbar { width: 3px; }
.tg-conversation::-webkit-scrollbar-track { background: var(--tg-wallpaper); }
.tg-conversation::-webkit-scrollbar-thumb { background: var(--tg-scroll-thumb); }
.tg-messages { display: flex; flex-direction: column; gap: 8px; }
.tg-bubble { position: relative; max-width: 88%; padding: 9px 11px 6px; overflow-wrap: anywhere; border-radius: 13px; color: var(--tg-text); font-size: 15px; line-height: 1.45; }
.tg-bubble--in { align-self: flex-start; background: var(--tg-in); border-bottom-left-radius: 4px; }
.tg-bubble--out { align-self: flex-end; background: var(--tg-out); border-bottom-right-radius: 4px; }
.tg-meta { display: flex; justify-content: flex-end; gap: 4px; margin-top: 3px; color: #a8bbc9; font-size: 11px; line-height: 1.2; }
.tg-checks { color: #a2c9eb; letter-spacing: -4px; margin-right: 4px; }
.tg-bubble--new { animation: tg-message-in 240ms ease-out both; }
.tg-bubble--vanishing { animation: tg-message-out 420ms ease-in both; }
.tg-bubble--edited { animation: tg-message-edited 500ms ease-out both; }
.tg-event { align-self: center; max-width: 95%; margin: 8px 0; padding: 5px 12px; border-radius: 14px; font-size: 12px; color: #cfdae4; background: var(--tg-service-bg); text-align: center; }
.tg-context { align-self: flex-start; min-width: 190px; margin: 0 0 4px 10px; padding: 5px 0; border: 1px solid #344456; border-radius: 10px; background: #202e3d; box-shadow: 0 8px 20px #0005; animation: tg-message-in 180ms ease-out both; }
.tg-context span { display: flex; gap: 16px; align-items: center; padding: 10px 16px; font-size: 14px; color: #e1e8ef; }
.tg-context .tg-context-action { color: #ff938c; }
.tg-context svg { width: 18px; height: 18px; }
.tg-notification { position: absolute; top: 10px; left: 8px; right: 8px; padding: 12px 14px; border: 1px solid #3e546b; border-radius: 13px; background: #243446; box-shadow: 0 6px 22px #0005; font-size: 13px; animation: tg-notification-in 240ms ease-out both; pointer-events: none; }
.tg-notification strong { display: block; margin-bottom: 4px; color: #b4d8f4; font-size: 13px; }
.tg-notification[hidden] { display: none; }
.tg-composer { display: flex; align-items: center; gap: 14px; padding: 8px 12px; color: var(--tg-muted); }
.tg-composer span { flex: 1; color: #a2aebb; }
.tg-composer svg { width: 23px; height: 23px; flex-shrink: 0; }
.tg-gesture { display: grid; place-items: center; background: #111922; }
.tg-gesture span { width: 96px; height: 3px; border-radius: 2px; background: #a6b2bd; }
.tg-bot-name { display: block; margin-bottom: 8px; font-weight: 600; color: var(--tg-blue); }
.tg-quote { margin: 8px 0; padding: 7px 9px; border-left: 3px solid var(--tg-blue); border-radius: 2px; background: #72b5eb12; }
.tg-quote small { display: block; margin-bottom: 2px; font-size: 12px; color: var(--tg-blue); }
.tg-bot-label { display: block; margin-bottom: 6px; font-weight: 600; }
.tg-bot-text { margin: 6px 0; }
.tg-media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 228px; max-width: 100%; height: 156px; position: relative; overflow: hidden; margin: -3px -5px 6px; border-radius: 8px; background: #334758; color: #d9e9f5; }
.tg-media svg { width: 32px; height: 32px; }
.tg-media strong { font-size: 13px; font-weight: 500; }
.tg-media small { font-size: 11px; color: #c6d3dd; }
.tg-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tg-media-tag { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 12px; background: #101c29cc; color: var(--tg-white); font-size: 11px; line-height: 1.2; }
.tg-media-tag svg { width: 14px; height: 14px; }
.tg-media--recovered { margin-top: 10px; }
.tg-file { display: flex; align-items: center; gap: 10px; padding: 2px 0; }
.tg-file-icon { display: grid; place-items: center; width: 38px; height: 42px; flex-shrink: 0; border-radius: 8px; background: #488bc2; color: var(--tg-white); font-size: 10px; font-weight: 600; }
.tg-file strong { display: block; font-size: 14px; font-weight: 500; }
.tg-file small { font-size: 12px; color: #b6c6d5; }
.tg-stats { display: grid; gap: 8px; margin-top: 12px; }
.tg-stats div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px solid #a4c5df25; font-size: 14px; }
.tg-stats strong { color: var(--tg-blue); }
@keyframes tg-message-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tg-message-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.96); } }
@keyframes tg-message-edited { from { background: #425972; } to { background: var(--tg-in); } }
@keyframes tg-notification-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* A single subscription, with the duration as the only choice. */
.spy-subscription { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--spy-section-gap); align-items: center; }
.spy-subscription-copy .spy-intro { color: var(--gold-300); font-weight: 500; }
.spy-plan-list { margin-top: 28px; display: grid; gap: 16px; }
.spy-plan-list li { position: relative; padding-left: 23px; color: var(--spy-ink); font-size: .9375rem; line-height: 1.6; }
.spy-plan-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-500); }
.spy-plan-payment { margin-top: 30px; font-size: .875rem; color: var(--spy-muted); }
.spy-subscription-choice { padding: 32px; border: 1px solid var(--spy-line); border-radius: 4px; background: #10100f; }
.spy-period-label { margin-bottom: 18px; font-size: .875rem; color: var(--spy-muted); }
.spy-periods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spy-period { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 94px; padding: 16px; border: 1px solid #454038; border-radius: 3px; background: transparent; color: var(--spy-ink); font: 400 .875rem var(--font-body); cursor: pointer; text-align: left; transition: border-color 160ms ease, background 160ms ease; }
.spy-period strong { font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.spy-period small { font-size: .75rem; font-weight: 400; }
.spy-period.is-active { border-color: var(--gold-500); background: #c9a84c0d; }
.spy-period.is-active span, .spy-period.is-active strong { color: var(--gold-300); }
.spy-period:hover { border-color: var(--gold-300); }
.spy-price-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-top: 32px; }
.spy-price-summary div { display: flex; align-items: baseline; gap: 8px; }
.spy-price-summary [data-plan-total] { color: var(--spy-ink); font-size: 3.5rem; font-weight: 500; letter-spacing: -.05em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.spy-price-summary small { font-size: 1rem; color: var(--gold-300); }
.spy-price-summary p { font-size: .875rem; color: var(--spy-muted); }
.spy-price-details { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; min-height: 50px; color: var(--spy-muted); font-size: .8125rem; line-height: 1.65; }
.spy-price-details [data-plan-saving] { color: var(--gold-300); }
.spy-subscription-choice .spy-subscribe-button { width: 100%; justify-content: space-between; margin-top: 22px; border-radius: 4px; box-shadow: none; white-space: normal; font-size: .875rem; text-transform: none; letter-spacing: 0; }
.spy-subscribe-button span { font-size: 1.2rem; }
.spy-checkout-note { margin-top: 14px; color: var(--spy-muted); font-size: .75rem; line-height: 1.65; }
@media (max-width: 800px) {
  .spy-demo-layout, .spy-subscription { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .spy-feature-copy { max-width: none; }
  .spy-features .container, .spy-pricing .container { max-width: 620px; }
  .spy-heading { font-size: clamp(2rem, 7.8vw, 2.75rem); }
  .spy-feature-footnote { margin-top: 18px; }
  .spy-subscription-choice { padding: 24px; }
}
@media (max-width: 380px) {
  .tg-phone { height: 596px; border-width: 5px; border-radius: 27px; }
  .tg-header { gap: 9px; padding-inline: 10px; }
  .tg-media { width: 210px; }
  .spy-subscription-choice { padding: 18px; }
  .spy-period { padding: 14px 12px; }
  .spy-demo-toolbar { gap: 0; }
  .spy-demo-toolbar button { font-size: .8125rem; padding-inline: 6px; }
  .spy-scenario { gap: 8px; grid-template-columns: 24px minmax(0, 1fr) 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-phone *, .spy-features button, .spy-pricing button { animation: none !important; transition: none !important; }
}
