@font-face {
  font-family: "Valkyrie";
  src: url("./fonts/valkyrie.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #fafafa;
  --foreground: #111111;

  --logo-width: clamp(340px, 23vw, 480px);
  --logo-gap: clamp(8px, 1.5vw, 20px);

  --text-size: clamp(23px, 1.55vw, 29px);
  --text-width: 20em;
}

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

  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-touch-callout: none;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;

  background: var(--background);

  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;

  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--foreground);
  font-family: "Valkyrie", Georgia, "Times New Roman", serif;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  width: 100%;
  height: 100%;

  padding: 48px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  display: block;

  width: var(--logo-width);
  height: auto;

  margin: -20px 0 var(--logo-gap);

  pointer-events: none;
  -webkit-user-drag: none;
}

.intro {
  width: min(100%, var(--text-width));

  text-align: center;

  font-size: var(--text-size);
  line-height: 1.09;
  letter-spacing: -0.052em;
}

.intro p {
  margin: 0;
}

.intro p + p {
  margin-top: 1.52em;
}

em {
  font-style: italic;
}

::selection {
  background: transparent;
}

::-moz-selection {
  background: transparent;
}

@media (max-width: 700px) {
  :root {
    --logo-width: clamp(200px, 52vw, 280px);
    --text-size: clamp(21px, 6vw, 24px);
    --text-width: 15.5em;
  }

  .page {
    padding: 24px;
  }
}
