/**
 * Standalone widget terms page — prose layout inside wf-app-shell.
 */
.wf-terms-page {
  max-width: 42rem;
}

.wf-terms-page h1 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 0.35rem;
}

.wf-terms-meta {
  font-size: 13px;
  color: var(--wf-text, #5a5a7a);
  margin: 0 0 1.25rem;
}

.wf-terms-back {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 1rem;
  color: var(--wf-brand, #000099);
  text-decoration: none;
  font-weight: 600;
}

.wf-terms-back:hover {
  text-decoration: underline;
}

.wf-terms-back:focus-visible {
  outline: 2px solid var(--wf-brand, #000099);
  outline-offset: 3px;
  border-radius: 4px;
}

.wf-terms-prose {
  font-size: 14px;
  line-height: 1.55;
  color: #3d3d52;
}

.wf-terms-prose h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1a2e;
  margin: 1.5rem 0 0.5rem;
}

.wf-terms-prose h2:first-of-type {
  margin-top: 0;
}

.wf-terms-prose p {
  margin: 0 0 0.75rem;
}

.wf-terms-prose ol,
.wf-terms-prose ul {
  margin: 0 0 0.75rem;
  padding-left: 1.35rem;
}

.wf-terms-prose li {
  margin-bottom: 0.35rem;
}

.wf-terms-prose a {
  color: var(--wf-brand, #000099);
  font-weight: 600;
}

.wf-terms-note {
  font-size: 13px;
  color: var(--wf-text, #5a5a7a);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--wf-border, #e2e4e8);
}
