:root {
  --bg: #f1f7ff;
  --card: #ffffff;
  --text: #102a43;
  --muted: #52667a;
  --accent: #2d7dd2;
  --shadow: rgba(16, 42, 67, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: radial-gradient(circle at top, #dfefff 0%, #f8fbff 45%, #f1f7ff 100%);
  color: var(--text);
}

.profile-card {
  max-width: 920px;
  margin: 40px auto;
  background: var(--card);
  border-radius: 28px;
  box-shadow: 0 22px 60px var(--shadow);
  overflow: hidden;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #eef7ff, #f6faff);
  border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-label {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.action-buttons {
  display: flex;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(45, 125, 210, 0.2);
}

.button-secondary {
  background: rgba(45, 125, 210, 0.08);
  color: var(--accent);
}

.photo-box {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, rgba(45, 125, 210, 0.18), rgba(16, 42, 67, 0.06));
  display: grid;
  place-items: center;
}

.photo-box img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.9);
  background: #e5efff;
}

.profile-content {
  padding: 32px 36px 40px;
}

.profile-content h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.article-panel {
  padding: 0 36px 40px;
}

.article-card {
  background: #f7fbff;
  border-radius: 24px;
  padding: 28px 30px 32px;
  margin: 0 0 32px;
  border: 1px solid rgba(45, 125, 210, 0.12);
}

.article-card h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: var(--text);
}

.article-card p {
  color: var(--muted);
  line-height: 1.75;
}

.article-section {
  display: grid;
  gap: 20px;
  margin: 26px 0 24px;
}

.article-number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(45, 125, 210, 0.12);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.article-text h3 {
  margin: 0 0 12px;
  color: var(--accent);
}

.article-image {
  margin: 20px 0 0;
}

.article-image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(16, 42, 67, 0.08);
}

.article-image figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-list-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(45, 125, 210, 0.08);
  color: var(--text);
  line-height: 1.7;
}

.article-summary {
  margin-top: 26px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .action-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .button {
    width: 100%;
  }

  .article-panel {
    padding: 0 24px 32px;
  }
}

.subtitle {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 1rem;
}

.info-group {
  margin-bottom: 22px;
}

.info-group h2 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--accent);
}

.info-group ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.info-group li {
  margin-bottom: 10px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .profile-card {
    margin: 20px;
  }

  .profile-content {
    padding: 24px;
  }

  .photo-box {
    height: 260px;
  }
}
