:root {
  --bg: #f4f6f9;
  --panel: #ffffff;
  --text: #1a2433;
  --muted: #4d5b70;
  --navy: #0b1220;
  --red: #c4122e;
  --line: #d5dce6;
  --max: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #1a4f9c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 6%;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  position: sticky;
  top: 0;
}

.brand img {
  display: block;
  height: 64px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

nav a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero,
.section,
footer {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.hero {
  text-align: center;
  padding: 3.5rem 0 3rem;
}

.hero-mark {
  width: min(220px, 55%);
  margin-bottom: 1.1rem;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-weight: 650;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

h2 {
  font-size: 1.55rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 auto 1.4rem;
}

.notice {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--panel);
  color: var(--text);
  font-size: 0.95rem;
}

.button {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
}

.button:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.08);
}

.section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.section p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem;
}

.grid p {
  margin: 0;
  font-size: 0.95rem;
}

.contact address {
  font-style: normal;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.2rem 1.3rem;
}

.contact address a {
  display: inline-block;
}

footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

footer img {
  width: min(340px, 85%);
  margin-bottom: 0.9rem;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 5%;
  }

  .hero {
    padding-top: 2.2rem;
  }
}
