/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  background: #f6f8f8;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.15rem;
}
.brand img {
  height: 2.25rem;
}
.brand .name {
  color: #542064;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.nav a {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover {
  background: #eceff0;
  color: #1a1a2e;
}
.nav .github {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #24292f;
  color: #fff;
}
.nav .github:hover {
  background: #1a1a2e;
  color: #fff;
}
.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero p {
  color: #555;
  margin-top: 0.6rem;
  font-size: 1.05rem;
}
.chips {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.chip {
  background: #fff;
  border: 1px solid #e2e6e8;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.themes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.themes .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  margin-right: 0.25rem;
}
.theme-btn {
  border: 1px solid #d5dade;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-btn:hover {
  border-color: #542064;
  color: #542064;
}
.theme-btn.active {
  background: #542064;
  border-color: #542064;
  color: #fff;
}
.themes .sep {
  width: 1px;
  height: 1.4em;
  background: #d5dade;
  margin: 0 0.25rem;
}
.hint {
  margin-top: 1.25rem;
  text-align: center;
  color: #888;
  font-size: 0.8rem;
}
.hint code {
  background: #ecedef;
  padding: 1px 6px;
  border-radius: 4px;
  font-family:
    "Source Code Pro",
    Consolas,
    monospace;
  font-size: 0.75rem;
}
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e6e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #888;
  font-size: 0.85rem;
}
footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
footer nav a {
  color: #555;
  text-decoration: none;
}
footer nav a:hover {
  color: #542064;
}
.copyright {
  text-decoration: none;
  color: #000;
}
@media (max-width: 640px) {
  main {
    padding-top: 1.5rem;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  header {
    justify-content: center;
    text-align: center;
  }
}
