:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #5d6b79;
  --line: #d8e0e8;
  --ink: #0f1720;
  --ink-2: #182332;
  --brand: #15538a;
  --brand-dark: #0f3f69;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.container {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 1rem;
}

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

a:hover,
a:focus-visible {
  color: var(--brand-dark);
}

h1,
h2,
h3 {
  line-height: 1.25;
  color: #14202d;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

h2 {
  margin-top: 2rem;
}

.site-shell {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.top-utility {
  background: #0b1119;
}

.util-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  font-size: 0.84rem;
  color: #bec9d5;
}

.header-cta {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 0.3rem;
  border: 1px solid #6f8298;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #1a2534;
  color: #fff;
}

.site-main-nav {
  border-top: 1px solid #243246;
  border-bottom: 1px solid #243246;
  background: var(--ink-2);
}

.site-main-nav ul,
.site-section-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-main-nav a {
  display: inline-block;
  color: #f3f7fb;
  text-decoration: none;
  padding: 0.75rem 0;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

.site-main-nav a:hover,
.site-main-nav a:focus-visible {
  border-bottom-color: #7fb1dd;
}

.site-section-nav {
  background: #f0f4f8;
  border-bottom: 1px solid #d5dde6;
}

.site-section-nav a {
  display: inline-block;
  text-decoration: none;
  color: #24425f;
  padding: 0.6rem 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-header {
  background: linear-gradient(140deg, #16324b 0%, #24557f 65%, #2e6d9f 100%);
  color: #fff;
  padding: 2.3rem 0;
}

.site-header h1,
.site-header p {
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.88;
}

.intro {
  max-width: 80ch;
}

.button {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.3rem;
  background: #fff;
  color: #14324b;
  text-decoration: none;
  font-weight: 700;
}

.button:hover,
.button:focus-visible {
  background: #e9f1f8;
}

main.container {
  padding-bottom: 2rem;
}

.home-page section {
  margin-top: 1.5rem;
}

.card-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.split-two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.split-three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-list li,
.content-page article,
.home-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1.1rem;
}

.content-page {
  padding: 1.5rem 0 2rem;
}

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

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid var(--line);
  padding: 0.65rem;
  text-align: left;
}

th {
  background: #edf3f8;
}

.page-nav {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid #2a3e54;
  background: #14202d;
  color: #d4deea;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.3rem;
}

.site-footer h2 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: #fff;
}

.site-footer p {
  margin-top: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a {
  color: #edf5ff;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

@media (max-width: 760px) {
  .util-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-main-nav ul,
  .site-section-nav ul {
    gap: 0.75rem;
  }

  .site-header {
    padding: 1.8rem 0;
  }

  .content-page article {
    padding: 1rem;
  }
}
