:root {
  --blue-950: #102a56;
  --blue-900: #173b75;
  --blue-800: #1f4f94;
  --blue-700: #2865b5;
  --blue-600: #3579ca;
  --blue-100: #dfeeff;
  --blue-50: #eff6ff;
  --ink: #18263a;
  --muted: #607089;
  --line: #d8e2ee;
  --canvas: #f4f7fb;
  --paper: #ffffff;
  --green: #18794e;
  --green-soft: #e3f5eb;
  --grey-soft: #eef2f6;
  --shadow: 0 10px 28px rgba(27, 63, 111, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
.site-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #d5e0ed;
  background: rgba(255, 255, 255, .96);
}
.site-header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blue-950);
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
}
.site-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--blue-800);
  font-size: 12px;
  font-weight: 800;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 10px;
  border-radius: 5px;
  color: #53647b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--blue-900);
  background: var(--blue-50);
}
.page-band {
  color: #fff;
  background: var(--blue-900);
}
.page-band-inner { padding: 42px 0 46px; }
.page-kicker {
  margin: 0 0 9px;
  color: #bcd9ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.page-band h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}
.page-intro {
  max-width: 720px;
  margin: 14px 0 0;
  color: #d8e8fb;
  font-size: 17px;
}
.page-main { padding: 34px 0 64px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 16px;
}
.section-heading h2 { margin: 0; color: var(--blue-950); font-size: 23px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.section-heading + .section-heading { margin-top: 34px; }
.content-section + .content-section { margin-top: 34px; }
.content-section-title {
  margin: 0 0 13px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c7d9ee;
  color: var(--blue-900);
  font-size: 16px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-700);
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0 4px 14px rgba(27, 63, 111, .04);
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.site-card:hover,
.site-card:focus-visible {
  transform: translateY(-2px);
  border-color: #9ebbdc;
  box-shadow: var(--shadow);
}
.site-card.compact { min-height: 96px; }
.card-meta {
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.site-card h2,
.site-card h3 { margin: 15px 0 6px; color: var(--blue-950); font-size: 18px; }
.site-card.compact h3 { margin-top: 8px; font-size: 15px; }
.site-card p { margin: 0; color: var(--muted); font-size: 13px; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 800;
}
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}
.badge.coming { background: var(--grey-soft); color: #788596; }
.link-list { display: grid; gap: 8px; }
.link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  text-decoration: none;
}
.link-row:hover,
.link-row:focus-visible { border-color: #9ebbdc; box-shadow: 0 5px 16px rgba(27, 63, 111, .06); }
.link-row strong { display: block; color: var(--blue-950); font-size: 14px; }
.link-row span { color: var(--muted); font-size: 12px; }
.link-row .row-tag { color: var(--blue-700); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.hero-home { background: var(--blue-950); color: #fff; }
.hero-home-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 48px;
  align-items: center;
  min-height: 430px;
  padding: 62px 0;
}
.hero-home-inner > * { min-width: 0; }
.hero-home h1 { margin: 0; font-size: clamp(48px, 7vw, 78px); line-height: .98; }
.hero-home p { max-width: 620px; margin: 20px 0 0; color: #d8e8fb; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid #fff;
  border-radius: 6px;
  color: var(--blue-950);
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.button.secondary { color: #fff; background: transparent; }
.button:hover,
.button:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
}
.hero-panel-label { color: #bcd9ff; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.hero-panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 16px; }
.hero-panel a {
  min-height: 84px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 5px;
  color: #fff;
  background: rgba(255,255,255,.06);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.hero-panel a:hover,
.hero-panel a:focus-visible { background: rgba(255,255,255,.13); }
.hosted-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 64px; padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid #6b7f96; border-radius: 7px; background: #fff; }
.hosted-note strong { display: block; margin-top: 3px; color: var(--ink); font-size: 16px; }
.hosted-note p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.button.hosted-button { border-color: var(--blue-800); color: #fff; background: var(--blue-800); white-space: nowrap; }
.site-footer { border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12px; }
.site-footer-inner { display: flex; justify-content: space-between; gap: 18px; padding: 22px 0 28px; }

@media (max-width: 860px) {
  .site-header-inner { align-items: flex-start; padding: 15px 0; }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; }
  .hero-home-inner { grid-template-columns: 1fr; min-height: 0; padding: 50px 0; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .site-shell { width: 100%; max-width: 100%; margin: 0; padding-right: 14px; padding-left: 14px; }
  .site-header-inner { display: block; }
  .site-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
  }
  .site-nav a { min-width: 0; padding: 7px 5px; text-align: center; overflow-wrap: anywhere; }
  .site-nav a:first-child { grid-column: auto; }
  .page-band-inner { padding: 34px 14px 38px; }
  .page-main { padding: 28px 14px 48px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .card-grid,
  .card-grid.four,
  .card-grid.two { grid-template-columns: 1fr; }
  .hero-home h1 { font-size: 44px; }
  .hero-home p { max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-panel-grid { grid-template-columns: 1fr; }
  .hosted-note { width: calc(100% - 28px); align-items: stretch; flex-direction: column; margin-right: 14px; margin-left: 14px; padding: 20px 22px; }
  .hosted-note .button { width: 100%; }
  .site-footer-inner { flex-direction: column; gap: 4px; padding: 22px 14px 28px; }
}
