:root {
  --brand-50: #eef4ff;
  --brand-100: #d9e7ff;
  --brand-200: #bcd4ff;
  --brand-300: #8fb6ff;
  --brand-400: #5b90fa;
  --brand-500: #2f74ef;
  --brand-600: #1b6adf;
  --brand-700: #1557b8;
  --ink-50: #f7f9fc;
  --ink-100: #eef2f8;
  --ink-200: #dce4ef;
  --ink-300: #bcc9db;
  --ink-400: #8d9db5;
  --ink-500: #64748b;
  --ink-600: #475569;
  --ink-700: #334155;
  --ink-900: #0f172a;
  --ink-950: #080e1c;
  --background: #f6f8fc;
  --border: #e2e9f3;
  --font-sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 18px 45px -24px rgba(15, 23, 42, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 233, 243, 0.8);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: 100%;
  max-width: 1280px;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 32px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.main-nav a {
  border-radius: 10px;
  padding: 9px 13px;
  color: var(--ink-600);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease;
}

.main-nav a:hover {
  background: var(--ink-100);
  color: var(--ink-900);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 12px 28px -16px rgba(27, 106, 223, 0.8);
}

.btn-primary:hover {
  background: var(--brand-700);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-600);
}

.btn-ghost:hover {
  background: var(--ink-100);
  color: var(--ink-900);
}

/* Legal content */
main.container {
  padding-top: 36px;
  padding-bottom: 72px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.18s ease;
}

.back-link::before {
  content: "←";
  font-size: 15px;
  line-height: 1;
}

.back-link:hover {
  color: var(--brand-600);
}

article {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  padding: 48px 56px;
  box-shadow: var(--shadow-soft);
}

h1 {
  margin: 0 0 10px;
  color: var(--ink-950);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 43px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.last-updated {
  margin: 0 0 32px;
  color: var(--ink-400);
  font-size: 12px;
}

.content h2 {
  margin: 38px 0 12px;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  margin: 26px 0 10px;
  color: var(--ink-900);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.content p {
  margin: 0 0 14px;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.7;
}

.content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.content li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.65;
}

.content li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-500);
}

.content a {
  color: var(--brand-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.content a:hover {
  color: var(--brand-700);
}

.content strong {
  color: var(--ink-900);
  font-weight: 600;
}

.consent-box {
  margin: 24px 0;
  border: 1px solid var(--brand-100);
  border-radius: 16px;
  background: var(--brand-50);
  padding: 20px 22px;
}

.consent-box h3 {
  margin: 0 0 6px;
  color: var(--brand-800);
}

.consent-box p {
  margin: 0;
  color: var(--ink-600);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 1.25fr;
  gap: 36px;
  padding-bottom: 38px;
}

.footer-brand img {
  height: 30px;
  width: auto;
}

.footer-brand p {
  max-width: 300px;
  margin: 14px 0 0;
  color: var(--ink-400);
  font-size: 12px;
  line-height: 1.6;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.footer-chips span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--ink-50);
  padding: 4px 9px;
  color: var(--ink-500);
  font-size: 10px;
  font-weight: 500;
}

.footer-col h4 {
  margin: 0;
  color: var(--ink-400);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-top: 9px;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.5;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--brand-600);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--ink-100);
  padding: 17px 0;
  color: var(--ink-400);
  font-size: 11px;
}

.footer-bottom a {
  color: var(--ink-400);
}

.footer-bottom a:hover {
  color: var(--brand-600);
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .header-inner {
    height: 62px;
  }

  article {
    padding: 38px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    padding: 0 18px;
  }

  .brand img {
    height: 28px;
  }

  main.container {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  article {
    border-radius: 18px;
    padding: 26px 20px;
  }

  h1 {
    font-size: 29px;
  }

  .last-updated {
    margin-bottom: 24px;
  }

  .content h2 {
    margin-top: 30px;
    font-size: 20px;
  }

  .content h3 {
    font-size: 16px;
  }

  .content p,
  .content li {
    font-size: 14px;
  }

  .footer-inner {
    padding: 34px 18px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
