/* About Blank — Research site styles */
/* Modeled after anthropic.com/research */

:root {
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
  --mono: "JetBrains Mono", "SF Mono", "Fira Code", monospace;
  --max-w: 720px;
  --text: #1a1715;
  --text-muted: #6b635b;
  --border: #e8e4df;
  --bg: #faf9f6;
  --bg-subtle: #f3f1ed;
  --accent: #1a1715;
}

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

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

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

/* Header */
.site-header {
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.site-header h1 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.site-header h1 a { color: var(--text); text-decoration: none; }
.site-header nav {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 14px;
}
.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 20px;
}
.site-header nav a:hover { color: var(--text); }
.site-header nav a.active { color: var(--text); font-weight: 500; }

/* Article listing */
.article-list { list-style: none; }
.article-card {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.article-card:first-child { padding-top: 0; }
.article-card a { text-decoration: none; color: inherit; display: block; }
.article-card a:hover .article-title { text-decoration: underline; }
.article-date {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.article-title {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.article-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
.article-tags {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--sans);
  font-size: 12px;
  padding: 2px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
}

/* Article page */
.article-header { margin-bottom: 48px; }
.article-header .article-date { margin-bottom: 16px; }
.article-header .article-title { font-size: 36px; margin-bottom: 16px; }
.article-header .article-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  font-family: var(--serif);
  line-height: 1.5;
}
.article-links {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  font-family: var(--sans);
  font-size: 14px;
}
.article-links a {
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.15s;
}
.article-links a:hover { color: var(--text); border-color: var(--text); }

/* Article body */
.article-body h2 {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 600;
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
}
.article-body h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
}
.article-body p { margin-bottom: 20px; }
.article-body strong { font-weight: 600; }
.article-body a { color: var(--text); }

/* Key finding box */
.finding-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0;
}
.finding-box h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.finding-box p { margin-bottom: 12px; font-size: 16px; }
.finding-box p:last-child { margin-bottom: 0; }

/* Tables */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  font-family: var(--sans);
}
.article-body th {
  text-align: left;
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 2px solid var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.article-body td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.article-body tr:last-child td { border-bottom: none; }
.article-body .num { font-family: var(--mono); font-size: 14px; }

/* Blockquotes */
.article-body blockquote {
  border-left: 3px solid var(--border);
  padding: 12px 20px;
  margin: 24px 0;
  color: var(--text-muted);
  font-style: italic;
}

/* Code */
.article-body code {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 3px;
}
.article-body pre {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 20px;
  overflow-x: auto;
  margin: 24px 0;
}
.article-body pre code { background: none; padding: 0; }

/* Figure */
.figure {
  margin: 36px 0;
}
.figure-caption {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}
.figure iframe {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* Prompt box — warm, light, not dark */
.prompt-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Footer */
.site-footer {
  margin-top: 80px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
}
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .article-header .article-title { font-size: 28px; }
  .article-body h2 { font-size: 20px; }
}
