:root {
  --background: #ffffff;
  --text: #161616;
  --muted: #4f5963;
  --subtle: #5c6772;
  --link: #1f4fc9;
  --link-hover: #16389a;
  --focus: #16389a;
  --page-width: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-200%);
  padding: 0.55rem 0.8rem;
  border-radius: 0.4rem;
  background: var(--text);
  color: var(--background);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

h1,
h2 {
  margin: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(2.1rem, 6vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

section + section {
  margin-top: 2.75rem;
}

.site-header {
  margin-bottom: 2rem;
}

.icon-links,
.item-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  color: var(--subtle);
}

.icon-link:hover {
  color: var(--link-hover);
  text-decoration: none;
}

.icon {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.intro {
  margin-bottom: 2.75rem;
}

.item-list li + li {
  margin-top: 0.7rem;
}

.item-list > li > a:first-child,
.item-title {
  display: inline-block;
  color: var(--text);
  font-weight: 500;
}

.meta {
  display: block;
  margin-top: 0.1rem;
  color: var(--subtle);
  font-size: 0.9rem;
}

.meta a {
  color: inherit;
  text-decoration: underline;
}

a {
  color: var(--link);
  text-decoration: none;
  text-underline-offset: 0.14em;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 0.15rem;
}

@media (max-width: 40rem) {
  .page {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  section + section,
  .intro {
    margin-top: 0;
    margin-bottom: 2.25rem;
  }

}
