/* The LLM Report — Global Styles
   System font stack only. No external font loading.
   Content width: 680px. Line height: 1.7.
*/

:root {
  --color-text: #1a1a1a;
  --color-bg: #ffffff;
  --color-muted: #666;
  --color-border: #e0e0e0;
  --color-accent: #1a1a8c;
  --color-analysis-bg: #f8f8ff;
  --color-analysis-border: #6666cc;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --content-width: 680px;
  --line-height: 1.7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-text: #e8e8e8;
    --color-bg: #0f0f0f;
    --color-muted: #999;
    --color-border: #2a2a2a;
    --color-accent: #8888ff;
    --color-analysis-bg: #0f0f1a;
    --color-analysis-border: #6666cc;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--line-height);
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 2px solid var(--color-border);
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

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

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

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

/* Article styles */
.article-meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.article-subheadline {
  font-size: 1.1rem;
  color: var(--color-muted);
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Analysis section */
.analysis-section {
  background: var(--color-analysis-bg);
  border-left: 3px solid var(--color-analysis-border);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.analysis-section .analysis-label {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-analysis-border);
  margin-bottom: 0.5rem;
}

/* Edition list */
.edition-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.edition-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.edition-list .edition-date {
  font-size: 0.85rem;
  color: var(--color-muted);
  white-space: nowrap;
}

/* Subscribe form */
.subscribe-box {
  background: var(--color-analysis-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem;
  margin: 2rem 0;
  font-size: 0.95rem;
}

/* Sources footer */
.sources-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Roundup items */
.roundup-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.roundup-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* Sponsor slot — renders nothing when empty */
.sponsor-slot:empty { display: none; }

/* Images */
img { max-width: 100%; height: auto; }
