* { box-sizing: border-box; }
body { margin: 0; color: #111a3e; background: #f5f7fc; font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; }
header, nav.legal, main, footer { width: min(780px, calc(100% - 32px)); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 6px; margin-bottom: 14px; }
header img { display: block; width: 200px; height: auto; }
header .back { font-size: 14px; font-weight: 700; }
nav.legal { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
nav.legal a { padding: 8px 12px; border: 1px solid #dce2ef; border-radius: 999px; background: #fff; color: #16276d; font-size: 14px; font-weight: 600; text-decoration: none; }
nav.legal a:hover { border-color: #d8345f; color: #d8345f; }
nav.legal a[aria-current="page"] { border-color: #d8345f; background: #d8345f; color: #fff; }
main { position: relative; overflow: hidden; padding: clamp(22px, 5vw, 48px); background: #fff; border: 1px solid #dce2ef; border-radius: 16px; }
main::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #3fa0dc 0 50%, #d8345f 50% 100%); }
h1 { margin: 0 0 6px; color: #0e1b52; font-size: clamp(30px, 6vw, 42px); line-height: 1.12; }
h2 { margin: 28px 0 6px; color: #0e1b52; font-size: 19px; }
p, ul { margin: 0 0 16px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
.upd { color: #525b7a; font-size: 14px; margin-bottom: 22px; }
a { color: #0755ae; }
code { overflow-wrap: anywhere; font-size: .92em; }
.table { overflow-x: auto; margin: 0 0 18px; border: 1px solid #dce2ef; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #edf1f7; }
th { background: #f5f7fc; color: #0e1b52; }
tr:last-child td { border-bottom: 0; }
footer { display: flex; flex-direction: column; gap: 10px; padding-block: 22px 30px; color: #525b7a; font-size: 13px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer nav a { color: #16276d; }
[aria-current="page"] { font-weight: 700; }
