* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(54, 135, 255, 0.16), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(24, 208, 164, 0.14), transparent 36%),
    linear-gradient(180deg, #f2f6fb 0%, #e5edf7 100%);
  color: #122033;
  font-family: "Inter", sans-serif;
}

.cv-shell {
  position: relative;
  width: min(960px, 94vw);
  margin: 28px auto 40px;
}

.decor {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.2px);
  pointer-events: none;
  z-index: 0;
}

.decor-a {
  width: 180px;
  height: 180px;
  top: -8px;
  right: -22px;
  background: radial-gradient(circle at 35% 35%, rgba(87, 181, 255, 0.46), rgba(87, 181, 255, 0.12));
}

.decor-b {
  width: 140px;
  height: 140px;
  left: -26px;
  top: 180px;
  background: radial-gradient(circle at 35% 35%, rgba(25, 188, 151, 0.35), rgba(25, 188, 151, 0.1));
}

.back-link {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 18px;
  color: #224f89;
  text-decoration: none;
  font-weight: 600;
}

.cv-header {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #cad8ea;
  margin-bottom: 14px;
  box-shadow: 0 12px 32px rgba(24, 44, 72, 0.08);
}

.prepared {
  margin: 0 0 10px;
  color: #4a5f7b;
  font-size: 0.92rem;
}

h1 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.subtitle {
  margin: 10px 0 0;
  color: #2b4564;
  font-weight: 600;
}

.card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid #cad8ea;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(24, 44, 72, 0.06);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 6px;
  background: linear-gradient(180deg, #2b70be, #1cb897);
}

.profile-card {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.profile-link {
  display: block;
  text-decoration: none;
  border: 1px solid #c5d6ec;
  border-radius: 12px;
  padding: 12px;
  background: #ffffff;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.profile-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 60, 101, 0.14);
  border-color: #8fb4e1;
}

.profile-link strong {
  display: block;
  color: #0f3157;
}

.profile-link span {
  display: block;
  margin-top: 4px;
  color: #385778;
  font-size: 0.92rem;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: #173a62;
}

p {
  margin: 0 0 10px;
  line-height: 1.45;
}

ul,
ol {
  margin: 0;
  padding-left: 18px;
}

li {
  margin: 0 0 10px;
  line-height: 1.4;
}

a {
  color: #224f89;
}
