:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background: #f7f7f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  min-width: 0;
  background: #f7f7f6;
}

body {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: #f7f7f6;
}

.page {
  display: grid;
  place-items: center;
  width: 100%;
  padding: clamp(3rem, 10vw, 8rem) 1.5rem;
}

.notice {
  width: min(100%, 34rem);
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  animation: title-appear 1.2s ease-out both;
}

.rule {
  width: 2.5rem;
  height: 1px;
  margin: 2rem auto;
  background: #8b8b87;
}

p {
  margin: 0;
  color: #3f3f3d;
  font-size: clamp(1rem, 2.2vw, 1.0625rem);
  line-height: 1.7;
}

.secondary {
  margin-top: 0.3rem;
  color: #666662;
}

footer {
  padding: 0 1.5rem 1.5rem;
  color: #686864;
  text-align: center;
}

small {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 3px;
}

@keyframes title-appear {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  h1 {
    animation: none;
  }
}
