:root {
  --telegram-paper: #fafbf3;
  --telegram-ink: #101010;
  --telegram-muted: #70706d;
  --telegram-line: rgba(17, 17, 17, .14);
  --telegram-pink: #ff0070;
  --telegram-pink-dark: #b7004f;
  --telegram-acid: #dfff00;
  --telegram-dark: #080808;
}

html {
  scroll-behavior: auto;
}

body.telegram-page {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--telegram-paper);
  color: var(--telegram-ink);
  font-family: "Marcha Sans Regular", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.telegram-page *,
.telegram-page *::before,
.telegram-page *::after {
  box-sizing: border-box;
}

.telegram-page a,
.telegram-page button,
.telegram-page input {
  font: inherit;
}

.telegram-main {
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(17, 17, 17, .035) calc(50% - .5px), rgba(17, 17, 17, .035) calc(50% + .5px), transparent calc(50% + .5px)),
    var(--telegram-paper);
}

.telegram-frame {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  border-right: 1px solid var(--telegram-line);
  border-left: 1px solid var(--telegram-line);
}

.telegram-section {
  position: relative;
}

.telegram-eyebrow {
  margin: 0;
  color: var(--telegram-muted);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: .22em;
  line-height: 1.45;
  text-transform: uppercase;
}

.telegram-eyebrow > span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--telegram-pink);
  box-shadow: 0 0 0 8px rgba(255, 0, 112, .11);
  vertical-align: 1px;
}

.telegram-section-heading {
  max-width: 920px;
}

.telegram-section-heading h2,
.telegram-pricing-header h2 {
  margin: 24px 0 0;
  font-family: "Marcha Sans Black", "Marcha Sans Regular", sans-serif;
  font-size: clamp(50px, 6.3vw, 92px);
  font-weight: 900;
  letter-spacing: -.062em;
  line-height: .93;
}

.telegram-section-heading h2 em,
.telegram-pricing-header h2 em {
  color: var(--telegram-pink);
  font-style: normal;
}

.telegram-section-heading > p:last-child {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--telegram-muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
}

.telegram-section-heading-light h2 {
  color: #fff;
}

.telegram-section-heading-light > p:last-child,
.telegram-section-heading-light .telegram-eyebrow {
  color: rgba(255, 255, 255, .58);
}

.telegram-hero {
  position: relative;
  border-bottom: 1px solid var(--telegram-line);
}

.telegram-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 17, 17, .14) .75px, transparent .75px);
  background-position: 12px 12px;
  background-size: 24px 24px;
  opacity: .22;
  pointer-events: none;
}

.telegram-hero-grid {
  position: relative;
  display: grid;
  min-height: min(840px, calc(100vh - 80px));
  grid-template-columns: minmax(0, .98fr) minmax(510px, 1.02fr);
  align-items: center;
}

.telegram-hero-copy {
  padding: clamp(86px, 8vw, 132px) clamp(44px, 6vw, 92px);
}

.telegram-hero-copy h1 {
  max-width: 780px;
  margin: 30px 0 0;
  font-family: "Marcha Sans Black", "Marcha Sans Regular", sans-serif;
  font-size: clamp(62px, 6.3vw, 102px);
  font-weight: 900;
  letter-spacing: -.068em;
  line-height: .88;
}

.telegram-hero-copy h1 em {
  display: block;
  color: var(--telegram-pink);
  font-style: normal;
}

.telegram-hero-lead {
  max-width: 650px;
  margin: 32px 0 0;
  color: #50504e;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
}

.telegram-actions {
  display: flex;
  margin-top: 38px;
  flex-wrap: wrap;
  gap: 12px;
}

.telegram-button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, .25);
  color: var(--telegram-ink);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.telegram-button-primary {
  border-color: var(--telegram-acid);
  background: var(--telegram-acid);
}

.telegram-button-secondary {
  background: rgba(250, 251, 243, .72);
}

.telegram-button:hover,
.telegram-button:focus-visible {
  border-color: var(--telegram-pink);
  background: var(--telegram-pink);
  color: #fff;
  transform: translateY(-2px);
}

.telegram-button:focus-visible,
.telegram-text-link:focus-visible,
.telegram-faq summary:focus-visible {
  outline: 2px solid var(--telegram-pink);
  outline-offset: 4px;
}

.telegram-microcopy {
  display: flex;
  margin: 20px 0 0;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--telegram-muted);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
}

.telegram-microcopy span {
  color: var(--telegram-pink);
}

.telegram-demo {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px) 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--telegram-dark);
  box-shadow: 0 38px 90px rgba(17, 17, 17, .18);
  color: #fff;
}

.telegram-demo::after {
  content: "";
  position: absolute;
  right: -25%;
  bottom: -55%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--telegram-pink);
  opacity: .15;
  filter: blur(70px);
  pointer-events: none;
}

.telegram-demo-bar {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 54px;
  padding: 0 18px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .5);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: .14em;
}

.telegram-demo-dots {
  display: flex;
  gap: 6px;
}

.telegram-demo-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
}

.telegram-demo-dots i:first-child {
  background: var(--telegram-pink);
}

.telegram-demo-bar > b {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 7px;
  color: var(--telegram-acid);
  font-weight: 400;
}

.telegram-demo-bar > b i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(223, 255, 0, .09);
  animation: telegram-pulse 2s ease-in-out infinite;
}

.telegram-demo-body {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(170px, .42fr) minmax(280px, .58fr);
}

.telegram-flow-map {
  display: flex;
  padding: 28px 24px;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 20px 20px;
}

.telegram-flow-map > p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .4);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: .18em;
}

.telegram-node {
  display: grid;
  min-height: 74px;
  padding: 13px 14px;
  grid-template-columns: 30px 1fr;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(8, 8, 8, .78);
}

.telegram-node > span {
  grid-row: 1 / 3;
  color: var(--telegram-pink);
  font-family: "Space Mono", monospace;
  font-size: 9px;
}

.telegram-node strong {
  font-size: 14px;
  font-weight: 400;
}

.telegram-node small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .42);
  font-family: "Space Mono", monospace;
  font-size: 8px;
}

.telegram-node.is-active {
  border-color: var(--telegram-pink);
  box-shadow: inset 3px 0 0 var(--telegram-pink);
}

.telegram-node.is-finished {
  border-color: rgba(223, 255, 0, .55);
}

.telegram-node.is-finished > span {
  color: var(--telegram-acid);
}

.telegram-connector {
  width: 1px;
  height: 20px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .22);
}

.telegram-chat {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #121719;
}

.telegram-chat-head {
  display: grid;
  min-height: 68px;
  padding: 12px 18px;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: #172126;
}

.telegram-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--telegram-pink);
  font-family: "Marcha Sans Black", sans-serif;
  font-size: 19px;
}

.telegram-chat-head > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.telegram-chat-head strong {
  font-size: 14px;
}

.telegram-chat-head span {
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
}

.telegram-chat-head > small {
  color: rgba(255, 255, 255, .5);
}

.telegram-chat-messages {
  display: flex;
  min-height: 0;
  padding: 28px 18px 18px;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(rgba(255, 255, 255, .05) .7px, transparent .7px),
    linear-gradient(145deg, #0c161b, #17161c);
  background-size: 18px 18px, 100% 100%;
}

.telegram-bubble,
.telegram-payment-card {
  width: min(300px, 93%);
}

.telegram-bubble-bot {
  display: flex;
  padding: 16px;
  align-self: flex-start;
  flex-direction: column;
  border-radius: 2px 14px 14px 14px;
  background: #263139;
}

.telegram-bubble-bot > span {
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
}

.telegram-bubble-bot > strong {
  margin-top: 4px;
  font-size: 17px;
}

.telegram-bubble-bot button {
  min-height: 39px;
  margin-top: 14px;
  border: 0;
  background: var(--telegram-pink);
  color: #fff;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: .08em;
  pointer-events: none;
}

.telegram-payment-card {
  padding: 16px;
  align-self: flex-end;
  border: 1px solid rgba(223, 255, 0, .28);
  border-radius: 14px 2px 14px 14px;
  background: rgba(223, 255, 0, .08);
}

.telegram-payment-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.telegram-payment-card span,
.telegram-payment-card b,
.telegram-payment-card small {
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: .08em;
}

.telegram-payment-card b {
  color: var(--telegram-acid);
}

.telegram-payment-card > strong {
  display: block;
  margin-top: 12px;
  color: var(--telegram-acid);
  font-family: "Marcha Sans Black", sans-serif;
  font-size: 30px;
}

.telegram-payment-card small {
  color: rgba(255, 255, 255, .46);
}

.telegram-bubble-system {
  display: flex;
  padding: 13px 15px;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 2px 13px 13px 13px;
  background: rgba(255, 255, 255, .06);
}

.telegram-bubble-system > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--telegram-acid);
  color: var(--telegram-ink);
  font-size: 12px;
}

.telegram-bubble-system p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.telegram-event-line {
  padding: 13px 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .45);
  font-family: "Space Mono", monospace;
  font-size: 8px;
}

.telegram-event-line span {
  color: var(--telegram-pink);
}

.telegram-event-line b {
  float: right;
  color: var(--telegram-acid);
  font-weight: 400;
}

.telegram-benefit-strip {
  border-bottom: 1px solid var(--telegram-line);
}

.telegram-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.telegram-benefit-grid > div {
  min-height: 170px;
  padding: 34px 28px 30px;
  border-right: 1px solid var(--telegram-line);
}

.telegram-benefit-grid > div:last-child {
  border-right: 0;
}

.telegram-benefit-grid span,
.telegram-card-index,
.telegram-automation-list article > span,
.telegram-steps small,
.telegram-price-card > p,
.telegram-calculator-head p {
  color: var(--telegram-pink);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: .12em;
}

.telegram-benefit-grid strong {
  display: block;
  margin-top: 22px;
  font-size: 18px;
}

.telegram-benefit-grid p {
  margin: 8px 0 0;
  color: var(--telegram-muted);
  font-size: 14px;
  line-height: 1.45;
}

.telegram-journey > .telegram-frame {
  padding: 132px clamp(44px, 6vw, 90px);
}

.telegram-journey-grid {
  display: grid;
  margin-top: 76px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--telegram-line);
  border-left: 1px solid var(--telegram-line);
}

.telegram-journey-card {
  position: relative;
  display: flex;
  min-height: 450px;
  padding: 32px;
  flex-direction: column;
  border-right: 1px solid var(--telegram-line);
  border-bottom: 1px solid var(--telegram-line);
  background: rgba(250, 251, 243, .88);
}

.telegram-card-symbol {
  display: grid;
  width: 64px;
  height: 64px;
  margin-top: 64px;
  place-items: center;
  border: 1px solid var(--telegram-line);
  border-radius: 50%;
  font-family: "Space Mono", monospace;
  font-size: 17px;
}

.telegram-journey-card h3 {
  max-width: 470px;
  margin: 25px 0 0;
  font-family: "Marcha Sans Black", sans-serif;
  font-size: clamp(31px, 3.2vw, 48px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
}

.telegram-journey-card > p {
  max-width: 530px;
  margin: 20px 0 0;
  color: var(--telegram-muted);
  font-size: 16px;
  line-height: 1.5;
}

.telegram-journey-card ul {
  display: flex;
  margin: auto 0 0;
  padding: 34px 0 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.telegram-journey-card li {
  padding: 8px 11px;
  border: 1px solid currentColor;
  font-family: "Space Mono", monospace;
  font-size: 9px;
}

.telegram-journey-card.is-pink {
  background: var(--telegram-pink);
  color: #fff;
}

.telegram-journey-card.is-pink .telegram-card-index,
.telegram-journey-card.is-pink > p {
  color: rgba(255, 255, 255, .72);
}

.telegram-journey-card.is-pink .telegram-card-symbol {
  border-color: rgba(255, 255, 255, .38);
}

.telegram-journey-card.is-dark {
  background: var(--telegram-dark);
  color: #fff;
}

.telegram-journey-card.is-dark .telegram-card-index {
  color: var(--telegram-acid);
}

.telegram-journey-card.is-dark > p {
  color: rgba(255, 255, 255, .6);
}

.telegram-journey-card.is-dark .telegram-card-symbol {
  border-color: rgba(255, 255, 255, .2);
  color: var(--telegram-acid);
}

.telegram-journey-card.is-acid {
  background: var(--telegram-acid);
}

.telegram-journey-card.is-acid .telegram-card-index {
  color: var(--telegram-ink);
}

.telegram-journey-card.is-acid > p {
  color: rgba(17, 17, 17, .65);
}

.telegram-editors {
  background: var(--telegram-dark);
}

.telegram-editors > .telegram-frame {
  padding: 132px clamp(44px, 6vw, 90px);
  border-color: rgba(255, 255, 255, .13);
}

.telegram-editors-grid {
  display: grid;
  margin-top: 76px;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.telegram-editor-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #121212;
  color: #fff;
}

.telegram-editor-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, .52);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: .12em;
}

.telegram-editor-card > header b {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--telegram-acid);
  font-weight: 400;
}

.telegram-editor-card h3 {
  max-width: 560px;
  margin: 48px 0 0;
  font-family: "Marcha Sans Black", sans-serif;
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .98;
}

.telegram-editor-card > p {
  max-width: 550px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

.telegram-linear-flow {
  display: flex;
  margin-top: 62px;
  flex-direction: column;
  gap: 0;
}

.telegram-linear-flow > div {
  display: flex;
  min-height: 62px;
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .025);
}

.telegram-linear-flow span {
  color: var(--telegram-pink);
  font-family: "Space Mono", monospace;
  font-size: 11px;
}

.telegram-linear-flow small {
  color: rgba(255, 255, 255, .45);
}

.telegram-linear-flow > i {
  height: 22px;
  align-self: center;
  color: rgba(255, 255, 255, .35);
  font-style: normal;
  line-height: 22px;
  transform: rotate(90deg);
}

.telegram-editor-advanced {
  background: #14171a;
}

.telegram-canvas {
  position: relative;
  height: 310px;
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  background:
    radial-gradient(rgba(255, 255, 255, .11) .8px, transparent .8px),
    #0b0d0f;
  background-size: 19px 19px;
}

.telegram-canvas-node {
  position: absolute;
  z-index: 2;
  display: flex;
  width: 126px;
  min-height: 60px;
  padding: 10px 12px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .2);
  background: #161a1d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

.telegram-canvas-node b {
  color: var(--telegram-pink);
  font-family: "Space Mono", monospace;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .08em;
}

.telegram-canvas-node span {
  margin-top: 5px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
}

.telegram-canvas-node::before,
.telegram-canvas-node::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--telegram-pink);
  transform: translateY(-50%);
}

.telegram-canvas-node::before {
  left: -4px;
}

.telegram-canvas-node::after {
  right: -4px;
}

.telegram-canvas-node.n-start { top: 28px; left: 18px; }
.telegram-canvas-node.n-condition { top: 94px; left: 35%; }
.telegram-canvas-node.n-message { top: 26px; right: 24px; }
.telegram-canvas-node.n-delay { bottom: 26px; left: 43%; }
.telegram-canvas-node.n-recovery { right: 24px; bottom: 26px; }

.telegram-canvas-node.n-start b,
.telegram-canvas-node.n-message b {
  color: var(--telegram-acid);
}

.telegram-canvas-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.telegram-canvas-lines i {
  position: absolute;
  display: block;
  border-color: rgba(255, 0, 112, .55);
  border-style: solid;
}

.telegram-canvas-lines i:nth-child(1) {
  top: 58px;
  left: 143px;
  width: calc(35% - 95px);
  height: 68px;
  border-width: 1px 1px 0 0;
  border-radius: 0 30px 0 0;
}

.telegram-canvas-lines i:nth-child(2) {
  top: 58px;
  right: 148px;
  width: calc(65% - 265px);
  height: 68px;
  border-width: 1px 0 0 1px;
  border-radius: 30px 0 0 0;
}

.telegram-canvas-lines i:nth-child(3) {
  top: 153px;
  left: calc(35% + 63px);
  width: calc(8% + 22px);
  height: 82px;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 24px 0;
}

.telegram-canvas-lines i:nth-child(4) {
  right: 149px;
  bottom: 55px;
  width: calc(12% - 12px);
  height: 28px;
  border-width: 0 0 1px 0;
}

.telegram-automation > .telegram-frame {
  padding: 132px clamp(44px, 6vw, 90px);
}

.telegram-automation-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(54px, 7vw, 110px);
}

.telegram-sticky-heading {
  position: sticky;
  top: 180px;
  align-self: start;
}

.telegram-text-link {
  display: inline-flex;
  margin-top: 34px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--telegram-pink);
  color: var(--telegram-pink);
  text-decoration: none;
}

.telegram-text-link:hover {
  color: var(--telegram-pink-dark);
}

.telegram-automation-list {
  border-top: 1px solid var(--telegram-line);
}

.telegram-automation-list article {
  position: relative;
  min-height: 310px;
  padding: 34px 30px 34px 112px;
  border-right: 1px solid var(--telegram-line);
  border-bottom: 1px solid var(--telegram-line);
  border-left: 1px solid var(--telegram-line);
}

.telegram-automation-icon {
  position: absolute;
  top: 34px;
  left: 30px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--telegram-line);
  border-radius: 50%;
  color: var(--telegram-pink);
  font-family: "Space Mono", monospace;
}

.telegram-automation-list h3 {
  max-width: 570px;
  margin: 54px 0 0;
  font-family: "Marcha Sans Black", sans-serif;
  font-size: clamp(31px, 3vw, 46px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
}

.telegram-automation-list article > p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--telegram-muted);
  line-height: 1.5;
}

.telegram-how {
  border-top: 1px solid var(--telegram-line);
}

.telegram-how > .telegram-frame {
  padding: 132px clamp(44px, 6vw, 90px);
}

.telegram-steps {
  display: grid;
  margin: 78px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--telegram-line);
  border-left: 1px solid var(--telegram-line);
  list-style: none;
}

.telegram-steps li {
  min-height: 370px;
  padding: 28px 24px;
  border-right: 1px solid var(--telegram-line);
  border-bottom: 1px solid var(--telegram-line);
}

.telegram-steps li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--telegram-line);
  border-radius: 50%;
  color: var(--telegram-pink);
  font-family: "Space Mono", monospace;
  font-size: 10px;
}

.telegram-steps li > div {
  margin-top: 86px;
}

.telegram-steps h3 {
  margin: 13px 0 0;
  font-family: "Marcha Sans Black", sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
}

.telegram-steps p {
  margin: 17px 0 0;
  color: var(--telegram-muted);
  font-size: 14px;
  line-height: 1.5;
}

.telegram-integrations {
  background: var(--telegram-dark);
  color: #fff;
}

.telegram-integrations > .telegram-frame {
  padding: 132px clamp(44px, 6vw, 90px);
  border-color: rgba(255, 255, 255, .12);
}

.telegram-integrations-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 7vw, 110px);
}

.telegram-integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.telegram-integrations-grid > div {
  display: flex;
  min-height: 150px;
  padding: 24px;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  transition: background-color .2s ease, color .2s ease;
}

.telegram-integrations-grid > div:hover {
  background: var(--telegram-pink);
}

.telegram-integrations-grid span {
  color: var(--telegram-pink);
  font-family: "Space Mono", monospace;
  font-size: 9px;
}

.telegram-integrations-grid > div:hover span {
  color: #fff;
}

.telegram-integrations-grid strong {
  margin-top: auto;
  font-size: 19px;
}

.telegram-integrations-grid small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .45);
}

.telegram-integrations-note {
  margin: 0;
  grid-column: 2;
  color: rgba(255, 255, 255, .38);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  line-height: 1.5;
}

.telegram-pricing > .telegram-frame {
  padding: 132px clamp(44px, 6vw, 90px);
}

.telegram-pricing-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: end;
  gap: 60px;
}

.telegram-pricing-header > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--telegram-muted);
  font-size: 18px;
  line-height: 1.5;
}

.telegram-pricing-grid {
  display: grid;
  margin-top: 74px;
  grid-template-columns: minmax(330px, .76fr) minmax(0, 1.24fr);
  border: 1px solid var(--telegram-line);
}

.telegram-price-card {
  display: flex;
  min-height: 660px;
  padding: 36px;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .15);
  background: var(--telegram-dark);
  color: #fff;
}

.telegram-price-value {
  display: flex;
  margin-top: 76px;
  align-items: flex-start;
  gap: 10px;
}

.telegram-price-value span {
  margin-top: 12px;
  color: var(--telegram-acid);
  font-family: "Space Mono", monospace;
  font-size: 16px;
}

.telegram-price-value strong {
  color: var(--telegram-acid);
  font-family: "Marcha Sans Black", sans-serif;
  font-size: clamp(76px, 8vw, 118px);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .8;
}

.telegram-price-card h3 {
  margin: 18px 0 0;
  font-size: 18px;
  font-weight: 400;
}

.telegram-price-card ul {
  display: grid;
  margin: 48px 0 36px;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  list-style: none;
}

.telegram-price-card li {
  position: relative;
  padding-left: 17px;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  line-height: 1.35;
}

.telegram-price-card li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--telegram-pink);
}

.telegram-price-card .telegram-button {
  width: 100%;
  margin-top: auto;
}

.telegram-price-card > small {
  margin-top: 12px;
  color: rgba(255, 255, 255, .42);
  font-family: "Space Mono", monospace;
  font-size: 8px;
  text-align: center;
}

.telegram-cost-calculator {
  display: flex;
  min-width: 0;
  min-height: 660px;
  padding: 36px clamp(32px, 5vw, 70px);
  flex-direction: column;
  background: #f2f3ec;
}

.telegram-calculator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.telegram-calculator-head p {
  margin: 0;
}

.telegram-calculator-head span {
  padding: 8px 11px;
  border: 1px solid var(--telegram-line);
  color: var(--telegram-muted);
  font-family: "Space Mono", monospace;
  font-size: 9px;
}

.telegram-cost-calculator label {
  margin-top: 76px;
  color: var(--telegram-muted);
  font-size: 15px;
}

.telegram-sales-output {
  display: flex;
  margin-top: 16px;
  align-items: baseline;
  gap: 12px;
}

.telegram-sales-output strong {
  font-family: "Marcha Sans Black", sans-serif;
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .9;
}

.telegram-sales-output span {
  color: var(--telegram-muted);
  font-size: 17px;
}

.telegram-cost-calculator input[type="range"] {
  width: 100%;
  height: 3px;
  margin: 44px 0 0;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, var(--telegram-pink) 5%, rgba(17, 17, 17, .14) 5%);
  cursor: pointer;
}

.telegram-cost-calculator input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  appearance: none;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--telegram-pink);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, .13), 0 4px 14px rgba(17, 17, 17, .2);
}

.telegram-cost-calculator input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--telegram-pink);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, .13), 0 4px 14px rgba(17, 17, 17, .2);
}

.telegram-range-labels {
  display: flex;
  margin-top: 11px;
  justify-content: space-between;
  color: var(--telegram-muted);
  font-family: "Space Mono", monospace;
  font-size: 8px;
}

.telegram-calculator-result {
  margin-top: 60px;
  border-top: 1px solid var(--telegram-line);
}

.telegram-calculator-result > div {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--telegram-line);
}

.telegram-calculator-result span {
  color: var(--telegram-muted);
}

.telegram-calculator-result strong {
  font-size: 18px;
}

.telegram-calculator-result > div:first-child strong {
  color: var(--telegram-pink);
  font-size: 25px;
}

.telegram-cost-calculator > p:last-child {
  margin: auto 0 0;
  color: var(--telegram-muted);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  line-height: 1.55;
}

.telegram-faq {
  border-top: 1px solid var(--telegram-line);
}

.telegram-faq > .telegram-frame {
  padding: 132px clamp(44px, 6vw, 90px);
}

.telegram-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 7vw, 110px);
}

.telegram-faq-list {
  border-top: 1px solid var(--telegram-line);
}

.telegram-faq details {
  border-bottom: 1px solid var(--telegram-line);
}

.telegram-faq summary {
  display: flex;
  min-height: 92px;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-family: "Marcha Sans Black", sans-serif;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.1;
  list-style: none;
}

.telegram-faq summary::-webkit-details-marker {
  display: none;
}

.telegram-faq summary span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--telegram-line);
  border-radius: 50%;
  color: var(--telegram-pink);
  font-family: "Space Mono", monospace;
  font-size: 15px;
  font-weight: 400;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.telegram-faq details[open] summary span {
  background: var(--telegram-pink);
  color: #fff;
  transform: rotate(45deg);
}

.telegram-faq details > p {
  max-width: 680px;
  margin: -5px 62px 28px 0;
  color: var(--telegram-muted);
  font-size: 16px;
  line-height: 1.55;
}

.telegram-product-cta .pricing-container {
  max-width: 1050px !important;
}

.telegram-product-cta h2 {
  max-width: 950px !important;
}

@keyframes telegram-pulse {
  0%, 100% { opacity: .55; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1180px) {
  .telegram-frame {
    width: calc(100% - 40px);
  }

  .telegram-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr);
  }

  .telegram-hero-copy {
    padding-right: 42px;
    padding-left: 42px;
  }

  .telegram-demo {
    margin-right: 28px;
  }

  .telegram-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .telegram-benefit-grid > div:nth-child(2) {
    border-right: 0;
  }

  .telegram-benefit-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--telegram-line);
  }

  .telegram-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .telegram-steps li {
    min-height: 330px;
  }

  .telegram-pricing-header {
    grid-template-columns: 1fr;
  }

  .telegram-pricing-header > p {
    margin: 0;
  }
}

@media (max-width: 980px) {
  .telegram-hero-grid {
    grid-template-columns: 1fr;
  }

  .telegram-hero-copy {
    padding-bottom: 44px;
  }

  .telegram-demo {
    margin: 0 42px 72px;
  }

  .telegram-editors-grid,
  .telegram-automation-layout,
  .telegram-integrations-layout,
  .telegram-pricing-grid,
  .telegram-faq-layout {
    grid-template-columns: 1fr;
  }

  .telegram-sticky-heading {
    position: static;
  }

  .telegram-automation-list,
  .telegram-faq-list {
    margin-top: 10px;
  }

  .telegram-integrations-grid,
  .telegram-integrations-note {
    grid-column: 1;
  }

  .telegram-price-card {
    min-height: 580px;
    border-right: 0;
    border-bottom: 1px solid var(--telegram-line);
  }

  .telegram-cost-calculator {
    min-height: 620px;
  }
}

@media (max-width: 700px) {
  .telegram-frame {
    width: calc(100% - 32px);
  }

  .telegram-main {
    background: var(--telegram-paper);
  }

  .telegram-section-heading h2,
  .telegram-pricing-header h2 {
    font-size: clamp(44px, 13vw, 64px);
    line-height: .92;
  }

  .telegram-section-heading > p:last-child {
    font-size: 17px;
  }

  .telegram-hero-copy {
    padding: 72px 20px 38px;
  }

  .telegram-hero-copy h1 {
    margin-top: 26px;
    font-size: clamp(52px, 15vw, 76px);
    line-height: .87;
  }

  .telegram-hero-lead {
    font-size: 17px;
  }

  .telegram-actions,
  .telegram-button {
    width: 100%;
  }

  .telegram-microcopy {
    display: block;
    font-size: 9px;
  }

  .telegram-microcopy span {
    margin: 0 5px;
  }

  .telegram-demo {
    margin: 0 12px 54px;
  }

  .telegram-demo-bar {
    grid-template-columns: auto 1fr;
  }

  .telegram-demo-bar > span {
    display: none;
  }

  .telegram-demo-body {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .telegram-flow-map {
    display: grid;
    padding: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .telegram-flow-map > p,
  .telegram-connector {
    display: none;
  }

  .telegram-node {
    display: flex;
    min-height: 70px;
    padding: 10px 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .telegram-node > span {
    grid-row: auto;
  }

  .telegram-node strong {
    margin-top: auto;
    font-size: 11px;
  }

  .telegram-node small {
    display: none;
  }

  .telegram-chat-messages {
    min-height: 420px;
  }

  .telegram-benefit-grid,
  .telegram-journey-grid,
  .telegram-steps,
  .telegram-price-card ul,
  .telegram-integrations-grid {
    grid-template-columns: 1fr;
  }

  .telegram-benefit-grid > div {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--telegram-line);
  }

  .telegram-benefit-grid > div:last-child {
    border-bottom: 0;
  }

  .telegram-journey > .telegram-frame,
  .telegram-editors > .telegram-frame,
  .telegram-automation > .telegram-frame,
  .telegram-how > .telegram-frame,
  .telegram-integrations > .telegram-frame,
  .telegram-pricing > .telegram-frame,
  .telegram-faq > .telegram-frame {
    padding: 88px 20px;
  }

  .telegram-journey-grid,
  .telegram-editors-grid,
  .telegram-steps {
    margin-top: 52px;
  }

  .telegram-journey-card {
    min-height: 410px;
    padding: 26px 22px;
  }

  .telegram-card-symbol {
    margin-top: 48px;
  }

  .telegram-journey-card h3,
  .telegram-automation-list h3 {
    font-size: 34px;
  }

  .telegram-editor-card {
    padding: 24px 20px;
  }

  .telegram-editor-card h3 {
    margin-top: 40px;
    font-size: 35px;
  }

  .telegram-canvas {
    display: grid;
    height: auto;
    min-height: 0;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .telegram-canvas-node {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    min-height: 58px;
  }

  .telegram-canvas-lines {
    display: none;
  }

  .telegram-automation-list article {
    min-height: 0;
    padding: 30px 22px 36px;
  }

  .telegram-automation-icon {
    position: static;
    margin-bottom: 24px;
  }

  .telegram-automation-list h3 {
    margin-top: 38px;
  }

  .telegram-steps li {
    min-height: 300px;
  }

  .telegram-steps li > div {
    margin-top: 58px;
  }

  .telegram-integrations-grid > div {
    min-height: 130px;
  }

  .telegram-pricing-grid {
    margin-top: 52px;
  }

  .telegram-price-card,
  .telegram-cost-calculator {
    min-height: 0;
    padding: 30px 22px;
  }

  .telegram-price-value {
    margin-top: 58px;
  }

  .telegram-price-value strong {
    font-size: 88px;
  }

  .telegram-price-card ul {
    margin-bottom: 50px;
  }

  .telegram-cost-calculator label {
    margin-top: 60px;
  }

  .telegram-calculator-result {
    margin-top: 48px;
  }

  .telegram-cost-calculator > p:last-child {
    margin-top: 44px;
  }

  .telegram-faq summary {
    min-height: 84px;
    font-size: 21px;
  }

  .telegram-faq details > p {
    margin-right: 0;
  }
}

@media (max-width: 420px) {
  .telegram-demo {
    margin-right: 0;
    margin-left: 0;
  }

  .telegram-flow-map {
    padding: 14px 10px;
    gap: 5px;
  }

  .telegram-node {
    min-height: 63px;
    padding: 8px 6px;
  }

  .telegram-node strong {
    font-size: 9px;
  }

  .telegram-chat-messages {
    padding-right: 12px;
    padding-left: 12px;
  }

  .telegram-bubble,
  .telegram-payment-card {
    width: 96%;
  }

  .telegram-calculator-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .telegram-sales-output {
    align-items: flex-end;
  }

  .telegram-sales-output strong {
    font-size: 70px;
  }

  .telegram-calculator-result > div {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .telegram-page *,
  .telegram-page *::before,
  .telegram-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
