:root{
  --navy:#174f89;
  --navy-deep:#113c69;
  --ink:#253846;
  --muted:#6c7d8b;
  --line:rgba(23,79,137,.13);
  --paper:#ffffff;
  --soft:#f6faff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font:15.5px/1.68 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 8% 8%,rgba(65,157,231,.10),transparent 24%),
    radial-gradient(circle at 94% 10%,rgba(86,190,151,.08),transparent 22%),
    linear-gradient(180deg,#f8fbfe 0%,#f4f8fb 100%);
}
a{color:var(--navy);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}

.topbar{
  position:sticky;top:0;z-index:10;
  height:64px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 clamp(18px,3vw,36px);
  background:rgba(250,252,254,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(23,79,137,.08);
}
.brand{display:flex;align-items:center;text-decoration:none}
.brand img{height:34px;width:auto}
.top-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.pill-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:38px;padding:0 14px;border-radius:9px;
  border:1px solid var(--line);background:#fff;
  color:var(--navy);font-weight:760;font-size:13px;
}
.pill-link.primary{background:var(--navy);color:#fff;border-color:var(--navy)}

.page{width:min(1000px,calc(100% - 32px));margin:24px auto 44px}
.document{
  background:var(--paper);
  border:1px solid rgba(23,79,137,.10);
  border-radius:12px;
  overflow:hidden;
}
.document-head{
  padding:30px 34px 26px;
  border-bottom:1px solid var(--line);
}
.document-head h1{
  margin:0;
  color:var(--navy);
  font-size:clamp(30px,2.5vw,36px);
  line-height:1.08;
  letter-spacing:-.025em;
  font-weight:780;
  max-width:820px;
}
.document-head p{
  margin:12px 0 0;
  max-width:780px;
  color:#5d6f7c;
  font-size:15px;
  line-height:1.55;
}
.document-note{
  margin-top:18px;
  padding:13px 15px;
  border-left:3px solid #f2bd4c;
  background:#fffaf0;
  color:#566674;
  font-size:13px;
  line-height:1.5;
}
.document-note strong{color:var(--navy)}

.sections{padding:0 34px}
.legal-section{
  padding:24px 0 22px;
  border-bottom:1px solid rgba(23,79,137,.09);
}
.legal-section:last-child{border-bottom:0}
.legal-section h2{
  display:flex;align-items:center;gap:10px;
  margin:0 0 10px;
  color:var(--navy);
  font-size:19px;
  line-height:1.25;
  letter-spacing:-.015em;
  font-weight:760;
}
.legal-section .num{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;width:28px;height:28px;
  border-radius:7px;
  background:#edf5fc;
  color:var(--navy);
  font-size:12px;font-weight:800;
}
.legal-section p{margin:0 0 11px;max-width:900px}
.legal-section p:last-child{margin-bottom:0}
.legal-list{margin:0;padding-left:20px}
.legal-list li{margin-bottom:8px}

.document-footer{
  padding:18px 34px 24px;
  border-top:1px solid var(--line);
  background:#fbfdff;
}
.footer-links{display:flex;flex-wrap:wrap;gap:8px}
.footer-note{margin:12px 0 0;color:#7b8994;font-size:12px;line-height:1.45}

@media (max-width:820px){
  body{font-size:15px;line-height:1.62}
  .topbar{height:58px;padding:0 10px 0 12px}
  .brand img{height:29px}
  .top-actions{gap:6px}
  .pill-link{min-height:34px;padding:0 10px;font-size:10px;border-radius:8px}
  .page{width:min(100%,calc(100% - 14px));margin:9px auto 20px}
  .document{border-radius:10px}
  .document-head{padding:20px 16px 17px}
  .document-head h1{font-size:28px;line-height:1.08;letter-spacing:-.02em}
  .document-head p{margin-top:9px;font-size:13px;line-height:1.48}
  .document-note{margin-top:13px;padding:11px 12px;font-size:12px}
  .sections{padding:0 16px}
  .legal-section{padding:18px 0 17px}
  .legal-section h2{font-size:17px;gap:8px;margin-bottom:8px}
  .legal-section .num{width:25px;height:25px;border-radius:6px;font-size:11px}
  .document-footer{padding:14px 16px 18px}
  .footer-note{font-size:11px}
}
