:root {
  --bg: #0b0d10;
  --card: #12161c;
  --text: #e9eef5;
  --muted: #a9b4c2;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #7aa7ff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: #000;
  color: var(--text);
  line-height: 1.5;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

header {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  background: rgba(18, 22, 28, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 18px;
}

.avatar {
  width: 280px;
  height: 280px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.chip:hover { border-color: rgba(122,167,255,0.45); }
.chip:visited,
.chip:active { color: var(--text); }

.section-tabs {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.section-tab:hover { border-color: rgba(122,167,255,0.45); }
.section-tab:visited,
.section-tab:active { color: var(--text); }

a {
  color: #8fd3ff;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}

a:visited {
  color: #9bc7ff;
}

a:hover,
a:focus-visible {
  color: #c9e9ff;
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(18, 22, 28, 0.9);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
}

.back-to-top:hover { border-color: rgba(122,167,255,0.45); }
.back-to-top:visited,
.back-to-top:active { color: var(--text); }

main {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

section {
  border: 1px solid var(--border);
  background: rgba(18, 22, 28, 0.6);
  border-radius: 18px;
  padding: 22px;
}

.section-title {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.timeline {
  position: relative;
  margin-top: 8px;
  padding-left: 28px;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: block;
}

.timeline-content {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(122, 167, 255, 0.25);
}

.timeline-compact {
  gap: 8px;
}

.timeline-compact .timeline-content {
  padding: 8px 10px;
}

.timeline-compact .timeline-content::before {
  top: 10px;
  width: 7px;
  height: 7px;
}

.timeline-compact .timeline-title {
  font-size: 14px;
}

.timeline-compact .timeline-meta {
  margin-top: 1px;
  font-size: 11px;
}

.timeline-title {
  margin: 0;
  font-size: 16px;
}

.timeline-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text);
}

li { margin: 6px 0; color: var(--muted); }
li strong { color: var(--text); font-weight: 600; }

footer {
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 768px) {
  .container { padding: 24px 14px 48px; }

  header {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px;
  }

  .avatar {
    width: min(220px, 70vw);
    height: min(220px, 70vw);
    margin: 0 auto;
  }

  h1 { font-size: 28px; }
  .links, .section-tabs { justify-content: center; }
  section { padding: 16px; border-radius: 14px; }
  .timeline { padding-left: 20px; }
  .timeline::before { left: 7px; }
  .timeline-content::before { left: -18px; }
}

@media (max-width: 420px) {
  h1 { font-size: 24px; }
  .chip, .section-tab { font-size: 13px; padding: 7px 10px; }
}




