@font-face {
  font-family: "iA Writer Quattro V";
  src:
    url("fonts/iAWriterQuattroV.woff2") format("woff2"),
    url("fonts/iAWriterQuattroV.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "iA Writer Quattro V";
  src:
    url("fonts/iAWriterQuattroV-Italic.woff2") format("woff2"),
    url("fonts/iAWriterQuattroV-Italic.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  hanging-punctuation: first last;
}

body {
  min-height: 100svh;
  line-height: 1.5;
  font-family:
    "iA Writer Quattro V",
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p,
li,
figcaption {
  text-wrap: pretty;
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration-color: oklch(0.55 0.15 250);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

main {
  padding: 30px;
}

h1,
h2,
p {
  font-size: 15px;
  margin: 0;
}

h1 {
  font-weight: semibold;
}

h2 {
  font-weight: normal;
}

a {
  color: #055bfa;
  text-decoration: none;
}
