:root {
  color-scheme: light;
}
:root.dark {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: #171717;
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, sans-serif;
}
.page {
  min-height: 100vh;
}
.resume {
  max-width: 672px;
  margin: auto;
  padding: 64px 24px;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h2 {
  margin: 0 0 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 18px;
  line-height: 1.3;
}
h3 {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.4;
}
p,
li {
  color: #525252;
}
p {
  margin-bottom: 8px;
}
a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: none;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.role {
  margin: 4px 0 0;
}
.actions {
  display: flex;
  gap: 8px;
}
.icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  color: #525252;
  font: 19px/1 Inter;
  cursor: pointer;
}
.icon svg {
  width: 16px;
  height: 16px;
}
.icon:hover {
  background: #f5f5f5;
  color: #171717;
}
.sun {
  display: none;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 16px;
  color: #525252;
  font-size: 14px;
}
.intro {
  display: grid;
  gap: 16px;
}
.intro p {
  margin: 0;
}
section {
  margin-top: 48px;
}
ul {
  margin: 0;
  padding-left: 20px;
}
li + li {
  margin-top: 8px;
}
.entries {
  display: grid;
  gap: 32px;
}
.entry p,
.entry ul {
  font-size: 14px;
  line-height: 1.65;
}
.entry ul {
  margin: 8px 0;
}
.stack,
time,
footer {
  color: #737373;
  font-size: 14px;
}
.entry .stack {
  margin-bottom: 8px;
}
.compact {
  gap: 24px;
}
.skills {
  display: grid;
  gap: 20px;
}
.skills h3 {
  margin-bottom: 8px;
  color: #525252;
  font-size: 14px;
  font-weight: 500;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips span {
  padding: 3px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  color: #404040;
  font-size: 12px;
}
.languages {
  margin: 20px 0 0;
  font-size: 14px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 128px;
}
:root.dark body {
  background: #0a0a0a;
  color: #f5f5f5;
}
:root.dark p,
:root.dark li,
:root.dark .role,
:root.dark .links,
:root.dark .skills h3 {
  color: #a3a3a3;
}
:root.dark h2 {
  border-color: #262626;
}
:root.dark .icon,
:root.dark .chips span {
  border-color: #262626;
  background: #171717;
  color: #d4d4d4;
}
:root.dark .icon:hover {
  background: #262626;
  color: #fafafa;
}
:root.dark .sun {
  display: inline;
}
:root.dark .moon {
  display: none;
}
@media (max-width: 480px) {
  .resume {
    padding: 40px 20px;
  }
  h1 {
    font-size: 27px;
  }
  section {
    margin-top: 40px;
  }
  footer {
    margin-top: 80px;
  }
}
@media print {
  :root,
  :root.dark {
    color-scheme: light;
  }
  body,
  :root.dark body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  .resume {
    max-width: none;
    padding: 0;
  }
  .actions {
    display: none;
  }
  p,
  li,
  :root.dark p,
  :root.dark li {
    color: #222;
  }
  h2 {
    margin-top: 26px;
    border-color: #bbb;
  }
  section {
    break-inside: avoid;
    margin-top: 30px;
  }
  .entries {
    gap: 20px;
  }
  footer {
    margin-top: 50px;
  }
  a {
    text-decoration: none;
  }
}
