:root {
  --ink: #14181f;
  --muted: #5b6472;
  --line: #e2e5ea;
  --bg: #ffffff;
  --alt: #f5f6f8;
  --brand: #1f3a8a;
  --brand-ink: #ffffff;
  --note: #fff7e0;
  --note-line: #e0b33a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); }
a:focus-visible, .btn:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.02em; }
h2 { font-size: 1.55rem; line-height: 1.25; margin: 0 0 .7em; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; margin: 1.8em 0 .5em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); font-size: .93rem; }
.center { text-align: center; }

.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.96); z-index: 5; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { font-weight: 800; letter-spacing: .04em; color: var(--ink); text-decoration: none; line-height: 1.1; }
.brand span { display: block; font-weight: 400; font-size: .72rem; letter-spacing: 0; color: var(--muted); }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.top nav a { color: var(--ink); text-decoration: none; font-size: .95rem; padding: 4px 0; }
.top nav a[aria-current="page"] { border-bottom: 2px solid var(--brand); }

.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 8px; border: 2px solid var(--brand); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4em; }
.center .cta { justify-content: center; }

section { padding: 56px 0; }
section.alt { background: var(--alt); }
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.hero p { max-width: 68ch; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: .9rem; margin-bottom: .8em; }
.lead { font-size: 1.3rem; line-height: 1.4; color: var(--ink); font-weight: 500; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.card { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #fff; }
.card.link { text-decoration: none; color: var(--ink); }
.card.link:hover { border-color: var(--brand); }
.card h3 { margin: .5em 0; font-size: 1.25rem; }
.tag { display: inline-block; background: var(--alt); color: var(--brand); font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }

.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }

.table { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 20px; }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
caption { text-align: left; padding: 12px 16px; color: var(--muted); font-size: .9rem; }
th, td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.note { background: var(--note); border-left: 4px solid var(--note-line); padding: 14px 18px; border-radius: 0 8px 8px 0; }

.list { padding-left: 1.2em; margin: 0 0 1em; }
.list li { margin-bottom: .5em; }
.steps, .modules { list-style: none; counter-reset: n; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.steps li, .modules li { counter-increment: n; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 18px 58px; position: relative; }
.steps li::before, .modules li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 18px; top: 18px; font-weight: 700; color: var(--brand); }
.steps strong, .modules strong { display: block; }
.modules { margin-bottom: 16px; }
.comps { list-style: none; padding: 0; margin: 0 0 1em; }
.comps li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.comps span { font-weight: 700; color: var(--brand); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0 0 20px; }
.kpis > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.kpis dt { color: var(--muted); font-size: .9rem; }
.kpis dd { margin: 4px 0 6px; font-size: 2.2rem; font-weight: 700; line-height: 1.1; }
.kpis p { margin: 0; font-size: .9rem; color: var(--muted); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.2rem; }

.foot { background: var(--ink); color: #d5d9e0; padding: 48px 0 24px; font-size: .9rem; }
.foot a { color: #fff; }
.foot strong { color: #fff; display: block; margin-bottom: .6em; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.legal { border-top: 1px solid #343a46; margin-top: 28px; padding-top: 20px; color: #a6adba; }

@media (max-width: 640px) {
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .top nav { margin-left: 0; width: 100%; order: 3; }
  section { padding: 40px 0; }
}
