/* Widen app container for content pages */
.app:has(.legal-content),
.app:has(.integrations) {
  max-width: 820px;
}



/* Legal pages (privacy, terms) */
.legal-content {
  text-align: left;
  width: 100%;
}
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}
.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.legal-content ul {
  padding-left: 1.5rem;
}
.legal-content li {
  margin-bottom: 0.5rem;
}
.legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin-bottom: 2rem;
}

/* Integrations page */
.integrations {
  text-align: left;
  width: 100%;
}
.integrations h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}
.integrations p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.integration-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.integration-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.integration-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.integration-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-available {
  background: #16a34a22;
  color: #16a34a;
}
.badge-soon {
  background: #eab30822;
  color: #eab308;
}
.badge-pending {
  background: #6366f122;
  color: #6366f1;
}

.integration-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.integration-commands {
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
}

.integration-commands li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
}

.integration-commands code {
  background: var(--code-bg, rgba(127, 127, 127, 0.1));
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* Footer links */
.footer-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* Integration install button */
.integration-install {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #4a154b;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.integration-install:hover {
  background: #611f69;
}

.integration-install svg {
  flex-shrink: 0;
}
