/**
 * Unione Partners
 */

/* ===== Page Main Container ===== */
.page-main {
  min-height: 100vh;
  background-color: var(--background);
}

/* ===== Page Header ===== */
.page-header {
  margin-bottom: 3rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.125rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-subtitle {
  font-size: var(--font-size-lg);
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ===== Back Button ===== */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--transition-base), background-color var(--transition-base);
  margin-bottom: 2rem;
  text-decoration: none;
}

.back-button:hover {
  color: var(--foreground);
  background-color: hsla(0, 0%, 0%, 0.05);
}

.back-button svg {
  width: 1rem;
  height: 1rem;
}

/* ===== Prose Content ===== */
.prose {
  color: var(--muted-foreground);
  line-height: 1.8;
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--foreground);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--transition-base);
}

.prose a:hover {
  opacity: 0.7;
}

/* ===== Legal Sections ===== */
.legal-section {
  margin-bottom: 3rem;
}

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

.legal-date {
  font-size: var(--font-size-sm);
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* ===== Contact Info Card ===== */
.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}

.contact-info-card h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.contact-info-item span {
  font-size: var(--font-size-sm);
  color: var(--muted-foreground);
}

.contact-info-item a {
  color: var(--foreground);
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.contact-info-item a:hover {
  opacity: 0.7;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 640px) {
  .page-header {
    margin-bottom: 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .back-button {
    margin-bottom: 1.5rem;
    padding: 0.5rem 0.75rem;
    font-size: var(--font-size-xs);
  }
  
  .prose h2 {
    font-size: var(--font-size-lg);
    margin-top: 2rem;
  }
  
  .prose h3 {
    font-size: var(--font-size-base);
    margin-top: 1.5rem;
  }
}
