:root {
  --cream: #f7f3e9;
  --graphite: #20201e;
  --background: var(--cream);
  --foreground: var(--graphite);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: var(--graphite);
    --foreground: var(--cream);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'TeXGyreCursor', 'Courier New', Courier, monospace;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--foreground);
  color: var(--background);
}

.site-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-items: start;
  padding: clamp(5rem, 17vh, 11rem) clamp(1.5rem, 8vw, 8rem);
}

.terminal {
  width: min(100%, 52rem);
}

h1,
p {
  margin: 0;
  font: inherit;
}

h1 {
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

p {
  margin-top: clamp(1rem, 2.8vw, 1.5rem);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.cursor {
  display: inline-block;
  width: 0.58em;
  height: 1.05em;
  margin-left: 0.22em;
  background: currentColor;
  vertical-align: -0.16em;
  animation: blink 1.08s steps(1, end) infinite;
}

@keyframes blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor {
    animation: none;
  }
}
