:root {
  --orange: #ff4f00;
  --black: #0a0a0a;
  --white: #ffffff;
  --soft: #f5f3ef;
  --muted: #6a6762;
  --line: #0a0a0a;
  --focus: #ff4f00;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f7f7f7;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--black);
  background: #f7f7f7;
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "wdth" 150,
    "GRAD" 0,
    "XOPQ" 96,
    "XTRA" 468,
    "YOPQ" 79,
    "YTAS" 750,
    "YTDE" -203,
    "YTFI" 738,
    "YTLC" 514,
    "YTUC" 712;
}

a {
  color: inherit;
}

.page {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 16px 28px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.logo-block {
  width: 80px;
  margin: 0 auto 2px;
  display: grid;
  place-items: center;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.main-banner {
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--white);
}

.main-banner__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.links {
  display: grid;
  gap: 10px;
}

.link-button {
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 80px;
  background: var(--white);
  color: var(--black);
  leading-trim: both;
  text-edge: cap;
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 110%; /* 26.4px */
  letter-spacing: -0.72px;
  text-transform: uppercase;
  /*font-size: 16px;*/
  /*font-weight: 850;*/
  /*line-height: 1.05;*/
  /*letter-spacing: 0;*/
  text-align: center;
  text-decoration: none;
  /*text-transform: uppercase;*/
  /*transition: background-color 150ms ease;*/
}

.link-button:hover,
.link-button:focus-visible {
  background: var(--orange);
  color: var(--black);
}

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

.footer {
  margin-top: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.footer__logo {
  width: 74px;
  height: auto;
}

.footer p {
  margin: 0;
  text-align: right;
}

@media (min-width: 760px) {
  .page {
    /*width: min(100%, 640px);*/
    padding-top: 36px;
    gap: 18px;
  }

  .logo-block {
    width: 80px;
  }

  .link-button {
    min-height: 62px;
    /*font-size: 20px;*/
  }
}

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

  .logo-block {
    width: 80px;
  }

  .link-button {
    min-height: 54px;
    padding-inline: 14px;
    font-size: 16px;
    border-radius: 12px;
  }

  .main-banner {
    border-radius: 12px;
  }

}
