@font-face {
  font-family: "Rajdhani";
  src: url("fonts/Rajdhani/Rajdhani-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("fonts/Rajdhani/Rajdhani-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color: #171717;
  background: #fff;
  font-family: "Rajdhani", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  background: #fff;
}

a {
  color: inherit;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition: text-decoration-color 150ms ease;
}

a:hover,
a:focus-visible {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.landing {
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) minmax(0, 44rem) minmax(1rem, 1fr);
  grid-template-rows: 1fr auto 1fr;
  min-height: 100svh;
}

.logo {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  display: block;
  width: min(72vw, 34rem);
  height: auto;
}

.footer-nav {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.4rem;
  padding: 2rem 0 2.25rem;
  color: #3f3f3f;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-page {
  padding: clamp(1.5rem, 5vw, 4rem);
}

.legal {
  width: min(100%, 44rem);
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 3rem;
  color: #4a4a4a;
}

.legal h1 {
  margin: 0 0 2.25rem;
  font-size: clamp(2rem, 7vw, 3.3rem);
  font-weight: 500;
  line-height: 1;
}

.legal h2 {
  margin: 2.4rem 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.legal p {
  margin: 0 0 1rem;
  line-height: 1.55;
}

.legal address {
  font-style: normal;
  line-height: 1.55;
}

.legal ul {
  padding-left: 1.25rem;
  line-height: 1.55;
}

@media (max-width: 32rem) {
  .logo img {
    width: min(82vw, 28rem);
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
}
