/* Shared lean site stylesheet. Light background only, never dark mode. */
:root {
  --brand: #6C47FF;
  --brand-light: #f0ecff;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3, .logo {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

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

.wrap { max-width: 860px; margin: 0 auto; padding: 0 1.25rem; }

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem; height: 64px; border-bottom: 1px solid var(--border);
  background: var(--bg); position: sticky; top: 0; z-index: 100;
}
.logo { font-size: 1.25rem; font-weight: 700; color: var(--brand); text-decoration: none; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

.hero { padding: 3rem 1.25rem 2rem; text-align: left; }
.hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 620px; }

.article-list { display: flex; flex-direction: column; gap: 0; padding: 1rem 0 3rem; }
.article-card {
  display: block; text-decoration: none; color: inherit;
  padding: 1.25rem 0; border-bottom: 1px solid var(--border);
}
.article-card:hover .article-title { color: var(--brand); }
.article-title { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.article-meta { font-size: 0.82rem; color: var(--muted); display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.article-summary { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }

.badge-ai {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--brand-light); color: var(--brand);
  font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.5rem;
  border-radius: 999px; letter-spacing: 0.02em;
}

.article-body { padding: 2.5rem 1.25rem 4rem; max-width: 720px; margin: 0 auto; }
.article-body h1 { font-size: 1.9rem; margin-bottom: 0.75rem; }
.article-body h2 { font-size: 1.35rem; margin: 1.75rem 0 0.75rem; }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-byline {
  display: flex; align-items: center; gap: 0.75rem; color: var(--muted);
  font-size: 0.85rem; margin: 1rem 0 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}

.aff-link {
  color: var(--brand); font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--brand-light); text-underline-offset: 3px;
}
.aff-disclosure {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.85rem 1rem; font-size: 0.85rem; color: var(--muted); margin: 1.5rem 0;
}

.trending {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; margin: 2rem 0;
}
.trending h3 { font-size: 0.95rem; margin-bottom: 0.75rem; color: var(--text); }
.trending ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.trending a { font-size: 0.9rem; text-decoration: none; color: var(--text); }
.trending a:hover { color: var(--brand); }
.trending .trending-empty { font-size: 0.85rem; color: var(--muted); }

footer {
  border-top: 1px solid var(--border); padding: 2rem 1.25rem; margin-top: 2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: var(--muted);
}
footer a { color: var(--muted); text-decoration: underline; }

@media (max-width: 600px) {
  .hero h1 { font-size: 1.6rem; }
  footer { flex-direction: column; }
}
