:root {
  --ink: #1a1a1a;
  --muted: #5c564e;
  --focus: #145c42;
  --sans: "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
}

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

html,
body {
  min-height: 100%;
  margin: 0;
  background: #fff;
}

body {
  min-height: 100dvh;
}

:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-140%);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: #1e4d78;
  color: #fff;
  padding: 8px 12px;
  border: 1px solid #163a5c;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  z-index: 5;
}

.skip-link:focus {
  transform: none;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
}

.site-frame {
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 calc(14px + env(safe-area-inset-bottom));
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.site-header {
  position: relative;
  min-width: 0;
  margin-bottom: 0.85rem;
  padding: 2.85rem 0 0.55rem;
  border-bottom: 1px solid #d0d0d0;
  text-align: center;
}

.site-identity {
  margin: 0;
  padding: 0;
}

.site-name {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.15;
}

.site-tagline {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #1a1a1a;
}

.site-menu {
  position: absolute;
  top: 0;
  right: 0;
}

.site-menu__button {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 10px;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #1e4d78;
  font: inherit;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  cursor: pointer;
}

.site-menu__button:hover {
  color: #163a5c;
}

.site-menu__button[aria-expanded="true"] {
  color: #1a1a1a;
  font-weight: 700;
}

.site-name a {
  color: #1e4d78;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.site-name a:visited,
.site-nav a:visited,
.site-footer a:visited,
.legal a:visited {
  color: #1e4d78;
}

.site-name a:hover,
.site-nav a:hover,
.site-footer a:hover,
.legal a:hover {
  color: #163a5c;
}

.site-nav a,
.site-footer a,
.legal a {
  color: #1e4d78;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.site-nav {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  z-index: 5;
  min-width: 11.5rem;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #d0d0d0;
  text-align: left;
}

.site-nav[hidden] {
  display: none;
}

.site-nav ul,
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul {
  flex-direction: column;
  align-items: stretch;
}

.site-nav li,
.site-footer li {
  display: flex;
  align-items: center;
}

.site-nav a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  background: #fff;
}

.site-nav a[aria-current="page"] {
  color: #1a1a1a;
  font-weight: 700;
  text-decoration-thickness: 2px;
  background: #f6f6f6;
}

.site-nav a[aria-current="page"]:hover {
  color: #1a1a1a;
}

.site-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer {
  margin-top: 8px;
  padding: 0 2px;
}

.site-footer li:not(:last-child)::after {
  content: "·";
  color: #6b6b6b;
  padding: 0 0.35rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  font-size: 1rem;
}

.site-footer a[aria-current="page"] {
  color: #1a1a1a;
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.legal {
  padding: 0 0 12px;
}

.legal h1,
.section-bar {
  margin: 0 0 0.5rem;
  padding: 0 0 0.15rem;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
  background: none;
  border: 0;
  border-bottom: 1px solid #d0d0d0;
  border-radius: 0;
  box-shadow: none;
}

.legal .effective {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.875rem;
}

.legal h2 {
  margin: 1.15rem 0 0.35rem;
  padding: 0 0 0.15rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  background: none;
  border: 0;
  border-bottom: 1px solid #d0d0d0;
  border-radius: 0;
  box-shadow: none;
}

.legal p,
.legal li {
  margin: 0.4rem 0;
  font-size: 1rem;
  line-height: 1.45;
}

.legal ul {
  margin: 0.25rem 0 0.6rem;
  padding-left: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}
