@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f8fa;
  --ink: #101217;
  --accent: #244de5;
  --sans: 'Manrope', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 56px;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { color: #fff; background: var(--accent); }

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(1240px, 100%);
  text-align: center;
}

.art {
  width: min(100%, 430px);
  margin-bottom: -8px;
}

.art img {
  /* The logo ships flattened onto --paper, so it needs no blend mode or mask:
     opacity simply fades it toward a background it already matches exactly. */
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  opacity: .68;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 8rem);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -.072em;
}

.accent-period { color: var(--accent); }

@media (max-width: 1050px) {
  body { padding: 40px 36px; }
}

@media (max-width: 720px) {
  body { padding: 32px 24px; }
  .art { width: min(100%, 330px); }
}

@media (prefers-reduced-motion: no-preference) {
  main { animation: rise 620ms cubic-bezier(.22,.61,.36,1) both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}
