/* Qarit's site: the app's palette and Outfit, served from this site (no third-party fonts). */
@font-face { font-family: Outfit; font-weight: 200; font-display: swap; src: url('/fonts/Outfit_200ExtraLight.ttf') format('truetype'); }
@font-face { font-family: Outfit; font-weight: 300; font-display: swap; src: url('/fonts/Outfit_300Light.ttf') format('truetype'); }
@font-face { font-family: Outfit; font-weight: 400; font-display: swap; src: url('/fonts/Outfit_400Regular.ttf') format('truetype'); }
@font-face { font-family: Outfit; font-weight: 500; font-display: swap; src: url('/fonts/Outfit_500Medium.ttf') format('truetype'); }

:root {
  --bg: #0E3B3F;
  --surface: #134A4F;
  --text: #EEF0EF;
  --muted: rgba(238, 240, 239, 0.72);
  --accent: #F2894B;
  --rule: rgba(238, 240, 239, 0.15);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #EEF0EF;
    --surface: #FFFFFF;
    --text: #0E3B3F;
    --muted: rgba(14, 59, 63, 0.72);
    --accent: #C9662B;
    --rule: #D5D9D8;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, -apple-system, system-ui, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
}
main { max-width: 680px; margin: 0 auto; padding: 40px 20px 64px; }

header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.wordmark { font-weight: 200; font-size: 34px; color: var(--accent); text-decoration: none; line-height: 1; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-weight: 400; font-size: 15px; }
nav a:hover, nav a[aria-current='page'] { color: var(--accent); }

h1 { font-weight: 200; font-size: 40px; line-height: 1.15; color: var(--accent); margin: 0 0 8px; }
h2 { font-weight: 400; font-size: 21px; margin: 36px 0 8px; }
h3 { font-weight: 500; font-size: 17px; margin: 22px 0 4px; }
p, li { color: var(--text); }
.lead { font-size: 19px; color: var(--muted); margin-top: 0; }
.muted { color: var(--muted); }
a { color: var(--accent); }
strong { font-weight: 500; }
ul { padding-left: 22px; }
li { margin: 4px 0; }

.card { background: var(--surface); border-radius: 18px; padding: 18px 20px; margin: 18px 0; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.summary li { margin: 6px 0; }

.hero { text-align: center; padding: 40px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; }
.hero h1 { font-size: 56px; margin-top: 18px; }
.links { display: flex; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.pill { border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 8px 18px; text-decoration: none; font-weight: 400; }

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