:root {
  --navy: #0b1f3a;
  --navy-mid: #163258;
  --blue: #3d6ea8;
  --blue-soft: #5b7fa6;
  --light: #f4f7fb;
  --line: #e4ebf3;
  --gray: #5a6a7a;
  --white: #ffffff;
  --accent: #c9a227;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.site-nav {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.nav-brand img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy-mid);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

/* Header / hero */
.hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.hero.left { text-align: left; }

.logo {
  max-width: 280px;
  width: 100%;
  margin-bottom: 24px;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-soft);
  font-weight: 600;
  margin-bottom: 10px;
}

h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 16px;
}

.lede, .tagline {
  font-size: 1.15rem;
  color: var(--gray);
  font-weight: 400;
  max-width: 720px;
}

.hero .lede { margin: 0 auto; }
.hero.left .lede { margin: 0; }

/* Layout */
main { padding: 56px 0 72px; }

.intro {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
  font-size: 1.08rem;
  color: var(--navy-mid);
}

.section { margin-bottom: 56px; }

.section h2 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.section > p,
.prose p {
  margin-bottom: 14px;
  color: var(--navy-mid);
}

.prose h2 { margin-top: 32px; }
.prose h3 { margin: 22px 0 8px; font-size: 1.08rem; }
.prose ul, .prose ol { margin: 8px 0 16px 22px; color: var(--navy-mid); }
.prose li { margin-bottom: 6px; }

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: var(--light);
  border-radius: 10px;
  padding: 28px 24px;
}

.card h2, .card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p { color: var(--gray); font-size: 0.97rem; margin-bottom: 14px; }

.card a {
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.card a:hover { text-decoration: underline; }

.banner {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 28px 28px;
  margin-bottom: 48px;
}

.banner h2 { color: var(--white); margin-bottom: 8px; }
.banner p { color: #d5deea; margin-bottom: 16px; }
.banner a {
  color: var(--white);
  font-weight: 600;
}

/* Tables */
.catalog {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 16px 0 28px;
}

.catalog th, .catalog td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.catalog th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}

.muted { color: var(--gray); }

/* Buttons / links row */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn:hover { background: var(--navy-mid); }

.btn.ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 40px;
  font-size: 0.88rem;
  color: var(--gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

footer a { color: var(--blue); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer strong { color: var(--navy-mid); font-weight: 600; }

.legal-note {
  margin-top: 22px;
  font-size: 0.8rem;
  color: #7a8794;
}

@media (max-width: 700px) {
  .site-nav .container { flex-direction: column; align-items: flex-start; padding: 12px 24px; }
  .hero { padding: 40px 0 32px; }
  .logo { max-width: 210px; }
  main { padding: 36px 0 48px; }
}
