/* ADVRTISE legal pages (privacy policy, cookie policy).
   Same tokens, header and footer as the thank-you page, plus simple article
   typography. These pages had no styling at all on the WordPress site. */
:root {
  --color-bg-primary: #0c1219;
  --color-bg-card: #1a1f26;
  --color-text-primary: #f4f3f0;
  --color-text-secondary: #8a9eae;
  --color-accent: #EF4902;
  --color-accent-hover: #d63d00;
  --color-border-dark: rgba(255,255,255,0.08);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --content-max: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--color-accent); color: #fff; }

/* ============ HEADER ============ */
.header {
  padding: var(--space-4) clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--color-border-dark);
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.logo { display: flex; align-items: center; }
.logo-img { display: block; height: 30px; width: auto; }
.back-link {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: color 0.2s;
}
.back-link:hover { color: var(--color-text-primary); }
.back-link svg { width: 14px; height: 14px; }

/* ============ ARTICLE ============ */
main { flex: 1; }
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}
.legal .updated {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--space-12);
}
.legal h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  margin: var(--space-8) 0 var(--space-2);
}
.legal p { color: #c9d1d9; margin-bottom: var(--space-4); }
.legal p strong { color: var(--color-text-primary); }
.legal a { color: var(--color-accent); }
.legal a:hover { color: var(--color-accent-hover); text-decoration: underline; }

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--color-border-dark);
  padding: var(--space-8) clamp(1rem, 4vw, 3rem);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}
.footer-inner a { color: var(--color-accent); font-weight: 500; }
