:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  background: #101015;
  color: #f3f1f7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #d1b7ff;
  text-underline-offset: 4px;
}
header,
main,
footer {
  width: min(1100px, 90%);
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-bottom: 1px solid #39343f;
}
header strong {
  font-size: 25px;
  letter-spacing: -1.8px;
}
header svg {
  width: 30px;
  vertical-align: middle;
  margin-right: 5px;
}
select,
input {
  background: #201e27;
  color: #fff;
  border: 1px solid #655e70;
  border-radius: 5px;
  padding: 10px;
  font: inherit;
}
h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(40px, 6vw, 80px);
  margin: 52px 0 14px;
}
h2 {
  font-size: clamp(25px, 3vw, 37px);
}
main > p,
article p {
  font-size: 16px;
  line-height: 1.7;
  color: #c8c4d0;
  max-width: 68ch;
}
.layout {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 2.3fr;
  gap: 7%;
  margin-top: 40px;
}
nav {
  align-self: start;
  position: sticky;
  top: 24px;
}
nav a {
  display: block;
  margin: 12px 0;
  font-size: 14px;
}
input {
  width: 100%;
  margin: 8px 0;
}
article {
  padding: 0 0 22px;
  border-top: 1px solid #38343e;
  scroll-margin-top: 15px;
}
footer {
  border-top: 1px solid #38343e;
  padding: 25px 0;
  margin-top: 40px;
}
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #cda4ff;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  nav {
    position: static;
  }
  header strong {
    font-size: 21px;
  }
  header select {
    max-width: 145px;
  }
}
[hidden] {
  display: none !important;
}
