/* FlipMol site: system fonts only, no external resources. */
:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #5b5b61;
  --accent: #0a66c2;
  --border: #e3e3e8;
  --note-bg: #fff7e0;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --text: #f2f2f5;
    --muted: #a8a8b0;
    --accent: #6cb4ff;
    --border: #2c2c31;
    --note-bg: #3a3215;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.site-header, main, .site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
nav a:hover, nav a:focus-visible { color: var(--accent); text-decoration: underline; }
main { padding-top: 1rem; padding-bottom: 2rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 1rem 0; }
h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
a { color: var(--accent); }
ul, ol { padding-left: 1.4rem; }
li { margin: 0.3rem 0; }
.note {
  background: var(--note-bg);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.95em; }
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
