:root {
  --ink: #1d2433;
  --muted: #5b6475;
  --accent: #2f5bd3;
  --accent-soft: #e8eefc;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --line: #e3e7ef;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); }

/* Navigation */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 1px;
}
.logo span { color: var(--accent); }
.nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav ul a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav ul a:hover { color: var(--accent); }

/* Sections */
section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 24px;
}
section.alt {
  max-width: none;
  background: var(--bg-alt);
}
section.alt > * {
  max-width: 992px;
  margin-left: auto;
  margin-right: auto;
}
h1, h2, h3 { line-height: 1.25; }
h2 {
  font-size: 1.9rem;
  margin: 0 0 28px;
}
h3 { font-size: 1.15rem; margin: 0 0 10px; }
.intro { color: var(--muted); margin-top: -12px; margin-bottom: 28px; }

/* Hero */
.hero {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 64px;
}
.hero-text { flex: 1; }
.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}
h1 { font-size: 2.6rem; margin: 0 0 16px; }
.accent { color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--muted); margin: 0 0 26px; }
.photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--accent-soft);
  flex-shrink: 0;
}
.facts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.facts div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 16px;
  min-width: 150px;
}
.facts span { display: block; font-size: 0.8rem; color: var(--muted); }
.facts strong { font-size: 1rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
}
.btn:hover { opacity: 0.9; }

/* Grids and cards */
.grid { display: grid; gap: 32px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card p { margin: 0; color: var(--muted); }

/* Timeline */
.timeline {
  list-style: none;
  padding: 0 0 0 18px;
  margin: 0;
  border-left: 2px solid var(--accent-soft);
}
.timeline li {
  position: relative;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.97rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline time {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}
.timeline strong { color: var(--ink); }

/* Missions */
.mission {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 18px;
}
.mission-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.mission-head h3 { margin: 0; }
.mission-head em { font-weight: 400; color: var(--muted); font-style: normal; font-size: 0.95rem; }
.num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.mission p { margin: 8px 0 0; color: var(--muted); }
.mission .me {
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 14px;
}

/* Lists and chips */
.list { padding-left: 20px; color: var(--muted); }
.list li { margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chips span {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
}
.langs { color: var(--muted); }

/* Contact */
.contact { text-align: center; }
.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.contact-links a {
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.contact-links a:hover { background: var(--accent-soft); }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 28px 24px;
  border-top: 1px solid var(--line);
}

/* Mobile */
@media (max-width: 820px) {
  .nav ul { display: none; }
  .hero { flex-direction: column-reverse; text-align: center; gap: 24px; }
  .facts { justify-content: center; }
  h1 { font-size: 2rem; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  section { padding: 52px 20px; }
  .photo { width: 160px; height: 160px; }
}
