:root {
  --background: #f7f7f4;
  --card: #ffffff;
  --text: #202124;
  --muted: #5f6368;
  --border: #e5e5e0;
  --accent: #1f4e79;
  --accent-dark: #173a5c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 48px 18px;
}

.card {
  width: 100%;
  max-width: 820px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 46px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.profile-photo {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  background: #ddd;
}

h1 {
  margin: 24px 0 8px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.tagline {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.08rem;
  font-style: italic;
}

.content-section {
  margin-top: 30px;
  text-align: left;
}

.content-section h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.content-section p {
  margin-top: 10px;
  font-size: 1.02rem;
}

.social-links {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--accent);
  text-decoration: none;
  font-size: 1.25rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.social-links a:hover,
.social-links a:focus {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .page {
    padding: 20px 12px;
  }

  .card {
    padding: 30px 22px;
    border-radius: 18px;
  }

  .profile-photo {
    width: 140px;
    height: 140px;
  }
}
