:root {
  color-scheme: light dark;
}

@font-face {
  font-family: "atipo-rg";
  src: url("atipo-regular.woff") format("woff");
}
@font-face {
  font-family: "atipo-bd";
  src: url("atipo-bold.woff") format("woff");
}
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: atipo-rg, system-ui;
  line-height: 1;
  color: light-dark(black, white);
  background: light-dark(white, black);
  height: 100vh;
  margin: 0;
}

header,
main {
  margin: clamp(1rem, 0.676rem + 2.353vw, 2.5rem);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header nav {
  display: flex;
}
header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
header nav ul li {
  font-size: 1.1rem;
  line-height: 1;
}
header svg {
  height: 1.1rem;
  width: auto;
  fill: light-dark(black, white);
}

main {
  padding-bottom: 1.8vw;
  /* 9vw * 0.2 (subtracted line height) */
}
main p {
  font-family: atipo-bd, system-ui;
  font-size: 8.5vw;
  line-height: 0.8;
  font-weight: bold;
}
main p span {
  display: block;
}
main p sup {
  font-family: atipo-rg, system-ui;
  font-size: 0.5em;
}
