:root {
  --background: #f3f1ea;
  --foreground: #222220;
  --rule: rgba(34, 34, 32, 0.14);
  color: var(--foreground);
  background: var(--background);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.page::after {
  position: absolute;
  right: clamp(1rem, 2.25vw, 2rem);
  bottom: clamp(1rem, 2.25vw, 1.75rem);
  left: clamp(1rem, 2.25vw, 2rem);
  height: 1px;
  background: var(--rule);
  content: "";
}

.hero {
  display: grid;
  justify-items: center;
  gap: clamp(3rem, 8vh, 4.5rem);
  text-align: center;
  transform: translateY(-0.5rem);
}

.brand {
  margin: 0 -0.16em 0 0;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 550;
  letter-spacing: 0.18em;
  line-height: 1;
}

.tagline {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  font-size: clamp(0.88rem, 1.7vw, 1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.tagline strong {
  font-weight: 600;
}

::selection {
  color: var(--background);
  background: var(--foreground);
}

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

  .hero {
    gap: 3rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    gap: 2rem;
  }
}

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