:root {
  --wine: #8c1733;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --background: #fbf7f8;
  --card: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --wine: #e0758e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --background: #1c1b1d;
    --card: #2a282b;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 0;
}

.brand {
  color: var(--wine);
  font: 700 28px/1 ui-serif, "New York", Georgia, serif;
  text-decoration: none;
}

nav { color: var(--muted); font-size: 15px; }

main {
  max-width: 760px;
  margin: 16px auto 48px;
  padding: 28px 24px;
  background: var(--card);
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

h1 { font: 700 32px/1.2 ui-serif, "New York", Georgia, serif; margin: 0 0 8px; }
h2 { font-size: 19px; margin: 28px 0 6px; }
h3 { font-size: 17px; margin: 18px 0 4px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--wine); }
code { font-size: 15px; }
.lead { color: var(--muted); font-size: 19px; }
.lang { color: var(--muted); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 36px; }

/* Placeholders that still need filling in before the page goes live. */
.todo { background: #ffe58a; color: #1d1d1f; border-radius: 4px; padding: 0 3px; }

.button {
  display: inline-block;
  background: var(--wine);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
}

@media (prefers-color-scheme: dark) {
  .button { color: #1c1b1d; }
}
