:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f5fc;
  --line: #d6e1f2;
  --line-strong: #b9cbea;
  --text-main: #10213f;
  --text-soft: #50638b;
  --brand: #245fd1;
  --mono: "IBM Plex Mono", Menlo, monospace;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1160px, calc(100% - 2rem));
  --radius-lg: 16px;
  --shadow-1: 0 10px 26px rgba(28, 57, 116, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body);
  color: var(--text-main);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.container {
  width: var(--container);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.95);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
}

.brand-mark {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.6rem;
  display: grid;
  place-items: center;
  background: #1d4fbf;
  color: #fff;
  font-weight: 700;
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #17376f;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-nav a {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: #3c5e96;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  padding: 0.35rem 0.58rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line-strong);
  background: #fff;
  color: #34598f;
}

.hero {
  padding: 2.6rem 0 1.8rem;
}

.hero h1 {
  margin: 0.65rem 0 0;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 0.98;
  color: #0f2a58;
}

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  color: #4769a3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.64rem;
}

.hero p {
  max-width: 68ch;
  color: var(--text-soft);
  line-height: 1.72;
  margin: 0.85rem 0 0;
}

.section {
  padding: 2.9rem 0;
}

.cards {
  display: grid;
  gap: 0.72rem;
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.table-shell,
.timeline-shell,
.footer-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.card {
  padding: 1rem;
}

.card h3,
.table-shell h3,
.timeline-shell h3,
.footer-shell h3 {
  margin: 0;
  color: #173c73;
}

.card p,
.card li,
.table-shell p,
.timeline-shell li,
.footer-meta,
table th,
table td {
  color: var(--text-soft);
  line-height: 1.66;
}

.card ul,
.timeline-shell ol {
  margin: 0.65rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.table-shell,
.timeline-shell,
.footer-shell {
  padding: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  border: 1px solid var(--line);
}

table th,
table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.84rem;
  padding: 0.47rem;
}

.split {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer {
  padding-bottom: 2rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.footer-meta {
  max-width: 56ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.footer-links a {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  color: #3f6198;
  background: #fff;
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-shell { flex-direction: column; align-items: flex-start; padding: 0.8rem 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-shell { flex-direction: column; align-items: flex-start; }
}
