:root {
  --bg: #f6f4ef;
  --fg: #1c1b19;
  --muted: #6b675f;
  --accent: #c2410c;
  --line: #d9d4c8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --fg: #ece8df;
    --muted: #9a958a;
    --accent: #fb923c;
    --line: #2a2926;
  }
}

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

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

body {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}

.status {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.note {
  margin: 0.75rem 0 0;
  max-width: 30rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

a {
  color: var(--fg);
  text-underline-offset: 0.2em;
}

/* Three bars that rise in turn: a quiet "building" signal. */
.mark {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 28px;
  margin-bottom: 1.75rem;
}

.mark span {
  display: block;
  width: 6px;
  height: 100%;
  border-radius: 1px;
  background: var(--accent);
  transform-origin: bottom;
  animation: build 1.8s ease-in-out infinite;
}

.mark span:nth-child(2) {
  animation-delay: 0.2s;
}

.mark span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes build {
  0%, 100% { transform: scaleY(0.3); opacity: 0.55; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .mark span {
    animation: none;
    transform: scaleY(0.7);
  }
}

footer {
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
