:root {
  color-scheme: light;
  --ink: #28242e;
  --muted: #6e6876;
  --line: #e5e1e8;
  --purple: #7048d8;
  --paper: #fbfaf8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}
a {
  color: var(--purple);
  text-underline-offset: 4px;
}
a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 5px;
  border-radius: 2px;
}
.skip {
  position: absolute;
  left: 24px;
  top: -100px;
}
.skip:focus {
  top: 10px;
  background: white;
  padding: 10px;
  z-index: 2;
}
.shell {
  max-width: 1120px;
  margin: auto;
  padding: 0 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -1px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
}
header > a:last-child {
  font-size: 14px;
  color: var(--ink);
}
.layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 64px;
  padding: 64px 0 80px;
}
aside nav {
  position: sticky;
  top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
aside p {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin: 0 0 10px;
}
aside a {
  color: var(--muted);
  text-decoration: none;
}
aside a[aria-current="page"] {
  color: var(--purple);
  font-weight: 600;
}
h1 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 550;
  margin: 0 0 18px;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 44px 0 14px;
}
p {
  margin: 0 0 18px;
}
.date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 30px;
}
.intro {
  font-size: 19px;
  line-height: 1.65;
}
.contact {
  padding: 22px 24px;
  background: #f0edf6;
  border-radius: 12px;
  margin: 28px 0 36px;
}
.contact p:last-child {
  margin: 0;
}
li {
  margin-bottom: 10px;
}
ul {
  padding-left: 22px;
}
strong {
  font-weight: 600;
}
footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
footer a {
  color: var(--muted);
}
@media (max-width: 760px) {
  .shell {
    padding: 0 22px;
  }
  header {
    padding: 22px 0;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px 0 50px;
  }
  aside nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 24px;
  }
  aside p {
    display: none;
  }
  h1 {
    letter-spacing: -1.4px;
  }
  h2 {
    font-size: 21px;
    margin-top: 34px;
  }
  .intro {
    font-size: 17px;
  }
  .contact {
    padding: 18px;
  }
  footer {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  aside,
  header,
  footer,
  .skip {
    display: none;
  }
  .layout {
    display: block;
    padding: 0;
  }
  .shell {
    padding: 0;
  }
  body {
    background: white;
    color: black;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    break-after: avoid;
  }
  a {
    color: inherit;
  }
}
