/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Component classes like .card set their own `display`, which otherwise wins
   over the UA stylesheet's [hidden] rule at equal specificity. */
[hidden] {
  display: none !important;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* Design tokens */
:root {
  --color-primary: #d5006d;
  --color-primary-dark: #a3004f;
  --color-secondary: #1b2a4a;
  --color-accent: #f2b705;

  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f2;
  --color-text: #1f1f1f;
  --color-text-muted: #5a5a5a;
  --color-border: #e0ddd8;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;

  --radius: 10px;
  --max-width: 1120px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.9rem, 3vw + 1rem, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.1rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--color-text-muted);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
