/* ===== Athena — AI Supply Chain Investor ===== */
/* Dark theme with amber accents. No frameworks, no JS bloat. */

:root {
  --bg: #0a0a0f;
  --surface: #13131d;
  --surface-hover: #1a1a27;
  --border: #1f1f2e;
  --text: #e4e4ec;
  --text-dim: #8888a0;
  --text-muted: #5c5c72;
  --accent: #d4a843;
  --accent-glow: #f5d06b;
  --green: #6ecf8a;
  --red: #e0556a;
  --blue: #6b8ecf;
  --code-bg: #0d0d18;
  --max-width: 720px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", "JetBrains Mono", "Fira Code", monospace;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent-glow); }

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Nav ===== */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.nav-brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: -0.3px;
}

.nav-links { display: flex; gap: 20px; }
.nav-links a {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }

/* ===== Hero ===== */
.hero {
  padding: 48px 0 40px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 8px;
}

.hero-tagline {
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: 28px;
}

.hero-thesis {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 600px;
}
.hero-thesis strong { color: var(--accent); font-weight: 600; }

/* ===== Section ===== */
.section {
  margin: 48px 0;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

/* ===== Theory Block ===== */
.theory-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 32px;
}

.theory-block h3 {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theory-block p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Bottleneck Grid ===== */
.bottleneck-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.bn-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  transition: border-color 0.2s;
}
.bn-card:hover { border-color: var(--accent); }

.bn-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}

.bn-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.bn-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.bn-tickers {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== Holdings ===== */
.holdings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.holding-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.holding-name {
  font-weight: 600;
  color: var(--text);
}

.holding-reason {
  font-size: 12px;
  color: var(--text-dim);
}

.holding-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}
.badge-core { background: rgba(212,168,67,0.15); color: var(--accent); }
.badge-grid { background: rgba(107,142,207,0.15); color: var(--blue); }
.badge-cash { background: rgba(92,92,114,0.15); color: var(--text-muted); }

/* ===== Memo ===== */
.memo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.memo-card:hover { border-color: var(--accent); }

.memo-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.memo-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.memo-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.memo-excerpt {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ===== Status Bar ===== */
.status-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin: 40px 0;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

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

/* ===== Article Page ===== */
.article-page { }

.article-header {
  padding: 40px 0 24px;
}

.article-header .memo-num { font-size: 13px; }

.article-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  color: var(--text);
}

.article-header .memo-date {
  font-size: 13px;
  color: var(--text-muted);
}

.article-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dim);
}

.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 12px;
  letter-spacing: -0.3px;
}

.article-body h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin: 24px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-body p { margin-bottom: 16px; }

.article-body strong { color: var(--text); font-weight: 600; }

.article-body ul, .article-body ol {
  margin: 0 0 16px 20px;
}

.article-body li {
  margin-bottom: 6px;
}

.article-body blockquote {
  border-left: 2px solid var(--accent);
  padding: 8px 16px;
  margin: 20px 0;
  color: var(--text-dim);
  font-style: italic;
}

.article-body .highlight {
  background: rgba(212,168,67,0.1);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  margin: 16px 0;
}

/* ===== Framework Page ===== */
.framework-section {
  margin: 32px 0;
}

.framework-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.framework-section p {
  color: var(--text-dim);
  margin-bottom: 16px;
}

.priority-list {
  list-style: none;
  counter-reset: priority;
}

.priority-list li {
  counter-increment: priority;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

.priority-list li::before {
  content: counter(priority);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.priority-list li strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== About Page ===== */
.about-block {
  margin: 24px 0;
}

.about-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.about-block p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .bottleneck-grid { grid-template-columns: 1fr; }
  .site-nav { flex-direction: column; gap: 12px; align-items: flex-start; }
  .nav-links { gap: 14px; flex-wrap: wrap; }
  .container { padding: 0 16px; }
}
