@font-face { font-family: 'DM Sans'; src: url('fonts/dm-sans.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
* { box-sizing: border-box; }
body { margin: 0; background: #f1f4f2; color: #202421; font: 14px/1.65 'DM Sans', sans-serif; letter-spacing: 0; }
a { color: #267256; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cv-toolbar { max-width: 900px; margin: 20px auto; padding: 0 25px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; }
button { font: inherit; background: #202421; color: #fff; border: 0; border-radius: 4px; padding: 12px 17px; cursor: pointer; }
:focus-visible { outline: 3px solid #267256; outline-offset: 4px; }
main { width: min(900px, calc(100% - 40px)); margin: 0 auto 40px; padding: 55px 60px; background: #fff; }
header { border-bottom: 2px solid #267256; padding-bottom: 24px; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; line-height: 1.3; margin: 0; }
h1 { font-size: 30px; font-weight: 750; }
h2 { font-size: 16px; color: #267256; border-bottom: 1px solid #dce5df; padding-bottom: 8px; margin-bottom: 15px; }
h3 { font-size: 14px; }
p { margin: 5px 0; }
.eyebrow { font-size: 10px; color: #66756b; margin-bottom: 17px; }
.title { font-size: 17px; margin: 12px 0 17px; }
.contacts { display: flex; flex-wrap: wrap; gap: 5px 18px; font-size: 11px; }
section { margin-top: 26px; }
article { margin: 17px 0; break-inside: avoid; }
.role-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.role-heading > p { font-size: 11px; color: #66756b; white-space: nowrap; }
.company { font-size: 12px; font-weight: 600; }
ul { margin: 8px 0; padding-left: 18px; }
.tools { font-size: 11px; color: #627269; }
.skills { margin: 0; }
.skills > div { display: grid; grid-template-columns: 185px 1fr; gap: 15px; margin-top: 9px; }
dt { font-weight: 600; font-size: 12px; }
dd { margin: 0; font-size: 12px; }
@media (max-width: 600px) {
  main { padding: 30px 23px; width: calc(100% - 24px); }
  h1 { font-size: 25px; }
  .title { font-size: 15px; }
  .role-heading { flex-direction: column; gap: 3px; }
  .skills > div { grid-template-columns: 1fr; gap: 3px; }
}
@page { size: A4; margin: 16mm; }
@media print {
  body { background: white; font-size: 10pt; line-height: 1.45; }
  .cv-toolbar { display: none; }
  main { width: 100%; max-width: none; padding: 0; margin: 0; }
  h1 { font-size: 23pt; }
  h2 { font-size: 12pt; break-after: avoid; }
  h3 { font-size: 10pt; }
  section { margin-top: 18px; }
  .title { font-size: 12pt; }
  .contacts { font-size: 8pt; }
  .tools, .role-heading > p { font-size: 8pt; }
  .skills > div { grid-template-columns: 150px 1fr; }
  dt, dd { font-size: 9pt; }
  a { text-decoration: none; }
}