/* Legal page styles */
.legal-page {
  background: var(--bg);
}

.legal-container {
  max-width: 900px;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal {
  padding: 8px 4px 60px;
  max-width: 720px;
}

.legal-header {
  margin-bottom: 40px;
}

.legal-header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}

.legal-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  color: var(--accent);
  flex-shrink: 0;
}

.legal h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.legal-muted {
  color: var(--text-muted);
  font-size: 14px;
  margin-left: 76px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.legal p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.legal p:last-child {
  margin-bottom: 0;
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.legal a:hover {
  color: var(--text);
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.legal-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

.legal-list li:last-child {
  margin-bottom: 0;
}


@media (max-width: 560px) {
  .legal-icon {
    width: 56px;
    height: 56px;
  }

  .legal h2 {
    font-size: 18px;
    padding-left: 12px;
  }

  .legal-container {
    padding: 0;
  }

  .legal {
    padding: 24px 16px;
  }

  .legal-header h1 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .legal-header-top {
    gap: 12px;
  }

  .legal-icon {
    width: 44px;
    height: 44px;
  }

  .legal-icon svg {
    width: 22px;
    height: 22px;
  }

  .legal-muted {
    margin-left: 56px;
  }
}
