/* Steep website: the app's Light theme, with its Dark theme under prefers-color-scheme. */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --raised: #f2ece3;
  --text: #1b1a1f;
  --muted: #57545f;
  --faint: #67646f;
  --accent: #6247c4;
  --accent-text: #ffffff;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1c1c1e;
    --raised: #2a2a2d;
    --text: #e9e6e1;
    --muted: #ada9a3;
    --faint: #8f8b86;
    --accent: #b9a6f2;
    --accent-text: #17112b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, .wordmark { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }

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

/* Header */
header { padding: 24px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.wordmark { font-size: 24px; font-weight: 700; }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
}
nav a[aria-current='page'] { background: var(--accent); color: var(--accent-text); }

/* Hero */
.hero { padding: 48px 0 32px; text-align: center; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); }
.hero h1 { font-size: clamp(36px, 8vw, 54px); line-height: 1.1; margin: 28px 0 12px; }
.hero p { color: var(--muted); font-size: 19px; margin: 0 auto; max-width: 30em; }
.pill {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--raised);
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}

/* Cards and text pages */
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 24px 0 48px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.card h2 { font-size: 20px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

main.page { padding: 24px 0 56px; }
main.page h1 { font-size: clamp(32px, 7vw, 44px); line-height: 1.15; margin: 8px 0 4px; }
.updated { color: var(--faint); font-size: 14px; margin: 0 0 28px; }
main.page h2 { font-size: 22px; margin: 32px 0 6px; }
main.page p, main.page li { color: var(--muted); }
.lead { font-size: 19px; color: var(--text) !important; }

.contact {
  margin-top: 32px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
}
.contact a.button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
}

footer { padding: 32px 0 48px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--faint); }
