@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue&display=swap');

:root {
  --white: #ffffff;
  --off-white: #f6f9fa;
  --light-gray: #e0e0e0;
  --mid-gray: #cccccc;
  --dark-gray: #8a8a8a;
  --text-primary: #333333;
  --text-secondary: #666666;
  --green: #53d769;
  --blue: #34c1f5;
  --orange: #ff9e0d;
  --pink: #ff3b57;
  --nav-height: 44px;
  --max-width: 960px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: #fefefe;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: #0078d7;
  text-decoration: none;
}

a:hover {
  color: #004a99;
  text-decoration: underline;
}

::selection {
  background: #34c1f5;
  color: white;
}

/* ─── Navigation ─── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: -webkit-linear-gradient(top, #fcfcfc 0%, #e8e8e8 100%);
  border-bottom: 1px solid #a0a0a0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background: -webkit-linear-gradient(135deg, #34c1f5 0%, #0078d7 50%, #53d769 100%);
  border: 1px solid #0055aa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 11px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.nav-brand-text {
  font-size: 16px;
  font-weight: 800;
}

.nav-brand-text span {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 15px;
  margin-left: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-links a:hover {
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links a.active {
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  color: var(--text-primary);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ─── Hero ─── */

.hero {
  margin-top: var(--nav-height);
  padding: 48px 20px 36px;
  text-align: center;
  background: -webkit-linear-gradient(top, #ffffff 0%, #e3f7fc 100%);
  border-bottom: 1px solid #c0c0c0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  background: -webkit-linear-gradient(top, #f8f8f8 0%, #e0e0e0 100%);
  border: 1px solid #b0b0b0;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 36px;
  font-weight: 200;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: var(--text-primary);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero h1 strong {
  font-weight: 600;
  color: #0078d7;
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto 24px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid;
  transition: all 0.1s;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.btn-primary {
  background: -webkit-linear-gradient(top, #4fa8f5 0%, #0078d7 50%, #0055aa 100%);
  color: white;
  border-color: #0055aa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: -webkit-linear-gradient(top, #6ab4f7 0%, #1e87e8 50%, #0066bb 100%);
  text-decoration: none;
  color: white;
}

.btn-primary:active {
  background: -webkit-linear-gradient(top, #0055aa 0%, #0078d7 50%, #1e87e8 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: -webkit-linear-gradient(top, #fefefe 0%, #e8e8e8 100%);
  color: var(--text-primary);
  border-color: #a0a0a0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  background: -webkit-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
  text-decoration: none;
  color: var(--text-primary);
}

.btn-secondary:active {
  background: -webkit-linear-gradient(top, #d8d8d8 0%, #e8e8e8 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* ─── Container ─── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Section ─── */

.section {
  padding: 40px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 200;
  margin-bottom: 6px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ─── Cards ─── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: -webkit-linear-gradient(top, #fefefe 0%, #f0f0f0 100%);
  border-radius: 5px;
  border: 1px solid #c0c0c0;
  padding: 20px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.card:hover {
  background: -webkit-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  border: 1px solid;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.card-icon.green {
  background: -webkit-linear-gradient(135deg, #7ae283 0%, #53d769 50%, #3cc258 100%);
  border-color: #2aa342;
  color: #1a7a2e;
}

.card-icon.blue {
  background: -webkit-linear-gradient(135deg, #6ad3f8 0%, #34c1f5 50%, #1eb0e0 100%);
  border-color: #1a9ec7;
  color: #0e6a87;
}

.card-icon.orange {
  background: -webkit-linear-gradient(135deg, #ffb64d 0%, #ff9e0d 50%, #e88a00 100%);
  border-color: #cc7700;
  color: #8a5200;
}

.card-icon.pink {
  background: -webkit-linear-gradient(135deg, #ff6b82 0%, #ff3b57 50%, #e0203e 100%);
  border-color: #cc1a30;
  color: #8a1020;
}

.card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Stat bar ─── */

.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 24px 20px;
  background: -webkit-linear-gradient(top, #f5f5f5 0%, #ebebeb 100%);
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 28px;
  font-weight: 200;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stat-num.green { color: #2aa342; }
.stat-num.blue { color: #1a9ec7; }
.stat-num.orange { color: #cc7700; }
.stat-num.pink { color: #cc1a30; }

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ─── People ─── */

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.person {
  text-align: center;
  padding: 16px 12px;
  background: -webkit-linear-gradient(top, #fefefe 0%, #f5f5f5 100%);
  border-radius: 8px;
  border: 1px solid #c8c8c8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.person-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  color: white;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.person-avatar.green {
  background: -webkit-linear-gradient(135deg, #7ae283 0%, #53d769 50%, #3cc258 100%);
  border-color: #2aa342;
}

.person-avatar.blue {
  background: -webkit-linear-gradient(135deg, #6ad3f8 0%, #34c1f5 50%, #1eb0e0 100%);
  border-color: #1a9ec7;
}

.person-avatar.orange {
  background: -webkit-linear-gradient(135deg, #ffb64d 0%, #ff9e0d 50%, #e88a00 100%);
  border-color: #cc7700;
}

.person-avatar.pink {
  background: -webkit-linear-gradient(135deg, #ff6b82 0%, #ff3b57 50%, #e0203e 100%);
  border-color: #cc1a30;
}

.person h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.person p {
  font-size: 11px;
  color: var(--text-secondary);
}

/* ─── Timeline ─── */

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #c0c0c0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.timeline-item {
  position: relative;
  padding-bottom: 24px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #0078d7;
  background: #f0f0f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.15);
}

.timeline-item h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.timeline-item .timeline-date {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ─── Footer ─── */

.footer {
  padding: 24px 20px;
  text-align: center;
  background: -webkit-linear-gradient(top, #f8f8f8 0%, #e8e8e8 100%);
  border-top: 1px solid #b0b0b0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.footer p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.footer a {
  color: #0078d7;
  margin: 0 6px;
}

/* ─── Page header ─── */

.page-header {
  margin-top: var(--nav-height);
  padding: 32px 20px 24px;
  text-align: center;
  background: -webkit-linear-gradient(top, #ffffff 0%, #e3f7fc 100%);
  border-bottom: 1px solid #c0c0c0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.page-header h1 {
  font-size: 32px;
  font-weight: 200;
  margin-bottom: 6px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.page-header p {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 440px;
  margin: 0 auto;
}

/* ─── Research detail cards ─── */

.research-detail {
  padding: 24px;
  border-radius: 10px;
  margin-bottom: 16px;
  background: -webkit-linear-gradient(top, #fefefe 0%, #f2f2f2 100%);
  border: 1px solid #bfbfbf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 5px rgba(0, 0, 0, 0.1);
}

.research-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.research-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border: 1px solid;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.15);
}

.research-detail-icon.card-icon.green {
  background: -webkit-linear-gradient(135deg, #7ae283 0%, #53d769 50%, #3cc258 100%);
  border-color: #2aa342;
  color: #1a7a2e;
}

.research-detail-icon.card-icon.blue {
  background: -webkit-linear-gradient(135deg, #6ad3f8 0%, #34c1f5 50%, #1eb0e0 100%);
  border-color: #1a9ec7;
  color: #0e6a87;
}

.research-detail-icon.card-icon.orange {
  background: -webkit-linear-gradient(135deg, #ffb64d 0%, #ff9e0d 50%, #e88a00 100%);
  border-color: #cc7700;
  color: #8a5200;
}

.research-detail-icon.card-icon.pink {
  background: -webkit-linear-gradient(135deg, #ff6b82 0%, #ff3b57 50%, #e0203e 100%);
  border-color: #cc1a30;
  color: #8a1020;
}

.research-detail h3 {
  font-size: 17px;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.research-detail p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  background: -webkit-linear-gradient(top, #f5f5f5 0%, #e0e0e0 100%);
  color: var(--text-secondary);
  border: 1px solid #b0b0b0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 1px rgba(0, 0, 0, 0.08);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ─── About values ─── */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.value-card {
  padding: 20px;
  border-radius: 8px;
  background: -webkit-linear-gradient(top, #fefefe 0%, #f0f0f0 100%);
  text-align: center;
  border: 1px solid #c0c0c0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.value-card .value-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.value-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.value-card p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ─── Mobile nav ─── */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px auto;
  border-radius: 1px;
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: -webkit-linear-gradient(top, #fcfcfc 0%, #e8e8e8 100%);
    flex-direction: column;
    padding: 10px 16px;
    gap: 4px;
    border-bottom: 1px solid #a0a0a0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 14px;
  }

  .stats {
    flex-wrap: wrap;
    gap: 18px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .page-header h1 {
    font-size: 24px;
  }
}