:root {
  color-scheme: light;
  --bg: #f4f8ff;
  --surface: #ffffff;
  --surface-soft: #eaf3ff;
  --ink: #102033;
  --muted: #55708f;
  --line: #cfe0f5;
  --brand: #0b57d0;
  --brand-strong: #073c9f;
  --cyan: #21b7d6;
  --gold: #f0b429;
  --success: #158765;
  --shadow: 0 18px 42px rgba(11, 87, 208, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-strong);
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.brand span {
  font-size: 20px;
}

.main-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.main-nav {
  justify-content: center;
}

.main-nav a,
.footer-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 650;
  font-size: 15px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brand-strong);
  background: var(--surface-soft);
}

.header-cta,
.button,
.lead-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.header-cta {
  padding: 10px 18px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(11, 87, 208, 0.2);
}

.header-cta:hover,
.button--primary:hover,
.lead-cta:hover {
  color: #fff;
  background: var(--brand-strong);
}

.hero {
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(7, 31, 73, 0.96), rgba(11, 87, 208, 0.92)),
    radial-gradient(circle at 88% 12%, rgba(33, 183, 214, 0.22), transparent 34%);
}

.hero-grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 36px;
  align-items: center;
  padding: 68px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #d6f7ff;
  font-size: 14px;
  font-weight: 760;
}

.hero h1 {
  max-width: 780px;
  margin: 18px 0 16px;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  max-width: 780px;
  margin: 0;
  color: #d8e7fb;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.button--primary {
  padding: 14px 22px;
  color: #fff;
  background: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.partner-note {
  color: #bcd9f6;
  font-size: 14px;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.metric strong {
  display: block;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: #d8e7fb;
  font-size: 15px;
  line-height: 1.4;
}

.metric--accent strong {
  color: var(--gold);
}

.content-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 38px 0 58px;
}

.page-nav {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.06);
}

.page-nav__title {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 800;
}

.page-nav__link {
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.page-nav__link--level-3 {
  padding-left: 20px;
}

.page-nav__link:hover {
  color: var(--brand-strong);
  background: var(--surface-soft);
}

.article {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lead-cta {
  width: 100%;
  min-height: 58px;
  margin-bottom: 28px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  text-align: center;
  font-size: 18px;
}

.article h2,
.article h3 {
  scroll-margin-top: 96px;
  color: #0a2658;
  line-height: 1.18;
  letter-spacing: 0;
}

.article h2 {
  margin: 36px 0 14px;
  font-size: 32px;
}

.article h3 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.article p,
.article ul,
.article ol {
  margin: 0 0 18px;
}

.article ul,
.article ol {
  padding-left: 24px;
}

.article li + li {
  margin-top: 8px;
}

.article table {
  width: 100%;
  margin: 22px 0 26px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  max-width: 100%;
}

.article thead,
.article tbody,
.article tr {
  width: 100%;
}

.article td,
.article th {
  min-width: 150px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: top;
}

.article thead td,
.article th {
  color: #082a66;
  background: var(--surface-soft);
  font-weight: 800;
}

.article tr:last-child td {
  border-bottom: 0;
}

.article td:last-child,
.article th:last-child {
  border-right: 0;
}

.article td p {
  margin: 0;
}

.site-footer {
  color: #dbe8fa;
  background: #071f49;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 34px 0;
}

.site-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}

.site-footer p {
  max-width: 780px;
  margin: 0;
  color: #bcd2ee;
}

.footer-nav {
  justify-content: flex-end;
}

.footer-nav a {
  color: #dbe8fa;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 940px) {
  .header-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .header-cta {
    width: 100%;
  }

  .hero-grid,
  .content-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .page-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 24px, 1160px);
  }

  .brand span {
    font-size: 18px;
  }

  .main-nav a,
  .footer-nav a {
    font-size: 14px;
    padding: 8px 10px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .article {
    padding: 20px;
  }

  .article h2 {
    font-size: 26px;
  }

  .article h3 {
    font-size: 21px;
  }

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