:root {
  --blue-start: #1B9CDB;
  --blue-end: #0D6EAF;
  --bg-1: #E3F2FD;
  --bg-2: #BBDEFB;
  --bg-3: #E1F0FE;
  --text: #0A1628;
  --text-soft: rgba(10, 22, 40, 0.78);
  --text-mute: rgba(10, 22, 40, 0.55);
  --glass: rgba(255, 255, 255, 0.65);
  --glass-strong: rgba(255, 255, 255, 0.85);
  --border: rgba(255, 255, 255, 0.7);
  --border-strong: rgba(13, 110, 175, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
  background-attachment: fixed;
  color: var(--text-soft);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(27, 156, 219, 0.22) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(13, 110, 175, 0.20) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.legal-nav {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.legal-nav .brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(13, 110, 175, 0.32);
}
.legal-nav .home-link {
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.legal-nav .home-link:hover { color: var(--blue-end); }

article {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 16px auto 80px;
  padding: 48px;
  background: var(--glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(13, 110, 175, 0.18);
}

article h1, article h2, article h3, article h4 {
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 36px 0 14px;
  font-weight: 700;
}
article h2:first-of-type, article h1:first-of-type { margin-top: 0; }
article h2 { font-size: 30px; }
article h3 { font-size: 22px; }
article h4 { font-size: 18px; }

article p { margin: 0 0 16px; color: var(--text-soft); }
article strong, article b { color: var(--text); font-weight: 600; }
article a {
  color: var(--blue-end);
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 110, 175, 0.32);
  transition: color 0.2s, border-color 0.2s;
}
article a:hover {
  color: var(--blue-start);
  border-bottom-color: var(--blue-start);
}
article ul, article ol { margin: 0 0 16px 24px; color: var(--text-soft); }
article li { margin-bottom: 6px; }

article hr {
  border: none;
  height: 1px;
  background: rgba(13, 110, 175, 0.16);
  margin: 32px 0;
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
article th, article td {
  padding: 10px 12px;
  border: 1px solid rgba(13, 110, 175, 0.14);
  text-align: left;
}
article th { background: rgba(13, 110, 175, 0.06); color: var(--text); font-weight: 600; }

article ul.wpsocialite { display: none; }

.legal-footer {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-mute);
  font-size: 13px;
}
.legal-footer a {
  color: var(--text-mute);
  text-decoration: none;
  margin-left: 16px;
  transition: color 0.2s;
}
.legal-footer a:hover { color: var(--blue-end); }

@media (max-width: 600px) {
  article { padding: 28px 22px; margin: 8px 12px 48px; border-radius: 18px; }
  article h2 { font-size: 24px; }
  article h3 { font-size: 19px; }
  .legal-nav { padding: 18px; }
  .legal-footer { padding: 0 22px; flex-direction: column; }
  .legal-footer a { margin-left: 0; margin-right: 16px; }
}
