@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --canvas: #ffffff;
  --text: #101014;
  --text-meta: #6f6879;
  --hairline: rgb(16 16 20 / 12%);
  --hairline-strong: rgb(16 16 20 / 18%);
  --accent: #d0ff4f;
  --focus: #101014;
  --canvas-inverse-text: #ffffff;
  --code-surface: #f1f1ed;
  color: var(--text);
  background: var(--canvas);
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  color-scheme: light dark;
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  --canvas: #101014;
  --text: #f4f3f6;
  --text-meta: #8b8695;
  --hairline: rgb(244 243 246 / 14%);
  --hairline-strong: rgb(244 243 246 / 20%);
  --focus: #d0ff4f;
  --canvas-inverse-text: #101014;
  --code-surface: #26262c;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

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

.skip-link {
  position: fixed;
  z-index: 1;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--canvas-inverse-text);
  background: var(--text);
  transform: translateY(-200%);
}

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

main {
  width: min(100% - 2.75rem, 42rem);
  margin-inline: auto;
  padding: 2.5rem 0 3rem;
}

header {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--hairline-strong);
}

.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 0.82rem;
  font-weight: 750;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  color: #101014;
  background: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 13vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.effective-date {
  margin: 1.1rem 0 0;
  color: var(--text-meta);
  font-size: 0.78rem;
  font-weight: 700;
}

.summary {
  max-width: 38rem;
  margin: 1.2rem 0 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.55;
}

section {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--hairline);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

p,
li {
  font-size: 0.94rem;
  line-height: 1.65;
}

p {
  margin: 0.75rem 0 0;
}

ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

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

code {
  padding: 0.08rem 0.28rem;
  border-radius: 3px;
  background: var(--code-surface);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.84em;
  overflow-wrap: anywhere;
}

footer {
  padding-top: 2rem;
  font-size: 0.82rem;
  font-weight: 750;
}

@media (min-width: 42rem) {
  main {
    padding-top: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
