/*
 * sc-legal.css — OWNED module (prefixes: legal-, trust-).
 * Bootstrapped from sc-public-pages.css, then owned by hand. These selectors are
 * excluded from the generated bundles via OWNED_MODULES in
 * scripts/build-css-bundles.js; this file is now their source of truth.
 */
.trust-card {
  border: 1px solid var(--border) !important;
      border-radius: var(--radius-lg) !important;
      background: var(--surface) !important;
      box-shadow: var(--shadow-sm) !important;
}

.trust-card {
  border: 1px solid var(--border) !important;
      border-radius: 30px !important;
      background: var(--surface) !important;
      box-shadow: var(--shadow-sm) !important;
      backdrop-filter: blur(12px);
}

.trust-card {
  border-radius: 20px !important;
}

.trust-card {
  border-color: var(--border) !important;
      background: rgba(255, 255, 255, 0.96) !important;
      box-shadow: 0 14px 34px rgba(0, 43, 95, 0.08), 0 4px 14px rgba(201, 0, 90, 0.04) !important;
}

.trust-hero {
  border: 1px solid var(--fnd-border) !important;
      border-radius: var(--fnd-radius-lg) !important;
      background: linear-gradient(112deg, #f8fbff, #ffffff 54%, #fff1f7) !important;
      box-shadow: var(--fnd-shadow) !important;
}

.legal-document {
  width: min(calc(100% - 2rem), 1240px);
      margin-inline: auto;
}

.legal-document {
  display: grid;
      gap: 1.25rem;
      margin-top: 2rem;
}

.legal-document-header,
.legal-document-body {
  border: 1px solid var(--fnd-border);
      border-radius: var(--fnd-radius-lg);
      background: var(--fnd-white);
      box-shadow: var(--fnd-shadow);
}

.legal-document-header {
  display: grid;
      gap: 0.75rem;
      padding: clamp(1.5rem, 4vw, 3rem);
}

.legal-back-link {
  display: inline-flex;
      min-height: 44px;
      width: fit-content;
      align-items: center;
      gap: 0.4rem;
      color: var(--fnd-magenta);
      font-weight: 800;
      text-decoration: none;
}

.legal-document-header h1,
.legal-document-header p,
.legal-document-header span,
.legal-section h2,
.legal-section p {
  margin: 0;
}

.legal-document-header h1 {
  color: var(--fnd-navy);
      font-size: clamp(2.4rem, 5vw, 4.25rem);
      line-height: 1.02;
}

.legal-document-header p,
.legal-document-header span,
.legal-section p,
.legal-section li {
  color: var(--fnd-muted);
      line-height: 1.65;
}

.legal-document-header span {
  font-size: 0.85rem;
      font-weight: 700;
}

.legal-document-body {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.legal-section {
  display: grid;
      gap: 0.8rem;
      padding: 0 0 1.5rem;
      border-bottom: 1px solid var(--fnd-border);
}

.legal-section + .legal-section {
  padding-top: 1.5rem;
}

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

.legal-section h2 {
  color: var(--fnd-navy);
      font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.legal-section ul {
  display: grid;
      gap: 0.5rem;
      margin: 0;
      padding-left: 1.4rem;
}

@media (max-width: 991.98px) {
  .trust-hero {
    grid-template-columns: 1fr !important;
  }

  .legal-document {
    width: min(calc(100% - 1.25rem), 1240px);
  }
}
