/* ============================================================
   LEGAL PAGES — privacy, terms
   ============================================================ */

.legal-page { max-width: 780px; margin: 100px auto 80px; padding: 0 24px; }
.legal-header { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.legal-header h1 { color: var(--brand); margin: 0 0 8px; }
.legal-effective { color: var(--text-soft); font-size: 0.88rem; margin: 0; }
.legal-body { line-height: 1.8; color: var(--text); }
.legal-body h2 { font-size: 1.1rem; font-weight: 700; margin: 2em 0 0.6em; color: var(--text); }
.legal-body p { margin: 0 0 1.2em; font-size: 0.95rem; }
.legal-body a { color: var(--brand); text-decoration: underline; }
.legal-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; gap: 24px; }
.legal-footer a { font-size: 0.88rem; font-weight: 600; color: var(--text-soft); text-decoration: none; }
.legal-footer a:hover { color: var(--brand); }

/* ============================================================
   404 PAGE
   ============================================================ */

.error-page {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%;
  min-height: calc(100vh - 120px);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
}
.error-page h1 { font-size: 6rem; color: var(--brand); font-weight: bold; margin-bottom: 20px; }
.error-page p { font-size: 1.5rem; color: var(--text); margin-bottom: 30px; }

.quote { font-style: italic; color: #555; margin-bottom: 40px; font-size: 1.2rem; }
.direct { color: #555; margin-bottom: 40px; font-size: 1rem !important; }

.error-page .button-container { display: flex; gap: 10px; }
.error-page a, .error-page button {
  display: inline-block; padding: 15px 30px;
  background-color: #D7153A; color: white;
  font-size: 1.1rem; font-weight: bold; text-decoration: none;
  border-radius: 5px; border: none; cursor: pointer; transition: background-color 0.3s;
}
.error-page a:hover, .error-page button:hover { background-color: #a1122f; }
.error-page button { display: flex; align-items: center; justify-content: center; gap: 5px; }
.error-page button i { font-size: 1.2rem; }

@media (max-width: 768px) {
  .error-page h1 { font-size: 4rem; }
  .error-page p { font-size: 1.2rem; }
  .error-page a, .error-page button { font-size: 1rem; padding: 12px 25px; }
}