:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #91caa3;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background-color: #91caa3;
  background-image:
    linear-gradient(rgba(111, 184, 135, 0.76), rgba(111, 184, 135, 0.76)),
    url("pattern.svg");
  background-position: center;
  background-size: auto, 420px;
  background-repeat: repeat;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.telegram-card {
  width: min(100%, 400px);
  padding: 32px 30px 28px;
  text-align: center;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(36, 85, 51, 0.15);
}

.avatar {
  width: 110px;
  height: 110px;
  display: block;
  margin: 0 auto 17px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #6e00ff;
  background: #000;
}

h1 {
  margin: 0;
  color: #111;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
}

.subscribers {
  margin: 6px 0 0;
  color: #8b959b;
  font-size: 14px;
}

.channel-description {
  width: max-content;
  max-width: 100%;
  margin: 13px auto 26px;
  text-align: left;
  color: #111;
  font-size: 16px;
  line-height: 1.4;
}

.channel-description p {
  margin: 0 0 24px;
}

.channel-description p:last-child {
  margin-bottom: 0;
}

.browser-instruction {
  margin: 0 auto 25px;
  color: #111;
  font-size: 16px;
  line-height: 1.55;
}

.telegram-cta {
  width: fit-content;
  min-width: 154px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 999px;
  color: #fff;
  background: #229ed9;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 150ms ease, transform 150ms ease;
}

.telegram-cta:hover {
  background: #168dcc;
  transform: translateY(-1px);
}

.telegram-cta:focus-visible {
  outline: 3px solid rgba(34, 158, 217, 0.3);
  outline-offset: 3px;
}

.telegram-cta[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.7;
}

.helper {
  margin: 25px auto 0;
  color: #858585;
  font-size: 14px;
  line-height: 1.25;
}

@media (max-width: 480px) {
  .page-shell {
    padding: 20px 14px;
  }

  .telegram-card {
    padding: 28px 22px 26px;
  }

  .channel-description,
  .browser-instruction {
    font-size: 15px;
  }
}
