/* Bellringer's pages: the app's navy and brass, the system font, nothing loaded from
   anywhere else. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --rule: #d2d2d7;
  --link: #1f3fae;
  --navy: #17276e;
  --brass: #f5b82e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1030;
    --surface: #141a44;
    --text: #f5f5f7;
    --muted: #a1a1b3;
    --rule: #2a3160;
    --link: #ffc43d;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

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

/* The top of each page: the icon and the name. */
.hero { text-align: center; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
/* No drop shadow: Safari cuts its glow off square around the icon. */
.hero img { width: 128px; height: 128px; }
.hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; margin: 20px 0 6px; }
.tagline { font-size: 22px; color: var(--muted); margin: 0 0 24px; }
.hero p.intro { text-align: left; margin: 0 auto 24px; }
.status {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
}

/* A smaller heading for the pages under the main one. */
.masthead { display: flex; align-items: center; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.masthead img { width: 44px; height: 44px; }
.masthead a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 19px; }

.page > h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin: 36px 0 0; }
h2 { font-size: 28px; letter-spacing: -0.01em; margin: 48px 0 8px; }
h3 { font-size: 19px; margin: 32px 0 6px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
.updated { color: var(--muted); margin-top: 4px; }

.contact { margin-top: 48px; padding: 24px; border-radius: 18px; background: var(--surface); }
.contact h2 { margin-top: 0; }

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--muted); }

@media (max-width: 480px) {
  .page { padding-top: 40px; }
  .hero h1 { font-size: 36px; }
  .tagline { font-size: 19px; }
}
