/* Agentic Sciences — Clean Minimal Theme */
:root {
  --text: #111;
  --text-secondary: #555;
  --text-muted: #888;
  --bg: #fff;
  --bg-subtle: #fafafa;
  --border: #e5e5e5;
  --accent: #111;
  --accent-hover: #333;
  --radius: 8px;
  --max-width: 820px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-decoration: none; }

/* Nav */
.nav { border-bottom: 1px solid var(--border); padding: 0 24px; position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 100; }
.nav-inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 56px; }
.nav-brand { font-weight: 600; font-size: 15px; color: var(--text); letter-spacing: -0.3px; }
.brand-icon { display: none; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--text-muted); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* Hero */
.hero { padding: 80px 24px 60px; text-align: center; }
.hero h1 { font-size: 40px; font-weight: 700; letter-spacing: -1.5px; color: var(--text); margin-bottom: 12px; }
.hero-subtitle { font-size: 18px; color: var(--text-secondary); font-weight: 400; }
.hero-badge { display: inline-block; font-size: 12px; color: var(--text-muted); border: 1px solid var(--border); padding: 4px 14px; border-radius: 20px; margin-bottom: 20px; letter-spacing: 0.5px; }
.hero-cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; }

/* Buttons */
.btn { display: inline-block; padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 500; transition: all 0.15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { border: 1px solid var(--border); color: var(--text-secondary); }
.btn-secondary:hover { border-color: var(--text-muted); color: var(--text); }
.btn-sm { padding: 5px 12px; font-size: 12px; border: 1px solid var(--border); border-radius: 5px; color: var(--text-secondary); }
.btn-sm:hover { border-color: var(--text-muted); color: var(--text); }

/* Sections */
.section { padding: 48px 24px; }
.section-alt { background: var(--bg-subtle); }
.container { max-width: var(--max-width); margin: 0 auto; }
.section-title { font-size: 24px; font-weight: 600; letter-spacing: -0.5px; margin-bottom: 8px; }
.section-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; }

/* Page header */
.page-header { padding: 48px 24px 32px; border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: 32px; font-weight: 700; letter-spacing: -1px; }
.page-header p { font-size: 15px; color: var(--text-muted); margin-top: 4px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: box-shadow 0.15s; }
.card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.card-icon { font-size: 24px; margin-bottom: 12px; }
.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Stats */
.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 20px 0; }
.stat { text-align: center; }
.stat-number { font-size: 28px; font-weight: 700; letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Outputs / Media */
.output-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.output-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.output-item .type { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.output-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }

/* Architecture blocks */
.arch-block { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.arch-block p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.arch-block strong { color: var(--text); }

/* Links */
.more-link { margin-top: 24px; }
.more-link a { font-size: 14px; color: var(--text-muted); }
.more-link a:hover { color: var(--text); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 24px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-brand { font-weight: 600; font-size: 14px; }
.footer-links a { font-size: 13px; color: var(--text-muted); }
.footer-copy { max-width: var(--max-width); margin: 12px auto 0; font-size: 12px; color: var(--text-muted); }

/* Research list */
.research-list { display: flex; flex-direction: column; gap: 16px; }
.research-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.research-status { display: none; }
.research-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.research-item .desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.research-item .meta { font-size: 11px; color: var(--text-muted); margin-top: 6px; }

/* Responsive */
@media (max-width: 640px) {
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 22px; }
  .output-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 20px; }
  .cards { grid-template-columns: 1fr; }
}
