:root {
  --brand-green: #7cb342;
  --ink: #442211;
  --ink-hover: #1b0e07;
  --white: #ffffff;
  --phone-text: #000000;
  --font-body: "Lato", sans-serif;
  --font-display: "Kaushan Script", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

.card {
  width: 490px;
  max-width: 100%;
  margin: 0;
  padding: 22px 10px 22px;
  background: var(--brand-green);
  border-radius: 20px;
  text-align: center;
}

.logo-primary,
.logo-secondary {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.logo-primary {
  max-width: 100%;
}

.logo-secondary {
  max-width: 640px;
  margin-top: 4px;
}

.address {
  margin: 39px 0 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--white);
}

.phone {
  display: inline-block;
  margin-top: 32px;
  margin-bottom: 12px;
  padding: 16px 20px;
  background: var(--white);
  color: var(--phone-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border-radius: 100px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.phone:hover,
.phone:focus-visible {
  color: var(--ink-hover);
  transform: translateY(-1px);
}

.phone:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

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

  .card {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .address {
    margin-top: 28px;
  }

  .phone {
    margin-top: 24px;
  }
}
