:root {
  --maxw: 1120px;
  --ink: #172033;
  --muted: #5d687a;
  --line: #d9e1ec;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --primary: #1769c2;
  --primary-dark: #0f4d91;
  --accent: #0f9d58;
  --warn: #b45309;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: var(--primary-dark);
}

.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 20px 72px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 15px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.hero {
  padding: 58px 0 34px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

h1 {
  max-width: 920px;
  margin: 12px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -1px;
}

h2 {
  margin: 42px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
}

.lead {
  max-width: 820px;
  font-size: 21px;
}

.answer-box,
.source-box,
.card,
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(23, 32, 51, .06);
}

.answer-box {
  padding: 24px;
  border-left: 5px solid var(--accent);
}

.source-box {
  padding: 18px 22px;
  margin-top: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.card {
  padding: 22px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 18px 58px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 800;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf4fb;
  color: var(--ink);
}

.cta {
  margin-top: 36px;
  padding: 28px;
  background: linear-gradient(135deg, #1769c2, #0f9d58);
  border-radius: 18px;
  color: white;
}

.cta p {
  color: rgba(255, 255, 255, .9);
}

.cta a {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: white;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 800;
}

.cluster {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.cluster li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: white;
  font-size: 14px;
}

.footer {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .hero {
    padding-top: 36px;
  }

  .topbar {
    align-items: flex-start;
  }
}
