/* /telegram/ only: Telegram styling for the exclusive group page. Telegram blue #229ED9, the paper plane mark, flat. */
:root { --tg: #229ed9; --tg-d: #1b86b9; }

main.wrap > section.hero.tg-hero, .hero.tg-hero { display: block; grid-template-columns: none; min-height: 0; height: auto; margin-bottom: 0; padding-bottom: 0; }
.tg-hp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; column-gap: 64px; padding: 48px var(--px, 48px); }
.tg-hl .crumbs { margin: 0 0 32px; }
.tg-k { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text); }
.tg-mark, .tg-av { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--tg); }
.tg-mark svg, .tg-av svg { width: 18px; height: 18px; fill: #fff; margin-left: -2px; }
.tg-hl h1#h1 { margin: 0; text-wrap: balance; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
.tg-hl .sub { margin: 16px 0 0; max-width: 560px; }
.tg-btn { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; padding: 14px 24px; border-radius: 999px; background: var(--tg); font-size: 16px; line-height: 24px; font-weight: 500; color: #fff; transition: background 160ms ease; }
.tg-btn:hover { background: var(--tg-d); }
.tg-btn svg { width: 20px; height: 20px; fill: #fff; }
.tg-btn > span { display: inline-flex; }

/* a channel card in Telegram's look, showing what gets posted */
.tg-hr { display: flex; justify-content: center; }
.tg-chat { width: 100%; max-width: 420px; padding: 16px; border-radius: 16px; background: #0e1621; }
.tg-ch { display: flex; align-items: center; gap: 12px; padding: 0 0 16px; margin-bottom: 16px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
.tg-av { width: 40px; height: 40px; }
.tg-ch > span:last-child { display: flex; flex-direction: column; font-size: 16px; line-height: 24px; color: #fff; }
.tg-ch small { font-size: 14px; line-height: 20px; color: #7d8e98; }
.tg-bub { margin: 0 0 8px; max-width: 88%; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: #182533; font-size: 14px; line-height: 20px; color: #c7d3da; }
.tg-bub:last-child { margin-bottom: 0; }
.tg-bub b { display: block; margin-bottom: 4px; font-size: 16px; line-height: 24px; font-weight: 500; color: #fff; }

/* what you get */
.tg-g { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; list-style: none; }
.tg-c { display: flex; flex-direction: column; align-items: flex-start; }
.tg-i { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 12px; background: rgba(34, 158, 217, .14); }
.tg-i svg { width: 24px; height: 24px; fill: none; stroke: var(--tg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tg-c h3 { margin: 0 0 8px; font-family: var(--display); font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.tg-c p { margin: 0; font-size: 16px; line-height: 24px; color: var(--muted); }
.tg-cta { background: var(--tg); }
.tg-cta h3, .tg-cta p { color: #fff; }
.tg-i-w { background: rgba(255, 255, 255, .18); }
.tg-i-w svg { fill: #fff; stroke: none; }
.tg-btn-w { margin-top: auto; padding-top: 12px; padding-bottom: 12px; background: #fff; color: #0e1621; }
.tg-btn-w:hover { background: #e9f6fc; }
.tg-cta p { margin-bottom: 24px; }

@media (max-width: 1099.98px) { .tg-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tg-hp { grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding: 32px var(--gutter, 24px); } }
@media (max-width: 639.98px) {
  .tg-hl h1#h1 { font-size: 34px; line-height: 40px; }
  .tg-g { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tg-c h3 { font-size: 20px; }
}

@media (max-width: 374.98px) { .tg-hl h1#h1 { font-size: 30px; line-height: 36px; } }
