@font-face {
  font-family: "TeX Gyre Pagella";
  src: url("./assets/texgyrepagella-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #2b2b29;
  --marker-ink: #77746d;
  background: var(--paper);
  color: var(--ink);
  font-family: "TeX Gyre Pagella", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100svh;
  background: var(--paper);
  transition: background-color 2600ms ease;
}

main {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  width: 100%;
  min-height: 100svh;
  padding: clamp(3rem, 7svh, 5rem) clamp(1.25rem, 5vw, 4rem) clamp(4rem, 13svh, 9rem);
}

.statement {
  display: grid;
  gap: 0.3em;
  width: min(100%, 46rem);
  font-size: clamp(1.375rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: 0.002em;
}

p {
  display: grid;
  grid-template-columns: 0.9em minmax(0, 1fr);
  column-gap: 0.55em;
  margin: 0;
}

.marker {
  color: var(--marker-ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.85em;
  line-height: 1.7647;
  user-select: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

::selection {
  color: #20201e;
  background: #e0ded4;
}

@media (max-width: 700px) {
  main {
    align-content: start;
    padding: clamp(2.5rem, 7svh, 4rem) clamp(1.25rem, 6vw, 2.5rem) 3rem;
  }

  .statement {
    max-width: 29rem;
    font-size: clamp(1.1875rem, 4.9vw, 1.25rem);
    line-height: 1.45;
  }

  .marker {
    line-height: 1.7059;
  }
}

[hidden] { display:none!important; }
