:root {
  color-scheme: light;
  --accent: #3a6fb0;
  --text: #1f2933;
  --muted: #52616b;
  --border: #d7e1ec;
  --bg: #f7f9fc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.cv {
  max-width: 980px;
  margin: 32px auto 48px;
  padding: 32px 40px 48px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(30, 60, 90, 0.12);
}

.cv-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 24px;
}

.cv-header h1 {
  font-size: 40px;
  margin: 8px 0 16px;
}

.cv-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--accent);
  margin: 0;
}

.cv-tagline {
  max-width: 560px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.cv-contact {
  text-align: right;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.cv-section {
  margin-top: 28px;
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.5px;
}

.experience-list {
  display: grid;
  gap: 18px;
}

.experience-list article {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.experience-list h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.experience-meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.experience-list ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.5;
}

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

.list-tight {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .cv {
    margin: 0;
    border-radius: 0;
    padding: 24px;
  }

  .cv-header {
    flex-direction: column;
    text-align: left;
  }

  .cv-contact {
    text-align: left;
  }
}
