@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-700.woff2") format("woff2");
}

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

:root {
  color-scheme: dark;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  color: #e0e0e0;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

h1 {
  position: relative;
  z-index: 1;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  h1 {
    font-size: 4.5rem;
  }
}

::selection {
  background: #37c850;
  color: #0a0a0a;
}

.tools {
  position: fixed;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 640px;
  padding: 0 1rem;
}

.tool {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tool__logo {
  width: 1.6em;
  height: 1.6em;
  flex-shrink: 0;
  padding: 0.18em;
  background: #fff;
  border-radius: 6px;
  object-fit: contain;
}

.tool:hover,
.tool:focus-visible {
  background: #fff;
  color: #0a0a0a;
}

.tool:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
