:root {
  --background: #000000;
  --foreground: #ffffff;
  --surface: #0b0b0b;
  --surface-hover: #121212;
  --border: rgba(255, 255, 255, 0.12);
  --muted: rgba(255, 255, 255, 0.72);
  --muted-dim: rgba(255, 255, 255, 0.45);
  --accent: rgba(255, 255, 255, 0.08);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Jost", sans-serif;
  min-height: 100vh;
}

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-back {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-back:hover {
  color: var(--foreground);
}

.nav-back svg {
  width: 14px;
  height: 14px;
}

.legal-hero {
  position: relative;
  padding: 9rem 2rem 5rem;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.legal-hero-inner {
  position: relative;
  max-width: 780px;
  margin: auto;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}

.legal-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.legal-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legal-meta-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.legal-meta-value {
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-body {
  padding: 0 2rem 8rem;
}

.legal-content {
  max-width: 780px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.25rem;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.legal-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.legal-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.legal-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.975rem;
}

.legal-card p + p {
  margin-top: 1rem;
}

.legal-card ul,
.legal-card ol {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.975rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-card ul + p,
.legal-card ol + p,
.legal-card p + ul,
.legal-card p + ol {
  margin-top: 1rem;
}

.legal-card strong {
  color: var(--foreground);
  font-weight: 600;
}

.legal-notice {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-notice strong {
  color: var(--foreground);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-card-text h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.contact-card-text p {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.75;
}

.contact-email-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
  color: var(--foreground);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.contact-email-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-email-chip svg {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-divider {
  height: 1px;
  background: var(--border);
  margin: 0.25rem 0;
}

.mega-footer {
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: var(--max-width);
  margin: auto;
  padding: 4rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-col a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #1a1a1a;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #252525;
}

@media (max-width: 768px) {
  .site-nav {
    padding: 1rem 1.25rem;
  }

  .legal-hero {
    padding: 7.5rem 1.5rem 4rem;
  }

  .legal-body {
    padding: 0 1.5rem 5rem;
  }

  .legal-card {
    padding: 1.75rem;
  }

  .footer-container {
    padding: 3rem 1.5rem;
    flex-direction: column;
    gap: 3rem;
  }

  .footer-links {
    gap: 2rem;
  }
}
