/* =============================================
   Text Page — legal, privacy, terms, etc.
   ============================================= */

.textPage {
  padding: 120px 0 80px;
  min-height: 60vh;
}

/* Breadcrumb */
.textPage__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 40px;
}

.textPage__breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.textPage__breadcrumb a:hover {
  color: #2DD4BF;
}

.textPage__breadcrumbSep {
  color: rgba(255, 255, 255, 0.2);
}

/* Header */
.textPage__header {
  max-width: 720px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.textPage__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 16px;
}

.textPage__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* Content — WYSIWYG prose styles */
.textPage__content {
  max-width: 720px;
}

.textPage__content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin: 48px 0 16px;
}

.textPage__content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin: 40px 0 12px;
}

.textPage__content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin: 32px 0 8px;
}

.textPage__content p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 20px;
}

.textPage__content ul,
.textPage__content ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.65);
}

.textPage__content li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.textPage__content ul li::marker {
  color: #2DD4BF;
}

.textPage__content ol li::marker {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  font-feature-settings: 'tnum';
}

.textPage__content a {
  color: #2DD4BF;
  text-decoration: underline;
  text-decoration-color: rgba(45, 212, 191, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.textPage__content a:hover {
  text-decoration-color: #2DD4BF;
}

.textPage__content strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.textPage__content blockquote {
  margin: 32px 0;
  padding: 16px 24px;
  border-left: 3px solid #2DD4BF;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 8px 8px 0;
}

.textPage__content blockquote p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.textPage__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9375rem;
}

.textPage__content th,
.textPage__content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
}

.textPage__content th {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.textPage__content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 40px 0;
}

/* Footer — back link */
.textPage__footer {
  max-width: 720px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.textPage__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.textPage__back:hover {
  color: #2DD4BF;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .textPage {
    padding: 100px 0 60px;
  }

  .textPage__header {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }

  .textPage__content h2 {
    margin-top: 36px;
  }

  .textPage__content h3 {
    margin-top: 28px;
  }

  .textPage__content th,
  .textPage__content td {
    padding: 8px 12px;
    font-size: 0.875rem;
  }

  .textPage__footer {
    margin-top: 48px;
  }
}
