/**
 * /about - demo-style auth shell (matches /demo panel, typography, cards)
 */

body.auth-page--about .auth-form--about-page,
body.auth-page--terms .auth-form--about-page,
body.auth-page--privacy .auth-form--about-page,
body.auth-page--opt-out .auth-form--about-page,
body.auth-page--contact .auth-form--about-page,
body.auth-page--gdpr .auth-form--about-page {
  max-width: none;
}

body.auth-page--about .auth-form--about-page .auth-title,
body.auth-page--about .auth-form--about-page .auth-subtitle,
body.auth-page--terms .auth-form--about-page .auth-title,
body.auth-page--terms .auth-form--about-page .auth-subtitle,
body.auth-page--privacy .auth-form--about-page .auth-title,
body.auth-page--privacy .auth-form--about-page .auth-subtitle,
body.auth-page--opt-out .auth-form--about-page .auth-title,
body.auth-page--opt-out .auth-form--about-page .auth-subtitle,
body.auth-page--contact .auth-form--about-page .auth-title,
body.auth-page--contact .auth-form--about-page .auth-subtitle,
body.auth-page--gdpr .auth-form--about-page .auth-title,
body.auth-page--gdpr .auth-form--about-page .auth-subtitle {
  text-align: left;
}

body.auth-page--about .auth-form--about-page .auth-title,
body.auth-page--terms .auth-form--about-page .auth-title,
body.auth-page--privacy .auth-form--about-page .auth-title,
body.auth-page--opt-out .auth-form--about-page .auth-title,
body.auth-page--contact .auth-form--about-page .auth-title,
body.auth-page--gdpr .auth-form--about-page .auth-title {
  margin-bottom: 0.35rem;
}

body.auth-page--about .auth-form--about-page .auth-subtitle,
body.auth-page--terms .auth-form--about-page .auth-subtitle,
body.auth-page--privacy .auth-form--about-page .auth-subtitle,
body.auth-page--opt-out .auth-form--about-page .auth-subtitle,
body.auth-page--contact .auth-form--about-page .auth-subtitle,
body.auth-page--gdpr .auth-form--about-page .auth-subtitle {
  margin-bottom: 0.85rem;
}

.about-site-page {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.about-site-updated {
  display: inline-block;
  margin: 0 0 1.15rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 999px;
}

html[data-mantine-color-scheme="light"] .about-site-updated {
  color: #1d4ed8;
  background: rgba(219, 234, 254, 0.95);
  border-color: rgba(59, 130, 246, 0.28);
}

.about-site-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.about-site-toc__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-right: 0.15rem;
}

.about-site-toc a {
  font-size: 0.78rem;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: none;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.about-site-toc a:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.28);
  color: #bfdbfe;
}

.about-site-card {
  margin-bottom: 0.85rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.about-site-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.about-site-card__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #74c0fc;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.about-site-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.about-site-card__head h2 {
  margin: 0.15rem 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.25;
}

.about-site-card__body {
  padding-left: 3rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

.about-site-card__body p {
  margin: 0 0 0.75rem;
}

.about-site-card__body p:last-child {
  margin-bottom: 0;
}

.about-site-card__body ul {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.15rem;
}

.about-site-card__body li {
  margin-bottom: 0.35rem;
}

.about-site-card__body a {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(147, 197, 253, 0.45);
  text-underline-offset: 0.12em;
}

.about-site-card__body a:hover {
  color: #bfdbfe;
  text-decoration-color: rgba(191, 219, 254, 0.65);
}

.about-site-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about-site-plans li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.about-site-plans strong {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
}

.about-site-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(59, 130, 246, 0.28);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.about-site-note__ic {
  flex-shrink: 0;
  color: #74c0fc;
}

.about-site-back {
  display: inline-block;
  margin-top: 0.25rem;
}

.about-site-actions {
  margin-top: 1.5rem;
}

/* Light mode */
html[data-mantine-color-scheme="light"] .about-site-toc {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.03);
}

html[data-mantine-color-scheme="light"] .about-site-toc__label {
  color: #64748b;
}

html[data-mantine-color-scheme="light"] .about-site-toc a {
  color: #2563eb;
}

html[data-mantine-color-scheme="light"] .about-site-toc a:hover {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.22);
}

html[data-mantine-color-scheme="light"] .about-site-card {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.03);
}

html[data-mantine-color-scheme="light"] .about-site-card__icon {
  color: #1c7ed6;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.28);
}

html[data-mantine-color-scheme="light"] .about-site-card__head h2 {
  color: #0f172a;
}

html[data-mantine-color-scheme="light"] .about-site-card__body {
  color: #64748b;
}

html[data-mantine-color-scheme="light"] .about-site-plans li {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-mantine-color-scheme="light"] .about-site-plans strong {
  color: #1e293b;
}

html[data-mantine-color-scheme="light"] .about-site-card__body a {
  color: #2563eb;
}

html[data-mantine-color-scheme="light"] .about-site-note {
  border-color: rgba(59, 130, 246, 0.28);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.06) 0%, #fff 100%);
  color: #64748b;
}

html[data-mantine-color-scheme="light"] .about-site-note__ic {
  color: #1c7ed6;
}

@media (max-width: 40em) {
  .about-site-card__body {
    padding-left: 0;
  }

  .about-site-plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 22rem) {
  .about-site-plans {
    grid-template-columns: 1fr;
  }
}
