@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  --ink: #f4f4f1;
  --paper: #0d0d0d;
  --muted: #989895;
  --line: #2a2a29;
  --page-gutter: clamp(1.35rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 96rem);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header {
  min-height: clamp(5rem, 10vh, 6.5rem);
}

.wordmark {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0.4rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 54rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 7rem) 0;
  text-align: center;
}

.status-line {
  margin-bottom: clamp(2rem, 4vh, 3rem);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6.1vw, 6.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

h1 span {
  display: block;
  color: inherit;
}

.hero-footer {
  width: min(100%, 30rem);
  margin-top: clamp(2.5rem, 5vh, 3.75rem);
}

.hero-footer p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.65;
}

.site-footer {
  min-height: clamp(4.5rem, 9vh, 5.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .hero {
    align-items: flex-start;
    justify-content: flex-start;
    padding: clamp(5rem, 14vh, 7rem) 0;
    text-align: left;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
    line-height: 1.02;
  }

  .hero-footer {
    max-width: 22rem;
  }

  .site-footer {
    align-items: flex-end;
    padding: 1.25rem 0;
  }

  .site-footer p:last-child {
    max-width: 10rem;
    text-align: right;
  }
}

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