:root {
  color-scheme: dark;
  --background: #0d100d;
  --surface: #141814;
  --surface-raised: #1a201a;
  --border: #384038;
  --border-strong: #596459;
  --text: #d7ddd2;
  --muted: #8f9a8b;
  --green: #a7c080;
  --cyan: #83c092;
  --yellow: #dbbc7f;
  --orange: #e69875;
  --selection: #263126;
  --danger: #e67e80;
  --gutter: 3.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
  scrollbar-color: var(--border-strong) var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--cyan);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--green);
}

button {
  color: inherit;
}

h1,
h2,
p,
ul,
dl {
  margin-top: 0;
}

h1 {
  max-width: 26ch;
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: clamp(1.65rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 0.7rem;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

code {
  color: var(--yellow);
  font-family: inherit;
}

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

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--background);
  background: var(--border-strong);
}

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