:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;

  --color-surface: #fafafa;
  --color-ink: #0a0a0a;
  --color-muted: #737373;
  --color-border: #e5e5e5;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: #ffffff;
  color: var(--color-ink);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(10, 10, 10, 0.12);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.25rem max(1.75rem, env(safe-area-inset-bottom));
  background: #ffffff;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 48rem;
  text-align: center;
}

.logo {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.tagline {
  margin: clamp(1.25rem, 4vw, 2rem) 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.625rem, 2vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.3);
}

.subtitle {
  margin: clamp(1rem, 3vw, 1.5rem) auto 0;
  max-width: 22rem;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  line-height: 1.6;
  color: var(--color-muted);
}

.footer {
  padding-top: 2rem;
}

.footer a {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(10, 10, 10, 0.3);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-ink);
}

@media (min-width: 640px) {
  .footer a {
    letter-spacing: 0.2em;
  }
}
