:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-2: #eef4f8;
  --ink: #0f2133;
  --muted: #5b6b79;
  --line: #d8e2ea;
  --navy: #10263a;
  --blue: #2a76d2;
  --green: #27a37a;
  --shadow: 0 18px 45px rgba(15, 33, 51, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(42, 118, 210, .09), transparent 34rem),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 54%, #f8fbfd 100%);
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(216,226,234,.9);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 12px;
  z-index: 10;
  box-shadow: 0 10px 32px rgba(15,33,51,.06);
}

.brand img { width: 258px; height: auto; }
.site-header nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-header nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 650;
}
.site-header nav a:hover,
.footer-links a:hover { color: var(--blue); }

.hero { padding: 112px 0 74px; max-width: 920px; }
.eyebrow,
.card-kicker {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--green);
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.1rem); margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.card h2 { font-size: 1.55rem; margin: 10px 0 10px; letter-spacing: -.02em; }

.lede {
  font-size: clamp(1.14rem, 2vw, 1.38rem);
  color: var(--muted);
  max-width: 820px;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 760;
  text-decoration: none;
  border: 1px solid var(--line);
}
.button.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.button.primary:hover { background: #173952; }
.button.secondary { background: #fff; color: var(--ink); }
.button.secondary:hover { border-color: #b9c9d6; }
.microcopy { font-size: .9rem; color: var(--muted); margin-top: 16px; }

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); padding-bottom: 88px; }
.card,
.data-card,
.panel,
.prose {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 28px; }
.card p { color: var(--muted); margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 54px;
  padding: 86px 0;
}
.split p { color: var(--muted); font-size: 1.03rem; }
.text-link { color: var(--blue); font-weight: 760; text-decoration: none; }
.data-card { padding: 26px; }
.flow-step {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
  font-weight: 720;
}
.flow-step.accent { border-color: rgba(39,163,122,.35); background: rgba(39,163,122,.08); }
.flow-arrow { text-align: center; color: #8ca0af; padding: 5px 0; }

.panel {
  margin-top: 28px;
  margin-bottom: 90px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}
.panel h2 { font-size: 2rem; }
.panel p { color: var(--muted); max-width: 760px; margin-bottom: 0; }

.page-hero { padding: 76px 0 30px; max-width: 860px; }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 4.7rem); }
.page-hero p { color: var(--muted); font-size: 1.12rem; }
.prose { padding: clamp(24px, 5vw, 52px); margin-bottom: 84px; }
.prose h2 { font-size: 1.65rem; margin-top: 42px; }
.prose h3 { font-size: 1.14rem; margin-top: 28px; }
.prose p, .prose li { color: #41515f; }
.prose code {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: .92em;
}
.prose pre {
  background: var(--navy);
  color: #dce8f0;
  padding: 18px;
  border-radius: 14px;
  overflow-x: auto;
}
.prose pre code { background: transparent; border: 0; padding: 0; color: inherit; }
.notice {
  border-left: 4px solid var(--green);
  background: rgba(39,163,122,.07);
  padding: 16px 18px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

.site-footer { border-top: 1px solid var(--line); background: rgba(255,255,255,.7); }
.footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-inner p { margin: 4px 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .brand img { width: 215px; }
  .site-header nav { display: none; }
  .hero { padding-top: 76px; }
  .grid.three, .split { grid-template-columns: 1fr; }
  .grid.three { padding-bottom: 54px; }
  .split { gap: 28px; padding: 54px 0; }
  .panel, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { padding: 32px 0; }
}
