:root {
  --ink: #18212a;
  --muted: #56616c;
  --line: #d9dee3;
  --canvas: #f6f8fa;
  --surface: #ffffff;
  --brand: #455a70;
  --brand-dark: #314355;
  --report-red: #c73737;
  --report-orange: #e07a24;
  --report-yellow: #c49a1b;
  --report-purple: #71549a;
  --radius: 1rem;
  --shadow: 0 0.35rem 1.1rem rgb(24 33 42 / 7%);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--canvas);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body {
  margin: 0;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--report-purple);
}

a:focus-visible,
button:focus-visible {
  outline: 0.2rem solid var(--report-purple);
  outline-offset: 0.22rem;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  color: #fff;
  background: var(--brand-dark);
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header::before {
  display: block;
  height: 0.32rem;
  content: "";
  background: linear-gradient(
    90deg,
    var(--report-red) 0 25%,
    var(--report-orange) 25% 50%,
    var(--report-yellow) 50% 75%,
    var(--report-purple) 75% 100%
  );
}

.header-inner,
.page,
.footer-inner {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.65rem;
  color: #fff;
  background: var(--brand);
  font-size: 1rem;
  font-weight: 800;
}

.primary-nav ul,
.footer-nav ul,
.link-list,
.rules-list,
.fact-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
}

.primary-nav a {
  display: block;
  padding: 0.32rem 0.45rem;
  border-radius: 0.45rem;
  color: var(--brand-dark);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: #e8edf1;
}

.page {
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
}

h1 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  letter-spacing: -0.055em;
}

h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
}

p {
  max-width: 74ch;
}

.lead {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
}

.hero {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.accent-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.accent-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.accent-dot.red { background: var(--report-red); }
.accent-dot.orange { background: var(--report-orange); }
.accent-dot.yellow { background: var(--report-yellow); }
.accent-dot.purple { background: var(--report-purple); }

.section {
  margin-top: clamp(2.2rem, 5vw, 4rem);
}

.section-heading {
  margin-bottom: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.25rem;
}

.card p,
.content-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-accent {
  width: 2.4rem;
  height: 0.28rem;
  margin-bottom: 1rem;
  border-radius: 99rem;
}

.card-accent.red { background: var(--report-red); }
.card-accent.orange { background: var(--report-orange); }
.card-accent.yellow { background: var(--report-yellow); }
.card-accent.purple { background: var(--report-purple); }

.content-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.content-card + .content-card {
  margin-top: 1rem;
}

.content-card h2 + p,
.content-card h2 + ul,
.content-card h2 + address,
.content-card h2 + dl {
  margin-top: 0.9rem;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.link-list a {
  display: block;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  color: var(--brand-dark);
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
}

.link-list a:hover {
  border-color: var(--brand);
  color: var(--report-purple);
}

.rules-list li,
.fact-list li {
  position: relative;
  padding-left: 1.25rem;
}

.rules-list li + li,
.fact-list li + li {
  margin-top: 0.68rem;
}

.rules-list li::before,
.fact-list li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  content: "";
  background: var(--brand);
}

.rules-list li:nth-child(4n + 1)::before { background: var(--report-red); }
.rules-list li:nth-child(4n + 2)::before { background: var(--report-orange); }
.rules-list li:nth-child(4n + 3)::before { background: var(--report-yellow); }
.rules-list li:nth-child(4n + 4)::before { background: var(--report-purple); }

.fact-list strong {
  color: var(--ink);
}

address {
  color: var(--muted);
  font-style: normal;
}

.notice {
  border-left: 0.3rem solid var(--report-orange);
  background: #fff9f3;
}

.notice p {
  color: var(--ink);
}

.contact-link {
  display: inline-flex;
  margin-top: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.65rem;
  color: #fff;
  background: var(--brand);
  font-weight: 750;
  text-decoration: none;
}

.contact-link:hover {
  color: #fff;
  background: var(--brand-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  padding-block: 1.5rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.footer-nav a {
  font-size: 0.9rem;
}

@media (max-width: 44rem) {
  .header-inner {
    align-items: flex-start;
  }

  .primary-nav {
    width: 100%;
  }

  .primary-nav ul {
    gap: 0.25rem;
  }

  .primary-nav a {
    padding-inline: 0.35rem;
    font-size: 0.88rem;
  }

  .card-grid,
  .link-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav ul {
    justify-content: flex-start;
  }
}
