:root {
  color-scheme: light dark;

  /* https://cdn.jsdelivr.net/npm/@radix-ui/colors@latest/sand.css */
  --sand-1: #fdfdfc;
  --sand-2: #f9f9f8;
  --sand-3: #f1f0ef;
  --sand-4: #e9e8e6;
  --sand-5: #e2e1de;
  --sand-6: #dad9d6;
  --sand-7: #cfceca;
  --sand-8: #bcbbb5;
  --sand-9: #8d8d86;
  --sand-10: #82827c;
  --sand-11: #63635e;
  --sand-12: #21201c;

  --bg: var(--sand-2);
  --secondary: var(--sand-11);
  --territary: var(--sand-10);
  --text: var(--sand-12);
}

@media (prefers-color-scheme: dark) {
  :root {
  --sand-1: #111110;
  --sand-2: #191918;
  --sand-3: #222221;
  --sand-4: #2a2a28;
  --sand-5: #31312e;
  --sand-6: #3b3a37;
  --sand-7: #494844;
  --sand-8: #62605b;
  --sand-9: #6f6d66;
  --sand-10: #7c7b74;
  --sand-11: #b5b3ad;
  --sand-12: #eeeeec;
  }
}

body {
  min-height: 100dvh;
  display: flex;
  place-items: center;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Oxygen, Ubuntu, Cantarell,
               "Open Sans", "Helvetica Neue", sans-serif;
}

article {
  padding: 2rem 2.5rem;
  max-width: 65ch;
  margin: 0 auto;
}

h1 {
    font-size: 2.8em;
    margin: 0;
    padding: 0 0 0.7rem 0;
}
h2 {
    font-size: 1.3em;
    color:var(--secondary);
    margin: 0 0 0 0;
    padding: 0 0 1rem 0;
}

hr {
    color:var(--secondary);
    padding: 0;
    margin: 0 0 1rem 0;
}

section {
    font-size: 1.1em;
    line-height: 1.4;
    padding-bottom: 1.5rem;
}

article a {
    display: inline-block;
    padding: 1rem 1.5rem;
    background: var(--sand-12);
    color: var(--bg);
    border-radius: 8rem;
    text-decoration: none;
    margin: 0 1rem 0 0;
}
