:root {
  --bs-primary: #294f91;
  --bs-primary-rgb: 41, 79, 145;
  --ink: #162b49;
  --muted: #67758a;
  --blue: #3c6eb4;
  --line: #e6ebf2;
}
body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  background: #fcfdff;
  color: var(--ink);
  font-size: 15px;
}
a {
  color: #315d9c;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.navbar {
  min-height: 93px;
}
.brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.3px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 1px;
}
.brand > span:not(.brand-icon) {
  color: #5183c4;
}
.brand small {
  font-size: 8px;
  letter-spacing: 1.4px;
  width: 85px;
  margin-left: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: #7e8a9b;
}
.brand-icon {
  height: 39px;
  width: 39px;
  margin-right: 9px;
  background: #294f91;
  color: white;
  border-radius: 13px 13px 13px 4px;
  position: relative;
  text-align: center;
  line-height: 34px;
  font-size: 37px;
}
.brand-icon span {
  font-size: 15px;
  position: absolute;
  right: 4px;
  top: -1px;
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
}
.account-button {
  font-size: 13px;
  border: 1px solid var(--line);
  background: #f6f8fb;
  padding: 10px 17px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 456px;
  padding: 45px 3px 40px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #6681a2;
  font-weight: 750;
}
.hero h1 {
  font-size: clamp(40px, 4.5vw, 61px);
  font-weight: 750;
  letter-spacing: -2.9px;
  line-height: 1.08;
  margin: 19px 0;
}
.hero h1 span {
  color: #3c6eb4;
}
.hero p {
  color: #6a788b;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 24px;
}
.btn {
  font-size: 13px;
  border-radius: 8px;
  font-weight: 650;
  padding: 11px 17px;
}
.btn-primary {
  background: #315f9f;
  border-color: #315f9f;
}
.btn-primary:hover {
  background: #244776;
  border-color: #244776;
}
.btn-outline-primary {
  color: #315f9f;
  border-color: #c5d3e7;
}
.btn-lg {
  padding: 14px 20px;
}
.btn-lg span {
  margin-left: 28px;
}
.hero-foot {
  margin-top: 22px;
  font-size: 11px;
  color: #7c8a9c;
}
.green-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #68a389;
  border-radius: 50%;
  margin-right: 7px;
}
.hero-art {
  height: 370px;
  position: relative;
  background: radial-gradient(ellipse at center, #eaf1fc 0, transparent 65%);
}
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid #dce6f3;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-23deg);
}
.orbit-one {
  width: 350px;
  height: 300px;
}
.orbit-two {
  width: 460px;
  height: 215px;
}
.art-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  width: 155px;
  height: 155px;
  border-radius: 48px 48px 48px 13px;
  background: linear-gradient(140deg, #5488cc, #294f91);
  box-shadow:
    0 23px 45px #315f9f30,
    inset 2px 2px 3px #ffffff50;
  color: #fff;
  font-size: 157px;
  line-height: 123px;
  font-weight: 700;
  text-align: center;
}
.art-center span {
  position: absolute;
  right: 15px;
  top: 14px;
  font-size: 50px;
  line-height: 40px;
}
.float-tile {
  position: absolute;
  border-radius: 18px;
  box-shadow: 0 12px 22px #24477614;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-terminal {
  left: 10%;
  top: 19%;
  width: 89px;
  height: 83px;
  transform: rotate(-10deg);
  background: #1d304b;
  color: #fff;
  font-size: 35px;
  flex-direction: column;
}
.tile-terminal small {
  font-size: 5px;
  letter-spacing: 1.2px;
  color: #b3c6e4;
}
.tile-play {
  right: 9%;
  top: 10%;
  width: 72px;
  height: 72px;
  background: #fff;
  color: #6c99d5;
  font-size: 29px;
  transform: rotate(14deg);
}
.tile-code {
  right: 5%;
  bottom: 24%;
  width: 80px;
  height: 80px;
  background: #edf1ff;
  color: #787bbe;
  font-size: 32px;
  transform: rotate(12deg);
}
.tile-music {
  left: 18%;
  bottom: 9%;
  width: 62px;
  height: 62px;
  color: #519494;
  background: #e4f1ee;
  font-size: 36px;
  transform: rotate(-15deg);
}
.art-spark {
  position: absolute;
  color: #85a6d4;
}
.spark-one {
  right: 35%;
  top: 7%;
  font-size: 26px;
}
.spark-two {
  left: 2%;
  bottom: 30%;
  font-size: 25px;
}
.editorial-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid #dee7f3;
  background: #f2f6fc;
  border-radius: 14px;
  padding: 26px 30px;
}
.editorial-mark {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 55px;
  color: #3d6ca7;
  position: relative;
  padding: 0 17px;
}
.editorial-mark span {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
}
.editorial-strip h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 7px 0;
}
.editorial-strip p {
  color: #708096;
  font-size: 12px;
  margin: 0;
}
.editorial-strip > a {
  margin-left: auto;
  white-space: nowrap;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 48px 0 25px;
}
.section-heading h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 8px 0 0;
}
.section-heading > a {
  font-size: 12px;
}
.search-row {
  display: flex;
  gap: 12px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe5ee;
  background: #fff;
  border-radius: 9px;
  padding: 5px 6px 5px 15px;
  flex: 1;
}
.search-box > span {
  font-size: 28px;
  color: #8b9bb2;
}
.search-box input {
  border: 0;
  box-shadow: none;
  font-size: 13px;
  min-width: 100px;
}
.search-row select {
  font-size: 12px;
  width: 180px;
  border-color: #dfe5ee;
  border-radius: 9px;
}
.category-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 29px;
}
.category-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.category-chip span {
  display: block;
  padding: 8px 13px;
  border-radius: 7px;
  background: #f0f3f7;
  font-size: 11px;
  cursor: pointer;
  color: #63738b;
}
.category-chip input:checked + span {
  background: #e1ebfb;
  color: #294f91;
  font-weight: 700;
}
.category-chip input:focus-visible + span {
  outline: 3px solid #3c6eb4;
}
.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 16px;
}
.result-heading p {
  margin: 0;
}
.fine {
  color: #7a879a;
  font-size: 11px;
  line-height: 1.7;
}
.repo-card {
  height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.repo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #233e6810;
  border-color: #c9d8ec;
}
.app-icon {
  width: 53px;
  height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 28px;
  background: #e9f1fd;
  color: #4e79b2;
}
.tone-1 {
  background: #e9eafb;
  color: #7271b2;
}
.tone-2 {
  background: #e6f3ef;
  color: #4b9e87;
}
.tone-3 {
  background: #f9ede7;
  color: #c18261;
}
.tone-4 {
  background: #e4eff2;
  color: #528494;
}
.tone-5 {
  background: #eef0f5;
  color: #7a85a1;
}
.category-label {
  font-size: 9px;
  color: #8490a2;
  padding-top: 6px;
}
.repo-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-top: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.owner {
  font-size: 11px;
  color: #91a0b3;
  margin: 3px 0 11px;
}
.description {
  font-size: 12px;
  color: #718096;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 61px;
  margin-bottom: 19px;
}
.repo-meta {
  display: flex;
  gap: 16px;
  border-top: 1px solid #f0f3f7;
  padding-top: 12px;
  font-size: 10px;
  color: #8b98aa;
}
.mag-dot {
  margin-left: auto;
  color: #3c6eb4;
}
.pagination-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px;
}
.sync-note {
  text-align: center;
}
.bottom-callout {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: #f3f6fa;
  border-radius: 12px;
  margin: 45px 0;
}
.bottom-callout > span {
  font-size: 45px;
  color: #748cae;
}
.bottom-callout h3 {
  font-size: 19px;
}
.bottom-callout p {
  font-size: 12px;
  color: #7d8b9e;
  margin: 0;
}
.bottom-callout > a {
  margin-left: auto;
  font-size: 12px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  padding-bottom: 30px;
}
footer .brand {
  font-size: 22px;
}
footer p {
  font-size: 11px;
  color: #8794a5;
  margin-top: 8px;
}
footer > div:nth-child(2) {
  display: flex;
  gap: 25px;
  font-size: 11px;
  padding-top: 12px;
}
footer > .fine {
  width: 100%;
  font-size: 10px;
}
.breadcrumbs {
  margin: 35px 0;
  color: #8594a9;
  font-size: 12px;
}
.detail-head {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 36px;
}
.detail-head .app-icon {
  width: 84px;
  height: 84px;
  font-size: 45px;
}
.detail-head h1 {
  font-size: 35px;
  overflow-wrap: anywhere;
}
.detail-head #star-control {
  margin-left: auto;
}
.detail-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
}
.detail-panel h2 {
  font-size: 21px;
  margin-bottom: 24px;
}
.detail-panel h3 {
  font-size: 17px;
  margin-top: 22px;
}
.detail-panel p {
  font-size: 13px;
  color: #6f7f94;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.preserve {
  white-space: pre-wrap;
}
.install-panel {
  background: #eff4fb;
}
.install-panel code {
  display: block;
  background: #192d48;
  color: #d8e5f9;
  padding: 18px;
  border-radius: 7px;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.targets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.targets span {
  font-size: 10px;
  padding: 5px;
  background: #f0f3f7;
  border-radius: 4px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stats-grid strong {
  font-size: 29px;
}
.stats-grid h4 {
  font-size: 12px;
  margin: 7px 0;
}
.stats-grid p {
  font-size: 10px;
}
.account-panel {
  max-width: 700px;
  margin: 60px auto;
  padding: 35px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.account-panel h1 {
  font-size: 34px;
  letter-spacing: -1px;
  margin: 15px 0;
}
.account-panel h2 {
  font-size: 19px;
  margin-top: 28px;
}
.account-panel p {
  color: #7b8a9e;
  font-size: 13px;
}
.provider-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.empty {
  text-align: center;
  padding: 60px;
}
.docs {
  max-width: 850px;
  margin: 50px auto;
  line-height: 1.9;
}
.docs h2 {
  font-size: 24px;
  margin-top: 30px;
}
.docs pre {
  background: #192d48;
  color: #e3edf9;
  padding: 20px;
  border-radius: 8px;
  white-space: pre-wrap;
}
.htmx-request {
  opacity: 0.65;
}
#notice:not(:empty) {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  background: #193453;
  color: white;
  border-radius: 10px;
  z-index: 1000;
  max-width: 90vw;
}
*:focus-visible {
  outline: 3px solid #81a9e2;
  outline-offset: 3px;
}
@media (max-width: 991px) {
  .hero-art {
    transform: scale(0.85);
  }
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .brand small {
    display: none;
  }
  .editorial-strip {
    gap: 15px;
    padding: 20px;
  }
  .editorial-strip h2 {
    font-size: 19px;
  }
  .search-row select {
    width: 150px;
  }
}
@media (max-width: 767px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 10px;
    min-height: 0;
  }
  .hero-art {
    display: none;
  }
  .hero h1 {
    font-size: 47px;
  }
  .editorial-strip {
    flex-wrap: wrap;
  }
  .editorial-strip > a {
    margin-left: 0;
  }
  .editorial-mark {
    display: none;
  }
  .search-row {
    flex-wrap: wrap;
  }
  .search-box {
    flex-basis: 100%;
  }
  .search-row select {
    width: calc(50% - 6px);
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading > a {
    max-width: 90px;
    text-align: right;
  }
  .category-row .ms-auto {
    margin-left: 0 !important;
  }
  .bottom-callout {
    flex-wrap: wrap;
  }
  .bottom-callout > a {
    margin-left: 0;
  }
  .detail-head {
    flex-wrap: wrap;
  }
  .detail-head #star-control {
    margin-left: 0;
  }
  .account-panel {
    padding: 23px;
    margin: 35px 0;
  }
  .navbar {
    min-height: 78px;
  }
  .navbar > .d-flex {
    gap: 15px !important;
  }
  .brand {
    font-size: 24px;
  }
  .brand-icon {
    display: none;
  }
  footer > div:nth-child(2) {
    flex-wrap: wrap;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
  }
}
