:root {
	--clr-bone: #fff;
	--clr-dark: #050305;

	/* palette */
	--plt-accent: plum;

	--fonts-default: sans-serif, emoji;

	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.125rem;
	--text-xl: 1.25rem;
	--text-2xl: 1.5rem;
	--text-3xl: 1.875rem;
	--text-4xl: 2.25rem;
	--text-5xl: 3rem;
	--text-6xl: 3.75rem;
	--text-7xl: 4.5rem;
}

:root {
	--plt-background: var(--clr-bone);
	--plt-ink: var(--clr-dark);
}
@media (prefers-color-scheme: dark) {
	:root {
		--plt-background: var(--clr-dark);
		--plt-ink: var(--clr-bone);
	}
}

/* "css reset" */
*, *::before, *::after {
  box-sizing: border-box;
}
*:not(dialog) {
  margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
* {
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

:root {
	font-family: var(--fonts-default);
	color: var(--plt-ink);
	background: var(--plt-background);
}

body {
	width: 100%;
}
