/* Dalya's site: quiet, readable, no web fonts. */
:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --hairline: #d2d2d7;
  --link: #0066cc;
  --background: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --hairline: #3a3a3c;
    --link: #4da3ff;
    --background: #000000;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

.page {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.name { font-weight: 600; }

nav { display: flex; gap: 20px; }

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

nav a[aria-current="page"] { color: var(--text); }

main { padding: 40px 0 48px; }

h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

h2 {
  margin: 36px 0 8px;
  font-size: 1.0625rem;
  font-weight: 600;
}

p, ul { margin: 0 0 16px; }

ul { padding-left: 1.25em; }

li { margin-bottom: 8px; }

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

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

.lead { font-size: 1.125rem; }

footer {
  padding: 20px 0 32px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 13px;
}
