:root {
  --bg: #05070d;
  --bg-elevated: #0d1220;
  --bg-elevated-hover: #121933;
  --border: rgb(255 255 255 / 0.08);
  --border-hover: rgb(229 38 45 / 0.55);
  --text: #eef0f7;
  --text-muted: rgb(238 240 247 / 0.62);
  --text-faint: rgb(238 240 247 / 0.38);
  --accent: #e5262d;

  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 1px 1px, rgb(255 255 255 / 0.05) 1px, transparent 0) 0 0 / 28px 28px,
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.card {
  width: 100%;
  max-width: 460px;
}

.prompt {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-faint);
  margin: 0 0 22px;
  white-space: nowrap;
  overflow-x: auto;
}

.prompt-user {
  color: var(--text-muted);
}

.prompt-sep {
  color: var(--text-faint);
}

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

.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 2px;
  background: var(--text);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}

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

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

h1 {
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.tagline {
  margin: 0 0 32px;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
}

.tagline-at {
  color: var(--text-faint);
  font-weight: 600;
}

.tagline-link {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--border-hover);
  transition: color 160ms ease, border-color 160ms ease;
}

.tagline-link:hover,
.tagline-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .tagline-link {
    transition: none;
  }
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.link-row:hover,
.link-row:focus-visible {
  border-color: var(--border-hover);
  background: var(--bg-elevated-hover);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .link-row {
    transition: none;
  }
  .link-row:hover,
  .link-row:focus-visible {
    transform: none;
  }
}

.link-icon {
  display: flex;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--text-muted);
}

.link-row:hover .link-icon,
.link-row:focus-visible .link-icon {
  color: var(--accent);
}

.link-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.link-label {
  font-size: 15px;
  font-weight: 600;
}

.link-handle {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-arrow {
  margin-left: auto;
  color: var(--text-faint);
  font-family: var(--mono);
  transition: transform 160ms ease, color 160ms ease;
}

.link-row:hover .link-arrow,
.link-row:focus-visible .link-arrow {
  color: var(--accent);
  transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
  .link-arrow {
    transition: none;
  }
  .link-row:hover .link-arrow,
  .link-row:focus-visible .link-arrow {
    transform: none;
  }
}

.footer {
  margin-top: 40px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
}
