/* Shared stylesheet for the static site (site/). The brand navy matches
   the Flutter seed color (app/lib/common/theme/app_theme.dart) and the
   web manifest theme_color. */
:root {
  --navy: #2b4c6f;
  --bg: #ffffff;
  --text: #1b2733;
  --muted: #5b6875;
  --link: #2b4c6f;
  --rule: #dde3ea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a24;
    --text: #e6ebf0;
    --muted: #9aa7b4;
    --link: #9fc0e3;
    --rule: #263545;
  }
}

* {
  box-sizing: border-box;
}

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

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

.site-header {
  background: var(--navy);
  padding: 16px;
}

.site-header a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 16px;
}

.muted {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 48px;
  padding-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero {
  padding-top: 56px;
}

.hero h1 {
  font-size: 2.25rem;
}

.lede {
  font-size: 1.15rem;
}

.button {
  display: inline-block;
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 8px;
  margin: 8px 0;
}

@media (prefers-color-scheme: dark) {
  .button {
    background: #3f6a97;
  }
}
