.telegram-page-body {
  background:
    radial-gradient(circle at 78% 0%, rgba(130, 146, 104, 0.16), transparent 30rem),
    linear-gradient(180deg, #f1efe6 0%, #e8ebdd 55%, #dce5d8 100%);
}

.telegram-site-header {
  background: rgba(251, 250, 245, 0.22);
}

.telegram-nav-current {
  color: var(--olive) !important;
  font-weight: 700;
}

.telegram-store-button {
  min-height: 42px;
  padding-inline: 16px;
  white-space: nowrap;
}

.telegram-mobile-store-link {
  margin-top: 7px;
  border: 1px solid var(--line);
  color: var(--olive) !important;
  text-align: center;
}

.telegram-page-main {
  overflow: hidden;
}

.telegram-bridge-hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 82px);
  margin: -82px auto 0;
  padding: 142px 0 84px;
}

.telegram-bridge-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
}

.telegram-bridge-hero-copy {
  max-width: 690px;
}

.telegram-bridge-hero-copy h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(54px, 7.2vw, 102px);
  line-height: 0.92;
}

.telegram-bridge-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
}

.telegram-bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.telegram-bridge-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(90px, 0.52fr);
  gap: 12px;
  align-items: end;
  max-width: 510px;
  margin-left: auto;
  transform: rotate(2deg);
}

.telegram-preview-main,
.telegram-preview-stack img {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(158, 170, 121, 0.42);
  border-radius: 18px;
  background: #273629;
  box-shadow: 0 26px 64px rgba(36, 47, 28, 0.23);
}

.telegram-preview-main {
  transform: translateY(22px);
}

.telegram-preview-main img,
.telegram-preview-stack img {
  display: block;
  width: 100%;
  height: auto;
}

.telegram-preview-stack {
  display: grid;
  gap: 12px;
}

.telegram-preview-stack img:first-child {
  transform: translateY(-18px);
}

.telegram-preview-stack img:last-child {
  transform: translateY(12px);
}

.telegram-story-section {
  padding-top: 88px;
  padding-bottom: 112px;
}

.telegram-story-heading,
.telegram-materials-heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.telegram-story-heading h2,
.telegram-materials-heading h2 {
  font-size: clamp(40px, 5vw, 68px);
}

.telegram-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.38fr);
  align-items: start;
  gap: clamp(34px, 7vw, 96px);
}

.telegram-story-copy {
  max-width: 780px;
}

.telegram-story-copy > p,
.telegram-story-quotes p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.telegram-story-copy > p:first-child {
  padding-top: 0;
}

.telegram-story-copy .telegram-story-emphasis,
.telegram-story-copy .telegram-story-final {
  color: var(--olive);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.06;
}

.telegram-story-quotes {
  margin: 18px 0;
  padding: 8px 22px;
  border: 1px solid rgba(130, 146, 104, 0.38);
  border-radius: var(--radius);
  background: var(--mist);
}

.telegram-story-quotes p {
  padding: 13px 0;
  border-bottom-color: rgba(130, 146, 104, 0.24);
  color: var(--olive-dark);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
}

.telegram-story-quotes p:last-child {
  border-bottom: 0;
}

.telegram-story-aside {
  position: sticky;
  top: 112px;
}

.telegram-sticky-card,
.telegram-final-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(158, 170, 121, 0.34);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(158, 170, 121, 0.22), transparent 54%),
    var(--paper-strong);
  box-shadow: var(--shadow);
}

.telegram-sticky-card::after,
.telegram-final-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -52px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(180, 154, 84, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(180, 154, 84, 0.06), 0 0 0 38px rgba(180, 154, 84, 0.04);
}

.telegram-sticky-card > *,
.telegram-final-card > * {
  position: relative;
  z-index: 1;
}

.telegram-sticky-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--olive-dark);
  color: var(--paper);
}

.telegram-sticky-mark svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.telegram-sticky-card h2 {
  margin-bottom: 26px;
  font-size: clamp(40px, 4.2vw, 58px);
}

.telegram-materials-section {
  padding-top: 104px;
  padding-bottom: 110px;
}

.telegram-material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.telegram-material {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(158, 170, 121, 0.28);
  border-radius: 16px;
  background: #273629;
  box-shadow: 0 18px 40px rgba(36, 47, 28, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.telegram-material:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 48px rgba(36, 47, 28, 0.24);
}

.telegram-material img {
  display: block;
  width: 100%;
  height: auto;
}

.telegram-final-section {
  padding-top: 0;
  padding-bottom: 116px;
}

.telegram-final-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 300px;
  justify-content: center;
}

.telegram-final-card h2 {
  margin-bottom: 26px;
  font-size: clamp(50px, 7vw, 92px);
}

html[data-theme="dark"] .telegram-site-header {
  background: rgba(27, 28, 24, 0.24);
}

html[data-theme="dark"] .telegram-sticky-card,
html[data-theme="dark"] .telegram-final-card {
  background:
    linear-gradient(135deg, rgba(158, 170, 121, 0.17), transparent 54%),
    var(--paper);
}

html[data-theme="dark"] .telegram-story-quotes {
  background: rgba(53, 58, 47, 0.78);
}

html[data-theme="dark"] .telegram-story-quotes p {
  color: var(--ink);
}

@media (max-width: 960px) {
  .telegram-bridge-hero-inner,
  .telegram-story-grid {
    grid-template-columns: 1fr;
  }

  .telegram-bridge-hero-copy {
    max-width: 780px;
  }

  .telegram-bridge-preview {
    width: min(100%, 580px);
    margin: 12px 0 0 auto;
  }

  .telegram-story-aside {
    position: static;
    max-width: 520px;
  }

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

@media (max-width: 760px) {
  .telegram-site-header,
  .telegram-bridge-hero,
  .telegram-page-main .section,
  .telegram-page-footer .footer-top,
  .telegram-page-footer .footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  .telegram-site-header {
    gap: 12px;
  }

  .telegram-site-header .desktop-nav,
  .telegram-site-header .telegram-store-button,
  .telegram-site-header .header-actions > a.icon-button {
    display: none;
  }

  .telegram-bridge-hero {
    min-height: auto;
    margin-top: -82px;
    padding-top: 126px;
    padding-bottom: 64px;
  }

  .telegram-bridge-hero-copy h1 {
    font-size: clamp(46px, 14vw, 70px);
  }

  .telegram-bridge-lead {
    font-size: 18px;
  }

  .telegram-bridge-preview {
    grid-template-columns: minmax(0, 1.22fr) minmax(80px, 0.52fr);
    gap: 8px;
    transform: rotate(1deg);
  }

  .telegram-story-section,
  .telegram-materials-section {
    padding-top: 64px;
    padding-bottom: 76px;
  }

  .telegram-story-heading,
  .telegram-materials-heading {
    margin-bottom: 26px;
  }

  .telegram-story-copy > p,
  .telegram-story-quotes p {
    font-size: 18px;
    line-height: 1.62;
  }

  .telegram-story-aside {
    max-width: none;
  }

  .telegram-sticky-card,
  .telegram-final-card {
    padding: 24px;
  }

  .telegram-material-grid {
    display: flex;
    gap: 12px;
    max-width: calc(100vw - 28px);
    margin-right: -14px;
    overflow-x: auto;
    padding: 4px 14px 18px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .telegram-material {
    flex: 0 0 min(78vw, 330px);
    scroll-snap-align: start;
  }

  .telegram-final-section {
    padding-bottom: 76px;
  }

  .telegram-final-card .telegram-bridge-actions {
    width: 100%;
  }

  .telegram-final-card .primary-button,
  .telegram-final-card .ghost-button {
    width: 100%;
  }
}
