/* fibtec-docugen legal pages (privacy.html, terms.html) — static files served as-is from public/, outside Vite's module
   graph, so this holds the relevant subset of the portal's styles rather than importing a hashed build asset that would
   not resolve here. Derived from fibtec-etlgen's legal.css (same palette and layout); keep the two in step by hand.
   Differences from etlgen's: no web-font import (system fonts, so a page load makes no request to a third party), and
   the .draft-banner / .todo rules for the draft stage. */


:root {
  --dg-ink: #1f1e1d;
  --dg-muted: #6b6862;
  --dg-line: rgba(31, 30, 29, 0.08);
  --dg-accent: #a84a2e;
  --dg-accent-dark: #8a3d26;
  --dg-sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --dg-serif: Georgia, 'Times New Roman', serif;
  --dg-radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--dg-sans);
  color: var(--dg-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 {
  font-family: var(--dg-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--dg-ink);
  text-decoration: none;
}

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

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

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

.legal-doc h1 {
  font-family: var(--dg-serif);
  font-size: 1.85rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.legal-doc .legal-updated {
  color: var(--dg-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(--dg-line);
}

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

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

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

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

.legal-doc a {
  color: var(--dg-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(--dg-line);
  padding: 0.5rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-doc th {
  background: var(--dg-surface, #faf9f5);
}

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

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

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

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

/* The draft stage. The banner and the .todo marks are what the publication check looks for: a page that still has either
   is not ready to be linked from a plugin manifest or a submission. */
.draft-banner {
  background: #fff4d6;
  border: 1px solid #e0b84c;
  border-radius: var(--dg-radius);
  padding: 0.75rem 1rem;
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.todo {
  background: #fff4d6;
  border-bottom: 1px dashed #b8860b;
}
