* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #1f2933;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f8fafc;
}

.container {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  padding-bottom: 40px;
  border-bottom: 1px solid #d8dee6;
}

.small {
  margin: 0 0 10px;
  color: #52606d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

p {
  margin: 0;
  color: #52606d;
  font-size: 17px;
  line-height: 1.7;
}

.intro {
  max-width: 680px;
  margin-top: 22px;
  font-size: 20px;
}

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

a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

section {
  padding: 36px 0;
  border-bottom: 1px solid #d8dee6;
}

.item {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid #d8dee6;
  border-radius: 14px;
  background: #ffffff;
}

.meta {
  margin-bottom: 8px;
  color: #829ab1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.item p + p {
  margin-top: 12px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d8dee6;
}

.timeline-row span {
  color: #0f766e;
  font-weight: 800;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skills li {
  padding: 8px 12px;
  color: #334e68;
  border: 1px solid #bcccdc;
  border-radius: 999px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 560px) {
  .container {
    padding: 42px 0;
  }

  .intro {
    font-size: 18px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
