/* Shared legal and policy pages. These pages use SYK object chrome without being user-created SYKs. */

.policy-page {
  margin: 0;
  min-height: 100vh;
  background: var(--bg, #faf8f3);
  color: var(--text, #16131f);
  font-family: Inter, system-ui, sans-serif;
}

.policy-main {
  max-width: 52rem;
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.policy-card {
  max-width: none;
}

.policy-card .policy-header {
  margin-bottom: 0;
}

.policy-eyebrow {
  margin-top: 1.75rem;
  margin-bottom: 0.8rem;
}

.policy-title {
  margin-top: 0;
}

.policy-description {
  margin-bottom: 0;
}

.policy-description p {
  margin: 0;
}

.policy-description p + p {
  margin-top: 0.65rem;
}

.policy-prose {
  margin-top: 2.25rem;
}

.policy-section {
  margin-top: 0;
}

.policy-section:not(:first-child) {
  margin-top: 1.25rem;
}

.policy-section-label {
  margin-bottom: 0.9rem;
}

.policy-section-body > :first-child {
  margin-top: 0;
}

.policy-prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 1.5rem 0 0.5rem;
  color: var(--text, #16131f);
}

.policy-prose p {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary, #4a4455);
}

.policy-prose ul {
  margin: 0.5rem 0 0;
  padding-left: 1.35rem;
  color: var(--text-secondary, #4a4455);
}

.policy-prose li {
  margin-top: 0.4rem;
  line-height: 1.6;
}

.policy-prose li::marker {
  color: var(--muted, #6b6578);
}

.policy-prose a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.policy-updated {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ece7dc;
  font-size: 0.85rem;
  color: var(--muted, #6b6578);
}

.termageddon-policy-embed {
  min-height: 24rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary, #4a4455);
}

.termageddon-policy-embed > *:first-child {
  margin-top: 0;
}

.termageddon-policy-embed h1,
.termageddon-policy-embed h2,
.termageddon-policy-embed h3 {
  color: var(--text, #16131f);
}

.termageddon-policy-embed table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 767px) {
  .policy-main {
    padding-top: 1rem;
    padding-bottom: 3rem;
  }

  .policy-eyebrow {
    margin-top: 1.25rem;
  }

  .termageddon-policy-embed {
    min-height: 18rem;
  }
}
