:root {
  --paper: #f6f9fc;
  --ink: #263b52;
  --muted: #8190a0;
  --line: #dfe7ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #dfe7ef;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resume-page {
  width: 1020px;
  min-height: 1320px;
  margin: 0 auto;
  padding: 58px 68px;
  background: var(--paper);
}

.resume-header {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 1.25fr;
  gap: 78px;
  margin-bottom: 42px;
}

.identity h1 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.identity p,
.links a,
.summary {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.28;
}

.identity p {
  text-transform: uppercase;
}

.links a {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

.summary {
  color: var(--ink);
  font-weight: 500;
}

.resume-grid {
  display: grid;
  grid-template-columns: 130px 230px minmax(0, 1fr);
  gap: 50px;
  margin-bottom: 30px;
}

.section-label {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.role-list,
.detail-list {
  display: grid;
  gap: 20px;
}

.role-list article {
  min-height: 66px;
}

.role-list h2 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.24;
}

.role-list p,
.role-list span {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.28;
}

.role-list span {
  color: var(--muted);
}

.detail-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.24;
}

.detail-list strong {
  color: var(--ink);
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  body {
    background: var(--paper);
  }

  .resume-page {
    width: 210mm;
    min-height: 297mm;
    padding: 14mm 14mm;
  }
}
