:root {
  color-scheme: dark;
  --surface: #101818;
  --text: #f1f7f2;
  --muted: #b1c2bb;
  --accent: #75e6b1;
  --rule: #344641;
  font-family: system-ui, sans-serif;
  background: var(--surface);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.page {
  width: min(100% - clamp(2.5rem, 10vw, 8rem), 66rem);
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  min-height: 5rem;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: 1rem;
  font-weight: 650;
}

.mark {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: .35rem;
}

.mark::after {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

main {
  padding-block: clamp(4rem, 14vh, 9rem) 3rem;
}

h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.25rem, 6.5vw, 4.5rem);
  font-weight: 660;
  line-height: 1.08;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

p {
  max-width: 44ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.25vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.home-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: .75rem;
  color: var(--accent);
  font-weight: 650;
  text-underline-offset: .2em;
}

.home-link:hover {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: var(--surface);
}
