:root {
  color-scheme: light dark;
  --bg: #f8fafc;
  --surface: #fff;
  --text: #172b3a;
  --muted: #465c6b;
  --line: #cbd8df;
  --accent: #006770;
  --tint: #e5f4f4;
  --focus: #8d3d00;
}
* {
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
  overflow-wrap: anywhere;
}
a:hover {
  text-decoration-thickness: 0.15em;
}
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 2px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -6rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  z-index: 5;
}
.skip:focus {
  top: 1rem;
}
.shell {
  width: min(70rem, calc(100% - 3rem));
  margin-inline: auto;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.15rem;
  flex-wrap: wrap;
}
.brand {
  font-weight: 750;
  color: var(--text);
  text-decoration: none;
  font-size: 1.125rem;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  display: inline-block;
  padding: 0.65rem 0;
}
nav a[aria-current="page"] {
  font-weight: 750;
  text-decoration-thickness: 0.15em;
}
main {
  padding-block: 3.25rem 4rem;
  min-height: 70vh;
}
main:focus {
  outline: none;
}
.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
h1,
h2 {
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 23ch;
  margin: 0 0 1.25rem;
}
h2 {
  font-size: 1.4rem;
  margin: 0 0 0.85rem;
}
p {
  margin: 0 0 1rem;
}
p:last-child {
  margin-bottom: 0;
}
.lead {
  font-size: 1.3rem;
  color: var(--muted);
  max-width: 52ch;
}
.intro {
  padding-bottom: 2rem;
}
.intro p {
  max-width: 65ch;
}
.overview {
  max-width: 52rem;
}
.overview section {
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  max-width: 70ch;
}
.overview section h2 {
  color: var(--accent);
}
.document-layout {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
.contents {
  position: sticky;
  top: 1.5rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.1rem;
  font-size: 0.9375rem;
}
.contents p {
  font-weight: 700;
}
.contents ul {
  display: block;
}
.contents li {
  margin-bottom: 0.3rem;
}
.contents a {
  padding: 0.3rem 0;
  line-height: 1.45;
}
.article {
  max-width: 70ch;
  min-width: 0;
}
.article section {
  margin-bottom: 2.6rem;
}
.article ol {
  padding-left: 1.5rem;
}
.article li {
  padding-left: 0.2rem;
  margin-bottom: 0.6rem;
}
.article h2 {
  scroll-margin-top: 2rem;
}
.date {
  color: var(--muted);
  font-size: 0.9375rem;
}
.app-card {
  margin-top: 2rem;
  max-width: 48rem;
  padding: 1.8rem 2rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 0.4rem;
  background: var(--surface);
}
.app-card h2 {
  font-size: 1.65rem;
}
.app-card .links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.2rem;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
footer p {
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
@media (max-width: 50rem) {
  .document-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contents {
    position: static;
  }
  .contents ul {
    display: flex;
    gap: 0.3rem 1.25rem;
  }
  .contents li {
    margin: 0;
  }
  main {
    padding-top: 2rem;
  }
}
@media (max-width: 30rem) {
  .shell {
    width: calc(100% - 2rem);
  }
  .header-inner {
    gap: 0.2rem;
  }
  .site-header nav {
    width: 100%;
  }
  .app-card {
    padding: 1.25rem;
  }
  h1 {
    font-size: 2rem;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101a22;
    --surface: #172630;
    --text: #eef5f8;
    --muted: #b6c9d3;
    --line: #3a5362;
    --accent: #70e1df;
    --tint: #163a3c;
    --focus: #ffbd80;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
@media print {
  .site-header,
  .contents,
  .skip,
  footer {
    display: none;
  }
  .shell {
    width: 100%;
  }
  .document-layout {
    display: block;
  }
  main {
    padding: 0;
  }
  body {
    background: white;
    color: black;
  }
  a {
    color: inherit;
  }
  .article {
    max-width: none;
  }
  h2 {
    break-after: avoid;
  }
  section {
    break-inside: auto;
  }
}
