/* Legal pages styling */

.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 100px 32px 80px;
}

.legal-header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

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

.legal h2 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.1px;
  margin-bottom: 12px;
}

.legal h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  margin-top: 20px;
  color: var(--text);
}

.legal p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 12px;
}

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

.legal ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
}

.legal ul > li {
  padding-left: 16px;
  position: relative;
}

.legal ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}

.legal ol > li {
  padding-left: 6px;
  margin-bottom: 4px;
}

.legal ol > li::marker {
  color: var(--muted);
  font-weight: 400;
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}

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

.legal strong {
  font-weight: 500;
  color: var(--primary);
}

.company-card,
.company-card * {
  font-family: var(--font-sans);
  font-style: normal;
}

.company-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
}

.company-card .company-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.company-card .company-links a {
  color: var(--primary);
  text-decoration: none;
}

.company-card .company-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

