@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --surface: #FAF6EE;
  --text: #1E1E1E;
  --muted: #6E6A62;
  --accent: #7A5E26;
  --rule: #E4DCCB;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #171D29;
    --text: #F2EFE8;
    --muted: #A3A8B1;
    --accent: #CDB27A;
    --rule: #2C3446;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 4px;
  color: inherit;
  text-decoration: none;
}

.wordmark::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: var(--accent);
}

h1, h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
}

h1 { font-size: 40px; margin: 0 0 8px; }
h2 { font-size: 26px; margin: 36px 0 8px; }

p { margin: 0 0 16px; }

a { color: var(--accent); }

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

.langs {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}

section + section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

footer {
  margin-top: 56px;
  font-size: 14px;
  color: var(--muted);
}
