:root {
  color-scheme: dark;
  --ink: #020e1b;
  --ink-raised: #071827;
  --ink-soft: #002432;
  --white: #ffffff;
  --text-muted: #c7ccd2;
  --text-subtle: #73808f;
  --teal: #00cccc;
  --teal-bright: #00ffff;
  --teal-dark: #008080;
  --line: rgba(153, 235, 235, 0.22);
  --line-strong: rgba(0, 204, 204, 0.52);
  --font-sans: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Ubuntu Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible {
  border-radius: 0.15rem;
  outline: 2px solid var(--ink);
  box-shadow: 0 0 0 4px var(--teal-bright);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 140ms ease;
}

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

.shell {
  width: min(70rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.site-header__inner {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  flex: 0 0 auto;
  padding: 0.5rem 0;
}

.brand img {
  width: 7.5rem;
  height: 2rem;
}

.site-label {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line-strong);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero {
  padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(5rem, 11vw, 9rem);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  position: relative;
}

.hero__inner::after {
  position: absolute;
  top: -1.25rem;
  right: 0;
  width: min(15rem, 22vw);
  height: 1px;
  background: var(--teal);
  content: "";
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 0.28rem rgba(0, 255, 255, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.75rem;
  font-size: clamp(3.25rem, 8.5vw, 6.75rem);
  font-weight: 750;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 720;
  letter-spacing: -0.035em;
}

.hero__lede {
  max-width: 44rem;
  margin-bottom: 2.25rem;
  color: var(--text-muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--teal);
  color: var(--ink);
}

.button--primary:hover {
  background: var(--teal-bright);
}

.button--secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--white);
}

.button--secondary:hover {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
}

.resources,
.directory {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.resource-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-raised);
  text-decoration: none;
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.resource-card:hover {
  z-index: 1;
  background: var(--ink-soft);
  box-shadow: inset 0 0 0 1px var(--teal);
  transform: translateY(-2px);
}

.resource-card__type,
.document-type {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.resource-card__title {
  margin: 1.4rem 0 0.7rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.resource-card__description {
  max-width: 31rem;
  color: var(--text-muted);
}

.resource-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2.5rem;
  color: var(--teal-bright);
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.reporting {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  border-block: 1px solid var(--line-strong);
  background: var(--ink-soft);
}

.reporting__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem 4rem;
}

.reporting__inner > div {
  max-width: 43rem;
}

.reporting h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.reporting p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--text-subtle);
  font-size: 0.88rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer a:hover {
  color: var(--teal-bright);
}

.page-heading {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.75rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--line);
}

.page-heading h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.page-heading > .shell > p:last-child {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 3.25rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.breadcrumb a {
  color: var(--teal);
}

.directory__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.directory__heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.directory__heading > span {
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.document-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.document-list li {
  border-bottom: 1px solid var(--line);
}

.document-list a {
  display: grid;
  min-height: 5.25rem;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.document-list a:hover {
  background: var(--ink-raised);
  color: var(--teal-bright);
}

.document-list code {
  overflow-wrap: anywhere;
}

.document-link__label {
  color: var(--text-muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

@media (max-width: 46rem) {
  .shell {
    width: min(100% - 1.5rem, 70rem);
  }

  .site-header__inner {
    min-height: 4.75rem;
  }

  .site-label {
    padding-left: 0.9rem;
  }

  .hero__inner::after {
    display: none;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.5rem);
  }

  .section-heading,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 15.5rem;
  }

  .reporting__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .document-list a {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .document-link__label {
    display: none;
  }
}

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