/* Maranello Signal — Ferrari F1 Intelligence */

:root {
  --ferrari-red: #DC0000;
  --ferrari-dark: #a00000;
  --bg: #0d0d0d;
  --bg-surface: #161616;
  --border: #222;
  --text: #e8e8e8;
  --text-muted: #777;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-surface);
  min-height: 100vh;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

/* Header */
.header {
  background: #1a1a1a;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}
.header .logo {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.header h1 {
  color: #bbb;
  font-size: 20px;
  letter-spacing: 4px;
  font-weight: 600;
  white-space: nowrap;
}
.header-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Briefing meta bar */
.briefing-meta {
  padding: 18px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.briefing-meta .date {
  color: var(--ferrari-red);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Narrative prose */
.narrative {
  padding: 32px 32px 28px;
}
.narrative p {
  color: #ccc;
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 22px;
}
.narrative p:first-child::first-letter {
  font-size: 2.4em;
  color: var(--ferrari-red);
  float: left;
  line-height: 1;
  margin-right: 6px;
  margin-top: 4px;
  font-weight: 700;
}
.narrative p:last-child {
  margin-bottom: 0;
}

/* Sources */
.sources {
  padding: 24px 32px 28px;
  border-top: 1px solid var(--border);
}
.sources h3 {
  color: var(--text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.sources ul {
  list-style: none;
}
.sources li {
  padding: 5px 0;
}
.sources a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
.sources a:hover {
  color: var(--ferrari-red);
}

/* Navigation */
.nav-bar {
  padding: 18px 32px;
  border-top: 1px solid var(--border);
}
.nav-bar a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.15s;
}
.nav-bar a:hover {
  color: var(--ferrari-red);
}

/* Archive / Index page */
.archive {
  padding: 32px 32px;
}
.archive-title {
  color: var(--text-muted);
  font-size: 10px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}
.briefing-list {
  list-style: none;
}
.briefing-list li {
  border-bottom: 1px solid var(--border);
}
.briefing-list li:first-child {
  border-top: 1px solid var(--border);
}
.briefing-list li a {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  transition: padding-left 0.15s, color 0.15s;
}
.briefing-list li a:hover {
  padding-left: 10px;
}
.briefing-list li a:hover .briefing-date {
  color: var(--ferrari-red);
}
.briefing-date {
  color: #ccc;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.empty {
  color: var(--text-muted);
  font-style: italic;
  padding: 20px 0;
}

/* Footer */
.footer {
  padding: 32px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer p {
  color: #333;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
