/* Omarchy 首页样式 - 官网风格 */

.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--color-background-night);
  color: var(--color-terminal-white);
}

.home__logo {
  display: grid;
  margin-bottom: 2rem;
}

.home__logo a {
  color: var(--color-green);
  font-weight: normal;
  justify-self: center;
  text-decoration: none;
}

.home__logo pre {
  color: var(--color-green);
  font-size: clamp(0.425rem, 1.25vw, 1rem);
  justify-self: center;
  letter-spacing: -0.0425em;
  line-height: 1.09375;
  transition: color var(--transition);
  white-space: pre;
}

@media(hover: hover) {
  .home__logo a:hover pre {
    color: var(--color-turquoise);
  }
}

.home__subtitle {
  font-size: var(--font-size-medium);
  color: var(--color-terminal-white);
  text-align: center;
  margin-bottom: var(--space-x-large);
}

.home__subtitle a {
  color: var(--color-green);
  text-decoration: none;
}

.home__subtitle a:hover {
  color: var(--color-turquoise);
}

.home__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-small);
  max-width: 46rem;
  justify-content: center;
  margin-bottom: var(--space-x-large);
}

.home__link {
  align-items: center;
  background-color: var(--color-terminal-blue);
  border: var(--border-width) solid var(--border-color);
  color: var(--color-background-night);
  cursor: pointer;
  display: inline-flex;
  font-weight: 500;
  gap: var(--space-small);
  justify-content: center;
  padding: var(--space-small) var(--space-medium);
  text-decoration: none;
  transition: background-color var(--transition), transform var(--transition);
  user-select: none;
}

.home__link:hover {
  background-color: var(--color-turquoise);
  transform: translateY(-2px);
}

.home__link:active {
  transform: translateY(0);
}

.home__link svg {
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
}

.home__footer {
  margin-top: var(--space-x-large);
  font-size: var(--font-size-small);
  color: var(--color-terminal-black);
  text-align: center;
  max-width: 36rem;
  line-height: var(--line-height);
}

.home__footer a {
  color: var(--color-terminal-cyan);
  text-decoration: none;
}

.home__footer a:hover {
  color: var(--color-turquoise);
}

@media (min-width: 64em) {
  .home__nav {
    gap: var(--space-medium);
  }
}
