:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --accent: #1565c0;
  --accent-dark: #0d47a1;
  --border: #e4e4e7;
  --maxw: 44rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
}

.brand {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover { text-decoration: underline; }

/* Main */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

section { margin-top: 2.5rem; }

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.seenote { color: var(--muted); font-size: 0.95rem; margin: 0; }

.prose p { margin: 0 0 1.1rem; }

.tips ul,
.download-list {
  padding-left: 1.25rem;
  margin: 0;
}

.tips li { margin-bottom: 0.6rem; }

/* Downloads */
.downloads {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.download-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.download-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--border);
}

.download-list li:first-child { border-top: none; }

.download-list a { font-weight: 500; }

.meta {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Disclaimer */
.disclaimer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.disclaimer h2 { font-size: 1rem; color: var(--text); }

/* Footer */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p { margin: 0.25rem 0; }
.credit { font-size: 0.85rem; }

@media (max-width: 30rem) {
  h1 { font-size: 1.6rem; }
  .site-header { padding: 1rem; }
}
