/* Feedz website — colours match the app's theme tokens (src/theme/light.ts, dark.ts). */
:root {
  --background: #FDF8D3;
  --surface: #FFFCEB;
  --border: #E9DFB4;
  --text: #0B141C;
  --text-muted: #4A5560;
  --primary: #EF2A25;
  --primary-text: #C4161C;
  --outline: #7A1013;
  --gold: #F6C343;
  --on-gold: #7A1013;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #16110E;
    --surface: #221A16;
    --border: #3A2E27;
    --text: #FDF8D3;
    --text-muted: #B9AE9C;
    --primary: #E5302A;
    --primary-text: #FF6B63;
    --outline: #7A1013;
    --gold: #F2B93B;
    --on-gold: #3B0A0C;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
}

a { color: var(--primary-text); font-weight: 700; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
}

.top img { display: block; height: 40px; width: auto; }

.top nav { display: flex; gap: 16px; font-size: 15px; }
.top nav a { text-decoration: none; }

h1, h2 {
  font-family: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

h1 { font-size: 34px; letter-spacing: -0.5px; margin: 32px 0 12px; }
h2 { font-size: 22px; margin: 32px 0 8px; }

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

/* Homepage hero */
.hero { text-align: center; padding: 48px 0 24px; }
.hero svg { width: 140px; height: 140px; }
.hero h1 { font-size: 40px; margin-top: 24px; }
.hero p { font-size: 18px; max-width: 32em; margin: 0 auto 24px; }

.pill {
  display: inline-block;
  background: var(--gold);
  color: var(--on-gold);
  border: 2px solid var(--outline);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.card h2 { font-size: 19px; margin: 0 0 4px; }
.card p { margin: 0; color: var(--text-muted); }

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

footer a { margin-right: 16px; }
