* {
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  color: #111827;
}

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.1rem;
  gap: 0.5rem;
}

.logo-bounce {
  width: min(24vw, 120px) !important;
  max-width: 120px;
  height: auto;
  animation: bounceLogo 2.2s ease-in-out infinite;
}

h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.25rem, 4.3vw, 1.78rem);
  font-weight: 700;
}

.line-main {
  margin: 0.28rem 0 0;
  font-weight: 700;
  font-size: clamp(1rem, 2.6vw, 1.12rem);
}

.line-sub {
  margin: 0.02rem 0;
  font-size: clamp(0.9rem, 2.1vw, 0.98rem);
  color: #374151;
}

.tabs {
  margin-top: 0.82rem;
  width: min(460px, 100%);
  display: grid;
  gap: 0.55rem;
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 620;
  border: 1px solid #d1d5db;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.tab-call {
  background: #0f24d9;
  color: #ffffff;
  border-color: #0f24d9;
}

.tab-mail {
  background: #f9fafb;
  color: #111827;
}

.tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.tab:focus-visible {
  outline: 3px solid rgba(15, 36, 217, 0.35);
  outline-offset: 2px;
}

@keyframes bounceLogo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (min-width: 760px) {
  .tabs {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
