/* TenGrade legal pages (privacy.html, terms.html) — static files served
   as-is from public/, outside Vite's module graph, so this duplicates the
   relevant subset of src/styles.css rather than importing a hashed build
   asset that wouldn't resolve here. Keep the two files in sync by hand. */

:root {
  --tg-ink: #0f172a;
  --tg-muted: #64748b;
  --tg-line: #e8edf3;
  --tg-accent: #1d4ed8;
  --tg-accent-dark: #1e40af;
  --tg-radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--tg-ink);
  background: #ffffff;
}

.marketing-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.marketing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.marketing-nav .brand-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--tg-ink);
  text-decoration: none;
}

.brand-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.btn-primary {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--tg-accent);
  color: #fff;
  border-radius: var(--tg-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: var(--tg-accent-dark);
}

.legal-doc {
  border-top: 1px solid var(--tg-line);
  padding-top: 2rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.legal-doc h1 {
  font-size: 1.75rem;
  margin: 0 0 0.25rem;
}

.legal-doc .legal-updated {
  color: var(--tg-muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.legal-doc h2 {
  font-size: 1.2rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tg-line);
}

.legal-doc h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.75rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--tg-ink);
  font-size: 1rem;
}

.legal-doc ul {
  padding-left: 1.25rem;
}

.legal-doc li + li {
  margin-top: 0.5rem;
}

.legal-doc a {
  color: var(--tg-accent);
}

.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.legal-doc th,
.legal-doc td {
  border: 1px solid var(--tg-line);
  padding: 0.5rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-doc th {
  background: #f8fafc;
}

.marketing-footer {
  border-top: 1px solid var(--tg-line);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  color: var(--tg-muted);
  font-size: 0.875rem;
}

.marketing-footer a {
  color: var(--tg-muted);
}

.marketing-footer .footer-links {
  margin-top: 0.5rem;
}

.marketing-footer .footer-links a + a {
  margin-left: 1rem;
}
