:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #111;
  -webkit-text-size-adjust: 100%;
  --page: #fff;
  --primary: #111;
  --secondary: #555;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

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

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
  position: relative;
  z-index: 20;
}

.brand {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.95rem;
}

nav a[aria-current="page"] {
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

.menu-backdrop {
  display: none;
}

main {
  padding-block: 3rem 1.5rem;
}

.panel {
  padding: 0;
  background: transparent;
}

.hero {
  padding-block: 3rem 2rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--secondary);
  font-size: 0.9rem;
}

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

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
}

h2 {
  margin: 2rem 0 0.65rem;
  color: var(--primary);
  font-size: 1.3rem;
}

h3 {
  font-size: 1.1rem;
}

.lead {
  max-width: 62ch;
  color: var(--secondary);
  font-size: 1.1rem;
}

.status-note {
  max-width: 62ch;
  margin-block: 1.5rem;
  color: var(--primary);
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
}

.button-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
}

.download-form {
  display: grid;
  gap: 0.75rem;
  max-width: 32rem;
  margin-top: 1.5rem;
}

.download-form label {
  color: var(--primary);
  font-weight: 600;
}

.download-form input {
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #777;
  background: var(--page);
  color: var(--primary);
  font: inherit;
}

.download-form button {
  width: fit-content;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.download-form button:hover {
  background: #333;
}

article section + section {
  margin-top: 1.5rem;
}

article p,
article li {
  color: var(--secondary);
}

article strong {
  color: var(--primary);
}

article ul {
  padding-left: 1.3rem;
}

article li + li {
  margin-top: 0.7rem;
}

.risk-box {
  padding: 0.75rem 1rem;
  background: #f2f2f2;
}

.risk-box h2,
.risk-box p {
  color: var(--primary);
}

.updated,
.site-footer {
  color: var(--secondary);
  font-size: 0.9rem;
}

.updated {
  margin: 1.5rem 0 0;
}

.site-footer {
  margin-top: 2rem;
  padding-block: 1rem 2rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 700px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    min-height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
  }

  .menu-toggle .bx {
    font-size: 1.8rem;
    line-height: 1;
  }

  #primary-navigation {
    display: none;
    position: fixed;
    z-index: 2;
    top: var(--header-height, 64px);
    right: 0;
    width: 90vw;
    height: calc(100vh - var(--header-height, 64px));
    height: calc(100dvh - var(--header-height, 64px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 1.5rem;
    background: #fff;
  }

  #primary-navigation.is-open {
    display: flex;
  }

  #primary-navigation a {
    min-height: 56px;
    padding-block: 0.75rem;
    font-size: 1.1rem;
  }

  .menu-backdrop.is-visible {
    display: block;
    position: fixed;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgb(0 0 0 / 45%);
  }

  .hero {
    padding-block: 2rem 1rem;
  }
}
