:root {
  --deep: #0f1923;
  --navy: #152236;
  --accent: #1a6bb5;
  --text: #1a1a28;
  --muted: #525268;
  --soft: #f2f4f8;
  --white: #fff;
  --border: #dde2ed;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Georgia, serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.site-header {
  border-bottom: 1px solid #24364b;
  color: #fff;
  background: var(--deep);
}

.header-inner,
.legal-main,
.footer-inner {
  width: min(calc(100% - 32px), 700px);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link {
  color: #8fb0d8;
  font-size: 12px;
  text-decoration: none;
}

.legal-main {
  margin-top: 34px;
  margin-bottom: 42px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 18px rgba(0,0,0,.06);
}

.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
}

h2 {
  margin: 30px 0 8px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.3;
}

p, li { color: #353549; }

ul { padding-left: 22px; }

.notice {
  margin: 24px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 7px;
  background: #edf4fb;
  font-size: 14px;
}

.site-footer {
  padding: 26px 0 34px;
  color: #6a8ab0;
  background: var(--deep);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.site-footer a {
  color: #8fb0d8;
  text-decoration: none;
}

@media (max-width: 520px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 5px; }
  .legal-main { margin-top: 18px; padding: 22px 18px; }
}
