:root {
  color-scheme: light;
  --ink: #22272b;
  --muted: #697177;
  --line: #e4e7e9;
  --accent: #87bd24;
  --accent-dark: #68971a;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0, rgba(135, 189, 36, .12), transparent 34rem),
    #f3f5f4;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.card {
  width: min(100%, 540px);
  padding: 52px 52px 44px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(26, 33, 37, .08);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(35, 45, 39, .12);
}

.logo {
  display: block;
  width: min(100%, 306px);
  height: auto;
  margin: 0 auto;
  image-rendering: auto;
}

.divider {
  width: 48px;
  height: 3px;
  margin: 34px auto 28px;
  border-radius: 2px;
  background: var(--accent);
}

h1 {
  margin: 0 0 24px;
  font-size: 1.5rem;
  line-height: 1.2;
  text-align: center;
}

.contacts {
  display: grid;
  gap: 5px;
  margin: 0;
  font-style: normal;
}

.contact {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 10px 12px;
  color: inherit;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.contact:hover,
.contact:focus-visible {
  color: var(--accent-dark);
  background: #f4f8eb;
  transform: translateX(2px);
  outline: none;
}

.contact svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.contact span { min-width: 0; }

.contact strong,
.contact small {
  display: block;
  line-height: 1.45;
}

.contact strong {
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.contact small {
  color: var(--muted);
  font-size: .84rem;
}

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

  .card {
    padding: 38px 22px 30px;
    border-radius: 14px;
  }

  .logo { width: min(100%, 255px); }
  .divider { margin-top: 28px; }
  .contact { gap: 13px; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact { transition: none; }
}
