/* Shared styles for legal/info pages (about, terms, privacy, accessibility) */

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Heebo', "Segoe UI", Tahoma, Arial, sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.7;
  font-size: 14px;
}

/* Header */
.page-header {
  background: linear-gradient(135deg, #215967 0%, #31869B 100%);
  color: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.page-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.page-header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.page-back {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.15s;
}
.page-back:hover {
  background: rgba(255,255,255,0.3);
}

/* Main content */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  min-height: 60vh;
}

.page-content section {
  margin-bottom: 28px;
}

.page-content section:last-child {
  margin-bottom: 0;
}

.page-content h2 {
  color: #215967;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #DAEEF3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-content .section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #DAEEF3;
  color: #215967;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.page-content h3 {
  color: #31869B;
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 8px;
}

.page-content p {
  margin: 0 0 12px;
  text-align: justify;
}

.page-content p.lead {
  font-size: 14px;
  color: #334155;
  background: #F3FAFC;
  padding: 14px 16px;
  border-right: 3px solid #31869B;
  border-radius: 6px;
  margin-bottom: 22px;
}

.page-content p.lead-meta {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 18px;
}

.page-content ul {
  margin: 8px 0 14px;
  padding-right: 22px;
  text-align: justify;
}

.page-content ul li {
  margin-bottom: 6px;
}

.page-content ul.contact-block {
  list-style: none;
  padding: 12px 16px;
  background: #F3FAFC;
  border-radius: 8px;
  border-right: 3px solid #31869B;
}
.page-content ul.contact-block li {
  margin-bottom: 4px;
}

.page-content a {
  color: #215967;
  text-decoration: underline;
}
.page-content a:hover {
  color: #31869B;
}

.page-content code {
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
  color: #475569;
  direction: ltr;
  display: inline-block;
}

.page-content strong {
  color: #0f172a;
  font-weight: 700;
}

/* Footer */
.page-footer {
  margin-top: 32px;
  padding: 20px 24px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.page-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
}

.page-footer a {
  color: #215967;
  text-decoration: none;
  font-weight: 600;
}
.page-footer a:hover {
  text-decoration: underline;
}

.page-footer .sep {
  margin: 0 8px;
  color: #cbd5e1;
}

@media (max-width: 700px) {
  .page-content { padding: 20px 16px; }
  .page-header h1 { font-size: 18px; }
  .page-footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* v71: Cyan tool names in about page */
.page-content .tools-list strong {
  color: #31869B;
  font-weight: 700;
}
