/* Legal pages (privacy policy, terms); see src/marketing/legal/README.md.
   Colours and type follow the public site's tokens in ../site.css. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/BricolageGrotesque-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Inter-SemiBold.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --bg: #0a0a11;
  --ink: #f3f1f8;
  --muted: #b9b6c8;
  --rule: rgba(255, 255, 255, 0.1);
  --link: #b3a3ff;
  --draft-bg: #3a2f0b;
  --draft-ink: #fbe7a8;
  --mark: rgba(242, 196, 109, 0.28);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f7f4fa;
    --ink: #16131f;
    --muted: #4b475e;
    --rule: rgba(30, 20, 60, 0.11);
    --link: #4b32d9;
    --draft-bg: #fff3cd;
    --draft-ink: #5c4400;
    --mark: #fde68a;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.65 "Inter",
    system-ui,
    sans-serif;
}
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem max(20px, env(safe-area-inset-right, 0px)) 4rem
    max(20px, env(safe-area-inset-left, 0px));
}
.draft {
  background: var(--draft-bg);
  color: var(--draft-ink);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 600;
}
nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
a {
  color: var(--link);
}
h1,
h2 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 1.5rem 0 0.5rem;
}
h2 {
  font-size: 1.35rem;
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.meta {
  color: var(--muted);
}
mark {
  background: var(--mark);
  color: inherit;
  padding: 0 0.2em;
  border-radius: 4px;
}
li {
  margin: 0.25rem 0;
}
