:root {
  color: #111827;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
}

a {
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
}

.page-home {
  justify-content: center;
}

.link-stack {
  width: min(100%, 620px);
  display: grid;
  gap: 14px;
}

.service-button {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-button:hover,
.service-button:focus-visible {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.service-button img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.service-button span {
  font-size: clamp(18px, 3.8vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.service-max span {
  background-image: linear-gradient(90deg, #2f7df6, #00c2ff);
}

.service-instagram span {
  background-image: linear-gradient(90deg, #f58529, #dd2a7b 42%, #8134af 72%, #515bd4);
}

.service-telegram span {
  background-image: linear-gradient(90deg, #229ed9, #34b7f1);
}

.telegram-contact {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  color: #ffffff;
  background: #229ed9;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.24);
}

.telegram-contact:hover,
.telegram-contact:focus-visible {
  background: #168ac2;
  outline: none;
}

.page-placeholder {
  text-align: center;
}

.placeholder-text {
  max-width: 900px;
  margin: 0;
  font-size: clamp(30px, 7vw, 64px);
  font-weight: 800;
  line-height: 1.12;
}

@media (max-width: 520px) {
  .page {
    padding: 18px;
  }

  .service-button {
    min-height: 70px;
    gap: 12px;
    padding: 14px;
  }

  .service-button img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .telegram-contact {
    width: min(100%, 620px);
    font-size: 16px;
  }
}
