/* Preserved legal-page styling from the audited static site. */
:root {
  color-scheme: light;
  --bg: #f4f4f5;
  --surface: #ffffff;
  --surface-muted: #fafafa;
  --text: #18181b;
  --text-muted: #52525b;
  --border: #e4e4e7;
  --accent: #18181b;
  --link: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--link);
}

a:hover {
  opacity: 0.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.site-header-inner,
.page,
.site-footer-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-decoration: none;
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page {
  padding: 40px 0 64px;
}

.hero,
.content-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(24, 24, 27, 0.04);
}

.hero {
  padding: 32px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.privacy-meta span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.content-card {
  padding: 12px 0;
  overflow: hidden;
}

.section {
  padding: 28px 32px;
}

.section + .section {
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

h3 {
  margin: 20px 0 8px;
  font-size: 1rem;
}

p,
ul {
  margin: 0 0 14px;
  color: var(--text-muted);
}

ul {
  padding-left: 20px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-muted);
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0 36px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .site-header-inner {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .section {
    padding: 24px 20px;
  }
}
