/* Plain styling until the brand design lands. Navy from the app icon. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #16202e;
  --muted: #5a6677;
  --line: #dde2e9;
  --accent: #193366;
  --link: #24508f;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1420;
    --surface: #161e2d;
    --text: #e8ecf2;
    --muted: #9aa6b8;
    --line: #273246;
    --accent: #8fb0e3;
    --link: #9cc0f5;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

header.site a.home {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

header.site img { width: 32px; height: 32px; border-radius: 8px; }

header.site nav { margin-left: auto; display: flex; gap: 16px; font-size: 15px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--text); }

main.wrap { padding-top: 32px; padding-bottom: 48px; }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
.card > h2:first-child { margin-top: 16px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 4px; }

.lead { font-size: 19px; color: var(--muted); margin-bottom: 24px; }
.muted { color: var(--muted); font-size: 15px; }

.hero { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; flex: none; }

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

.badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 12px;
  padding: 2px 12px;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
  color: var(--muted);
  font-size: 14px;
}

footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }
footer.site a { color: var(--muted); }

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  .hero img { width: 72px; height: 72px; border-radius: 16px; }
  header.site nav { gap: 12px; }
}
