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

:root {
  --navy: #0B1226;
  --navy-light: #111936;
  --navy-mid: #1A2445;
  --accent: #84CC16;
  --accent-light: #BEF264;
  --accent-muted: rgba(132,204,22,0.15);
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --text-primary: #1A1F36;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(11,18,38,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 300ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.nav.scrolled {
  background: rgba(11,18,38,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav a { display: flex; text-decoration: none; }
.nav-logo { height: 36px; width: auto; }

.container { max-width: 820px; margin: 0 auto; }

/* ── LEGAL HERO ── */
.legal-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-mid) 100%);
  text-align: center;
}
.legal-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}
.legal-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
}

/* ── LEGAL BODY ── */
.legal-body {
  padding: 64px 24px 100px;
}
.legal-content section {
  margin-bottom: 48px;
}
.legal-content section:last-child {
  margin-bottom: 0;
}
.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px;
}
.legal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-content ul {
  list-style: none;
  margin: 12px 0 16px;
}
.legal-content ul li {
  position: relative;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding: 4px 0 4px 24px;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.legal-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .legal-content a:hover { opacity: 0.7; }
}

/* ── CALLOUT ── */
.legal-callout {
  padding: 24px 28px;
  border-radius: 12px;
  background: var(--accent-muted);
  border-left: 3px solid var(--accent);
  margin: 20px 0;
}
.legal-callout p {
  color: var(--text-primary);
  margin-bottom: 8px;
}
.legal-callout p:last-child { margin-bottom: 0; }
.legal-callout ul { margin: 8px 0 0; }

/* ── TABLE ── */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.legal-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--gray-50);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--gray-200);
}
.legal-table td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--gray-200);
}
.legal-table tr:last-child td {
  border-bottom: none;
}

/* ── CONTACT ── */
.legal-contact {
  padding: 24px 28px;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  margin-top: 16px;
}
.legal-contact p {
  margin-bottom: 4px;
  color: var(--text-secondary);
}
.legal-contact p:first-child {
  color: var(--text-primary);
}

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 24px 40px;
}
.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 6px 0;
  transition: color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: var(--accent); }
}
.footer-bottom {
  max-width: 1120px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p {
  font-size: 14px;
  color: rgba(255,255,255,0.3);
}
.footer-logo {
  height: 30px;
  width: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .legal-hero { padding: 120px 20px 48px; }
  .legal-body { padding: 48px 20px 80px; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-table { font-size: 13px; }
  .legal-table th, .legal-table td { padding: 10px 12px; }
}