:root {
  color-scheme: light;
  --ink: #101b2e;
  --muted: #657187;
  --line: #dce3ee;
  --blue: #1556f6;
  --paper: #f4f7fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(21,86,246,.16), transparent 34rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
.legal-header {
  min-height: 82px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.7);
  background: rgba(247,249,253,.76);
  box-shadow: 0 10px 35px rgba(23,45,84,.05);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.legal-header img { width: 154px; }
.legal-header a:last-child { color: #5d687c; font-size: 14px; font-weight: 650; }
.legal-shell {
  width: min(960px, calc(100% - 40px));
  margin: 56px auto 96px;
  padding: 64px 72px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 30px 90px rgba(24,47,88,.1);
}
h1 {
  margin: 0 0 24px;
  font-size: clamp(36px,5vw,58px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
h2 {
  margin: 52px 0 18px;
  padding-top: 4px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -.025em;
}
h3 { margin: 32px 0 14px; font-size: 19px; }
p, li, td, th {
  font-size: 15px;
  line-height: 1.72;
}
p { margin: 0 0 16px; }
ul, ol { margin: 14px 0 22px; padding-left: 24px; }
li { margin: 7px 0; }
hr { margin: 34px 0; border: 0; border-top: 1px solid var(--line); }
blockquote, .card {
  margin: 24px 0;
  padding: 20px 22px;
  border: 1px solid #dbe5fb;
  border-radius: 16px;
  background: #f2f6ff;
}
table {
  width: 100%;
  margin: 22px 0 30px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}
th, td { padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f2f5fa; }
th:last-child, td:last-child { border-right: 0; }
tr:last-child td { border-bottom: 0; }
code { padding: 2px 6px; border-radius: 5px; background: #edf1f7; font-size: .92em; }
.upd { margin: -10px 0 26px; color: var(--muted); }
.req { color: #344055; }
.legal-shell > footer { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }

@media (max-width: 680px) {
  .legal-header { min-height: 70px; padding: 0 20px; }
  .legal-header img { width: 132px; }
  .legal-shell { margin: 24px auto 64px; padding: 34px 24px; border-radius: 22px; }
  h1 { font-size: 36px; }
  h2 { margin-top: 40px; font-size: 22px; }
  p, li, td, th { font-size: 14px; }
  table { display: block; overflow-x: auto; }
}
