:root {
  color-scheme: dark;
  --canvas: #111310;
  --surface: #1b1e19;
  --ink: #f4f6ef;
  --muted: #afb5a7;
  --line: #3c4238;
  --lime: #b7f000;
  --purple: #b43cf2;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--lime);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  border-radius: 0.45rem;
  background: var(--lime);
  color: var(--canvas);
  font-weight: 800;
}

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

.site-header,
.site-footer,
main {
  width: min(100% - 2.5rem, 760px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--lime);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a[aria-current="page"] {
  color: var(--lime);
}

main {
  padding-block: clamp(2.5rem, 8vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
}

.updated {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contents {
  margin-block: 2.5rem 3rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
}

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

.contents ol {
  margin: 0;
  padding-left: 1.3rem;
  columns: 2 16rem;
  column-gap: 2.5rem;
}

.contents li {
  break-inside: avoid;
  margin-block: 0.35rem;
}

section {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}

section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p,
ul {
  margin-block: 0.85rem;
}

ul {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.55rem;
}

strong {
  color: var(--ink);
}

.notice {
  margin-block: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--lime);
  background: var(--surface);
}

.company-address {
  font-style: normal;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

@media (max-width: 560px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
  }

  .site-footer {
    display: flex;
  }

  .site-nav {
    justify-content: flex-start;
    margin-left: -0.65rem;
  }

  .contents ol {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    min-width: 0;
    background: #fff;
    color: #000;
    font-size: 10.5pt;
  }

  .skip-link,
  .site-header,
  .site-footer,
  .contents {
    display: none;
  }

  main {
    width: 100%;
    padding: 0;
  }

  h1,
  h2,
  strong,
  a,
  .lede,
  .updated,
  .eyebrow {
    color: #000;
  }

  section {
    break-inside: avoid;
    border-color: #bbb;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    font-weight: 400;
  }
}
