/* =========================================================
   TACTI COACH — LEGAL PAGES (privacy policy, terms of use)
   Standalone, no-auth-required pages — shares the app's dark/gold
   identity but not the authenticated app-shell (sidebar/topbar),
   since these must stay reachable by anyone (App Store reviewers,
   prospective users) without signing in.
   ========================================================= */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f5f6f8;
  color: #374151;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.legal-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid #f3f4f6;
}

.legal-topbar img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.legal-topbar span {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.legal-topbar a.legal-back {
  margin-left: auto;
  color: #2f8aff;
  font-size: 13.5px;
  text-decoration: none;
  font-weight: 600;
}

.legal-topbar a.legal-back:hover { text-decoration: underline; }

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

.legal-wrap h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 4vw, 34px);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}

.legal-updated {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 36px;
}

.legal-wrap h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 19px;
  color: #2f8aff;
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3f4f6;
}

.legal-wrap h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 15px;
  margin: 22px 0 8px;
}

.legal-wrap p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 14px;
}

.legal-wrap ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-wrap li {
  font-size: 14.5px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 6px;
}

.legal-wrap strong { color: #374151; }

.legal-wrap a { color: #2f8aff; }

.legal-table-wrap { overflow-x: auto; margin-bottom: 16px; }

table.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

table.legal-table th {
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  padding: 8px 12px;
  border-bottom: 1px solid #f3f4f6;
}

table.legal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ffffff;
  color: #374151;
  vertical-align: top;
}

.legal-note {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-left: 3px solid #2f8aff;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #374151;
  margin: 16px 0;
}

.legal-placeholder {
  color: #dc2626;
  font-weight: 600;
}
