:root {
  color-scheme: light dark;
  --background: #f2f4f1;
  --text: #18201c;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

main {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 80px);
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.25rem, 9vw, 8rem);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 0.94;
  text-wrap: balance;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #151a17;
    --text: #edf1ed;
  }
}
