:root {
  --bg: #fafaf9;
  --fg: #16161a;
  --muted: #78787f;
  --line: #e4e4e2;
  --dot: #16161a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0c;
    --fg: #f2f2f0;
    --muted: #8b8b8f;
    --line: #232323;
    --dot: #f2f2f0;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
}

.stack {
  width: 100%;
  max-width: 30rem;
  animation: fade 0.7s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

/* Status label */
.status {
  margin: 0 0 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dot {
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 50%;
  background: var(--dot);
  animation: blink 3s ease-in-out infinite;
}

/* Wordmark */
h1 {
  margin: 0;
  font-size: clamp(2rem, 8.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.sep {
  color: var(--muted);
}

hr {
  margin: 2rem 0 1.5rem;
  border: 0;
  border-top: 1px solid var(--line);
}

/* Meta rows */
.meta {
  margin: 0;
  display: grid;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

.row {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
}

dt {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.75;
}

dd {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  border-color: currentColor;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
