/* ---------------------------------------------
   PP Mori
   Drop your licensed font files into /fonts and
   uncomment the weights you have. Falls back to
   a clean system sans until then.
--------------------------------------------- */
@font-face {
  font-family: 'PP Mori';
  src: url('fonts/PPMori-Regular.otf') format('otf'),
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fffbf5;
  --text-muted: #8D8987;
  --text-strong: #17171A;
  --max-width: 640px;
  --fade-duration: 1.1s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  font-family: 'PP Mori', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text-strong);
  min-height: 100vh;
  display: flex;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* page-load fade-in */
  opacity: 0;
  animation: fade-in var(--fade-duration) ease-out forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
    opacity: 1;
  }
}

.page {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px;
}

p {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

a {
  color: var(--text-strong);
  text-decoration: none;
  transition: color .2s;
}

a:hover,
a:focus-visible {
  color: var(--text-muted);
  /* text-decoration: underline; */
  /*text-underline-offset: 3px;*/
}


.link-row {
  line-height: 1.4;
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 400;
  width: fit-content;
}

.arrow {
  display: inline-block;
}

a:focus-visible {
  /* outline: 2px solid var(--text-strong); */
}

/* ---------------------------------------------
   Responsive
--------------------------------------------- */
@media (max-width: 640px) {
  p {
    font-size: 18px;
  }

  .page {
    padding: 18px;
  }

}
