:root {
  color-scheme: light;
  --ink: #132b2a;
  --muted: #52665d;
  --orange: #f17b42;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5f8f4;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 8px 16px;
  color: var(--ink);
  background: #fff;
  transform: translateY(-150%);
}

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

.shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

header {
  color: #fff;
  background: var(--ink);
}

.nav,
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-size: 0.9rem;
}

.nav-links a,
.footer-links a {
  padding-block: 6px;
}

[aria-current='page'] {
  font-weight: 700;
}

main {
  max-width: 800px;
  padding-block: 64px 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.updated {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contents {
  margin-block: 32px 40px;
  padding: 24px 28px;
  border: 1px solid #d6e2d8;
  border-radius: 16px;
  background: #fff;
}

.contents h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.contents ol {
  margin: 0;
  padding-left: 22px;
}

section {
  margin-top: 36px;
  scroll-margin-top: 24px;
}

section h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

p,
ul {
  margin: 0 0 16px;
}

li + li {
  margin-top: 8px;
}

.contents li + li {
  margin-top: 4px;
}

footer {
  border-top: 1px solid #d6e2d8;
  color: var(--muted);
  background: #fff;
  font-size: 0.85rem;
}

@media (max-width: 540px) {
  .shell {
    width: calc(100% - 32px);
  }

  main {
    padding-block: 40px 56px;
  }

  .contents {
    padding: 20px;
  }
}
