.developer-page {
  --developer-ink: #17202a;
  --developer-muted: #66717c;
  --developer-line: #dfe4e8;
  --developer-surface: #f5f7f8;
  --developer-green: #21b888;
  --developer-blue: #1f6feb;
  --developer-orange: #e68a2e;
  min-height: 100vh;
  background: #fff;
  color: var(--developer-ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body:has(.developer-page) > header {
  background: #0a0f14;
}

.developer-page *,
.developer-page *::before,
.developer-page *::after {
  box-sizing: border-box;
}

.developer-page h1,
.developer-page h2,
.developer-page h3,
.developer-page p,
.developer-page dl,
.developer-page dd {
  margin: 0;
}

.developer-page .catalog-eyebrow {
  color: var(--developer-green);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0;
}

.developer-page__hero {
  position: relative;
  min-height: min(660px, 78svh);
  overflow: hidden;
  background: #0a0f14;
  color: #fff;
}

.developer-page__hero::before,
.developer-page__hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.developer-page__hero::before {
  top: 0;
  bottom: 0;
  left: 62%;
  border-left: 1px solid rgb(255 255 255 / 5%);
}

.developer-page__hero::after {
  right: 0;
  bottom: 108px;
  left: 0;
  border-top: 1px solid rgb(255 255 255 / 5%);
}

.developer-page__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(660px, 78svh);
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
  grid-template-rows: auto 1fr auto;
  gap: 42px 72px;
  align-items: end;
  padding: 116px 0 34px;
}

.developer-page__hero-meta {
  display: flex;
  grid-column: 1 / 3;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
  color: rgb(255 255 255 / 58%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.developer-page__hero-copy {
  max-width: 720px;
  align-self: center;
}

.developer-page__hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #75e4ba;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.developer-page__hero-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--developer-green);
  box-shadow: 0 0 0 5px rgb(33 184 136 / 14%);
  content: "";
}

.developer-page__hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 630;
  line-height: 1.04;
  letter-spacing: 0;
}

.developer-page__hero-copy p {
  max-width: 660px;
  margin-top: 22px;
  color: rgb(255 255 255 / 72%);
  font-size: 16px;
  line-height: 1.85;
}

.developer-page__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.developer-page__hero-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--developer-green);
  border-radius: 4px;
  background: var(--developer-green);
  color: #07110d;
  font-size: 13px;
  font-weight: 750;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.developer-page__hero-actions a:hover {
  transform: translateY(-2px);
}

.developer-page__hero-actions a.is-secondary {
  border-color: rgb(255 255 255 / 28%);
  background: rgb(8 14 19 / 48%);
  color: #fff;
  backdrop-filter: blur(8px);
}

.developer-page__hero-actions a.is-secondary:hover {
  border-color: rgb(255 255 255 / 62%);
}

.developer-page__hero-actions a > span:first-child {
  font-size: 18px;
}

.developer-page__hero-stats {
  display: grid;
  grid-template-columns: 0.75fr 1.15fr;
  align-self: end;
  border-top: 1px solid rgb(255 255 255 / 22%);
  border-left: 1px solid rgb(255 255 255 / 22%);
  background: rgb(8 14 19 / 52%);
  backdrop-filter: blur(10px);
}

.developer-page__hero-stats > div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgb(255 255 255 / 22%);
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.developer-page__hero-stats > div:last-child {
  grid-column: 1 / 3;
}

.developer-page__hero-stats dt {
  overflow-wrap: anywhere;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 560;
  line-height: 1.25;
}

.developer-page__hero-stats dd {
  margin-top: 8px;
  color: rgb(255 255 255 / 48%);
  font-size: 11px;
}

.developer-page__repositories {
  padding: 78px 0 90px;
  background: #fff;
}

.developer-page__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: 48px;
  align-items: end;
}

.developer-page__intro h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: 0;
}

.developer-page__intro > p {
  color: var(--developer-muted);
  font-size: 14px;
  line-height: 1.85;
}

.developer-page__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding: 12px 0;
  border-top: 1px solid var(--developer-line);
  border-bottom: 1px solid var(--developer-line);
}

.developer-page__filters a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #d9dfe3;
  border-radius: 4px;
  background: var(--developer-surface);
  color: #4f5c67;
  font-size: 12px;
  font-weight: 650;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.developer-page__filters a:hover {
  border-color: #a9cfc2;
  background: #eef9f5;
  color: #147a5b;
}

.developer-page__content {
  padding-top: 62px;
}

.developer-resource-group {
  scroll-margin-top: 100px;
}

.developer-resource-group + .developer-resource-group {
  margin-top: 68px;
}

.developer-resource-group__heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--developer-line);
}

.developer-resource-group__heading > span {
  padding-top: 3px;
  color: #9aa3aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.developer-resource-group__heading h2 {
  margin-top: 5px;
  color: var(--developer-ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: 0;
}

.developer-resource-group__heading p {
  max-width: 680px;
  margin-top: 8px;
  color: var(--developer-muted);
  font-size: 13px;
  line-height: 1.7;
}

.developer-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
}

.developer-resource {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--developer-line);
  border-radius: 6px;
  background: #fff;
  color: var(--developer-ink);
  box-shadow: 0 18px 38px -38px rgb(23 32 42 / 55%);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.developer-resource::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--developer-green), var(--developer-blue), var(--developer-orange));
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left;
  transition:
    opacity 0.25s ease,
    transform 0.35s ease;
}

.developer-resource:hover {
  border-color: #abc8be;
  background: #fff;
  box-shadow: 0 24px 54px -38px rgb(23 73 59 / 48%);
  transform: translateY(-4px);
}

.developer-resource:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.developer-resource__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.developer-resource__type,
.developer-resource__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #77828c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
}

.developer-resource__type > span {
  color: var(--developer-ink);
  font-size: 15px;
}

.developer-resource__status {
  padding: 4px 6px;
  border: 1px solid #cce8dd;
  border-radius: 3px;
  background: #effaf6;
  color: #157858;
}

.developer-resource__title {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.developer-resource__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #dbe3e7;
  border-radius: 4px;
  background: var(--developer-surface);
  color: var(--developer-blue);
  font-size: 17px;
}

.developer-resource__title h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--developer-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 680;
  line-height: 1.35;
}

.developer-resource__title > span:last-child {
  color: #a1a9b0;
  font-size: 18px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.developer-resource:hover .developer-resource__title > span:last-child {
  color: var(--developer-blue);
  transform: translate(2px, -2px);
}

.developer-resource > p {
  margin-top: 16px;
  color: var(--developer-muted);
  font-size: 12px;
  line-height: 1.75;
}

.developer-resource__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.developer-resource__tags > span {
  padding: 4px 6px;
  border: 1px solid #e0e5e8;
  border-radius: 3px;
  background: #f8f9fa;
  color: #68737c;
  font-size: 8px;
  font-weight: 700;
}

.developer-resource__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #edf0f2;
  color: #737e87;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.developer-resource__footer > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.developer-resource__footer i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--developer-blue);
}

.developer-resource__footer [class*="i-tabler"] {
  color: #929ca4;
  font-size: 13px;
}

.developer-page__empty {
  padding: 76px 24px;
  border: 1px dashed #cfd6db;
  background: var(--developer-surface);
  color: var(--developer-muted);
  text-align: center;
}

.developer-page__empty > span {
  color: var(--developer-blue);
  font-size: 32px;
}

.developer-page__empty h2 {
  margin-top: 14px;
  color: var(--developer-ink);
  font-size: 22px;
  font-weight: 620;
}

.developer-page__empty p {
  margin-top: 7px;
  font-size: 13px;
}

.developer-page__contribute {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--developer-line);
  border-bottom: 1px solid var(--developer-line);
}

.developer-page__contribute h2 {
  margin-top: 7px;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 620;
  line-height: 1.2;
}

.developer-page__contribute p {
  max-width: 680px;
  margin-top: 10px;
  color: var(--developer-muted);
  font-size: 13px;
  line-height: 1.75;
}

.developer-page__contribute > a {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--developer-ink);
  border-radius: 4px;
  background: var(--developer-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.developer-page__contribute > a:hover {
  background: #fff;
  color: var(--developer-ink);
  transform: translateY(-2px);
}

@media (max-width: 1080px) {
  .developer-page__hero-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
  }

  .developer-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .developer-page__hero,
  .developer-page__hero-inner {
    min-height: auto;
  }

  .developer-page__hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 34px;
    padding: 96px 0 28px;
  }

  .developer-page__hero-meta {
    grid-column: 1;
  }

  .developer-page__hero-copy {
    padding-top: 24px;
  }

  .developer-page__hero-copy h1 {
    font-size: 44px;
  }

  .developer-page__hero-copy p {
    font-size: 14px;
  }

  .developer-page__hero-actions a {
    flex: 1 1 160px;
  }

  .developer-page__hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .developer-page__repositories {
    padding: 54px 0 64px;
  }

  .developer-page__intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .developer-page__content {
    padding-top: 46px;
  }

  .developer-resource-grid {
    grid-template-columns: 1fr;
  }

  .developer-resource {
    min-height: 280px;
  }

  .developer-page__contribute {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 58px;
  }

  .developer-page__contribute > a {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .developer-page__hero-meta > span:last-child {
    display: none;
  }

  .developer-page__hero-stats {
    grid-template-columns: 1fr;
  }

  .developer-page__hero-stats > div:last-child {
    grid-column: 1;
  }

  .developer-resource-group__heading {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .developer-resource,
  .developer-resource::before,
  .developer-page__hero-actions a,
  .developer-page__contribute > a {
    transition: none;
  }
}
