@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #fafafa;
  --bg-alt: #f0f0f0;
  --text: #1a1a1a;
  --text-secondary: #555;
  --accent: #1a3a5c;
  --accent-light: #2a5a8c;
  --border: #ddd;
  --white: #fff;
}

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

body {
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.site-nav {
  background: var(--accent);
  border-bottom: 3px solid #0d1f33;
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo span {
  font-weight: 400;
  opacity: 0.7;
  font-size: 0.8rem;
  margin-left: 0.4rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  transition: all 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

/* Container */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Page header (subpages) */
.page-header {
  background: linear-gradient(135deg, #0d1f33 0%, #1a3a5c 100%);
  color: var(--white);
  padding: 3.5rem 1.5rem 2.5rem;
}

.page-header .label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 0.75rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 0 auto 0.5rem;
}

.page-header p {
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.8;
  font-size: 0.95rem;
}

.page-header .date {
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.6;
  font-size: 0.85rem;
}

/* Hero (homepage) */
.hero {
  background: linear-gradient(135deg, #0d1f33 0%, #1a3a5c 50%, #234b73 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
}

.section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Study cards */
.study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.study-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.study-card .authors,
.study-card .meta {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.study-card .stat {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-right: 0.4rem;
  margin-bottom: 0.5rem;
}

.study-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.study-card a {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  text-decoration: none;
}

.study-card a:hover { text-decoration: underline; }

/* Article (press release) */
.article {
  padding: 3rem 0 4rem;
}

.article p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.article h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.article blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--white);
  border-radius: 0 4px 4px 0;
}

.article blockquote p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--text);
  font-size: 0.92rem;
}

.article blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: var(--accent-light);
}

/* Metrics grid */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1.25rem;
  text-align: center;
}

.metric-card .number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-card .label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Press meta box */
.press-meta {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.press-meta strong { color: var(--text); }

/* Team members (about) */
.team-member {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.team-member h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.team-member .role {
  font-size: 0.82rem;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.team-member p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* Contact cards */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1.5rem;
}

.contact-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.contact-card a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
}

.contact-card a:hover { text-decoration: underline; }

.address {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.address strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
  background: #0d1f33;
  color: rgba(255,255,255,0.5);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.site-footer a:hover { color: #fff; }

/* Responsive */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.75rem; }
  .page-header h1 { font-size: 1.35rem; }
  .metrics-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 0.75rem; padding: 0.3rem 0.5rem; }
}
