:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  --background: #020914;
  --foreground: #f4f2eb;
  --muted: #aaaeb5;
  --accent: #58b5ef;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
}

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2rem, 3.4vw, 3.5rem) clamp(1.75rem, 5vw, 5rem) clamp(1.75rem, 3vw, 3rem);
}

.site-header {
  display: flex;
  align-items: center;
}

.wordmark {
  color: var(--foreground);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  text-decoration: none;
}

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

.hero {
  display: flex;
  flex-direction: column;
  align-self: center;
  width: 100%;
  padding: 4rem 0 2.5rem;
}

h1 {
  order: 1;
  max-width: 13ch;
  margin: 0;
  font-size: clamp(4.4rem, 8.4vw, 8.6rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.hero p {
  order: 2;
  margin: clamp(2.2rem, 4vw, 4rem) 0 clamp(2.25rem, 4vw, 3.75rem);
  color: var(--foreground);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.horizon {
  order: 3;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

footer {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 1.8rem 1.75rem 1.65rem;
  }

  .hero {
    padding: 4.5rem 0 3rem;
  }

  h1 {
    font-size: clamp(3.55rem, 17.5vw, 4.6rem);
    line-height: 0.94;
  }

  .horizon {
    order: 2;
    margin: 2.5rem 0 2rem;
  }

  .hero p {
    order: 3;
    max-width: 15ch;
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.35;
  }
}
