*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #2563EB;
  --brand-soft: rgba(37, 99, 235, .1);
  --dark: #0B1220;
  --white: #fff;
  --ink-mute: rgba(255, 255, 255, .58);
  --border: rgba(255, 255, 255, .1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  background: var(--dark);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
}
a { color: #93C5FD; text-decoration: none; }
a:hover { text-decoration: underline; }

.legal-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(11, 18, 32, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.legal-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: #fff; text-decoration: none;
}
.legal-brand img { width: 36px; height: 36px; border-radius: 8px; background: #fff; }
.legal-nav-links { display: flex; gap: 16px; font-size: .88rem; color: var(--ink-mute); }
.legal-nav-links a:hover { color: #fff; text-decoration: none; }

.legal-hero {
  padding: 48px clamp(16px, 4vw, 40px) 32px;
  max-width: 960px; margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.legal-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
  background: var(--brand-soft); border: 1px solid rgba(37, 99, 235, .25);
  border-radius: 99px; padding: 5px 12px; margin-bottom: 14px;
}
.legal-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px;
}
.legal-hero p { color: var(--ink-mute); max-width: 42rem; font-size: 1rem; }

.legal-content { max-width: 960px; margin: 0 auto; padding: 36px clamp(16px, 4vw, 40px) 64px; }

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.legal-card {
  display: block;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  transition: .18s ease;
  color: inherit;
  text-decoration: none;
}
.legal-card:hover {
  border-color: rgba(37, 99, 235, .45);
  background: rgba(37, 99, 235, .08);
  transform: translateY(-2px);
  text-decoration: none;
}
.legal-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.legal-card p { font-size: .88rem; color: var(--ink-mute); margin: 0; }
.legal-card .ico { font-size: 1.3rem; margin-bottom: 8px; display: block; }

.legal-group { margin-bottom: 36px; }
.legal-group h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 14px; color: #fff;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}

.section { margin-bottom: 28px; }
.section h2 {
  font-size: 1rem; font-weight: 700; color: #fff;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.section h2::before {
  content: ''; width: 3px; height: 16px;
  background: var(--brand); border-radius: 2px;
}
.section p, .section li { font-size: .95rem; color: var(--ink-mute); line-height: 1.75; }
.section ul { list-style: none; padding: 0; margin: 8px 0; }
.section ul li { padding: 4px 0 4px 16px; position: relative; }
.section ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.highlight-box {
  background: var(--brand-soft);
  border: 1px solid rgba(37, 99, 235, .22);
  border-radius: 12px; padding: 16px 18px; margin-top: 12px;
}
.highlight-box p { margin: 0; }
.highlight-box strong { color: #93C5FD; }

.laws-list {
  display: grid; gap: 8px;
  font-size: .88rem; color: var(--ink-mute);
}
.laws-list li { padding-left: 14px; border-left: 2px solid rgba(37, 99, 235, .35); list-style: none; }

.legal-footer {
  border-top: 1px solid var(--border);
  padding: 28px clamp(16px, 4vw, 40px);
  text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .4);
}
.legal-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px;
  margin-bottom: 12px;
}
.legal-footer-links a { color: var(--ink-mute); font-size: .85rem; }

@media (max-width: 640px) {
  .legal-nav-links { display: none; }
}
