/* Google-style four-dot loader — static WIP page (no inline styles for CSP) */
:root {
  color-scheme: light dark;
  --dot-blue: #4285f4;
  --dot-red: #ea4335;
  --dot-yellow: #fbbc04;
  --dot-green: #34a853;
  --bg: #fafafa;
  --fg: #1f1f1f;
  --muted: #5f6368;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131314;
    --fg: #e8eaed;
    --muted: #9aa0a6;
  }
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

main {
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 28rem;
}

.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 2rem;
  height: 2.5rem;
}

.dot {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  animation: dot-wave 1.4s ease-in-out infinite;
  transform: translateY(0);
  will-change: transform;
}

.dot:nth-child(1) {
  background: var(--dot-blue);
  animation-delay: 0s;
}
.dot:nth-child(2) {
  background: var(--dot-red);
  animation-delay: 0.12s;
}
.dot:nth-child(3) {
  background: var(--dot-yellow);
  animation-delay: 0.24s;
}
.dot:nth-child(4) {
  background: var(--dot-green);
  animation-delay: 0.36s;
}

@keyframes dot-wave {
  0%,
  60%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.85;
  }
  30% {
    transform: translateY(-0.65rem) scale(1.05);
    opacity: 1;
  }
}

h1 {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
