* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fcfcfb;
  --fg: #181817;
  --muted: #74716c;
  --wash: #f0eee8;
}

[data-theme="dark"] {
  --bg: #161615;
  --fg: #ece9e2;
  --muted: #9a958c;
  --wash: #24231f;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, transparent 0, var(--bg) 70%),
    radial-gradient(circle at 50% 35%, var(--wash), transparent 34rem);
  color: var(--fg);
  font-family: "Times New Roman", Times, Georgia, serif;
}

.page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
}

.centerpiece {
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  text-align: center;
}

.mark {
  color: var(--fg);
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: clamp(3rem, 13vw, 11rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.85;
  opacity: 0.08;
  pointer-events: none;
  position: fixed;
  text-transform: lowercase;
  z-index: 0;
}

h1 {
  position: relative;
  z-index: 1;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
  text-transform: lowercase;
}

.theme-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  bottom: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  padding: 0.5rem;
  position: fixed;
  right: 1.5rem;
}

.theme-toggle:hover {
  color: var(--fg);
}

@media (max-width: 640px) {
  .page {
    padding: 1.25rem;
  }

  .theme-toggle {
    bottom: 1rem;
    right: 1rem;
  }
}
