@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/SourceSans3-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f7f1ee;
  --panel: #fffaf7;
  --text: #30282c;
  --muted: #6f5e64;
  --faint: #7e6a70;
  --accent: #a43f32;
  --accent-fill: #b44838;
  --accent-text: #fffaf7;
  --line: #d6c7c1;
  --space: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17191d;
    --panel: #1d1f24;
    --text: #f1f0f5;
    --muted: #b1b5c5;
    --faint: #9197ab;
    --accent: #a99aff;
    --accent-fill: #8574ed;
    --accent-text: #12101f;
    --line: #363942;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 42rem; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.mark {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; letter-spacing: 0.02em; color: var(--text);
  text-decoration: none;
}
.mark:hover { text-decoration: none; }
.dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--accent-fill); }
h1 { font-size: 2.25rem; font-weight: 400; letter-spacing: -0.03em; line-height: 1.15; margin: 2rem 0 1rem; }
h2 { font-size: 1.25rem; font-weight: 500; margin: 2rem 0 0.75rem; }
p { color: var(--text); margin: 0 0 1rem; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 0.95rem; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-fill); color: var(--accent-text);
  border: 0; border-radius: 8px; padding: 0.7rem 1.15rem;
  font: inherit; font-size: 1rem; cursor: pointer;
}
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }
footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.9rem; }
footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
ul { padding-left: 1.2rem; color: var(--text); }
li { margin-bottom: 0.4rem; }
