@charset "UTF-8";
:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: #202c37;
  background: #d9e8f0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.chat-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 15% 10%, #e5eff3, transparent 65%), linear-gradient(135deg, #d1e6ee, #dce9e3);
  pointer-events: none;
}
.chat-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./pattern.svg") center / 480px auto repeat;
  opacity: .045;
}
.bot-card {
  width: min(420px, 100%);
  padding: 34px 32px 27px;
  text-align: center;
  border: 1px solid #ffffffd9;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 64px #244e6414, 0 2px 8px #244e6408;
}
.avatar {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 17px;
}
.avatar > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0c2636;
  object-fit: contain;
}
.telegram-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 3px solid white;
  border-radius: 50%;
  background: #238dce;
  color: white;
}
.telegram-badge svg { width: 17px; height: 17px; fill: currentColor; padding-right: 1px; }
h1 { margin: 0 0 6px; font-size: 25px; line-height: 1.2; font-weight: 700; letter-spacing: -.65px; }
.bot-handle { margin: 0; font-size: 13px; color: #707d88; line-height: 1.4; }
h2 { margin: 25px 0 13px; font-size: 29px; line-height: 1.17; letter-spacing: -.8px; font-weight: 730; }
h2 span { color: #1680bb; }
.description { margin: 0 0 26px; color: #596773; font-size: 14px; line-height: 1.65; }
.telegram-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  min-height: 55px;
  padding: 16px 19px;
  color: white;
  background: #1279b8;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .4px;
  box-shadow: 0 5px 14px #1279b826;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.telegram-icon { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.arrow-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-left: auto; }
.telegram-button > span { flex: 1; }
.telegram-button:focus-visible { outline: 3px solid #163c61; outline-offset: 5px; }
.telegram-button:active { transform: scale(.985); }
.button-note { margin: 14px 0 0; color: #7a848d; font-size: 11px; line-height: 1.5; }
.button-note strong { font-weight: 600; }
@media (hover: hover) {
  .telegram-button:hover { background: #086aa7; transform: translateY(-1px); box-shadow: 0 7px 18px #1279b832; }
}
@media (max-width: 440px) {
  body { padding: 20px 16px; }
  .bot-card { padding: 29px 23px 24px; border-radius: 22px; }
  h1 { font-size: 24px; }
  h2 { font-size: 28px; margin-top: 24px; }
  .description { font-size: 13px; }
}
@media (max-width: 360px) {
  .bot-card { padding: 25px 18px 22px; }
  .avatar { width: 80px; height: 80px; }
  h1 { font-size: 22px; }
  h2 { font-size: 26px; }
  .description { font-size: 12px; }
  .telegram-button { padding-inline: 14px; gap: 10px; font-size: 12px; }
}
@media (max-height: 620px) {
  body { padding-block: 14px; }
  .bot-card { padding-block: 24px 20px; }
  .avatar { width: 72px; height: 72px; margin-bottom: 12px; }
  h2 { margin-top: 19px; }
  .description { margin-bottom: 20px; }
  .button-note { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
