/* Shared by the standalone /privacy and /legal pages. Like
   optomechanical-software.html these live in public/, outside the Vite +
   Tailwind build, so the brand ramp is spelled out as literal hex mirroring
   index.css's @theme tokens (see docs/STYLE_GUIDE.md, "When a raw hex is
   legitimate"). */
:root {
  --brand-50: #eff6ff;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-900: #1e3a8a;
  --eng-gray: #64748b;
  --eng-dark: #0f172a;
  --eng-paper: #f8fafc;
  --line: #e5e7eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--eng-paper);
  color: var(--eng-dark);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #f3f4f6;
}

.bar {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--brand-900);
  text-decoration: none;
}

.wordmark span { color: var(--brand-500); }

.bar nav { display: flex; gap: 1.5rem; }
.bar nav a { font-size: 0.875rem; font-weight: 500; color: var(--eng-gray); text-decoration: none; }
.bar nav a:hover { color: var(--brand-600); }

main { max-width: 48rem; margin: 0 auto; padding: 3rem 1.5rem 4rem; }

h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--brand-900);
  margin: 0 0 0.5rem;
}

.updated { font-size: 0.875rem; color: var(--eng-gray); margin: 0 0 2rem; }

h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.015em; margin: 2.5rem 0 0.75rem; }

p, li, td, th { color: #334155; }
a { color: var(--brand-600); }

table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); }
th { color: var(--eng-dark); font-weight: 600; background: #fff; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.card p { margin: 0.25rem 0; }

footer.site {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #94a3b8;
}

footer.site nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin-bottom: 1rem; }
footer.site nav a { color: var(--eng-gray); text-decoration: none; }
footer.site nav a:hover { color: var(--brand-600); }

@media (max-width: 640px) {
  h1 { font-size: 1.875rem; }
  .bar nav { display: none; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-bottom: none; padding: 0.25rem 0; }
  td::before { content: attr(data-label); display: block; font-weight: 600; color: var(--eng-dark); }
  tr { border-bottom: 1px solid var(--line); padding: 0.75rem 0; }
}
