/* ============================================================================
   Project Engineer — Legal Page Styles
   File: css/legal.css

   Copyright (c) 2026 Project Engineer. All rights reserved.

   Purpose:
   - Long-form, readable layout for Terms of Service and Privacy Policy
   - Consistent brand language with the auth pages (teal accent, clean white)
   - Mobile-first, responsive
============================================================================ */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #1f2937;
  line-height: 1.6;
  padding: 0 16px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 64px 0;
}

/* ===== Brand header ===== */
.brand {
  font-size: 26px;
  font-weight: 900;
  color: #111827;
  text-align: center;
  margin-bottom: 4px;
}

.brand-sub {
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 32px;
}

/* ===== Titles ===== */
h1 {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

.meta {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 28px;
}

h2 {
  font-size: 19px;
  font-weight: 700;
  color: #0f766e;
  margin: 28px 0 8px 0;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 18px 0 4px 0;
}

p {
  font-size: 16px;
  color: #374151;
  margin-bottom: 12px;
}

a {
  color: #0f766e;
  font-weight: 600;
}

/* ===== Divider + footer ===== */
.divider {
  height: 1px;
  background: #e5e7eb;
  margin: 40px 0 24px 0;
}

.logo {
  display: block;
  margin: 0 auto 12px auto;
  width: 84px;
}

.footer-text {
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.5;
}

.footer-text a {
  color: #9ca3af;
  text-decoration: underline;
}
