:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: #0b0d12;
  color: #f5f7fb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 0%, rgba(114, 90, 255, 0.2), transparent 38rem),
    radial-gradient(circle at 0% 40%, rgba(0, 210, 180, 0.1), transparent 30rem),
    #0b0d12;
}

main {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0 44px;
}

.language-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 18px;
}

.language-switcher button {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3b2;
  font: inherit;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  border-color: #725aff;
  background: rgba(114, 90, 255, 0.22);
  color: #fff;
}

.hero {
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: rgba(20, 23, 32, 0.76);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #8f84ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.repo-icon {
  width: clamp(74px, 13vw, 108px);
  height: clamp(74px, 13vw, 108px);
  border-radius: 24%;
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

h1 {
  margin: 0;
  font-size: clamp(44px, 9vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 570px;
  margin: 24px 0 28px;
  color: #aeb4c2;
  font-size: 18px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  appearance: none;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  color: #f5f7fb;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.35); }
.button.primary { border-color: transparent; background: #725aff; }

#repo-url {
  display: block;
  margin-top: 22px;
  color: #8d94a3;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.packages { padding: 54px 4px 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
h2 { margin: 0 0 20px; font-size: 28px; letter-spacing: -0.03em; }
#package-count { color: #777e8d; font-size: 14px; }
.package-list { display: grid; gap: 12px; }

.package-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  background: rgba(20, 23, 32, 0.58);
}

.package-card h3 { margin: 0 0 8px; font-size: 19px; }
.package-card h3 a { color: inherit; text-decoration: none; }
.package-card h3 a::after { content: " →"; color: #7166d8; }
.package-card p { margin: 0; color: #9ca3b2; line-height: 1.55; }
.package-meta { margin-top: 13px; color: #7166d8; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.empty { color: #777e8d; }

footer {
  padding: 20px 18px 46px;
  color: #59606e;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 560px) {
  main { padding-top: 28px; }
  .hero-brand { align-items: flex-start; flex-direction: column; }
  .actions { flex-direction: column; }
  .button { text-align: center; }
}
