:root {
  --bg: #f7fbff;
  --blue: #2a9fd6;
  --blue-bright: #48bfe3;
  --aqua: #80ffdb;
  --ink: #102033;
  --muted: #526477;
  --line: rgba(42, 159, 214, 0.18);
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 251, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner,
.legal-main,
.footer-inner {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 10px;
}

.home-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-underline-offset: 4px;
  text-decoration-color: rgba(42, 159, 214, 0.5);
}

.legal-main { padding: 72px 0 84px; }

.legal-header {
  padding-bottom: 34px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
}

.effective-date {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.legal-intro { font-size: 1.05rem; }

.legal-section { margin-top: 38px; }

h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

p { margin: 0 0 16px; }

ul {
  margin: 10px 0 18px;
  padding-left: 24px;
}

li { margin: 5px 0; }

.contact-block {
  padding-left: 18px;
  border-left: 3px solid var(--blue-bright);
}

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.data-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.data-attribution img { width: 88px; height: auto; }

.disclaimer {
  max-width: 90ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin: 20px auto 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-links a,
.support-line a {
  text-decoration-color: rgba(42, 159, 214, 0.5);
  text-underline-offset: 3px;
}

.support-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 560px) {
  .header-inner,
  .legal-main,
  .footer-inner { width: min(100% - 28px, 880px); }
  .header-inner { min-height: 66px; gap: 14px; }
  .brand { font-size: 0.92rem; }
  .brand img { width: 32px; height: 32px; }
  .home-link { font-size: 0.8rem; }
  .legal-main { padding: 48px 0 64px; }
  .legal-header { padding-bottom: 26px; margin-bottom: 30px; }
  .legal-section { margin-top: 32px; }
  h1 { font-size: 36px; }
  h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
