:root {
  color-scheme: only light;
  background: #f7f7f5;
  color: #1b1d22;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body { margin: 0; }

main {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(2rem, env(safe-area-inset-top))
    max(1.25rem, env(safe-area-inset-right))
    max(2rem, env(safe-area-inset-bottom))
    max(1.25rem, env(safe-area-inset-left));
}

.identity {
  width: min(100%, 880px);
  text-align: center;
}

h1 { margin: 0; font-size: inherit; }

.logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  object-position: center;
  mask-image: radial-gradient(ellipse at center, #000 82%, transparent 100%);
}

p {
  margin: clamp(0.8rem, 2vw, 1.5rem) 0 0;
  color: #2d3036;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

@media (max-width: 480px) {
  main { padding-inline: 0.5rem; }
  p { padding-inline: 1rem; }
}

@media print {
  main { min-height: auto; padding: 2rem; background-image: none; }
  .identity { break-inside: avoid; }
}
