@font-face {
  font-family: Nunito;
  src: url('/assets/maintenance-nunito.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  background: #0b0b10;
  color: #f7f4f1;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background:
    radial-gradient(ellipse 420px 360px at 50% 44%, #f34b2510, transparent 80%),
    #0b0b10;
}

main {
  width: 100%;
  text-align: center;
}

.logo {
  display: block;
  width: clamp(210px, 26vw, 300px);
  max-width: 76%;
  height: auto;
  margin: 0 auto 36px;
  filter: drop-shadow(0 18px 35px #0006);
  animation: arrive 1.2s ease-out both, float 6s 1.2s ease-in-out infinite;
}

h1 {
  margin: 0;
  font-size: clamp(25px, 4.4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
  animation: arrive 1.2s .15s ease-out both;
}

h1 span { color: #ffb37c; }

@keyframes arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-height: 560px) and (min-width: 600px) {
  body { padding-block: 24px; }
  .logo { width: 170px; margin-bottom: 20px; }
  h1 { font-size: 30px; }
}

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