/* home.css — Home page styles */

:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-hover: #334155;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #f59e0b;
  --border: #334155;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

/* Brand */
.brand {
  margin-bottom: 3rem;
}

.brand .name {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.brand h1 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.brand .tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.brand .claude-badge {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #64748b;
  letter-spacing: 0.02em;
}

.brand .claude-badge a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.brand .claude-badge a:hover {
  color: #fbbf24;
}

/* Filter bar */
.filter-bar {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  font-family: inherit;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover {
  background: var(--surface);
  color: var(--text);
}

.filter-btn.active {
  background: var(--accent);
  color: #0f172a;
  border-color: var(--accent);
}

/* Section label */
.section-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Briefing cards */
.briefing-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.briefing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  display: block;
}

.briefing-card:hover {
  background: var(--surface-hover);
  border-color: #475569;
  transform: translateY(-1px);
}

.briefing-card .card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.briefing-card .date {
  font-size: 0.75rem;
  color: var(--muted);
}

.briefing-card .tag {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.tag.situation { background: #7f1d1d; color: #fca5a5; }
.tag.media { background: #1e3a5f; color: #93c5fd; }
.tag.region { background: #064e3b; color: #6ee7b7; }

.briefing-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.briefing-card .description {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.briefing-card .source-count {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.briefing-card .source-count span {
  color: var(--accent);
  font-weight: 600;
}

/* No results */
.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.6;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}
