/* OralCat shared stylesheet for legal/pages
   Matches the main app theme: dark, monochrome, no external fonts */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0d1117;
  color: #c9d1d9;
  min-height: 100%;
  line-height: 1.6;
}

/* Layout */
.page-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0 16px;
  border-bottom: 1px solid #21262d;
}

.page-logo {
  color: #f0f6fc;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.page-logo:hover { color: #6c63ff; }

.page-badge {
  background: #1b1b2d;
  color: #6c63ff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid #6c63ff33;
  letter-spacing: 0.3px;
}

/* Main content */
.page-content {
  flex: 1;
  padding: 32px 0;
}

.page-content h1 {
  color: #f0f6fc;
  font-size: 26px;
  margin-bottom: 8px;
}

.page-meta {
  color: #484f58;
  font-size: 13px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #21262d;
}

.page-content h2 {
  color: #f0f6fc;
  font-size: 18px;
  margin: 28px 0 12px;
}

.page-content h3 {
  color: #c9d1d9;
  font-size: 15px;
  margin: 20px 0 8px;
  font-weight: 600;
}

.page-content p {
  color: #c9d1d9;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.page-content ul {
  margin: 8px 0 16px;
  padding-left: 24px;
}

.page-content li {
  color: #c9d1d9;
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.page-content a {
  color: #6c63ff;
  text-decoration: none;
}
.page-content a:hover {
  text-decoration: underline;
  color: #8b83ff;
}

/* Table for data processing section */
.page-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 13px;
}

.page-table th {
  background: #161b22;
  color: #8b949e;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #21262d;
}

.page-table td {
  padding: 10px 14px;
  border: 1px solid #21262d;
  color: #c9d1d9;
  line-height: 1.5;
}

/* Support / Contact cards */
.support-card {
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 10px;
  padding: 20px;
  margin: 16px 0;
}

.support-card h2 {
  margin-top: 0;
  font-size: 16px;
}

.support-card p,
.support-card li {
  font-size: 14px;
}

.support-paynow {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #f0f6fc;
  margin-bottom: 8px;
}

/* Footer */
.page-footer {
  padding: 24px 0;
  border-top: 1px solid #21262d;
  text-align: center;
}

.page-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 14px;
}

.page-footer-nav a {
  color: #6c63ff;
  font-size: 13px;
  text-decoration: none;
  padding: 4px 0;
  transition: color .15s ease;
}
.page-footer-nav a:hover {
  color: #8b83ff;
  text-decoration: underline;
}
/* Keyboard focus */
.page-footer-nav a:focus-visible,
.page-logo:focus-visible {
  outline: 2px solid #6c63ff44;
  outline-offset: 2px;
  border-radius: 2px;
}

.page-footer-copy {
  color: #484f58;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 480px) {
  .page-content { padding: 20px 0; }
  .page-content h1 { font-size: 22px; }
  .page-footer-nav { gap: 6px 14px; }
  .page-footer-nav a { font-size: 12px; }
  .page-table { font-size: 12px; }
  .page-table th,
  .page-table td { padding: 8px 10px; }
}
