/* Temporary pre-launch placeholder. System fonts only; no external requests. */
:root {
  --bg: #0b0e13;
  --panel: #121821;
  --steel: #2a3340;
  --grid: rgba(120, 140, 165, 0.07);
  --text: #d9dee5;
  --muted: #9aa5b3;
  --amber: #f2a93b;
  --red: #ff5a4e;
  --green: #6fcf8e;
  --warm: #ffd98a;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.25rem 2rem;
  background-color: var(--bg);
  /* Glass-and-steel curtain wall: a fine grid with a soft warm glow from below. */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(242, 169, 59, 0.12), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* Festive touch: a string of warm lights across the top. */
.lights {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2.5rem;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 0 4vw;
  border-top: 2px solid #1f2731;
  pointer-events: none;
}
.lights span {
  width: 0.6rem;
  height: 0.85rem;
  margin-top: 0.4rem;
  border-radius: 50% 50% 45% 45%;
  background: var(--warm);
  box-shadow: 0 0 10px 2px rgba(255, 217, 138, 0.55);
  animation: twinkle 3.2s ease-in-out infinite;
}
.lights span:nth-child(3n + 2) { background: var(--red); box-shadow: 0 0 10px 2px rgba(255, 90, 78, 0.5); animation-delay: -1.1s; }
.lights span:nth-child(3n) { background: var(--green); box-shadow: 0 0 10px 2px rgba(111, 207, 142, 0.45); animation-delay: -2.2s; }
.lights span:nth-child(even) { margin-top: 0.75rem; }

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.panel {
  width: 100%;
  max-width: 40rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, rgba(30, 38, 49, 0.92), rgba(18, 24, 33, 0.94));
  border: 1px solid var(--steel);
  border-top: 3px solid var(--amber);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
@media (min-width: 640px) {
  .panel { padding: 2.75rem 3rem; }
}

.kicker {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.sub {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.directory {
  font-family: var(--mono);
  border: 1px solid var(--steel);
  background: #0d1219;
  border-radius: 2px;
}
.directory h2 {
  margin: 0;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--steel);
}
.directory ul { list-style: none; margin: 0; padding: 0.4rem 0; }
.directory li {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  gap: 0.75rem;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
}
.floor { color: var(--amber); }
.status { color: var(--muted); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; align-self: center; }
.status--open { color: var(--green); }

.terminal {
  margin: 1.5rem 0 0;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--amber);
}
.prompt { margin-right: 0.5rem; }
.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 0.2em;
  vertical-align: -0.12em;
  background: var(--amber);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.foot {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
  text-align: center;
}
.foot p { margin: 0; }

a { color: var(--amber); }
.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--amber);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.875rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.button:hover { background: rgba(242, 169, 59, 0.12); }
a:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .lights span, .cursor { animation: none; }
}
