/* Fonts declared for when visible text is added (nothing renders in them yet). */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Roslindale";
  src: url("/fonts/roslindale-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --brand: oklch(56% 0.224 12); /* crimson accent */

  --background: oklch(92% 0.033 350);
  --text: oklch(20% 0.016 56);
  --circle: var(--brand); /* circle around the heart */
  --heart: oklch(100% 0 0); /* heart shape (white) */
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: oklch(40% 0.115 350);
    --text: oklch(100% 0 0); /* white */
    --circle: oklch(100% 0 0); /* white */
    --heart: var(--brand); /* crimson */
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 64px;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, sans-serif;
}

h1 {
  margin: 0;
}

svg {
  overflow: visible;
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
}

svg [fill="#1c140f"] { fill: var(--text); }
svg [fill="#d70050"] { fill: var(--circle); }
svg [fill="#fff"]    { fill: var(--heart); }
