@font-face {
  font-family: "BarberChop";
  src: url("/assets/fonts/BarberChop.otf") format("opentype");
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #373435;
  background: #ffffff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
}

.landing-page {
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.hero {
  display: flex;
  width: min(96vw, 1050px);
  min-height: calc(100vh - 2.5rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(92vw, 88vh, 980px);
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  background: #ffffff;
  border: 0;
}

h1 {
  margin: clamp(1.6rem, 4vh, 3rem) 0 0;
  font-family: "BarberChop", Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0.08em;
  font-weight: normal;
}

.legal-nav {
  position: fixed;
  right: max(0.8rem, env(safe-area-inset-right));
  bottom: max(0.65rem, env(safe-area-inset-bottom));
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  line-height: 1.2;
}

.legal-nav a,
.legal-page a {
  color: #5a5758;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-page a:hover,
.legal-page a:focus-visible {
  color: #111111;
}

.legal-page {
  width: min(100% - 2rem, 760px);
  margin: 0 auto;
  padding: clamp(2.25rem, 7vw, 5rem) 0;
  color: #2f2d2e;
  line-height: 1.6;
}

.legal-page h1 {
  margin: 0 0 2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.legal-page h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.legal-page p {
  margin: 0.6rem 0;
}

.back-link {
  display: inline-block;
  margin-top: 2.5rem;
}

@media (max-width: 600px) {
  .landing-page {
    padding: 0.75rem 0.75rem 3.2rem;
  }

  .hero {
    width: 100%;
    min-height: calc(100vh - 3.95rem);
  }

  .hero-logo {
    width: min(98vw, 78vh);
    max-height: 76vh;
  }

  .legal-nav {
    right: 50%;
    transform: translateX(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
