:root {
  color-scheme: light dark;
  --background: #f1f0eb;
  --foreground: #191918;
  --muted: #67665f;
  --line: #c8c6bc;
  --accent: #cf4e37;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

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

a {
  color: inherit;
}

.page {
  display: grid;
  min-height: 100dvh;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.25rem, 3vw, 2.75rem);
}

.masthead,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.masthead {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.wordmark {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.domain,
.footer {
  color: var(--muted);
}

.hero {
  align-self: center;
  max-width: 70rem;
  padding: clamp(4rem, 12vw, 9rem) 0;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.intro {
  max-width: 28rem;
  margin: clamp(1.75rem, 4vw, 3.5rem) 0 0 clamp(0rem, 18vw, 13rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

@media (max-width: 40rem) {
  .domain,
  .footer span:first-child {
    display: none;
  }

  .masthead,
  .footer {
    justify-content: flex-start;
  }

  .intro {
    margin-left: 0;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #171716;
    --foreground: #efeee8;
    --muted: #aaa89f;
    --line: #3e3d39;
    --accent: #f47a61;
  }

}
