/* Colour tokens for the landing pages. Dark is the default; light applies
   when the visitor's device is set to light mode. */
:root {
  color-scheme: dark;
  --bg: #050505;
  --text: #f5f5f7;
  --text-body: #c4c4cc;
  --muted: #a1a1aa;
  --faint: #52525b;
  --subtle: #71717a;
  --placeholder: #6b6b72;
  --surface: #121214;
  --border: #2a2a30;
  --link: #c79bff;
  --accent: #c084fc;
  --accent-bg: rgba(139, 47, 245, 0.12);
  --accent-border: rgba(192, 132, 252, 0.35);
  --button-glow: rgba(139, 47, 245, 0.45);
  --button-glow-hover: rgba(139, 47, 245, 0.65);
  --success: #9ef5b0;
  --success-bg: rgba(158, 245, 176, 0.06);
  --success-border: rgba(158, 245, 176, 0.35);
  --toast-bg: #0f1a12;
  --error: #f57b7b;
  --shadow: rgba(0, 0, 0, 0.55);
  --mockup-shadow: rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f7f7f9;
    --text: #111114;
    --text-body: #3f3f46;
    --muted: #5c5c66;
    --faint: #8a8a93;
    --subtle: #71717a;
    --placeholder: #9a9aa3;
    --surface: #ffffff;
    --border: #d9d9e0;
    --link: #7a1fe0;
    --accent: #7c22e6;
    --accent-bg: rgba(139, 47, 245, 0.08);
    --accent-border: rgba(139, 47, 245, 0.3);
    --button-glow: rgba(139, 47, 245, 0.25);
    --button-glow-hover: rgba(139, 47, 245, 0.4);
    --success: #15803d;
    --success-bg: rgba(22, 163, 74, 0.07);
    --success-border: rgba(22, 163, 74, 0.35);
    --toast-bg: #f0fdf4;
    --error: #c62828;
    --shadow: rgba(0, 0, 0, 0.12);
    --mockup-shadow: rgba(0, 0, 0, 0.22);
  }
}

/* Let the logo <img> inside <picture> lay out as if it were the direct child. */
picture {
  display: contents;
}
