:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --border: #e4e7ec;
  --ink: #1a2230;
  --muted: #5b6472;
  --faint: #8a93a2;
  --accent: #26346b;
  --accent-soft: #eaedf6;
}

* { 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;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 24px 20px 64px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.brand { font-size: 20px; font-weight: 800; color: var(--accent); text-decoration: none; letter-spacing: -0.2px; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 18px;
  font-weight: 600;
}
nav a:hover { color: var(--accent); }

h1 { font-size: 30px; line-height: 1.2; margin: 24px 0 8px; letter-spacing: -0.4px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
p, li { color: var(--ink); }
.lede { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--faint); }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 20px 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
}

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 20px;
  color: var(--faint);
  font-size: 14px;
}
footer.site a { color: var(--muted); }

/* Faded windmill scene — the same artwork as the app's Welcome screen. */
.scene {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  max-height: 46vh;
  overflow: hidden;
}
.scene svg { display: block; width: 100%; height: auto; }
.scene .fill { fill: var(--accent); }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10141c;
    --surface: #171c26;
    --border: #2a323f;
    --ink: #e8ebf0;
    --muted: #9aa3b2;
    --faint: #6b7484;
    --accent: #93a4e0;
    --accent-soft: #1c2740;
  }
}
