:root {
  --bg: #0b0e14;
  --grid-line: rgba(255, 255, 255, 0.035);
  --frame-line: rgba(255, 255, 255, 0.12);
  --text: #eef2f7;
  --accent: #ff551a;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

/* Subtle hangar blueprint grid + radial core glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 44%, rgba(255, 85, 26, 0.11) 0%, rgba(255, 85, 26, 0.03) 26%, transparent 58%),
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  background-position: center center;
}

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

.hangar-shell {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

/* HUD corner registration brackets */
.corner {
  position: fixed;
  width: 18px;
  height: 18px;
  border-color: var(--frame-line);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.corner--tl {
  top: clamp(0.85rem, 2vw, 1.5rem);
  left: clamp(0.85rem, 2vw, 1.5rem);
  border-width: 1.5px 0 0 1.5px;
}

.corner--tr {
  top: clamp(0.85rem, 2vw, 1.5rem);
  right: clamp(0.85rem, 2vw, 1.5rem);
  border-width: 1.5px 1.5px 0 0;
}

.corner--bl {
  bottom: clamp(0.85rem, 2vw, 1.5rem);
  left: clamp(0.85rem, 2vw, 1.5rem);
  border-width: 0 0 1.5px 1.5px;
}

.corner--br {
  bottom: clamp(0.85rem, 2vw, 1.5rem);
  right: clamp(0.85rem, 2vw, 1.5rem);
  border-width: 0 1.5px 1.5px 0;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3.5vh, 2.25rem);
}

.mecha-emblem {
  width: min(76vw, 320px);
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.65));
}

.mecha-emblem .armor {
  fill: url(#armor-sheen);
}

.mecha-emblem .accent {
  fill: url(#visor-glow);
  filter: drop-shadow(0 0 10px rgba(255, 85, 26, 0.65));
}

.wordmark {
  width: min(86vw, 444px);
  height: auto;
  display: block;
}

.wordmark .word-primary {
  fill: var(--text);
}

.wordmark .word-accent {
  fill: var(--accent);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .status-dot {
    animation: beacon 2.6s ease-in-out infinite;
  }

  .mecha-emblem .accent {
    animation: visor-hum 4s ease-in-out infinite;
  }
}

@keyframes beacon {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

@keyframes visor-hum {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.82;
  }
}

@media (max-width: 520px) {
  .status-pill {
    font-size: 0.68rem;
  }
}
