:root {
  --ink: #0e1116;
  --ink-2: #171b22;
  --line: #2a303a;
  --accent: #a66cff;
  --accent-dim: #6b4a99;
  --text: #e7e6e1;
  --text-dim: #9aa0ac;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Inter", sans-serif;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.mark {
  width: 44px;
  height: 44px;
  margin-bottom: 2rem;
  color: var(--accent);
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
}

.accent { color: var(--accent); }

.tw-cursor {
  display: inline-block;
  color: var(--accent);
  margin-left: 0.03em;
  animation: tw-blink 1s step-end infinite;
}

@media (prefers-reduced-motion: reduce) {
  .tw-cursor { animation: none; opacity: 1; }
}

@keyframes tw-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 0 3rem;
}

.instances {
  width: 100%;
  max-width: 440px;
  border-top: 1px solid var(--line);
}

.instance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.instance-row:hover .instance-name { color: var(--accent); }

.instance-left {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-align: left;
}

.instance-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.instance-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.instance-row.pending .status-dot { background: var(--line); }

.instance-row.pending .instance-name,
.instance-row.pending .instance-desc { color: var(--text-dim); }

.instance-row.pending { cursor: default; }

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

footer a { color: var(--text-dim); }

@media (prefers-reduced-motion: no-preference) {
  main { animation: fade-in 0.5s ease; }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
