:root {
  --bg: #0e1116;
  --fg: #e6edf3;
  --muted: #8b949e;
  --accent: #58a6ff;
  --line: #21262d;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --fg: #1f2328;
    --muted: #656d76;
    --accent: #0969da;
    --line: #d8dee4;
  }
}

* { box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  line-height: 1.6;
}

main {
  max-width: 34rem;
  width: 100%;
  text-align: center;
}

.mark {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.75rem;
}

h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

h1 .host {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85em;
  word-break: break-all;
}

p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 26rem;
}

.bar {
  height: 3px;
  width: 100%;
  max-width: 14rem;
  margin: 2rem auto 0;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: var(--accent);
  animation: slide 2.4s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .bar span { animation: none; width: 100%; }
}

footer {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}
