/* Legal pages (legal-information, privacy-policy, terms-and-conditions): brand colors of style.css, calm reading layout */
:root {
  --navy: #1e2b56;
  --accent: #0a6cc2;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --surface: #f5f6fa;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', system-ui, sans-serif; color: var(--text); background: var(--surface); line-height: 1.65; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
/* Short pages: the footer stays at the bottom of the window */
.doc { flex: 1; width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(10, 132, 255, .6); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(30, 43, 86, .9); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.site-header .wrap { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.brand img { width: 132px; height: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.nav a { color: rgba(255, 255, 255, .86); font-size: .875rem; font-weight: 500; }
.nav a:hover { color: #fff; text-decoration: none; }

.doc { padding-top: 32px; padding-bottom: 64px; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; max-width: 820px; margin: 0 auto 24px; }
.doc-tabs a { padding: 8px 16px; border-radius: 980px; background: rgba(30, 43, 86, .07); color: var(--navy); font-size: .875rem; font-weight: 600; }
.doc-tabs a:hover { text-decoration: none; background: rgba(30, 43, 86, .12); }
.doc-tabs a[aria-current="page"] { background: var(--navy); color: #fff; }

article { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 44px 48px; box-shadow: 0 1px 2px rgba(30, 43, 86, .05), 0 8px 24px rgba(30, 43, 86, .06); }
article h1 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em; color: var(--navy); margin-bottom: 20px; }
article h2 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; color: var(--navy); margin: 32px 0 10px; }
article h3 { font-size: 1.0625rem; color: var(--navy); margin: 22px 0 8px; }
article p, article li { font-size: 1rem; }
article p { margin-bottom: 12px; }
article ul { padding-left: 22px; margin: 6px 0 14px; }
article li { margin-bottom: 6px; }
article li ul { margin-top: 6px; }
article strong { font-weight: 600; color: var(--navy); }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); font-size: .875rem; padding: 28px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: rgba(255, 255, 255, .86); }
.site-footer a[aria-current="page"] { color: #fff; font-weight: 600; }

@media (max-width: 700px) {
  .site-header { position: static; }
  article { padding: 28px 22px; border-radius: 16px; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--navy); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
