/* Maintenance placeholder — design tokens */
:root {
  --ink-900: #0d0f1a;
  --ink-800: #141829;
  --ink-700: #1d2238;
  --surface: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef0f7;
  --muted: #9298ad;
  --accent: #f3b052;
  --accent-soft: rgba(243, 176, 82, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  /* Self-hosted system stack — no webfont dependency, so the page renders even on a flaky route */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(243, 176, 82, 0.10), transparent 60%),
    linear-gradient(160deg, var(--ink-900) 0%, var(--ink-800) 55%, var(--ink-700) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Full-viewport centering */
.stage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1.25rem;
}

/* The card */
.card {
  width: 100%;
  max-width: 32rem;
  padding: 2.75rem 2.5rem 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  text-align: left;
}

/* Eyebrow + breathing dot */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-soft);
  animation: breathe 2.4s ease-in-out infinite;
}

/* Headline */
.headline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 6vw, 2.7rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* Supporting copy */
.lede {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Signature: indeterminate progress sweep */
.track {
  position: relative;
  height: 3px;
  margin-top: 2.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sweep {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: sweep 2.1s ease-in-out infinite;
}

/* Optional sign-off line */
.signoff {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.7;
}

@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); }
  50%      { box-shadow: 0 0 0 6px transparent; }
}

@keyframes sweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* Accessibility: stand down all motion when the visitor asks for it */
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
  .sweep {
    animation: none;
    width: 35%;
    background: var(--accent);
    opacity: 0.85;
  }
}

/* Small screens */
@media (max-width: 30rem) {
  .card { padding: 2.25rem 1.6rem; }
}
