:root {
  color-scheme: light dark;
  --page: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: rgba(23, 32, 51, 0.11);
  --accent: #1769e0;
  --accent-soft: rgba(23, 105, 224, 0.1);
  --success: #168c63;
  --shadow: 0 22px 70px rgba(35, 50, 78, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 0%, rgba(76, 205, 165, 0.12), transparent 28rem),
    radial-gradient(circle at 8% 0%, rgba(23, 105, 224, 0.12), transparent 30rem),
    var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.67;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 0.18em; }

.site-header,
main,
.site-footer {
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
}

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

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

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #20b9ef, #1769e0);
  box-shadow: 0 9px 22px rgba(23, 105, 224, 0.24);
  font-size: 16px;
  font-weight: 800;
}

.nav-links,
.language-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.nav-links a,
.language-links a {
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.language-links a:hover,
.language-links a:focus-visible {
  color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}

.hero {
  padding: clamp(42px, 8vw, 70px) clamp(26px, 7vw, 64px) 48px;
  border: 1px solid var(--line);
  border-radius: 28px 28px 0 0;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 10%, transparent);
  font-size: 13px;
  font-weight: 680;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.5;
}

.effective-date { margin: 22px 0 0; color: var(--muted); font-size: 14px; }

.legal-body {
  padding: 28px clamp(26px, 7vw, 64px) 62px;
  border: solid var(--line);
  border-width: 0 1px 1px;
  border-radius: 0 0 28px 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.language-section { scroll-margin-top: 18px; }
.language-section + .language-section { margin-top: 44px; padding-top: 34px; border-top: 2px solid var(--line); }

.language-section > h2 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.language-note { margin: 0 0 20px; color: var(--muted); font-size: 14px; }

section section { padding: 19px 0 4px; border-bottom: 1px solid var(--line); }
section section:last-child { border-bottom: 0; }
h3 { margin: 0 0 7px; font-size: 18px; letter-spacing: -0.015em; }
p { margin: 8px 0 13px; }
ul { margin: 9px 0 15px; padding-left: 1.3em; }
li + li { margin-top: 7px; }

.offline-note {
  margin: 18px 0 4px;
  padding: 16px 18px;
  border-radius: 15px;
  color: var(--muted);
  background: var(--accent-soft);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p { margin: 0; }

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b1018;
    --surface: rgba(24, 31, 43, 0.9);
    --surface-strong: #151c27;
    --text: #f4f7fb;
    --muted: #a7b1c0;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #62a9ff;
    --accent-soft: rgba(98, 169, 255, 0.13);
    --success: #50d59b;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; width: min(100% - 28px, 960px); }
  .nav-links, .language-links { justify-content: flex-start; }
  main, .site-footer { width: min(100% - 28px, 960px); }
  .hero { border-radius: 23px 23px 0 0; }
  .legal-body { border-radius: 0 0 23px 23px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

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